Releases: opsmill/infrahub
Infrahub - v0.16.4
Release 0.16.4
We are thrilled to announce the latest release of Infrahub, version 0.16.4!
This release focuses largely on bug fixes and is driven by our Beta Test users,
and as always we greatly appreciate their feedback and time!
Main changes
The complete list of changes can always be found in the CHANGELOG.md
file in the Infrahub Git repository.
Fixed
- Fixed an issue on the UI where a new relationship was being added to the main branch instead of the current branch. (#4598)
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.
Infrahub - v0.16.3
Release 0.16.3
We are thrilled to announce the latest release of Infrahub, version 0.16.3!
This release focuses largely on bug fixes and is driven by our Beta Test users,
and as always we greatly appreciate their feedback and time!
Main changes
The complete list of changes can always be found in the CHANGELOG.md
file in the Infrahub Git repository.
Removed
- Removed
infrahub.toml
configuration file from Docker builds.
Fixed
- Save a diff in smaller pieces instead of all at once to prevent out-of-memory error. (#4511)
- Fixes exception handling section in the Python SDK batch guide.
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.
Full Changelog: infrahub-v0.16.2...infrahub-v0.16.3
Infrahub - v0.16.2
Release 0.16.2
We are thrilled to announce the latest release of Infrahub, version 0.16.2!
This release focuses largely on bug fixes and is driven by our Beta Test users,
and as always we greatly appreciate their feedback and time!
Main changes
The complete list of changes can always be found in the CHANGELOG.md
file in the Infrahub Git repository.
Fixed
-
Loading a schema with an invalid order_by field raise a proper error. (#4323)
-
Updates internal logic to improve performance when generating a diff.
BREAKING CHANGE: Diff data, including conflict selections, will be deleted. We recommend merging
any outstanding proposed changes before upgrading to this version. (#4438) -
Fix performance issue for GraphQL queries that only count nodes. (#4454)
-
Fix ability to construct HFID for upsert mutations where a number attribute is used. (#4460)
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.
Infrahub - v0.16.1
Release Notes
See the v0.16.1 Release Notes for additional information on new features and bug fixes.
What's Changed
Full Changelog: infrahub-v0.16.0...infrahub-v0.16.1
The largest change in this version is the movement of the Infrahub SDK into a
separate repository and package.
Documentation for the SDK remains in the main Infrahub documentation at this time.
Developers may need to take the following steps to ensure their development environment has the proper SDK in place:
git checkout develop
git pull
rm -rf python_sdk
git submodule update --init
Removed
- Removed Python SDK from Infrahub repository and migrated to dedicated repository at https://github.com/opsmill/infrahub-sdk-python.
(#4232)
Added
-
- In list views, always show relationships of type "Parent."
- In the details view of an object, hide the "Parent" relationship if the parent is the current object itself.
(#3891)
-
Add ability to construct HFIDs from payload for upsert mutations (#4167)
-
Add HFID to schema view in the frontend (#4172)
-
Update action buttons in details view and relationships views
- in the details view, we can edit / delete the object and manage its groups
- in the relationships views, we can add new relationships (it replaces the "+" button at the bottom)
(#4362)
-
Prevent the form from being closed if there are unsaved changes. (#4419)
Fixed
-
GraphQL results when querying nodes with
updated_at
named attributes will now return correct values instead of null/None (#3730) -
Loading a schema with a SchemaNode referencing an incorrect menu placement now returns a proper HTTP 422 error (#4089)
-
GraphQL mutations to update a many relationship that is required on the peer will succeed or fail with the correct error (#4124)
-
Infer human-friendly ID for a schema if it includes a uniqueness constraint of a single attribute (#4174)
-
Account for uniqueness constraints of a single attribute when validating human-friendly ID (#4181)
-
Synchronize uniqueness_constraints and unique attributes during schema processing (#4182)
-
Ensure schema uniqueness_constraints are created if they are missing and human_friendly_id has been specified for the node (#4186)
-
Deleting a node that is linked to a mandatory relationship on a generic schema will now fail with an error message (#4207)
-
Fixed incorrect consumer timeout for RabbitMQ queue infrahub.rpcs
If you are upgrading from a previous version of Infrahub and using the provided Docker Compose files you don't have to take any additional action. However if you are using your own setup for RabbitMQ you will need to manually delete the queue yourself.
Swap the container name and credentials to RabbitMQ if they are different in your setup:
docker exec -it infrahub-message-queue-1 rabbitmqadmin --username infrahub --password infrahub delete queue name=infrahub.rpcs
After this step Infrahub and the Git agents need to be restarted, when doing so the correct queue will be recreated. (#4308)
-
Add documentation links for Generator Definition and Generator Instance pages to Generator topic (#4316)
-
Hierarchical node that don't have a parent or a children defined in the schema will properly enforce that constraint (#4325)
-
Properly raise errors instead of just logging them during repository import failures so that the "sync status" gets updated even if we've caught the errors. (#4334)
-
Display label composed of an attribute of type Enum will now render correctly (#4382)
-
Removed database index in Attribute Value to attribute larger than 8167 bytes (#4399)
-
Added cancel button in repository form (#4402)
-
Fixes the tasks pagination in the proposed changes tab (#4434)
Detailed Changelog
- Prep python sdk release v0.13.0 by @wvandeun in #4342
- IFC-555 relationship peer required bug by @ajtmccarty in #4335
- IFC-564 - Pre populates parent field in relationships by @pa-lem in #4320
- Raise 422 SchemaNotFoundError while uploading a schema referring an unexisting schemanode by @LucasG0 in #4329
- IFC-555 add missing changelog entry by @ajtmccarty in #4350
- IFC-605 fix delete constraint to handle relationships on generics by @ajtmccarty in #4351
- IFC-569: infer hfid from single-attribute uniqueness constraint by @ajtmccarty in #4352
- IFC-582 synchronize uniqueness_constraints and unique attributes by @ajtmccarty in #4356
- Fix Guide Create Schema, set attribute to unique by @dgarros in #4364
- fix pytest plugin integration tests by @wvandeun in #4367
- Add ability to construct HFIDs from payload for upsert mutations by @ogenstad in #4339
- use elementId() instead of ID() for neo4j queries by @ajtmccarty in #4377
- update discord url by @petercrocker in #4375
- fix(backend): allow usage of "updated_at" attributes by @fatih-acar in #4370
- Remove incorrect consumer timeout by @ogenstad in #4384
- Move Python SDK to external repository by @dgarros in #4378
- fix(sdk): use https submodule instead of ssh by @fatih-acar in #4394
- Cherry-pick : Remove job to run release drafter for SDK into stable by @dgarros in #4398
- Add cancel button in repository form by @bilalabbad in #4403
- install docs cleanup by @petercrocker in #4405
- regenerate docs by @ajtmccarty in #4406
- Fix rendering of display label for attribute with enum by @dgarros in #4413
- Update memgraph v1.19 by @dgarros in #4415
- Add validation for hierarchy parent and children by @dgarros in #4414
- feat(helm): various fixes by @fatih-acar in #4397
- Add HFID to schema view in frontend by @ogenstad in #4345
- Remove the database index on AttributeValue value to allow attribute value to be larger than 8167 bytes by @dgarros in #4412
- fix(backend): use correct timeout value with NATS by @fatih-acar in #4424
- Add missing docs link for GeneratorDefinition/GeneratorInstance by @LucasG0 in #4425
- Update action buttons on details views by @pa-lem in #4428
- Display Parent relationship in list view by @bilalabbad in #4426
- Properly raise repo import errors instead of catching them by @ogenstad in #4436
- Generate uniqueness_constraints for schema node if hfid exists by @ogenstad in #4344
- Added missing changelog for 0.16.1 by @bilalabbad in #4441
- Tasks pagination fix in proposed changes by @pa-lem in #4434
- Prevent forms from being closed if there are unsaved changes by @pa-lem in #4419
- fix npm audit alert by @bilalabbad in #4442
- Update Python SDK to 0.13.1 by @dgarros in #4446
- fix codespaces after Python SDK repository migration by @wvandeun in #4449
- cleanup infrastructure_security.yml by @petercrocker in #4439
- release prep for v0.16.1 by @lykinsbd in #4450
Python SDK - v0.13.0
Added
- Add support to search a node by human friendly ID using client's
get
method (#3908) - Add support for Number resource pool
Changed
- Fix
infrahubctl
not displaying error message under certain conditions
Fixed
- Fix fetching relationship attributes when relationship inherits from a generic (#3900)
- Fix the retrieving on schema and nodes on the right branch (#4056)
Detailed changelog
- IFC-587 track conflicts with an attribute instead of by ID @ajtmccarty (#4223)
- Allow seaching by HFIDs @gmazoyer (#4205)
- Fix HFID when using generic relationship attributes @gmazoyer (#4238)
- Fix number pool from_pool inconsistency @ogenstad (#4219)
- Remove unique_for from CoreNumberPool @ogenstad (#4221)
Infrahub - v0.16.0
Release Notes
See the v0.16.0 Release Notes for additional information on new features.
New Contributors
- @BaptisteGi made their first contribution in #3813
- @LucasG0 made their first contribution in #4262
What's Changed
Full Changelog: infrahub-v0.15.3...infrahub-v0.16.0
Removed
- Removed isolated branch information from schema topic in the documentation. (#3968)
Added
- Allow adding multiple profiles to an object in the UI. (#3061)
- Added "disabled" attribute to accounts to allow more granular user management. (#3505)
- Added capabilities to manage API tokens in the Infrahub UI. (#3527)
- Added filtering and search to IPAM view. (#3740)
- Add number of prefixes to IPAM tree view. (#3741)
- Allow navigation to related node in list view. (#3889)
- Add support to search a node by human friendly ID within a GraphQL query. (#3908)
- Added DB migrations for objects changed to Generic type in 0.16. (#3915)
- Add clickable items in the Proposed Change list view. (#3990)
- Added the ability to filter out Infrahub internal groups. (#4027)
- Add action button to Repository objects. (#4066)
- Added documentation for creating custom Infrahub Docker images. (#4077)
- Add support for numbers bigger or smaller than signed integers. (#4179)
Changed
- Move GraphQL queries to .infrahub.yml for Repository imports. (#1938)
- Improve UI of Git repository form. (#3893)
- Consistency improvements in Repository interactions. (#4068)
- Enhancements to Repository status reporting. (#4069)
- Simplified the Repository view to only show crucial information. (#4071)
- Increased visibility during Git sync. (#4072)
Fixed
- Add ability to import repositories with default branch other than 'main'. (#3435)
- SchemasLoadAPI should not inherited from SchemaRoot but from BaseModel. (#3821)
- Resolve inconsistencies when loading same schema twice. (#3892)
- HFID of a node is not properly set by
prefetch_relationship
in Python SDK. (#3900) - Comment input is not cleared upon submission of Proposed Change form. (#3942)
- Can not assign Profile when editing Node in the web UI. (#3999)
- Allow users to add a new generic to an existing node. (#4051)
- Allow users to run artifacts and generators on nodes without name attribute (#4062)
- Allow bare Git URL and automatically add
.git
. (#4070) - Schema diff view not functioning in branch detail page. (#4093)
- Removed erroneous approval button on Diff view. (#4094)
- Edit node form displays empty input field for mandatory relationship of cardinality many. (#4102)
- GraphQL query does not appear on Detail page. (#4105)
- Do not allow '/' character in repository name to avoid sync failure. (#4120)
- Can't close a comment thread on an Artifact. (#4189)
Detailed Changelog
- Changelog and Release Notes for 0.16 @lykinsbd (#4328)
- Fix notification for neo4j @dgarros (#4333)
- Update screenshots for release 0.16 @dgarros (#4327)
- Number attributes now support large integers @LucasG0 (#4299)
- Add Groups Topics & Reference in docs @BeArchiTek (#4239)
- IFC-575 new logic to recalculating a diff and maintaining conflicts @ajtmccarty (#4254)
- Fix 4120: Repository name cannot contain '/' character anymore @LucasG0 (#4279)
- Fix available URLs after running infrahub server in backend guide @LucasG0 (#4268)
- add diff conflict at the attribute level for value conflicts @ajtmccarty (#4253)
- e2e diff tests with better locking @ajtmccarty (#4264)
- IFC-623 diff locking enhancements @ajtmccarty (#4263)
- Minor tutorial docs fixes related to
Integration with Git
@LucasG0 (#4262) - IFC-618 fix diff relationship bug when conflicting changes with main changes after branch changes @ajtmccarty (#4244)
- IFC-613 - Form pool update cleanup @pa-lem (#4241)
- make diff responses consistent with NULL vs being empty @ajtmccarty (#4242)
- IFC-576 fields for untracked changes on DiffSummary and DiffTree @ajtmccarty (#4231)
- Documentation for enhanced git integration @BaptisteGi (#4227)
- IFC-583 improve diff labels @ajtmccarty (#4197)
- IFC-587 track conflicts with an attribute instead of by ID @ajtmccarty (#4223)
- IFC-601 set contains_conflict correctly on diff relationship element @ajtmccarty (#4216)
- Allow generators and artifacts to run on node without name attribute @BaptisteGi (#4187)
- IFC-585 diff relationship cardinality @ajtmccarty (#4196)
- diff lifecycle tests and bugs @ajtmccarty (#4168)
- Fix schema topic documentation @wvandeun (#4173)
- fix diff conflict selected_branch serialization @ajtmccarty (#4169)
- integrate new diff conflicts with CoreDataCheck @ajtmccarty (#4153)
- Integrate Protocols with NodeManager to improve typing in the backend @dgarros (#3930)
- Add mutation to set a selection on a new diff conflict @ajtmccarty (#4132)
- Refactor status sync of repositories @ogenstad (#4117)
- diff coordinator update @ajtmccarty (#4129)
- New infrahub-sync features @BeArchiTek (#4024)
- diff calculation bug where owner is also the peer on a related node @ajtmccarty (#4128)
- Update format of parent for nodes in DiffTree @dgarros (#4125)
- DiffTree: Add flag to include or exclude parents from response @dgarros (#4127)
- fix bug in conflict enrichment @ajtmccarty (#4121)
- IFC-42 Initial implementation of DiffSummary and Filters @dgarros (#4118)
- add path identifier strings to diff elements @ajtmccarty (#4113)
- IFC 42 - Refactor how DiffRepository is stored in the graph @dgarros (#4115)
- cardinality=one enricher for diffs to clean up one-member relationships @ajtmccarty (#4112)
- update diff labels enricher to include peer display labels @ajtmccarty (#4110)
- IFC-42 Add parent node to diff @dgarros (#4100)
- DiffTree summaries and conflicts @ajtmccarty (#4101)
- Number pool form improvements for node and attribute selection @pa-lem (#4067)
- IFC-42 labels enricher @ajtmccarty (#4099)
- Added link to the related tab on each column of proposed change list @bilalabbad (#4267)
- IFC-598 - Rebase button on diff view @pa-lem (#4215)
- Allow seaching by HFIDs @gmazoyer (#4205)
- Update diff tree construction by using "parent" value of DiffTree query @bilalabbad (#4199)
- Update proposed change overview UI @bilalabbad (#4190)
- UI improvement and cleaning on Search Anywhere @bilalabbad (#4183)
- Added diff tree @bilalabbad (#4170)
- Diff frontend refactoring to use new queries @pa-lem (#4003)
- Add repository action button @bilalabbad (#4131)
- Add
unique_for
attribute to number pool @gmazoyer (#4108) - New UI for repository form @bilalabbad (#4109)
- Update SlideOver title @bilalabbad (#4091)
- fix: Ensure edit form fetches + populates all required field data @bilalabbad (#4295)
- Fix idempotency for number pools @ogenstad (#4225)
- Fixed css issue on Time selector calendar when no datepicker is loaded @bilalabbad (#4258)
- IFC-572 - Account permissions fix @pa-lem (#4230)
- [FIX] Edit form contains only relationship field of cardinality many if kind is Attribute or Parent @bilalabbad (#4229)
- Fixed a bug preventing threads on artifact from being resolved on overview tab @bilalabbad (#4226)
- IFC-589 - Updates states filters for proposed changes list view @pa-lem (#4191)
- Set attribute source when assigning from number pools @ogenstad (#4214)
- Add support for using partial_match queries with array variables @ogenstad (#4201)
- IFC-604 - Update repositories fields @pa-lem (#4208)
- Add support for using default_branch in git other than main @ogenstad (#4192)
- IFC-264 - Diff refresh fix in branch details view @pa-lem (#4193)
- Allow users to add a new generic to an existing node @dgarros (#4154)
- IFC-559 Handle pool allocation for node attribute @gmazoyer (#4157)
- [FIX] GraphQL viewer component display query correctly @bilalabbad (#4106)
- Update diff summary query @pa-lem (#4098)
- Update Python packages ahead of 0.16 release @dgarros (#4255)
- IFC-607 - Update from pool structure in m...
Python SDK - Version 0.13.0 - Beta 1
Python SDK - v0.12.4
Infrahub - v0.15.3
Added
- Add usage of Towncrier to generate Changelog as part of the release process.
For detailed information, see the Documentation. (#4023) - Serve Swagger & Redoc files locally so that the REST-API docs work offline or when isolated from the internet. (#4063)
Fixed
- Fix attribute uniqueness check that was incorrectly running against schema nodes, (#3986)
- Provide better information when available during schema conflicts in the pipeline. (#3987)
- Fix schema sync issue between worker nodes. (#3994)
- Updates the profile type select when creating a profile, to display more relevant information about the related nodes. (#4001)
- Fix logic that prevented existing inherited attribute / relationships from being updated. (#4004)
- Fix attribute uniqueness validator to not run in isolated mode. (#4025)
- Update getting-started/branches referencing the wrong org from previous step.
Update getting-started/resource-manager referencing the wrong button.
Regenerate the screenshots for the tutorial. (#4035) - Fix object creation for schema node using enum attribute in uniqueness constraint groups. (#4054)
What's Changed
- set up plumbing and documentation for
towncrier
by @lykinsbd in #4021 - update getting-started/branches by @petercrocker in #4014
- Fix attribute uniqueness validator to not run in isolated mode by @ogenstad in #4026
- Avoid running attribute uniqueness check on schema attributes by @ogenstad in #4029
- Fix schema inconsistency issue by reverting 3792 by @ogenstad in #4031
- Add towncrier as dev dependency by @ogenstad in #4032
- Fix some docs typo by @BeArchiTek in #4035
- Add towncrier newsfragments for resolved issues by @ogenstad in #4037
- Make schema integrity check messages more user-friendly by @ogenstad in #4033
- Add newsfragment for #4025 by @ogenstad in #4045
- Add fragment for #4035 by @BeArchiTek in #4048
- Fix uniqueness constraint with enum attribute by @gmazoyer in #4050
- Add CICD job to update helm/chart.yaml by @BeArchiTek in #4044
- Profile type select update to display informations on the related node object by @pa-lem in #4039
- IFC-248 - Branch parameters in SDK by @BeArchiTek in #4056
- Backport fix for inherited attribute / relationships not being updated by @gmazoyer in #4059
- Pre-release Infrahub SDK 0.12.3 by @BeArchiTek in #4061
- Serve Swagger & Redoc files locally so that the REST-API docs work offline or when isolated from the internet by @ogenstad in #4065
- [FIX] reset comment form & correct enum display by @bilalabbad in #4086
- Prepare v0.15.3 Release by @lykinsbd in #4090
New Contributors
Full Changelog: infrahub-v0.15.2...infrahub-v0.15.3
Python SDK - v0.12.3
🐛 Bug Fixes
- Fix
client.filters()
Branch parameter @BeArchiTek (#4056)