Version 1.0.0
1.0.0 - 2024-10-31
Removed
- Breaking change: Removed all exports from infrahub_sdk/init.py except InfrahubClient, InfrahubClientSync and Config. If you previously imported other classes such as InfrahubNode from the root level these need to change to instead be an absolute path.
Added
- Add support for specific timeout per request on InfrahubClient and InfrahubNode function calls. (#25)
- Added
infrahubctl menu
command to load menu definitions into Infrahub
Fixed
- Fix SDK playback hash generation to read the correct filename (#64)
- CTL: Return friendly error on encoding violations when reading files. (#102)
- Changed the default connection timeout in the SDK to 60s.
- Fixes an issue where InfrahubClient was not properly URL encoding URL parameters.
Detailed Changelog
- Remove filters from the schemas in the fixtures directory by @dgarros in #53
- Update Protocols with CoreMenu & CoreMenuItem by @dgarros in #62
- stable mergeback by @ajtmccarty in #63
- Upload coverage reports to codecov by @ogenstad in #67
- Add config file for codecov by @ogenstad in #70
- Change the default connection timeout to 60s by @wvandeun in #69
- Set codecov target for PRs and changes by @ogenstad in #74
- Run python tests after changes to codecov.yml by @ogenstad in #75
- Fix broken SDK playback by @ogenstad in #72
- Add
infrahubctl menu load
command to load menu items from a file by @dgarros in #73 - Support code to be integrated into infrahub-server by @dgarros in #78
- Run coverage separately by @ogenstad in #79
- Activate rule for B018 for useless attribute access by @ogenstad in #87
- Fix Ruff B007 fix Loop control variable not used within loop body by @ogenstad in #85
- Fix Yoda condition (SIM300) by @ogenstad in #86
- Limit coverage run to --source=infrahub_sdk by @ogenstad in #83
- Cleanup ignored type annotations by @ogenstad in #84
- Merge back stable into develop with resolved conflicts by @ogenstad in #88
- Convert import paths to use relative Package name by @dgarros in #80
- Fix typehints and remove type ignores for ctl.importer & ctl.exporter by @ogenstad in #91
- Fix typing on ctl.utils by @ogenstad in #92
- Fix linting issues by @ogenstad in #95
- Fix typing for CLI commands by @ogenstad in #94
- Remove exports from
infrahub_sdk.__init__.py
by @ogenstad in #93 - Fix deprecation warning by @ogenstad in #97
stable
todevelop
mergeback by @lykinsbd in #101- Ignore specific RUF rules instead of ignoring everything by @ogenstad in #103
- Add specific timeouts per request per #25 by @PhillSimonds in #96
- Correct autofixable ruff violations by @ogenstad in #106
- Update protocols to match latest core schema by @dgarros in #107
- Upgrade ruff to 0.7.1 by @ogenstad in #108
- Add ability to initialize a Check with a client by @ogenstad in #115
- Return friendly errors on file encoding violations by @ogenstad in #114
- fix: urlencode query params by @fatih-acar in #60
- Prep release 1.0.0 by @wvandeun in #117
Full Changelog: v0.14.1...v1.0.0