Skip to content

Releases: crdbrd/python-brreg

v1.4.1

28 Jan 10:01
029d381

Choose a tag to compare

Fixes

  • Update minimum Python version in docs.

Full Changelog: v1.4.0...v1.4.1

v1.4.0

28 Jan 09:57
e290ba3

Choose a tag to compare

Breaking changes

  • EnhetQuery.registert_i_foretaksregisteret has been renamed to registrert_i_foretaksregisteret due to a typo in the name. (#126)
  • EnhetQuery.under_tvangsavvikling_eller_trangsopplosning has been renamed to under_tvangsavvikling_eller_tvangsopplosning due to a typo in the name. (#126)
  • Python 3.9 support has been dropped as it has reached end-of-life. (#127)

Changes

  • Organisasjonsnummer validation now accept ints in addition to strings. (#126)
  • Python 3.14 is now part of our test matrix. (#127)
  • We're now typechecking with ty in addition to mypy and basedpyright.

New Contributors

Full Changelog: v1.3.0...v1.4.0

v1.3.0

16 Feb 18:56

Choose a tag to compare

This release has no changes for users, only for distribution packagers.

Changes

  • Switched build backend from poetry to hatchling.
  • Development is now done using uv and tox-uv.
  • Bumped some dev tooling versions.

v1.2.0

19 Nov 22:35

Choose a tag to compare

Breaking changes

  • Drop support for Python 3.8. (PR: #78)

Changes

  • Officially support Python 3.13.
  • Use Trusted Publishing to when releasing to PyPI.
  • Upgrade development dependencies.

v1.1.0

18 Aug 09:33

Choose a tag to compare

Changes

  • Add python-brreg to User-Agent header. (Fixes: #21, PR: #59)
  • Test on Python 3.13 release candidate. No changes were required, so earlier versions should also work on Python 3.13. (#60)
  • Upgrade development dependencies.

v1.0.0

29 Jan 22:29

Choose a tag to compare

With this release, all the features listed as "planned" in the readme have been implemented and the roughest corners of the API have been made more ergonomic.

If you need any of the other APIs available from Brønnøysundregistrene, please create an issue and explain your use case.

Breaking changes

  • Client.search_enhet() and Client.search_underenhet() now return a Cursor object to help iterate over a paginated search result. (#16)

Features

  • Search results are now a lot easier to iterate over. See the quickstart guide for examples. (#16)

Changes

  • Upgrade development dependencies (#17)
  • Increase test coverage to 100% (#18)

v1.0.0b3

11 Jan 10:01

Choose a tag to compare

Fixes

  • Strip spaces from organisasjonsnummer before sending the request to Brreg.

v1.0.0b2

24 Dec 13:06

Choose a tag to compare

Fixes

  • Fix validation error on empty search response

v1.0.0b1

21 Dec 14:36

Choose a tag to compare

With this beta release, all the features listed as "planned" in the readme have been implemented. The API is quite low-level but functional. In future releases, more ergonomic APIs might be added on top of this foundation.

If you have a need for any of the other APIs available from Brønnøysundregistrene, please create an issue and explain your use case.

Features

  • Get the roles for a given "enhet". (#15)

v1.0.0a4

14 Dec 01:20

Choose a tag to compare

Fixes

  • Allow page number in search query to be 0.