Changed
- Use
App::env()
to check environment (#1210) - Added
CRAFT_ENVIRONMENT
check toSeomaticVariable
(#1210) - Don't bother invalidating sitemaps via the console command, as it causes them to be regenerated twice
- Use a stale-while-revalidate pattern for sitemap generation, so the old cached sitemap will be served until the new one as been regenerated due to an invalidation (content editing) (#1213)
Fixed
- Fixed an issue where the announcement migration would fail due to using closures (changed for the Craft 4.0.0 release)
- Ensure that
$driver
is nullable in the install migration