Keeps the {% spaceless %} ... {% endspaceless %} tag available in Twig 3.x for Winter CMS backwards compatibility.
While it was deprecated and removed in Twig 3.x, it appears to work still, but may need some more testing.
Changed from Laravel defaults:
- Array configuration items should have their assigner operators aligned and keys should be sorted alphabetically
Removed:
- database.fetch: Removed from the default in Laravel 5.4 (and originally changed to FETCH_OBJ in 5.3) see 770c41552f & https://github.com/laravel/laravel/pull/3815
- filesystems.cloud: Removed from the default in Laravel 8.4.4 since it's not good practice to use Storage::cloud(), should use explicit disk configurations instead. See 82213fbf40
- services.mandrill: No longer officially supported since < Laravel 6.x; can use the SMTP driver instead
- services.sparkport: No longer officially supported in Laravel since < Laravel 6.x or Winter since v1.2 (third party package to reprovide driver is available but config should be manually added when desired.)
- services.stripe: Removed in Laravel v5.8.35, see 83d2ecc0e9
Explicitly not synced:
- Some calls to env(), will be addressed by future work on the ConfigWriter
- auth.php, will be addressed by future work to bring the Winter auth system more in line with the Laravel one
- cors.php, not implemented by default in Winter at the moment, plugins are available
- filesystems.php: storage.links & storage.disks.public not included because storage:link is not supported by Winter yet and further thought is needed for its inclusion.
- mail.php: markdown - Laravel's markdown mail functionality not verified to work within Winter which has it's own set of email templating logic. May be investigated and included later down the road if desired.
- sanctum.php: Laravel Sanctum is an authentication system for Laravel that is completely untested with Winter. Can be evaluated at a later date for inclusion.
Laravel 8.x added a JS helper to turn PHP data into JS data (see https://github.com/laravel/framework/pull/39389) however I'm not convinced of it's utility over json_encode so this is commented out by default for now.
Added:
- Arr: No facade required, also wasn't being registered for Laravel or Winter, using Winter's override
- Str: No facade required, using Winter's override
- Broadcast: Added in Laravel 5.4 (52f0196fd3)
- Date: Added in Laravel 8.4.14 (89b15441a9)
- Notification: Added in Laravel 5.3 (e6cc60349d)
- RateLimiter: Added in Laravel 8.5.22 (c636fd0f67)
Removed:
- Redis: Removed in Laravel 8.4.4 due to conflicting with the global Redis class from the default Redis driver (612d166004)
Some of this could be backported but 🤷
* develop: (25 commits)
Use the asset helper for static assets
Added asset filter & function versions of all System Twig filters (#428)
Improve Japanese Translation (#435)
Improved Latvian translation (#434)
Improved Ukrainian translation (#433)
Redirect to the myaccount page as a final fallback
Improve Persian translations (#423)
typo fix (#424)
Improved Russian translation (#422)
Tidy up
Style fix
Go to User's details page when clicking on related user from the roles update page
Update recommend format for implementing controller behaviors
Add support for default configuration file names for controller behaviors
Attach default permissions to the publisher role
Only show role user management in the update context
Improve UserRole editing experience
Fix support for readOnly on the datepicker formwidget.
Sort assets alphabetically in the CMS Theme Editor (#420)
VSCode recommended extensions (#417)
...