Skip to content

Releases: bang-olufsen/mozart-open-api

4.1.1.116.4

10 Dec 15:57
Compare
Choose a tag to compare

Full Changelog: 4.1.1.116.3...4.1.1.116.4

  • Use AIOHTTP >=3.11.0, fixing WebSocket reconnect issues
  • Add __all__ attribute to __init__.py files
  • Small tweaks and improvements

4.1.1.116.3

22 Nov 17:44
Compare
Choose a tag to compare

Full Changelog: 4.1.1.116.2...4.1.1.116.3

  • Fix callback typing not supporting awaitable functions

4.1.1.116.2

22 Nov 16:03
Compare
Choose a tag to compare

Full Changelog: 4.1.1.116.0...4.1.1.116.2

  • Add better type hinting
  • Use ruff instead of black for formatting
  • Update OpenAPI generator to version 7.10
  • Improve API documentation
  • Tweaks

4.1.1.116.0

17 Oct 12:03
Compare
Choose a tag to compare

Full Changelog: 3.4.1.8.8...4.1.1.116.0

  • Update API specification

3.4.1.8.8

20 Sep 13:23
Compare
Choose a tag to compare

Full Changelog: 3.4.1.8.7...3.4.1.8.8

  • Add ssl_context parameter to MozartClient in Python client. This can be used to bypass ssl.load_default_certs, which is a blocking call.
  • Remove old unused model in Python client in this repository.

3.4.1.8.7

03 Sep 14:33
Compare
Choose a tag to compare

Full Changelog: 3.4.1.8.6...3.4.1.8.7

  • Add post-reboot method
  • Add better checks to get_highest_resolution_artwork in Python client
  • Update API generator from version 7.6.0 to 7.8.0

3.4.1.8.6

24 Jun 19:14
Compare
Choose a tag to compare

Full Changelog: 3.4.1.8.5...3.4.1.8.6

  • Disable aiohttp Clientsession trust_env as it uses netrc, which is not async
  • Update OpenAPI generator from version 7.4.0 to 7.6.0

3.4.1.8.5

11 Apr 13:59
Compare
Choose a tag to compare

Full Changelog: 3.4.1.8.4...3.4.1.8.5

  • Add Pydantic V2 compatibility to Python client

3.4.1.8.4

26 Mar 17:04
Compare
Choose a tag to compare

Full Changelog: 3.4.1.8.2...3.4.1.8.4

  • Revert the Python generator from python back to python-pydantic-v1 for Pydantic v1 compatibility
  • Revert WebSocket backend from websockets back to aiohttp becuase of instability on some systems

3.4.1.8.2

23 Mar 17:51
Compare
Choose a tag to compare

Full Changelog: 3.4.1.8.0...3.4.1.8.2

A new repository structure has been implemented, which means that the OpenAPI document and python client are now easily viewable. The release assets will no longer contain the OpenAPI file, as it will already be in the source code.

API client changelogs will also be available here.

Changelog mozart_api 3.2.1.150.6 -> 3.4.1.8.2:
Commit: da13156

  • Update OpenAPI generator from version 7.1.0 -> 7.4.0
  • Change Python generator from python-pydantic-v1 -> python (pydantic v2). This causes the minimum required Python version to be 3.11
  • Rework mozart_client.py
    • Add check_device_connection which checks REST API and WebSocket connection, raises exceptions if needed and returns a boolean of the status. This is compared to the now removed check_websocket_connection which only returned a boolean.
    • Change WebSocket backend from aiohttp to websockets
  • Small typing changes to mozart_cli.py
  • Fix empty discovery info getting processed in mozart_cli.py
  • Add Beoconnect core as supported device to documentation