Skip to content

Releases: crdbrd/python-brreg

v1.5.0

Choose a tag to compare

@jodal jodal released this 18 Jun 08:41
ab8c6df

What's Changed

  • fix: Remove Enhet.nedleggelsesdato field by @jodal in #155
  • fix: Changes to the Rolle type by @jodal in #156
  • fix: Fix EnhetQuery search parameter serialization by @jodal in #157
  • fix: Allow EnhetQuery.{fra,til}_antall_ansatte to be zero by @jodal in #158
  • docs: Update quickstart examples by @jodal in #154
  • chore: Specify API version in Client.get_roller() by @jodal in #159
  • chore: Migrate from httpx to httpx2 by @jodal in #160

Full Changelog: v1.4.1...v1.5.0

v1.4.1

Choose a tag to compare

@jodal jodal released this 28 Jan 10:01
029d381

Fixes

  • Update minimum Python version in docs.

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

v1.4.0

Choose a tag to compare

@jodal jodal released this 28 Jan 09:57
e290ba3

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

Choose a tag to compare

@jodal jodal released this 16 Feb 18:56

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

Choose a tag to compare

@jodal jodal released this 19 Nov 22:35

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

Choose a tag to compare

@jodal jodal released this 18 Aug 09:33

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

Choose a tag to compare

@jodal jodal released this 29 Jan 22:29

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

Choose a tag to compare

@jodal jodal released this 11 Jan 10:01

Fixes

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

v1.0.0b2

Choose a tag to compare

@jodal jodal released this 24 Dec 13:06

Fixes

  • Fix validation error on empty search response

v1.0.0b1

Choose a tag to compare

@jodal jodal released this 21 Dec 14:36

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)