Recent Releases of gallagher

gallagher - v0.1.0a14

💅 Improves

  • Rules for AccsesZoneRef to relax href to support command centres that don't sent it across

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.13

💅 Improves

  • AccessZoneRef now has an Optional, Identifier. last_successful_access_zone on CardholderDetail does not send back an Identifier but all other responses using the Ref do, it was wiser to relax this rule.

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.12

🐛 Fixes

  • Automates __init__.py getting version metadata from poetry package, ensuring that it's always kept up to date when pyproject.toml is updated.

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.11

📢 Preamble

Urgent release to refactor asyncio.Event implementation

💅 Improvements

  • Refactor asyncio.Event implementation where the called calls .set to break the event loop for follow commands, see official docs

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.10

📢 Preamble

A release to refactor the way PDF fields are accessed, documentation was update to reflect this.

💅 Improvements

The pdf attribute is dynamically populated object with dynamically generated keys. Here are some examples of how PDF field names are mapped to snake_case keys:

  • @Cardholder UID would become pdf.cardholder_uid
  • @City would become pdf.city
  • @Company Name would become pdf.company_name
  • @PINNumber would become pdf.pin_number

🛠️ Fixes

  • dto/summary/pdf.py relaxes the Href field requirement, they are now OptionalHref with a default of None #77

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.9

📢 Preamble

Fast-forward release to fix issues with Event parsing rules for follow

🛠️ Fixes

  • refs.ItemRef now has an OptionalHref instead of it being an Optional parameter in EventSummary

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.8

📢 Preamble

Fast-forward release to fix issues with Event parsing rules for follow

🛠️ Fixes

  • Relaxes various rules for parsing Event data in responses when following endpoints #71, this may also render #20 as irrelevant

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.7

📢 Preamble

Fast-forwarded release for getting the TLS authentication feature out in the open with documentation for use by a production project #66.

✨ New

  • TLS support for authentication against command centre #66, adds tests to use temporary files which loads certificates form environment variables (because we store these in Github secrets for the actions).
  • Adds custom User-Agent header string #63

💅 Improvements

  • Updates dependencies for the project
  • Documentation to reflect TLS feature #66

🛠️ Fixes

  • Update various asyncio settings
  • Infinite loop for items tests, limits this 10 pages for testing purposes

- Python
Published by devraj about 1 year ago

gallagher - v0.1.0-alpha.6

📢 Preamble

Adds a User-Agent string to httpx requests and most work on the documentation. This release also features some examples on polling events using the asyncio loop.

✨ New

  • Printing related examples in the code, specially in examples
  • Adds User-Agent string #63

💅 Improvements

  • Major rewrites of much of the documentation
  • Updates packages as required during the time passed

- Python
Published by devraj over 1 year ago

gallagher - v0.1.0-alpha.5

📢 Preamble

Another alpha release to keep pushing features in order to get the library to a stable state. Use this release with caution but definitely upgrade if you are an early adopter.

  • Major updates to the documentation suite which is now taking shape in terms of structure
  • Adds notes on configuring the C7000 over a public network
  • First view of the search features via the api

✨ New

  • Adds proxy support in the httpx configuration
  • Search functionality via the api and interfacing with the cli, e.g gala ch fin Devraj will use the search API to find names that match the provided string
  • Foundations for the terminal user interface

💅 Improvements

  • Updates various dependencies to ensure we are tracking the latest possible versions
  • Display of cli items and colour codes output e.g alarms are now colour coded by severity

🛠️ Fixes

  • References to various pyndatic legacy calls
  • Various validation rules where a card may not have an invite email (see enterprise managed offering)

- Python
Published by devraj almost 2 years ago

gallagher - v0.1.0-alpha.4

📢 Preamble

This release solidifies the vision of this API client. Our current vision is to ship: - A Python idiomatic client with documentation and examples - A command line utility to interact with the Gallagher API and aid with automation - A Terminal Interface that provides a superb experience for power users including the use of LLMs to query using natural language (English supported for now)

This release provides a near complete version of the Python API and the related tools, creating a foundation and making is ready for release.

✨ New

  • Vendors in @betodealmeida/shillelagh by @betodealmeida who gracefully chimed in on #9
  • Adds Typer based command line interface, thanks to @tiangolo for maintaining it
  • Automated publishing to Pypi on tagging a release #16

💅 Improvements

  • Adds task endpoint for debugging the Gallagher REST endpoints, for example use task debug:get -- alarms to trigger a get request. This will use httpie to execute the request and append necessary headers and parameters
  • Dependencies have been updated across the various deliverables to ensure we keep up security protocols and enhancements provided by upstream packages
  • Documentation across the entire project, getting ready for the final release, moves to using bruce-szalwinski/mkdocs-typer by @bruce-szalwinski for producing cli documentation.
  • Drastic improvements in testsuite performance by transforming network requests into fixtures for examples we can fetch alarms and then perform multiple validation operations on the data:

```py @pytest.fixture async def alarm_summary() -> AlarmSummaryResponse: """ Get a list of item types and iterates through it these are a summary response

"""
response = await Alarms.list()
return response

```

🛠️ Fixes

  • Handles API endpoints errors properly and raises exceptions rather than letting the API client fail #8
  • Renames various incorrectly named DTO classes, this is due to the rapidly evolving nature of the project and should stabilise past these initial alpha/beta releases.

- Python
Published by devraj almost 2 years ago

gallagher - v0.1.0-alpha.2

This is the first pre-release of the library where the design patterns are starting to take shape. This particular version was published onto pypi to formalise the existence of the library.

✨ New

  • Design of the API parsing endpoints as refs, summary, detail and response classes
  • Command line interface based on typer
  • Lays pathway for designing a console using textual #25

This is a pre-release please do not use this for production requirements, we are aiming to get this to a beta release within the next month and make the library available for general use

- Python
Published by devraj over 2 years ago