[2.2.0] - 2024-09-04
This release brings some general bugfixes, improvements, and new library APIs.
Added
- New sub-endpoint
/users/{id}/uploads
(GH #136) - Better support for third-party plugins (GH #136)
- New
plugins
configuration field for plugin-specific settings (GH #136) - Introduce
project_dir
to plugin metadata fileelapi_plugin_metadata.yml
(GH #136, 191a049) - Aggressive logging support for
elapi.loggers.add_message
; addchange_logger_state
that controls logger class
state (4aea161, 5a68585) - New and improved HTTP APIs: shared client support,
SimpleClient
,GlobalSharedSession
(GH #137) - elAPI specific user-agent string
elAPI/<elAPI version> python-httpx/<HTTPX version>
(4bde6cd) - Improved
BaseFormat
withpackage_identifier
attribute; better plugin formatter class support (GH #138) - Add
get_active_host_url_without_api_suffix
that complimentsget_active_host
(6e42a9c) - Add new elAPI logo (4ca1f1f)
Fixed
- Fix configuration not being validated when
developer_mode
is missing (GH #133) - Fix third-party plugins breaking if they used relative imports (GH #134)
Changed
- Disable
--OC/--override-config
support fordevelopment_mode
(GH #136) - All public CLI commands now use
GlobalSharedSession
(GH #137) - Use
uvloop
instead of built-inasyncio
event loop forbill-teams
plugin (8c3750b); adduvloop
as an optional
dependency touhd-urz
- Bump versions of following dependencies and optional dependencies:
rich
to13.8.0
,tenacity
to9.0
,
python-dateutil
to2.9.0.post0
Removed
- Remove
keep_session_argument
parameter from HTTP APIs, which is replaced withshared_client
parameter (GH #137)
In collaboration with @alexander-haller.