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 dependency spatie/laravel-data to v4 - autoclosed #18

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 9, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
spatie/laravel-data ^3.0 -> ^4.0 age adoption passing confidence

Release Notes

spatie/laravel-data (spatie/laravel-data)

v4.0.1

Compare Source

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)

v4.0.0

Compare Source

  • 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

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot changed the title Update dependency spatie/laravel-data to v4 Update dependency spatie/laravel-data to v4 - autoclosed Feb 12, 2024
@renovate renovate bot closed this Feb 12, 2024
@renovate renovate bot deleted the renovate/spatie-laravel-data-4.x branch February 12, 2024 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

0 participants