Skip to content

Releases: opsmill/infrahub

Alpha #5.2 - Version 0.11.2

27 Feb 14:02
50879b8
Compare
Choose a tag to compare

Main Changes

Version 0.11.2 is purely a bugfix release

Migration Guide

Rebuild the demo environment

It's mandatory to completely rebuild your demo environment with the following commands.

invoke demo.destroy demo.build demo.start
invoke demo.load-infra-schema
invoke 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 recommend to pull the latest changes into your fork.

🐛 Bug Fixes

  • Backport fix for pytest trying to start for data-only branch by @gmazoyer in #2336
  • Backport 2334 - Fix different behaviour for Jinja2 render between API and infrahubctl by @dgarros in #2351
  • Backport Python SDK v0.8.1 release by @gmazoyer in #2355
  • Prevent page crash when opening create form with input select2step by @bilalabbad in #2338
  • Ignore git branch if branch cannot be created by @gmazoyer in #2343
  • Fix broken link on main README.md file by @bilalabbad in #2353
  • Order branches by created_at in descending order in proposed change creation by @bilalabbad in #2358
  • Fix on proposed change, diff schema not loading by @bilalabbad in #2359
  • Fix error when updating a node, when select2step value is defined by @bilalabbad in #2362
  • Popover automatically reposition itself when overflowing by @bilalabbad in #2367

Python SDK - Version 0.8.1

26 Feb 08:17
d491b52
Compare
Choose a tag to compare

Changelog

🚀 Features

🐛 Bug Fixes

  • Fix different behaviour of tranforms rendering between API and infrahubctl @gmazoyer (#2334)

🧰 Maintenance

  • Fix PLC0415 import should be at the top-level of a file @ogenstad (#2322)

Python SDK - Version 0.8.0

22 Feb 08:05
d21f24f
Compare
Choose a tag to compare

Changelog

🚀 Features

🐛 Bug Fixes

  • Prevent non initialized relationships from being part of input data (develop) @dgarros (#2282)

Alpha #5.1 - Version 0.11.1

22 Feb 08:14
2b6b04a
Compare
Choose a tag to compare

Main Changes

Version 0.11.1 is purely a bugfix release

Migration Guide

Rebuild the demo environment

It's mandatory to completely rebuild your demo environment with the following commands.

invoke demo.destroy demo.build demo.start
invoke demo.load-infra-schema
invoke 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 been updated to with a change to the Checks
for the internal CI system it's recommend to pull the latest changes into your fork.

Changelog

🐛 Bug Fixes

Alpha #5 - Version 0.11.0

13 Feb 11:20
40634e9
Compare
Choose a tag to compare

Main Changes

New test framework for user defined checks

Infrahub now supports running unittests defined in external repositories as part of the CI pipeline within a proposed change.

Read only repositories

This is a new type of Infrahub Repository that allows following a single external commit, branch, or tag. A read-only repository will never push changes to the associated external Git repository and will only pull updates when requested via a GraphQL mutation. See the documentation for more details.

Object and menu search

The frontend has a new search feature that allows you to search for any object in the database, the search bar is placed in the header of the application, at the top. The sidebar menu also has a search bar to help you quickly retrieve a menu item and allows you to navigate across a large schema.

Database backup and restore

New CLI commands to backup and restore a Neo4j Infrahub database. See the documentation for more details.

Initial implementation of logging framework to track the status of background tasks

This first iteration allows for the possibility to track webhooks so that users can use the GUI to determine if all of the webhooks are working as expected. In future versions we include other components such as the syncing of repositories within this framework.

Additional controls for schema constraints

This version brings stricter control when merging branches to disallow the merging of branches if there are schema violations. It adds validations for order_by, default_filter, display_labels settings.

Initial database migrations

For now it is still required to rebuild the database between Infrahub versions as described in the migration guide below. In this version we took the first step to perform these migrations within Infrahub to allow for a simpler upgrade in the future.

Landing page

A new landing page is available to get more informations about Infrahub and its integrations. Links to the documentation are available for the main features and some help is available to get started with the product.

Renaming of Jinja2 Transforms

The new name for Jinja2 rendered content is Jinja2 Transforms. The previous name "rfile" will no longer be used.

Performance improvements

The overall performance both within the frontend as well as the backend has been significantly improved. The interface should feel a lot more responsive and the backend will respond faster than seen in previous versions.

This also includes performance improvements within the CI pipelines of a proposed change to limit the checks that are required to run. For artifact definitions Infrahub now evaluates the need to regenerate artifacts based on the diff between two branches and doesn't try to regenerate artifacts if it is clear that the operation isn't required.

Improvements to documentation

The documentation framework has been completely replaced which will make it easier to find information from within the product.

Various other improvements has been done throughout the documentation:

  • Readability cleanup
  • Add documentation about the format and required fields for .infrahub.yml files
  • Add topic and guide for repositories

Migration Guide

Rebuild the demo environment

It's mandatory to completely rebuild your demo environment with the following commands.

invoke demo.destroy demo.build demo.start
invoke demo.load-infra-schema
invoke 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 been updated to with a change to the Checks
for the internal CI system it's recommend to pull the latest changes into your fork.

Changelog

🚀 Features

🐛 Bug Fixes

  • Add method to validate the number of members per relationship on the peer side before creating or updating a Node @dgarros (#2210)
  • Fix reuse of database transaction for specialized mutations @ogenstad (#2218)
  • [FIX][FRONT] consistent height row in detailed view @bilalabbad (#2169)
  • Reset the timestamp before and after a mutation @dgarros (#2153)
  • Fix relationships columns and queries @pa-lem (#2148)
  • Fix relationships columns and code editor default value @pa-lem (#2141)
  • Force regeneration of the GraphQL schema when we update the schema @dgarros (#2137)
  • fix(core): avoid calling duplicate in Node/SchemaManager @fatih-acar (#2124)
  • Fixes checkbox attribute type @wvandeun (#2130)
  • Trim spaces before requesting search @pa-lem (#2109)
  • Make transforms use the same input data format @gmazoyer (#2077)
  • Fix default value for parent input during hierarchical node editing @bilalabbad (#2017)
  • Revert incremental schema update from 1891 @dgarros (#2009)

🧰 Maintenance

Python SDK - Version 0.7.0

12 Feb 15:46
1a00309
Compare
Choose a tag to compare

Changelog

🚀 Features

  • New component to validate uniqueness between branches @ajtmccarty (#2029)
  • Add standard Task node and mutation to create it @ogenstad (#2035)
  • Add --out option to save output of some infrahubctl commands @gmazoyer (#2199)

🐛 Bug Fixes

  • Fix fetch method not using branch for RelatedNodeSync and RelationshipManagerSync @wvandeun (#2176)
  • Make transforms use the same input data format @gmazoyer (#2077)

🧰 Maintenance

Python SDK - Version 0.6.0

31 Jan 17:43
73d28b0
Compare
Choose a tag to compare

Changelog

🚀 Features

🐛 Bug Fixes

🧰 Maintenance

Alpha #4 - Version 0.10.1

19 Jan 16:50
d5cd236
Compare
Choose a tag to compare

Main Changes

Frontend improvements

  • The form used in the branch creation is updated and improved
  • The fields are now sorted and mixed with relationships
  • The menu is now fetched only if needed
  • The queries for the object forms (for creation and edition) are greatly improved to reduce the loading time
  • The attributes displayed in the details view are updated to display all kind of attribute

GraphQl and API

  • The query performance to count the peers is now improved to reduce loading time

Codespace

  • The documentation now contains more informations about how to start Infrahub in Codespace

Env variables

  • Environment variables from Infrahub are now parsed first

Migration Guide

Rebuild the demo environment

It's mandatory to completely rebuild your demo environment with the following commands.

invoke demo.destroy demo.build demo.start
invoke demo.load-infra-schema
invoke 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 been updated to with a change to the Checks
for the internal CI system it's recommend to pull the latest changes into your fork.

Changelog

🐛 Bug Fixes

  • Lookup INFRAHUB_ env vars first (#1974) @gmazoyer (#1984)
  • [FIX] After updating a proposed change, the page data is refreshed @bilalabbad (#1979)
  • Fix: proposed change edit button is enabled only when state is open or closed @bilalabbad (#1977)
  • Fix slow GraphQL query when counting the number of peers in a relationship @dgarros (#1960)
  • Adds JSON in attributes columns for details view + update schema doc @pa-lem (#1947)

🧰 Maintenance

  • Branch creation uses the Form component + fixes disabled datepicker @pa-lem (#1973)
  • Update the way we sort the forms fields with order weight property @pa-lem (#1980)
  • Update Readme, Add links to doc and codespace @dgarros (#1954)
  • Fetch menu only if needed @pa-lem (#1968)
  • Add tools to reload schema in background + fix schema reload when adding an option @pa-lem (#1959)
  • Form loading time improvements @pa-lem (#1966)
  • Codespace : Add git pull to postCreate script @dgarros (#1919)

Alpha #4 - Version 0.10.0

16 Jan 13:03
be4ce87
Compare
Choose a tag to compare

Main Changes

Hierarchical mode

It's now possible to organize some nodes of similar types in a hierarchy or a tree, to enable additional capabilities.
As an example:

  • Groups can be organized in a hierarchy by default which makes it possible to query the members of all sub-groups at once.
  • Assuming we have defined a Person object connected to a City object, which itself is part of a hierarchy of Location (Region > Country > City) , it will be possible to query all Person per Country or per Region natively without having a direct relationship between Person and Country

New Infrahub test framework

As a platform, Infrahub provides multiple ways for a user to extend the capabilities of the platform by providing different type of resources.
Developing and maintaining these resources over time can be time consuming and challenging, this is why we did our best to provide the right tools and helpers to make it as easy as possible for someone to create and maintain these resources.

The framework is based on Pytest and introduces a new pytest plugin pytest-infrahub (part of the SDK), in this first version the Framework support unit tests for RFile and PythonTransform. IN the next release we'll add support for all type of resources and sanity and integration tests as well.

Schema

Support both Node-level and Generic-level uniqueness for attributes

Now, multiple classes can inherit from the same generic, with attributes that are unique across all sub-classes.

API and GraphQL

Access the version of infrahub

Now, you can query the Infrahub version directly through our GraphQL API:

query {
    InfrahubInfo {
        version
    }
}

Integration and deployment

Add support for webhooks

You are now able to configure a new webhook and track the execution of all webhooks via the frontend and via GraphQL.
Please note that the current version supports only POST requests and does not yet provide the ability to send a list of headers or specify events to subscribe to.

New codespace config file to launch a barbone version of Infrahub

Previously, the codespace configuration we had in automatically launching Infrahub and loading the demo schema & data.

We added a new configuration file that will start a barebone version of infrahub by default. You will be able to configuration files under /.devcontainer folder.

UX improvements

Infrahub is now faster than ever! We've optimized the frontend, bid farewell to unnecessary reloads and loaders, and introduced features for a smoother user experience:

  • List rows can be opened in a new tab
  • Browser tab titles indicate your current view for easy navigation.
  • Display the version of infrahub into the UI 
  • On branch detail view, "contribute" button was renamed to "Proposed change"

New UI components

form

  • List Input: A new input specifically designed for attributes of type List.
  • Color Picker: Introducing a color picker input for attributes of type Color.

list view

  • Display attributes of kind Color

Overall improvements to documentation

Explore our upgraded docs now! 📚

Migration Guide

Rebuild the demo environment

It's mandatory to completely rebuild your demo environment with the following commands.

invoke demo.destroy demo.build demo.start
invoke demo.load-infra-schema
invoke 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 been updated to with a change to the Checks
for the internal CI system it's recommend to pull the latest changes into your fork.

🚀 Features

🐛 Bug Fixes

  • fix commenting on data diff by @bilalabbad in (#1749)
  • when switching branch, fixed object paginated list from blinking by @bilalabbad in (#1752)
  • Branches options and avatar loader by @pa-lem in (#1760)
  • Textarea and list display in details view by @pa-lem in (#1764)
  • display Generics with cardinality one in object details view by @bilalabbad in (#1765)
  • Fix dropdown scroll preventing click on delete button + css cleaning by @bilalabbad in (#1774)
  • Dropdown data in relationships view by @pa-lem in (#1805)
  • Address conflicts with attribute or relationship names by @gmazoyer in (#1837)
  • Adds generics in the schema kind name mapping to fix tab titles by @pa-lem in (#1867)
  • Added documentation and guideline for frontend setup and testing by @bilalabbad in (#1856)

🧰 Maintenance

Python SDK - Version 0.5.0

16 Jan 08:56
40f2e28
Compare
Choose a tag to compare

Changelog

🚀 Features

🧰 Maintenance