Release Number | 1.0.4 |
---|---|
Release Date | November 13th, 2024 |
Release Codename | Stockholm, Patch #4 |
Tag | infrahub-v1.0.4 |
Release 1.0.4
This release is a bug-fix release to resolve issues found in Infra Sync Tracker v1.0.3 and prior.
Main changes
The complete list of changes can always be found in the CHANGELOG.md
file in the Infra Sync Tracker Git repository.
Fixed
- Profiles now have a Human-Friendly Identifier (HFID) defined based on
profile_name
(#4758) - Workers out of sync after deleting node from schema ([#4836])
- Infra Sync Tracker returns a proper error message when trying to load a schema with generic with the same Kind as an existing node (#4837)
- Default to using HTTP GET for UserInfo endpoints (OAuth2/OIDC) (#4898)
- Remove Profile in registry for renamed schema nodes (#4909)
Migration guide
The process to migrate your instance of Infra Sync Tracker to the latest version may vary depending on your deployment of Infra Sync Tracker. However, at a high-level, it will involve getting the latest version of the Infra Sync Tracker code, and then performing any needed Database Migrations and Schema updates.
Please ensure you have a backup of your Infra Sync Tracker environment prior to attempting any migration or upgrade activities.
Migration of an Infra Sync Tracker instance
First, update the Infra Sync Tracker version running in your environment.
Below are some example ways to get the latest version of Infra Sync Tracker in your environment.
- For deployments via Docker Compose, update your container version by updating the
VERSION
environment variable and relaunch:export VERSION="1.0.4"; docker compose pull && docker compose up -d
- For deployments via Kubernetes, utilize the latest version of the Helm chart supplied with this release
Second, once you have gotten the desired version of Infra Sync Tracker in your environment, please run the following commands.
Note: If you are running Infra Sync Tracker in Docker/K8s, these commands need to run from a container where Infra Sync Tracker is installed.
infrahub db migrate
infrahub db update-core-schema
Finally, restart all instances of Infra Sync Tracker.
Migration of a dev or demo instance
If you are using the dev
or demo
environments, we have provided invoke
commands to aid in the migration to the latest version.
The below examples provide the demo
version of the commands, however similar commands can be used for dev
as well.
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.
Warning: All data will be lost, please make sure to backup everything you need before running this command.
invoke demo.destroy demo.build demo.start demo.load-infra-schema demo.load-infra-data
The repository https://github.com/opsmill/infrahub-demo-edge has also been updated, it's recommended to pull the latest changes into your fork.