Skip to content

Bump br_documents from 0.2.5 to 1.1.0 - #275

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot-bundler-br_documents-1.1.0
Open

Bump br_documents from 0.2.5 to 1.1.0#275
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot-bundler-br_documents-1.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 1, 2026

Copy link
Copy Markdown
Contributor

Bumps br_documents from 0.2.5 to 1.1.0.

Release notes

Sourced from br_documents's releases.

1.1.0 (April 9, 2026)

What's new

Support for the new CNPJ format introduced by Receita Federal (effective July 2026), which allows uppercase letters (A–Z) in the first 12 characters (root + branch digits).

Changes

- Validation: CNPJ format regex now accepts [A-Z0-9] in the first 12 characters, while check digits remain numeric.
- Formatting: The mask formatter (XX.XXX.XXX/XXXX-XX) handles alphanumeric roots correctly. - Check digit calculation: mod11 computation updated to use char.ord - 48 instead of char.to_i, mapping letters to their Receita Federal-defined numeric values (e.g. A → 17, B → 18, … Z → 42). Fully backwards-compatible with CPF and
numeric CNPJs.
- Internal rename: number_without_mask → remove_mask across Document and Suframa.

Compatibility

No breaking changes. All existing numeric CNPJs and CPFs continue to work as before.

1.0.1 (February 3, 2026)

What's Changed

Full Changelog: asseinfo/br_documents@v1.0.0...v1.0.1

1.0.0 (February 2, 2026)

What's Changed

Full Changelog: asseinfo/br_documents@v0.2.5...v1.0.0

Commits

Dependabot compatibility score

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [br_documents](https://github.com/asseinfo/br_documents) from 0.2.5 to 1.1.0.
- [Release notes](https://github.com/asseinfo/br_documents/releases)
- [Commits](asseinfo/br_documents@v0.2.5...v1.1.0)

---
updated-dependencies:
- dependency-name: br_documents
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels May 1, 2026
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 ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants