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/composer.json b/composer.json index dc8e591..9c3fef0 100644 --- a/composer.json +++ b/composer.json @@ -74,9 +74,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 be1a643..0cdb44b 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": "6c17396508c539b8fa90349419d06309", + "content-hash": "ce3cd44d20ba1daf10d5ab2a9631b702", "packages": [ { "name": "brick/math", 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