Skip to content

v1.19.0

Choose a tag to compare

@wvandeun wvandeun released this 16 Mar 15:26
· 591 commits to stable since this release
84ee9ef

Added

  • Added support for FileObject nodes with file upload and download capabilities. New methods upload_from_path(path) and upload_from_bytes(content, name) allow setting file content before saving, while download_file(dest) enables downloading files to memory or streaming to disk for large files. (#ihs193)
  • Python SDK API documentation is now generated directly from the docstrings of the classes, functions, and methods contained in the code. (#201)
  • Added a 'py.typed' file to the project. This is to enable type checking when the Infrahub SDK is imported from other projects. The addition of this file could cause new typing issues in external projects until all typing issues have been resolved. Adding it to the project now to better highlight remaining issues.

Changed

  • Updated branch report command to use node metadata for proposed change creator information instead of the deprecated relationship-based approach. Requires Infrahub 1.7 or above.

Fixed

  • Allow SDK tracking feature to continue after encountering delete errors due to impacted nodes having already been deleted by cascade delete. (#265)
  • Fixed Python SDK query generation regarding from_pool generated attribute value (#497)

Full changelog

  • Merge stable into develop by @infrahub-github-bot-app[bot] in #741
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #743
  • Re-implement casting of HFIDs to a list if the rel peer schema has hf… by @FragmentedPacket in #746
  • IHS-183: Fix typing errors for protocols by @solababs in #749
  • Fix test annotations by @ogenstad in #751
  • Add annotations to unit tests by @ogenstad in #750
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #752
  • Fix ANN001 violations by @ogenstad in #753
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #754
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #755
  • Avoid nested chained if statements by @ogenstad in #757
  • Revert "IHS-183: Fix typing errors for protocols" by @solababs in #760
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #762
  • Combine if statements by @ogenstad in #758
  • Typing corrections by @ogenstad in #759
  • Add CODEOWNERS by @ogenstad in #767
  • Fix extracting value from dictionary without calling .items() by @ogenstad in #764
  • Suppress try/except/pass by @ogenstad in #768
  • Favor .extend instead of chaining .append by @ogenstad in #769
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #761
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #770
  • Replace ternary if expression with or operator by @ogenstad in #772
  • Prefer variables in lowercase by @ogenstad in #771
  • Simplify for-loop with any() by @ogenstad in #777
  • Prevent cascade delete from causing SDK tracking delete to fail by @ogenstad in #776
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #775
  • Use a list comprehension to create a transformed list by @ogenstad in #774
  • Add missing init.py files by @ogenstad in #778
  • Fix ruff Jinja2 violations and move the remaining warning by @ogenstad in #781
  • Add hash method to object that already has eq by @ogenstad in #780
  • Move rules for too many branches by @ogenstad in #779
  • Update packages: urllib3, filelock & virtualenv by @ogenstad in #783
  • Fix flake8 raise linting violations by @ogenstad in #784
  • Split apart pytest rule violations by @ogenstad in #785
  • Avoid shadowing builtin list by @ogenstad in #786
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #782
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #787
  • Add task to generate JSON schema for .infrahub.yml files by @ogenstad in #788
  • add libstdc++ to flake.nix to support Python dependencies that depend on compiled libraries by @wvandeun in #790
  • Upgrade infrahub-testcontainers to 1.7 by @gmazoyer in #793
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #796
  • Upgrade ty by @ogenstad in #797
  • add str method to JinjaTemplateError by @ajtmccarty in #795
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #791
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #800
  • Update ruff==0.15.0 by @ogenstad in #799
  • Raise SDK specific Jinja errors on syntax error by @ogenstad in #798
  • IHS-193 Add support for file upload/download for CoreFileObject by @gmazoyer in #792
  • fix(dependabot): update infrahub-testcontainers by @fatih-acar in #801
  • Fix infrahubctl proposed change table generation by @gmazoyer in #805
  • IFC-2184: Add MERGED to branch status by @solababs in #794
  • Bump infrahub-testcontainers from 1.5.1 to 1.7.4 by @dependabot[bot] in #804
  • migrate from pre-commit to prek by @solababs in #789
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #808
  • Merge stable into develop with resolved conflicts by @ogenstad in #809
  • Add integration tests for file objects by @gmazoyer in #802
  • Merge 'develop' into 'infrahub-develop' with resolved conflicts by @ogenstad in #813
  • Add pull request template by @ogenstad in #812
  • Add invoke command specifically for code linting by @ogenstad in #815
  • Use ternary operator instead of if-else-block by @ogenstad in #814
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #816
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #817
  • Linting: Incorrect import of pytest; use import pytest instead by @ogenstad in #824
  • Fix dulwich checkout_branch deprecation warning in testing utilities by @Copilot in #819
  • Add Spec Kit by @ogenstad in #827
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #825
  • Fix pytest plugin for integration tests and empty YAML files by @FragmentedPacket in #744
  • Avoid + operator to concatenate collections by @ogenstad in #826
  • Break apart ty violations into smaller components by @ogenstad in #828
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #830
  • Add py.typed by @ogenstad in #543
  • fix(ci): remove archived repos from release process by @fatih-acar in #834
  • #201 / IHS-194: Generate SDK API documentation by @polmichel in #822
  • SDK API Documentation: sections / classes / functions / methods prioritization IHS-205 by @polmichel in #832
  • IHS-206 API Documentation Collapsible sections containing method overloads by @polmichel in #833
  • Fix invalid-argument-type in exception class by @ogenstad in #838
  • Merge SDK API documentation PRs 822 832 833 develop to infrahub develop by @polmichel in #840
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #831
  • Fix invalid-argument-type violations by @ogenstad in #841
  • Reraise exceptions where applicable by @ogenstad in #845
  • Add doc regeneration rule to AGENTS.md by @BeArchiTek in #837
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #842
  • Fix: Wrong type passed to first argument of pytest.mark.parametrize by @ogenstad in #844
  • Raise required dulwich version by @ogenstad in #848
  • Merge stable into develop by @infrahub-github-bot-app[bot] in #849
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #851
  • New /pre-ci & /feedback commands for Claude by @polmichel in #829
  • Add the ability to export the schema in yaml by @BeArchiTek in #835
  • IHS-156 / #497 : support from_pool attributes on Python SDK queries by @polmichel in #850
  • Merge develop into infrahub-develop by @polmichel in #856
  • Add doc regeneration rule to AGENTS.md by @polmichel in #846
  • Merge develop into infrahub-develop by @infrahub-github-bot-app[bot] in #857
  • Set version to 1.19.0 release candidate 0 by @ogenstad in #858
  • prepare release v1.19.0 by @wvandeun in #870

New Contributors

Full Changelog: v1.18.1...v1.19.0