diff --git a/CHANGELOG.md b/CHANGELOG.md index cc1abcb..762fb66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 0.12.0 + +- Dropped `final` keyword from method `generateRandom(): static` from `Id`, so that it can be overridden in subclasses. For example to be able to create UUID version 7 ids instead of the default version 4. + ## 0.11.0 - **[Breaking change](./UPGRADE.md#changed-abstract-methods-of-types)**: Changed abstract methods of types to be `public` and `static` to enable automatic registration. diff --git a/README.md b/README.md index 388ed58..415c3bf 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ composer require digital-craftsman/ids It's recommended that you install the [`uuid` PHP extension](https://pecl.php.net/package/uuid) for better performance of id creation and validation. `symfony/polyfill-uuid` is used as a fallback. You can [prevent installing the polyfill](./docs/prevent-polyfill-usage.md) when you've installed the PHP extension. -> ⚠️ This bundle can be used (and is being used) in production, but hasn't reached version 1.0 yet. Therefore, there will be breaking changes between minor versions. I'd recommend that you require the bundle only with the current minor version like `composer require digital-craftsman/ids:0.10.*`. Breaking changes are described in the releases and [the changelog](./CHANGELOG.md). Updates are described in the [upgrade guide](./UPGRADE.md). +> ⚠️ This bundle can be used (and is being used) in production, but hasn't reached version 1.0 yet. Therefore, there will be breaking changes between minor versions. I'd recommend that you require the bundle only with the current minor version like `composer require digital-craftsman/ids:0.12.*`. Breaking changes are described in the releases and [the changelog](./CHANGELOG.md). Updates are described in the [upgrade guide](./UPGRADE.md). ## Working with ids diff --git a/UPGRADE.md b/UPGRADE.md index 9db784a..8e3ea72 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,5 +1,9 @@ # Upgrade guide +## From 0.11.* to 0.12.0 + +Nothing to do. + ## From 0.10.* to 0.11.0 ### Changed abstract methods of types