Skip to content

Development release: 3rd-party plugin-ready release

Choose a tag to compare

@alexander-haller alexander-haller released this 01 Jul 18:05
· 288 commits to main since this release
68ebd9b

[1.0.7.dev5] - 2024-06-25

The fourth development release was not the penultimate one before the final release. We now release the fifth
development version. This release brings lots of bug fixes, improvements, new features and architectural changes
necessary for upcoming 3rd-part plugin support.

Added

  • Refactor and restructure design pattern; current design pattern observably follows "simple layered design
    pattern" that allows proper 3rd-party plugin
    support !55
  • New global
    option --override-config/--OC !55
  • Add support for new configuration
    fields: enable_http2, verify_ssl, timeout #55
  • Add startup callback
    function cli_startup !55
    • Validate configuration during startup
  • Add typer.Typer overloaded
    class elapi.plugins.commons.Typer !55
  • Add singleton class MinimalActiveConfiguration in elapi.configuration that can always be used to get overloaded
    configuration values !55
  • Make all HTTP client APIs
    configurable !55
  • Add generate-table sub-command for bill-teams plugin

Fixed

  • Fix too many INFO messages #42
  • Fix logger throwing an exception #45
  • Fix configuration not being validated #30
  • Fix "current" as valid endpoint ID #49
  • Fix JSON input parser issue #48

Changed

  • Move raw command panel to RAW API commands panel
  • Make bill-teams plugin optional. This plugin can only be installed
    with pipx install elapi[uhd-urz] !53
  • Move api.py, endpoint.py to its own package directory api/
  • Relocate validator classes; add validators.py that aggregates all necessary validators to retain backward
    compatibility
  • Increased default timeout to 30
    seconds !59
  • Remove default keyword arguments (timeout) from HTTP clients