Recent Releases of gallagher
gallagher - v0.1.0-alpha.13
💅 Improves
AccessZoneRefnow has anOptional,Identifier.last_successful_access_zoneonCardholderDetaildoes not send back anIdentifierbut all other responses using theRefdo, it was wiser to relax this rule.
- Python
Published by devraj about 1 year ago
gallagher - v0.1.0-alpha.12
🐛 Fixes
- Automates
__init__.pygetting version metadata frompoetrypackage, ensuring that it's always kept up to date whenpyproject.tomlis 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.Eventimplementation where the called calls.setto break the event loop forfollowcommands, 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 UIDwould becomepdf.cardholder_uid@Citywould becomepdf.city@Company Namewould becomepdf.company_name@PINNumberwould becomepdf.pin_number
🛠️ Fixes
dto/summary/pdf.pyrelaxes theHreffield requirement, they are nowOptionalHrefwith a default ofNone#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.ItemRefnow has anOptionalHrefinstead of it being anOptionalparameter inEventSummary
- 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-Agentheader string #63
💅 Improvements
- Updates dependencies for the project
- Documentation to reflect TLS feature #66
🛠️ Fixes
- Update various
asynciosettings - Infinite loop for
itemstests, 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-Agentstring #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
httpxconfiguration - Search functionality via the
apiand interfacing with thecli, e.ggala ch fin Devrajwill 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
cliitems and colour codes output e.g alarms are now colour coded by severity
🛠️ Fixes
- References to various
pyndaticlegacy 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
Typerbased command line interface, thanks to @tiangolo for maintaining it - Automated publishing to Pypi on tagging a release #16
💅 Improvements
- Adds
taskendpoint for debugging the Gallagher REST endpoints, for example usetask debug:get -- alarmsto trigger agetrequest. This will usehttpieto 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
clidocumentation. - Drastic improvements in
testsuiteperformance by transforming network requests intofixturesfor 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,detailandresponseclasses - 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