Releases: ManneW/vilfo-api-client-python
Fix issue with semver dependency
Thanks to contributions from @frenck and @bouwew, this new version fixes some issues with (incorrectly) depending on an outdated version of the third-party semver package.
Thanks again for the contributions! 🎉
What's Changed
- Bump certifi from 2021.10.8 to 2022.12.7 by @dependabot in #4
- Add missing semver package to package requirements by @frenck in #8
- Fix semver issue the proper way by @bouwew in #9
New Contributors
Full Changelog: 0.4.1...0.5.0
Downgrade semver dependency
Downgrade semver to version 2 to avoid conflict with other version of the package used by home-assistant/core.
Add compatibility with new Vilfo firmware versions
Update device endpoint support and improve dependency management (#3) * Update Client to be compatible with the current Vilfo API * Add pipenv to manage dependencies
Tests removed from packaging
This is a patch-level release.
Per the contribution from @scop (thanks!), the root-level tests directory (and possible future sub-directories) are now excluded from the packaging.
Improved exception handling
The exception handling is improved by having a couple of additional exception classes available.
The client now also wraps all exceptions from the requests library in its own exception class.
Internal changes for improved testability
Minor adjustment in Client constructor to allow for better mocking during testing.
Limited but stable first release
This initial release should be reasonably stable in terms of external API:s for the operations implemented this far and similar.
Bug fixes and improvements to the internals will be made in upcoming patch level releases.
Added resolution of router MAC address
The client now tries to resolve the MAC address of the router, based on the provided host/IP, upon creation. This is saved in the property mac of the Client and can be accessed using my_client_instance.mac.
If resolution failed the mac property will be None.
Additional endpoint support and better readme
The client is still quite bare-bones, but there has been some improvements in terms of additional endpoints supported and information about how to use the module.
Module specific exceptions has been introduced and will get extended in future releases.
Initial release with limited functionality
This initial release contains support for a very limited subset of the available endpoints. Only some of them are covered by the test suite and this release should not be used for production.