Releases: eavanvalkenburg/brunt-api
Release that fixes header usage
This release fixes header usage when dealing with a supplied session, headers are now set only during the request itself, instead of defaulted at initialization.
Also did some small tweaks to typing.
fix log level
Small fix for hardcoded log level set to debug.
new import and field name python-ified
Breaking changes:
This version introduces a new create function for the Thing objects, it also renames the attributes of the thing into python style snake format (lower case words seperated by underscores). It casts some fields to int, so no longer necessary to do that in user code.
Finally it sets Python 3.8 as the minimum.
New method that can deal with additional fields for Thing
Apparently Brunt is making some changes to their API, which is resulting in additional fields being sent, so added a new method that checks, if there are new fields those are logged at Info level and the known fields are passed to the Thing init.
New field in thing response
Adds support for resave field in the Thing response.
Async version
This new version has breaking changes, compared to the previous v0.1.3.
It includes both a sync and async version, usable via BruntClient or BruntClientAsync. It also has full typing in it with Mypy.
Added last_requested_positions field
v1.0.0-beta.1 created last_requested_positions field
First Beta of new version of Brunt
This new version has breaking changes, compared to the previous v0.1.3. It also includes both a sync and async version, usable via BruntClient or BruntClientAsync.