Skip to content

chore(deps): bump github.com/invopop/gobl from 0.502.1 to 0.503.0 - #4797

Merged
chrisgacsal merged 2 commits into
mainfrom
dependabot/go_modules/github.com/invopop/gobl-0.503.0
Jul 28, 2026
Merged

chrisgacsal merged 2 commits into
mainfrom
dependabot/go_modules/github.com/invopop/gobl-0.503.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/invopop/gobl from 0.502.1 to 0.503.0.

Release notes

Sourced from github.com/invopop/gobl's releases.

v0.503.0

What's Changed

Full Changelog: invopop/gobl@v0.502.2...v0.503.0

v0.502.2

What's Changed

Full Changelog: invopop/gobl@v0.502.1...v0.502.2

Changelog

Sourced from github.com/invopop/gobl's changelog.

[v0.503.0] - 2026-07-15

Added

  • org: new Attribute model with Item.Attributes for named item features such as color or size (EN 16931 BG-32). Attributes replace the previous practice of mapping Item.Meta into output formats — meta is internal-only data. Each attribute is identified by a key or type and holds exactly one of a text, code, amount (with optional unit), or date value. Standard keys cover physical properties of the item, dates, nutritional declarations, and CO2e emissions. Item attribute keys must be unique.
  • org: kj (kilojoule) and kcal (kilocalorie) units.
  • net: Client.Who fetches and verifies a domain's public identity from GET /.well-known/gobl/who, and Client.VerifySender additionally requires a countersignature from a trusted authority at a minimum scope. New ErrNoContent (HTTP 204: the account exists but publishes no identity details) and ErrScopeInsufficient sentinel errors.
  • head: optional exp claim (JWT-standard, RFC 7519 §4.1.4) in the signed payload, set with head.WithExpiration, marking the time after which the signature's assertions should no longer be relied upon. net.VerifyAuthority rejects countersignatures whose exp has passed with the new ErrSignatureExpired sentinel; signatures without exp do not expire.

Changed

  • net: /who is now an open GET returning the domain's self-signed party envelope, replacing the authenticated POST exchange; allow-list support is removed. Client.VerifyAuthorityWithScope enforces a minimum scope on top of the Client.VerifyAuthority check. Client.VerifyEnvelope verifies only the first signature, so envelopes carrying authority countersignatures now verify.
  • tax: the currency rounding rule combined with prices_include now determines each rate's tax amount from the sum of the tax-inclusive line totals and shares it back over the lines, so that bases, tax amounts, and document totals always add up, including when other categories such as retained taxes are present.
  • addons/eu/en16931: party identities are now validated so that at most one may carry the legal scope (BT-30, BT-47) and at most one the tax scope (BT-31, BT-48).
  • addons/it/sdi: item attribute type is validated to be at most 10 characters, matching the FatturaPA AltriDatiGestionali/TipoDato (BT-160) field it maps to.

Fixed

  • tax: totals now reset the retained tax and category surcharge sums before recalculating, so repeated calculations over the same totals no longer accumulate stale amounts.

[v0.502.2] - 2026-07-06

Changed

  • cbc.Code: maximum length increased from 64 to 128 characters.
Commits
  • 43ca367 Merge pull request #902 from invopop/release-0.503.0
  • 0b34571 Merge branch 'main' into release-0.503.0
  • f1adaf9 Merge pull request #904 from invopop/net-sender-endorsements
  • 7d7c35c net: guard nil envelope headers, extend test coverage
  • a62aada net: canonicalize addresses at client entry points
  • bc82955 net: enforce pre-epoch exp claims
  • d2d5eb8 net: split VerifyAuthorityWithScope, harden Who and expiry checks
  • b710f8f net: open GET /who, sender endorsements, and signature expiry
  • adfb223 Release 0.503.0
  • 1ff070c Merge pull request #901 from invopop/it-sdi-item-attribute-validation
  • Additional commits viewable in compare view

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 [github.com/invopop/gobl](https://github.com/invopop/gobl) from 0.502.1 to 0.503.0.
- [Release notes](https://github.com/invopop/gobl/releases)
- [Changelog](https://github.com/invopop/gobl/blob/main/CHANGELOG.md)
- [Commits](invopop/gobl@v0.502.1...v0.503.0)

---
updated-dependencies:
- dependency-name: github.com/invopop/gobl
  dependency-version: 0.503.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code release-note/dependency-update Release note: Dependency Updates labels Jul 27, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 27, 2026 11:56
@dependabot dependabot Bot added area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code release-note/dependency-update Release note: Dependency Updates labels Jul 27, 2026
@chrisgacsal
chrisgacsal merged commit 0770187 into main Jul 28, 2026
23 of 25 checks passed
@chrisgacsal
chrisgacsal deleted the dependabot/go_modules/github.com/invopop/gobl-0.503.0 branch July 28, 2026 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependencies Pull requests that update a dependency file dependency/go Pull requests that update Go code release-note/dependency-update Release note: Dependency Updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant