Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/cnpj-gen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# lacus/cnpj-gen

## 2.1.0

### Improvements

- Runtime dependency `lacus/cnpj-dv` updated to v1.1, with a slight performance improvement.

### Deprecations

- **`CnpjType` rename planned** — `CnpjType` was deprecated and will be renamed to `CnpjGenerationType` in the next major version of the package. Use an import alias (`use Lacus\BrUtils\Cnpj\Enums\CnpjType as CnpjGenerationType`) to prepare for the change in near future.

## 2.0.0

### 🎉 v2 at a glance 🎊
Expand Down
2 changes: 1 addition & 1 deletion packages/cnpj-gen/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"require": {
"php": "^8.2",
"lacus/cnpj-dv": "^1.0",
"lacus/cnpj-dv": "^1.1",
"lacus/utils": "^1.0"
},
"require-dev": {
Expand Down
5 changes: 5 additions & 0 deletions packages/cnpj-gen/src/Enums/CnpjType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@

use Lacus\Utils\SequenceType;

/**
* @deprecated (v2.1.0+) This enum will be renamed to `CnpjGenerationType` in
* the next major version. For forward compatibility, use an import alias like
* `use Lacus\BrUtils\Cnpj\Enums\CnpjType as CnpjGenerationType;`
*/
enum CnpjType: string
{
case Alphanumeric = SequenceType::Alphanumeric->value;
Expand Down
Loading