-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
v1.2.4 #161
Merged
Merged
v1.2.4 #161
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
The Event Dispatcher's getRawListeners() method has been changed to account for the fact that Winter's listeners are stored with priority and Laravel doesn't expect that. The event:listen command has also been modified to dig deeper into closures in order to correctly report their original locations.
…147) Co-authored-by: Ben Thomson <[email protected]> Co-authored-by: Luke Towers <[email protected]>
Replaces #145 This preserves current behaviour: an event listener defined on the model with default priority (0) will get called first, then the model method will get called (through an event listener with default priority). If an event listener uses a LOWER priority (e.g. -1), the model method will get called first (because its priority is 0 by default)
Currently a memory cache is used to avoid making unnecessary calls to the database, when there have been no changes. This cache is cleared by executing insert, update, delete or truncate. With this change, the cache is also cleared when using upsert.
Adds support for automatic detaching / deletion of relationships using pivot tables. Related: wintercms/winter#386, wintercms/winter#972. Documented by wintercms/docs#159. Co-authored-by: Ben Thomson <[email protected]> Co-authored-by: Luke Towers <[email protected]>
Replaces #153. In PHP 8.3, [calling `get_class()` and `get_parent_class()` functions without arguments is deprecated](https://php.watch/versions/8.3/get_class-get_parent_class-parameterless-deprecated). References: - [PHP RFC: Deprecate functions with overloaded signatures](https://wiki.php.net/rfc/deprecate_functions_with_overloaded_signatures) - [PHP 8.3: get_class() and get_parent_class() function calls without arguments deprecated](https://php.watch/versions/8.3/get_class-get_parent_class-parameterless-deprecated)
Co-authored-by: Luke Towers <[email protected]>
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.
No description provided.