Read First
Be sure to read the Upgrade Guide first as manual changes may be necessary. You can also read the Statamic 5 Launch Announcement blog post to learn about many of the new features in depth!
What's new
- Laravel 11 support
- Sites can be managed in the control panel.
- Approved sites may use offline license validation.
- Laravel Reverb support
- Ability to fake SQL queries for the Stache.
- Ability to install first-party addons using
install:eloquent-driver
,install:ssg
, andinstall:collaboration
commands. - The "default" values set on blueprint fields is now used across the board rather than only in the publish form.
- Glide URLs now always contain the original filename for better SEO.
- The Glide "hash" in its URLs can be customized.
- Addon test suite is included as part of the
make:addon
command. - New syntax for escaping Antlers inside tag parameters.
- Ability for forms to have temporary files used as email attachments.
- Added
pluck
to the query builder. - Form submissions have been upgraded to a full repository and query builder.
- The form submission listing in the control panel can be filtered.
- Entries etc are now JSON-serialized where appropriate.
- The GraphQL editor in the control panel (GraphiQL) has been updated and given a facelift.
- Tokens can be stored elsewhere, like a database.
What's improved
- A ton of performance improvements.
- Really, a lot of them. One bullet point isn't enough.
- Commands have received a fresh coat of paint using Laravel Prompts.
- Entry status is now queried more appropriately.
- Slug generation in the Control Panel is smarter.
- Slugs and handles are validated more appropriately.
- Blueprint and fieldset YAML files are easier to read. Unnecessary options are stripped out, and Bard/Replicator/Grid sets/fields keys are pushed to the end.
- SVG tags are sanitized by default.
- Improved error reporting when you have recursive fieldsets.
- Ignition suggestions have returned to exception messages.
- A bunch of under the hood code modernization and clean up.
What's changed
- Dropped support for Laravel 9 and PHP 8.0.
- There are a number of breaking changes. Consult the 5.0 upgrade guide.