Skip to content
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

Update spatie/laravel-data requirement from ^3.1 to ^4.0 #17

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2024

Updates the requirements on spatie/laravel-data to permit the latest version.

Release notes

Sourced from spatie/laravel-data's releases.

4.0.1

Laravel-data 4.0.0 was released 5 hours ago, time for an update!

  • Add support for a collection cast
  • Make sure we check wether a value is Uncastable
  • Fix issue where creating a data object from multiple payloads wasn't always consistent
  • Allow disabling cache
  • Refactor PropertyRules
  • Fix issue where install on windows was impossible
  • Fix types for map and through (#640)
Changelog

Sourced from spatie/laravel-data's changelog.

4.0.1 - 2024-02-09

Laravel-data 4.0.0 was released 5 hours ago, time for an update!

  • Add support for a collection cast
  • Make sure we check wether a value is Uncastable
  • Fix issue where creating a data object from multiple payloads wasn't always consistent
  • Allow disabling cache
  • Refactor PropertyRules
  • Fix issue where install on windows was impossible
  • Fix types for map and through (#640)

4.0.0

  • Allow arrays, Collections, Paginators, ... to be used as DataCollections
  • Add support for magically creating data collections
  • Rewritten transformation system with respect to includeable properties
  • Addition of collect method
  • Removal of collection method
  • Add support for using Laravel Model attributes as data properties
  • Allow creating data objects using from without parameters
  • Add support for a Dto and Resource object
  • It is now a lot easier to validate all the payloads added to laravel-data
  • Added contexts to the creation and transformation process
  • Allow creating a data object or collection using a factory
  • Speed up the process of creating and transforming data objects
  • Add support for BNF syntax
  • Laravel 10 requirement
  • Rewritten docs

Some more "internal" changes

  • Restructured tests for the future we have ahead
  • The Type system was completely rewritten, allowing for a better performance and more flexibility in the future
  • Benchmarks added to make data even faster

3.11.0 - 2023-12-21

  • Add support for data structure caching #622

3.10.1 - 2023-12-04

  • Make ValidationPath Stringable
  • Fix PHPStan
  • Improve performance when optional peoperty exists (#612)

3.10.0 - 2023-12-01

A fresh release after a month of vacation, enjoy!

... (truncated)

Commits
  • b884e9a Fix phpstan
  • 8550a10 Merge pull request #640 from joelbutcher/fix/data-collection-type-hinting
  • ed87781 Merge branch 'main' into fix/data-collection-type-hinting
  • 69686b7 Fix issue with windows
  • cbad752 Merge pull request #654 from Slund/main
  • 1584cb6 Fix styling
  • e954107 Rfeactor property rules and add a failing test
  • c34bbea Fix styling
  • 13f9d5f Allow disabling data cache + always disable it in unit tests
  • ea7ad7e Allow disabling structure cache
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [spatie/laravel-data](https://github.com/spatie/laravel-data) to permit the latest version.
- [Release notes](https://github.com/spatie/laravel-data/releases)
- [Changelog](https://github.com/spatie/laravel-data/blob/main/CHANGELOG.md)
- [Commits](spatie/laravel-data@3.1.0...4.0.1)

---
updated-dependencies:
- dependency-name: spatie/laravel-data
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 9, 2024
@dependabot dependabot bot requested a review from Gummibeer February 9, 2024 19:12
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 16, 2024

Superseded by #18.

@dependabot dependabot bot closed this Feb 16, 2024
@dependabot dependabot bot deleted the dependabot/composer/spatie/laravel-data-tw-4.0 branch February 16, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Development

Successfully merging this pull request may close these issues.

0 participants