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