Skip to content

Merge 4.1 into 4.2 #2740

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

Merged
4 commits merged into from
Mar 5, 2024
Merged

Merge 4.1 into 4.2 #2740

4 commits merged into from
Mar 5, 2024

Conversation

GromNaN
Copy link
Member

@GromNaN GromNaN commented Mar 1, 2024

Upmerge branch 4.1 into 4.2

List of commits:

@GromNaN GromNaN requested a review from a team as a code owner March 1, 2024 11:45
@GromNaN GromNaN requested review from jmikola and alcaeus and removed request for a team March 1, 2024 11:45
GromNaN and others added 2 commits March 5, 2024 09:49
…ield with custom format (#2741)

- Fix #2729 by removing the method `Model::castAttribute()` that was introduced by #2658 in 4.1.0. Tests added to ensure `null` is allowed in `date`, `datetime`, `immutable_date`, `immutable_datetime` and the variants with custom formats.
- Change the behavior of `immutable_date:j.n.Y H:i` (with custom format), to reset the time. This behave differently than [Laravel 10.46 that treats it like a `immutable_datetime`](https://github.com/laravel/framework/blob/v10.46.0/src/Illuminate/Database/Eloquent/Concerns/HasAttributes.php#L866-L869).
@GromNaN GromNaN closed this pull request by merging all changes into 4.2 in ebaaf14 Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants