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

build(deps): bump bensampo/laravel-enum from 5.3.1 to 6.3.1 #231

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 13, 2023

Bumps bensampo/laravel-enum from 5.3.1 to 6.3.1.

Changelog

Sourced from bensampo/laravel-enum's changelog.

6.3.1

Fixed

  • Mark Enum::$key and Enum::$description as non-nullable in Enum and document they are unset in FlaggedEnum

6.3.0 - 2023-01-31

Added

  • Support Laravel 10 298

6.2.2 - 2023-01-17

Fixed

  • Fix backtrack regexp error and add Windows EOL support to the annotate command 296

6.2.1 - 2023-01-12

Fixed

  • Fix running php artisan enum:annotate on long enum class 294

6.2.0 - 2022-12-07

Changed

  • Open EnumServiceProvider for customization 292

6.1.0 - 2022-10-26

Changed

  • Eliminate unnecessary abstract class AbstractAnnotationCommand 283

Fixed

  • Provide more accurate type hints in Enum and FlaggedEnum 283
  • Accept FlaggedEnum instances in QueriesFlaggedEnums scopes 283

6.0.0 - 2022-08-22

Added

  • Allow Description attribute usage on class 270
  • Add generic type TValue to Enum class

Changed

... (truncated)

Upgrade guide

Sourced from bensampo/laravel-enum's upgrade guide.

Upgrade Guide

6.x

Native types

The library now uses native types whenever possible. When you override methods or implement interfaces, you will need to add them.

Enum::getDescription() throws

Instead of returning an empty string '' on invalid values, Enum::getDescription() will throw an InvalidEnumMemberException.

Construct InvalidEnumMemberException

The constructor of InvalidEnumMemberException now expects the class name of an enum instead of an enum instance.

5.x

Laravel 9 required

Laravel 9 or higher is required.

PHP 8.0 required

PHP 8.0 or higher is now required.

4.x

Review use of Localization features

You should make sure that any enums using localization features are still translated as expected.

3.x

Laravel 8 required

Laravel 8 or higher is required.

PHP 7.3 required

PHP 7.3 or higher is now required.

2.x

Laravel 7.5 required

Laravel 7.5 or higher is required for the new native attribute casting.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Feb 13, 2023
@what-the-diff
Copy link

what-the-diff bot commented Feb 13, 2023

  • The composer.json file was changed
  • In the require section, bensampo/laravel-enum version 5.3 is replaced with 6.3

@dependabot dependabot bot force-pushed the dependabot/composer/bensampo/laravel-enum-6.3.1 branch from 9bbdd75 to 21adcc9 Compare February 22, 2023 14:28
Bumps [bensampo/laravel-enum](https://github.com/BenSampo/laravel-enum) from 5.3.1 to 6.3.1.
- [Release notes](https://github.com/BenSampo/laravel-enum/releases)
- [Changelog](https://github.com/BenSampo/laravel-enum/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/BenSampo/laravel-enum/blob/master/UPGRADE.md)
- [Commits](BenSampo/laravel-enum@v5.3.1...v6.3.1)

---
updated-dependencies:
- dependency-name: bensampo/laravel-enum
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/bensampo/laravel-enum-6.3.1 branch from 21adcc9 to 1521f78 Compare February 22, 2023 15:02
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 26, 2023

Superseded by #273.

@dependabot dependabot bot closed this Sep 26, 2023
@dependabot dependabot bot deleted the dependabot/composer/bensampo/laravel-enum-6.3.1 branch September 26, 2023 14:31
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants