Skip to content

Commit

Permalink
Merge pull request #266 from invopop/release-0.71
Browse files Browse the repository at this point in the history
Release 0.71
  • Loading branch information
samlown authored Apr 8, 2024
2 parents a651d82 + 011a8af commit 549c3b8
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 3 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Change Log

All notable changes to GOBL will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). See also the [GOBL versions](https://docs.gobl.org/overview/versions) documentation site for more details.

## [Unreleased] - yyyy-mm-dd

Here we write upgrading notes for brands. It's a team effort to make them as
straightforward as possible.

### Added

- [PROJECTNAME-XXXX](http://tickets.projectname.com/browse/PROJECTNAME-XXXX)
MINOR Ticket title goes here.
- [PROJECTNAME-YYYY](http://tickets.projectname.com/browse/PROJECTNAME-YYYY)
PATCH Ticket title goes here.

### Changed

### Fixed

## [v0.71.0] - 2024-04-08

New number formatting support! Expect some possible breaking SDK changes with the `num` packages. No significant schema changes.

### Added

- This CHANGELOG.md file (finally!)
- Swiss (CH) tax regime.
- Austrian (AT) tax regime.
- `num` package now provides advanced number formatting.
- `currency` provides "definitions" loaded from JSON with support for formatting.
- Polish (PL) correction and preceding validation.
- Polish (PL) header stamps for QR code.

### Changed

- `num` package refactored so that `num.Percentage` is independent from `num.Amount`.

### Fixed

- Minor fixes around tax regime definitions.
- [invopop/yaml](https://github.com/invopop/yaml) upgraded.

## [v0.70.1] - 2024-03-25

- Last version before CHANGELOG.md.
4 changes: 2 additions & 2 deletions regimes/pl/pl.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (

// KSeF official codes to include.
const (
StampProviderKSeF cbc.Key = "ksef-id"
StampProviderKSeFID cbc.Key = "ksef-id"
StampProviderKSeFHash cbc.Key = "ksef-hash"
StampProviderKSeFQR cbc.Key = "ksef-qr"
)
Expand Down Expand Up @@ -54,7 +54,7 @@ func New() *tax.Regime {
},
ReasonRequired: true,
Stamps: []cbc.Key{
StampProviderKSeF,
StampProviderKSeFID,
},
Extensions: []cbc.Key{
ExtKeyKSeFEffectiveDate,
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
type Version string

// VERSION is the current version of the GOBL library.
const VERSION Version = "v0.70.1"
const VERSION Version = "v0.71.0"

// Semver parses and returns semver
func (v Version) Semver() *semver.Version {
Expand Down

0 comments on commit 549c3b8

Please sign in to comment.