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 ramsey/uuid requirement from ^3.8 to ^3.8 || ^4.0 #387

Merged
merged 1 commit into from Apr 30, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on ramsey/uuid to permit the latest version.

Release notes

Sourced from ramsey/uuid's releases.

4.0.0

Read the upgrade guide for details on how these changes may impact your code and what you can do to ease the upgrade process.


Added

  • Add support for version 6 UUIDs, as defined by http://gh.peabody.io/uuidv6/, including the static method Uuid::uuid6(), which returns a Nonstandard\UuidV6 instance.
  • Add ability to generate version 2 (DCE Security) UUIDs, including the static method Uuid::uuid2(), which returns an Rfc4122\UuidV2 instance.
  • Add classes to represent each version of RFC 4122 UUID. When generating new UUIDs or creating UUIDs from existing strings, bytes, or integers, if the UUID is an RFC 4122 variant, one of these instances will be returned:
    • Rfc4122\UuidV1
    • Rfc4122\UuidV2
    • Rfc4122\UuidV3
    • Rfc4122\UuidV4
    • Rfc4122\UuidV5
    • Rfc4122\NilUuid
  • Add classes to represent version 6 UUIDs, GUIDs, and nonstandard (non-RFC 4122 variant) UUIDs:
    • Nonstandard\UuidV6
    • Guid\Guid
    • Nonstandard\Uuid
  • Add Uuid::fromDateTime() to create version 1 UUIDs from instances of \DateTimeInterface.
  • The \DateTimeInterface instance returned by UuidInterface::getDateTime() (and now Rfc4122\UuidV1::getDateTime()) now includes microseconds, as specified by the version 1 UUID.
  • Add Validator\ValidatorInterface and Validator\GenericValidator to allow flexibility in validating UUIDs/GUIDs.
    • The default validator continues to validate UUID strings using the same relaxed validation pattern found in the 3.x series of ramsey/uuid.
    • Introduce Rfc4122\Validator that may be used for strict validation of RFC 4122 UUID strings.
    • Add ability to change the default validator used by Uuid through FeatureSet::setValidator().
    • Add getValidator() and setValidator() to UuidFactory.
  • Add Provider\Node\StaticNodeProvider to assist in setting a custom static node value with the multicast bit set for version 1 UUIDs.
  • Add the following new exceptions:
    • Exception\BuilderNotFoundException - Thrown to indicate that no suitable UUID builder could be found.
    • Exception\DateTimeException - Thrown to indicate that the PHP DateTime extension encountered an exception/error.
    • Exception\DceSecurityException - Thrown to indicate an exception occurred while dealing with DCE Security
... (truncated)
Changelog

Sourced from ramsey/uuid's changelog.

[4.0.0] - 2020-03-22

Added

  • Add support for version 6 UUIDs, as defined by http://gh.peabody.io/uuidv6/, including the static method Uuid::uuid6(), which returns a Nonstandard\UuidV6 instance.
  • Add ability to generate version 2 (DCE Security) UUIDs, including the static method Uuid::uuid2(), which returns an Rfc4122\UuidV2 instance.
  • Add classes to represent each version of RFC 4122 UUID. When generating new UUIDs or creating UUIDs from existing strings, bytes, or integers, if the UUID is an RFC 4122 variant, one of these instances will be returned:
    • Rfc4122\UuidV1
    • Rfc4122\UuidV2
    • Rfc4122\UuidV3
    • Rfc4122\UuidV4
    • Rfc4122\UuidV5
    • Rfc4122\NilUuid
  • Add classes to represent version 6 UUIDs, GUIDs, and nonstandard (non-RFC 4122 variant) UUIDs:
    • Nonstandard\UuidV6
    • Guid\Guid
    • Nonstandard\Uuid
  • Add Uuid::fromDateTime() to create version 1 UUIDs from instances of \DateTimeInterface.
  • The \DateTimeInterface instance returned by UuidInterface::getDateTime() (and now Rfc4122\UuidV1::getDateTime()) now includes microseconds, as specified by the version 1 UUID.
  • Add Validator\ValidatorInterface and Validator\GenericValidator to allow flexibility in validating UUIDs/GUIDs.
    • The default validator continues to validate UUID strings using the same relaxed validation pattern found in the 3.x series of ramsey/uuid.
    • Introduce Rfc4122\Validator that may be used for strict validation of RFC 4122 UUID strings.
    • Add ability to change the default validator used by Uuid through FeatureSet::setValidator().
    • Add getValidator() and setValidator() to UuidFactory.
  • Add Provider\Node\StaticNodeProvider to assist in setting a custom static node value with the multicast bit set for version 1 UUIDs.
  • Add the following new exceptions:
    • Exception\BuilderNotFoundException - Thrown to indicate that no suitable UUID builder could be found.
    • Exception\DateTimeException - Thrown to indicate that the PHP DateTime extension encountered an exception/error.
    • Exception\DceSecurityException - Thrown to indicate an exception occurred while dealing with DCE Security (version 2) UUIDs.
    • Exception\InvalidArgumentException - Thrown to indicate that the argument received is not valid. This extends the
... (truncated)
Commits
  • 2c9644b Release 4.0.0
  • 19a3ccb Prepare for 4.0.0 release
  • 5808507 Add a REPL script for testing
  • fcfcd3f Fix failing tests on Windows
  • 744c057 [ci skip] Add Uuid method return types that have changed (slightly)
  • 706bac0 Fix PHPStan errors
  • fd5669d Attempt to run the full build on PHP 8
  • fc9d5e3 Merge pull request #299 from andysnell/proofread-v4-docs
  • 7b068c6 Fix Minor Typos in Docs
  • 7e83bf5 [ci skip] Remove ko-fi link from FUNDING.yml
  • 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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [ramsey/uuid](https://github.com/ramsey/uuid) to permit the latest version.
- [Release notes](https://github.com/ramsey/uuid/releases)
- [Changelog](https://github.com/ramsey/uuid/blob/master/CHANGELOG.md)
- [Commits](ramsey/uuid@3.8.0...4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 23, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling 05f87a4 on dependabot/composer/ramsey/uuid-tw-3.8or-tw-4.0 into fc9e8c0 on master.

@prolic prolic merged commit 35d188b into master Apr 30, 2020
@prolic prolic deleted the dependabot/composer/ramsey/uuid-tw-3.8or-tw-4.0 branch April 30, 2020 04:23
prolic added a commit that referenced this pull request May 2, 2020
prolic added a commit that referenced this pull request May 2, 2020
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants