-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Laravel 9 / PHP 8.1 #148
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LukeTowers
added
Status: In Progress
maintenance
PRs that fix bugs, are translation changes or make only minor changes
labels
May 4, 2021
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This was referenced Aug 9, 2021
This comment was marked as resolved.
This comment was marked as resolved.
* develop: (90 commits) Define signature for "defineProperties" method Add definition of "componentDetails" method Update `system` french lang files (#366) Update `backend` french lang file (#364) Update `cms` french lang file (#365) Fix clear color picker function, allow empty value Trigger "change" event on color picker when value changes Use better cursors for readonly color picker Adjust "force" option for plugin:remove Require explicit confirmations for CLI deletions Add PHP 8.1 option, drop other details field Add md_line Twig filter to expose Markdown::parseLine() (#370) Don't use the Cache facade in the service provider registration process. Fix return type hints for CMS Page and Controller (#362) Fixes typo in list of available encodings for importing Improved Ukrainian translation (#360) Constrain PHP version >= 7.2.9 and 8.0.x (#361) Improve Latvian translation (#358) Docs UI Fix paths to screenshots of diagrams (#359) Coerce Inspector set values to string ... # Conflicts: # composer.json # modules/backend/composer.json # modules/cms/composer.json # modules/system/composer.json
* develop: Don't try to access the system parameter database table if no database is in use
…y tests by default
bennothommo
previously requested changes
Dec 14, 2021
Co-authored-by: Ben Thomson <[email protected]>
Was redundant, should be using environment config (config/testing/*.php) instead
Co-authored-by: Ben Thomson <[email protected]>
…, adjusting testing storage directory
* 'wip/1.2' of github.com:wintercms/winter: Update modules/system/classes/PluginBase.php
* develop: Backport changes from 1.2 and ignore public directory in default .gitignore Update custom_styles language from CSS to LESS (#377) # Conflicts: # config/app.php
) This implements support for the ImageResizer within the media manager for thumbnail resizing & image cropping. This simplifies and centralizes the image resizing code within the media manager and allows for better support on readonly filesystems by relying on the ImageResizer class to process image modification requests.
@bennothommo can you resolve the conflict with the ViewMaker test? |
Implements fixes to some breaking changes introduced in wintercms/storm#64.
Removed a bunch of thumbnail generation related methods that are no longer required now that the ImageResizer class handles it all.
…ail-view [WIP] 1.2 - Fix MediaManger Thumbnail View
Fixes an issue that occurs when removing the last flag from a plugin doesn't re-enable it.
…ig macros. This fixes #578 by adding the ability to pass the CMS Controller instance to the CMS Twig Extension removing the reliance on context variables as well as making the expected "global" twig variables inside of the CMS Twig environment actually global within that environment. Replaces #598 & #593. Credit to @RomainMazB for the initial implementation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Winter is well on its way to supporting Laravel 9! Thank you for your interest in providing testing for this work, please read the following information on how to get started testing it and report any issues that you encounter!
See https://github.com/wintercms/meta/blob/master/l9-upgrade-notes.md for testing instructions and the upgrade guide.
Must Have
These issues are crucial for a smooth upgrade process and must be completed before 1.2 can go "stable":
Internals:
$builder->macro()
to override them in userspace, see [9.x] Query builder interface laravel/framework#37956 (comment) for details.v1.1.9 Final changes:
Third Party / Dependencies:
Post "stable" release:
The following features were added in Laravel 7-9 and require extra work to "winterize" them for easier consumption / usage in Winter projects. These do not delay "stable" release but should be dealt with soon after:
New Features:
create:model
create:migration
Maintenance:
app.env
configuration variable instead of justAPP_ENV
.Documentation:
API Changes:
Completed Work:
The following items have all been completed as a part of this Laravel 9 upgrade. Great job to everyone who contributed!
New Features:
#
as a path symbol that represents the themes directory.artisan migrate
towinter:up
(fixed in wintercms/storm@b16bb17)Maintenance / Cleanup:
artisan serve
(included by the framework now instead of required to existing in the project root)Compatibility Layer:
{% spaceless %}
tag in Twig v3.0 (Retain spaceless tag in Twig #456)(namespace remained the same, file location changed)Illuminate\Support\Arr
was moved toIlluminate\Collections\Arr
(Illuminate Support Arr class not found. laravel/framework#34292 (comment))Dependencies: