Skip to content

Releases: opsmill/infrahub

Python SDK - v0.12.1

23 Jul 08:37
e995ef2
Compare
Choose a tag to compare

🚀 Features

New command to add a repository with infrahubctl by @fatih-acar in #3883

infrahubctl repository add demo-edge https://github.com/opsmill/infrahub-demo-edge --read-only

Full Changelog: python-sdk-v0.12.0...python-sdk-v0.12.1

Infrahub - v0.15.1

23 Jul 08:34
e995ef2
Compare
Choose a tag to compare

🚀 Features

Multi profiles

We can now select multiple profiles when creating and editing an object.

The profile_priority value from the profile schema is used to understand which value is used for the fields (the lower the number is, the higher the priority is).

Generic relationship select

The select for a generic relationship has been fixed to properly reset the value when changing the kind or the parent.
The parent is also not showing "Unknown" after choosing an object.
The parent select is also now hidden if it's not available.
It's displayed and available only of the kind selected can point to an object which we can filter depending on its parent.

🐛 Bug Fixes

  • Fix disabling fields when it is protected and owned by another user by @bilalabbad in #3838
  • Generic selector fixes to correctly reset values when changing kind or object by @pa-lem in #3837

🧰 Maintenance

Full Changelog: infrahub-v0.15.0...infrahub-v0.15.1

Python SDK - Version 0.12.0

15 Jul 05:59
6af17cb
Compare
Choose a tag to compare

Changelog

Warning

This release drops the support for Pydantic version 1.

🚀 Features

🐛 Bug Fixes

  • Improve error message on repository configuration file read failure @gmazoyer (#3729)

🧰 Maintenance

infrahub-v0.15.0

15 Jul 05:25
47430b1
Compare
Choose a tag to compare

Release 0.15.0

We are thrilled to announce the latest release of Infrahub (0.15).
This release focuses on enhancing the user experience and laying the groundwork for future features.

Main changes

Unified storage

Profiles enhancements

  • You can now create profiles on a Generic, in addition to Nodes.
  • A node inheriting from multiple Generics can utilize any profiles associated with these Generics.
  • Introduced a new attribute generate_profile in the schema for more precise control over which nodes should have profiles generated or supported.
  • Profiles have been disabled on most core models.

Schema

Schema Validation

Added a new validation to ensure schemas do not require relationships to one another. This will prevent incompatible schemas from being loaded in the future.

Frontend

Tree view for hierarchical model

All hierarchical models will now display a tree view in the frontend to simplify navigation across the tree.

hierarchical_view

Hierarchical dropdowns for relationships to parent/component models

When a relationship references a peer model with a parent (identified by a parent relationship), the form will automatically display multiple dropdown fields—one for the parent and one for the object itself, filtered by parent.

generic_relationship_select

Refactor form components

The form component in the frontend has been refactored to provide a better foundation for future features that could not be supported by the previous version.

Helm Chart

Upstream charts

The official helm chart to deploy Infrahub now leverages the upstream charts for Neo4j, Redis, and RabbitMQ instead of defining these components directly. This approach provides more flexibility and allows us to use pod settings such as pod affinity.

Infrahub Sync

Integration with IP Fabric

Added the initial version of the Infrahub Sync adapter for IP Fabric.

Other

Support for isnull filter for attributes and relationships

In most GraphQL queries, it’s now possible to search for objects based on the absence of an attribute or a relationship using the new isnull filter. For example, the following query returns all groups that have a parent group defined:
As an example the following query will return all groups that have a parent group defined.

query {
  CoreGroup(parent__isnull: false){
    edges {
      node {
        display_label
      }
    }
  }
}

Dedicated search anywhere query in GraphQL

The search anywhere bar in the frontend now leverages a dedicated GraphQL query.
This new query can search for objects by their UUID, improving search results.

Generate Protocol for Core models

Protocol for the internal models have been introduced to improve typing and type checking across the backend.

Drop support for Pydantic V1 & Python 3.9

Internally, Infrahub no longer support Python 3.9 and Pydantic v1.

Demo Environment

Cleanup and performance improvement

The script infrastructure_edge.py used to load data in the demo environment has been cleaned up to improve readability and performance. Demo in codespace should start faster now.

New Services models

A new service model has been added to the demo schema

Migration Guide

To migrate your instance of Infrahub to the latest version, please run the following commands and restart all instances of Infrahub.

infrahub db migrate
infrahub db update-core-schema

if you are running in docker these commands need to run from the container where Infrahub is installed

Migration of the demo instance

If you are using the demo environment, you can migrate to the latest version with the following commands

invoke demo.stop
invoke demo.build
invoke demo.migrate
invoke demo.start

If you don't want to keep your data, you can start a clean instance with the following command

invoke demo.destroy demo.build demo.start demo.load-infra-schema demo.load-infra-data

All data will be lost, please make sure to backup everything you need before running this command.

The repository https://github.com/opsmill/infrahub-demo-edge has also been updated, it's recommended to pull the latest changes into your fork.

🚀 Features

🐛 Bug Fixes

🧰 Maintenance

Python SDK - Version 0.12.0 - Beta 1

03 Jul 07:58
511eda8
Compare
Choose a tag to compare
Pre-release

Note

This is a pre-release of Infrahub Python SDK 0.12.0.

Changelog

Warning

This release drops the support for Pydantic version 1.

🚀 Features

🐛 Bug Fixes

  • Improve error message on repository configuration file read failure @gmazoyer (#3729)

🧰 Maintenance

Infrahub v0.15.0-beta1

02 Jul 07:11
Compare
Choose a tag to compare
Pre-release

🚀 Features

🐛 Bug Fixes

🧰 Maintenance

Version 0.14.2 - Open Beta Maintenance

21 Jun 15:09
9b65ea8
Compare
Choose a tag to compare

Changelog

🚀 Features

  • Adds resource pool selector in select 2 steps input @pa-lem (#3599)

🐛 Bug Fixes

Python SDK - Version 0.11.1

12 Jun 14:26
411ea45
Compare
Choose a tag to compare

Changelog

🐛 Bug Fixes

  • Fix GraphQL parameters for resource allocation mutations @gmazoyer (#3627)
  • Fix infrahubctl generator subcommand when targets exist in a branch @wvandeun (#3624)

Version 0.14.1 - Open Beta Maintenance

04 Jun 14:59
13c1265
Compare
Choose a tag to compare

Changelog

Version 0.14.1 is maintenance release with minor fixes.

🧰 Maintenance

Python SDK - Version 0.11.0

27 May 13:22
c8625b2
Compare
Choose a tag to compare

Changelog

🚀 Features

🐛 Bug Fixes

🧰 Maintenance