From d98bef096f7abdd670b5d31c2f8c423640bfa390 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sun, 27 Mar 2022 13:03:58 -0500 Subject: [PATCH 1/2] Deprecate Ramsey\Uuid\Generator\RandomLibAdapter --- CHANGELOG.md | 9 +++++++++ src/Generator/RandomLibAdapter.php | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0453166..4edc056 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## Unreleased + +### Deprecated + +The following will be removed in ramsey/uuid 5.0.0: + +* `Ramsey\Uuid\Generator\RandomLibAdapter` + + ## 4.3.0 - 2022-03-26 ### Changed diff --git a/src/Generator/RandomLibAdapter.php b/src/Generator/RandomLibAdapter.php index 24ed569..793ccd5 100644 --- a/src/Generator/RandomLibAdapter.php +++ b/src/Generator/RandomLibAdapter.php @@ -21,6 +21,10 @@ use RandomLib\Generator; * RandomLibAdapter generates strings of random binary data using the * paragonie/random-lib library * + * @deprecated This class will be removed in 5.0.0. Use the default + * RandomBytesGenerator or implement your own generator that implements + * RandomGeneratorInterface. + * * @link https://packagist.org/packages/paragonie/random-lib paragonie/random-lib */ class RandomLibAdapter implements RandomGeneratorInterface From a7c1432bf41f29825175305247cbad6b7543b67d Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sun, 27 Mar 2022 13:07:12 -0500 Subject: [PATCH 2/2] Remove branch alias for 4.x-dev --- composer.json | 3 --- composer.lock | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 93f73c2..112fabf 100644 --- a/composer.json +++ b/composer.json @@ -75,9 +75,6 @@ "sort-packages": true }, "extra": { - "branch-alias": { - "dev-main": "4.x-dev" - }, "captainhook": { "force-install": true } diff --git a/composer.lock b/composer.lock index a08534a..a163200 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5fcdbc6dcf9c10412d1894464499a2cf", + "content-hash": "a25c72a5ef6192080af4cfe5d691337d", "packages": [ { "name": "brick/math",