Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

fix(deps): update spatie/laravel-enum requirement from ^2.2 to ^2.2 || ^3.0 #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 7, 2022

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

Release notes

Sourced from spatie/laravel-enum's releases.

3.0.1

  • Fix nested form data casting - #86
Changelog

Sourced from spatie/laravel-enum's changelog.

3.0.1 - 2022-02-05

  • Fix nested form data casting - #86

3.0.1 - 2022-02-05

  • Fix nested form data casting - #86

3.0.0 - 2022-02-03

  • Support Laravel 9
  • Enum request data transformation is only possible with $request->input() and not with $request->query->get() anymore:
- $request->query->get('status')
+ $request->input('status')

  • If you're working directly with the InputBag request object, you'll need to use all()[''] instead of get():
- $request->request->get('status');
+ $request->request->all()['status'];

2.5.2 - 2021-07-24

  • fix :attribute replacement in \Spatie\Enum\Laravel\Rules\EnumRule::message() to respect custom attribute translations - #77

2.5.1 - 2021-05-31

  • fix comma format with empty string value in database - #73
  • replaced deprecated make() call with from() - #74

2.5.0 - 2021-05-01

  • add comma format to \Spatie\Enum\Laravel\Casts\EnumCollectionCast - #70
  • add \Spatie\Enum\Laravel\Enum::toRule() method - #66

2.4.0 - 2021-02-19

  • add implicit and explicit route binding - #65
  • drop unusable Spatie\Enum\Laravel\Http\Middleware\TransformEnums middleware in favor of route binding

Warning: the dropped TransformEnums middleware was unusable - but if you've found a way to use it in your project this release will be breaking and you will have to switch to form requests or route binding.

2.3.0 - 2021-02-12

  • accept enum instance in validation rule (Livewire) - #64

... (truncated)

Commits

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 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-enum](https://github.com/spatie/laravel-enum) to permit the latest version.
- [Release notes](https://github.com/spatie/laravel-enum/releases)
- [Changelog](https://github.com/spatie/laravel-enum/blob/main/CHANGELOG.md)
- [Commits](spatie/laravel-enum@2.2.0...3.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 7, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants