From 9eb29307cfe43d437eabcf4adb67d8857b7d9517 Mon Sep 17 00:00:00 2001 From: Brett Lykins Date: Fri, 24 Jan 2025 10:35:50 -0500 Subject: [PATCH 1/2] update sdk to v1.7.0 --- python_sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_sdk b/python_sdk index dbbe385834..cce86a17a9 160000 --- a/python_sdk +++ b/python_sdk @@ -1 +1 @@ -Subproject commit dbbe3858341f543c51c5fbcba7d3c10880108640 +Subproject commit cce86a17a97e9e30f25fb96bf6243a54f23aa8c7 From c15b0e8502cc2d0da457ba1493c1c08788e7b8b2 Mon Sep 17 00:00:00 2001 From: Brett Lykins Date: Fri, 24 Jan 2025 10:43:22 -0500 Subject: [PATCH 2/2] release v1.1.5 prep --- CHANGELOG.md | 19 ++++ changelog/+constraint-error-messages.fixed.md | 1 - changelog/5085.fixed.md | 1 - changelog/5276.fixed.md | 1 - changelog/5334.fixed.md | 1 - changelog/5418.fixed.md | 1 - changelog/5456.fixed.md | 1 - changelog/5464.added.md | 1 - changelog/5474.fixed.md | 1 - changelog/5484.fixed.md | 1 - changelog/5515.added.md | 1 - changelog/5522.fixed.md | 1 - .../release-notes/infrahub/release-1_1_5.mdx | 98 +++++++++++++++++++ docs/sidebars.ts | 1 + pyproject.toml | 2 +- 15 files changed, 119 insertions(+), 12 deletions(-) delete mode 100644 changelog/+constraint-error-messages.fixed.md delete mode 100644 changelog/5085.fixed.md delete mode 100644 changelog/5276.fixed.md delete mode 100644 changelog/5334.fixed.md delete mode 100644 changelog/5418.fixed.md delete mode 100644 changelog/5456.fixed.md delete mode 100644 changelog/5464.added.md delete mode 100644 changelog/5474.fixed.md delete mode 100644 changelog/5484.fixed.md delete mode 100644 changelog/5515.added.md delete mode 100644 changelog/5522.fixed.md create mode 100644 docs/docs/release-notes/infrahub/release-1_1_5.mdx diff --git a/CHANGELOG.md b/CHANGELOG.md index 68eb7d677e..929e51ea60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,25 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [Infrahub - v1.1.5](https://github.com/opsmill/infrahub/tree/infrahub-v1.1.5) - 2025-01-24 + +### Added + +- Allow OIDC providers to fall back to id_token for group membership reports if they are not provided within the `userinfo` URL. This allows for group support using Azure. ([#5464](https://github.com/opsmill/infrahub/issues/5464)) +- Add computed attributes display in schema visualizer to display the jinja2 and python transforms details. ([#5515](https://github.com/opsmill/infrahub/issues/5515)) + +### Fixed + +- Prevent branches in a remote Git repository from being imported if they have conflicts. This can be checked in the repository task logs. ([#5085](https://github.com/opsmill/infrahub/issues/5085)) +- Correct the form to ensure it retrieves all values from the profile accurately. ([#5276](https://github.com/opsmill/infrahub/issues/5276)) +- Fix the multi select update mutation when removing all items. ([#5334](https://github.com/opsmill/infrahub/issues/5334)) +- Fix parent filter rule for relationships in forms to not mark as required if the field is required. ([#5418](https://github.com/opsmill/infrahub/issues/5418)) +- Ensure Transforms are executed with the correct timeout. ([#5456](https://github.com/opsmill/infrahub/issues/5456)) +- Fix unexpected `Too many relationships` error while retrieving multiple nodes having the same parent. ([#5474](https://github.com/opsmill/infrahub/issues/5474)) +- The name of generated artifacts is now using `artifact_name`, from the artifact definition, instead of the name of the definition itself. Existing artifacts will be renamed the next time they are generated. ([#5484](https://github.com/opsmill/infrahub/issues/5484)) +- Switch Docker health check from `/api/schema/summary` to `/api/config`, to ensure that the health check works when Infrahub is configured to disallow anonymous read access. ([#5522](https://github.com/opsmill/infrahub/issues/5522)) +- Improved format of data and schema integrity error messages on a Proposed Change to include more information. + ## [Infrahub - v1.1.4](https://github.com/opsmill/infrahub/tree/infrahub-v1.1.4) - 2025-01-17 ### Removed diff --git a/changelog/+constraint-error-messages.fixed.md b/changelog/+constraint-error-messages.fixed.md deleted file mode 100644 index 95ce47a179..0000000000 --- a/changelog/+constraint-error-messages.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Improved format of data and schema integrity error messages on a Proposed Change to include more information \ No newline at end of file diff --git a/changelog/5085.fixed.md b/changelog/5085.fixed.md deleted file mode 100644 index a8a6e51129..0000000000 --- a/changelog/5085.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Prevent branches in remote git repository to be imported if they have conflicts, this can be checked in the repository task logs \ No newline at end of file diff --git a/changelog/5276.fixed.md b/changelog/5276.fixed.md deleted file mode 100644 index 83817d32f7..0000000000 --- a/changelog/5276.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Correct the form to ensure it retrieves all values from the profile accurately \ No newline at end of file diff --git a/changelog/5334.fixed.md b/changelog/5334.fixed.md deleted file mode 100644 index 369ad0afc9..0000000000 --- a/changelog/5334.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix the multi select update mutation when removing all items \ No newline at end of file diff --git a/changelog/5418.fixed.md b/changelog/5418.fixed.md deleted file mode 100644 index bb22b73f79..0000000000 --- a/changelog/5418.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix parent filter rule for relationships in forms to not mark as required if the field is required \ No newline at end of file diff --git a/changelog/5456.fixed.md b/changelog/5456.fixed.md deleted file mode 100644 index 6d96619255..0000000000 --- a/changelog/5456.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Ensure Transforms are executed with the correct timeout \ No newline at end of file diff --git a/changelog/5464.added.md b/changelog/5464.added.md deleted file mode 100644 index 43bd088908..0000000000 --- a/changelog/5464.added.md +++ /dev/null @@ -1 +0,0 @@ -Allow OIDC providers to fall back to id_token for group membership reports if they are not provided within the userinfo URL. This allows for group support using Azure. diff --git a/changelog/5474.fixed.md b/changelog/5474.fixed.md deleted file mode 100644 index 9c28d839f6..0000000000 --- a/changelog/5474.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix unexpected `Too many relationships` error while retrieving multiple nodes having the same parent diff --git a/changelog/5484.fixed.md b/changelog/5484.fixed.md deleted file mode 100644 index 7b6a6223fc..0000000000 --- a/changelog/5484.fixed.md +++ /dev/null @@ -1 +0,0 @@ -The name of generated artifacts is now using `artifact_name`, from the artifact definition, instead of the name of the definition itself. Existing artifacts will be renamed the next time they are generated. \ No newline at end of file diff --git a/changelog/5515.added.md b/changelog/5515.added.md deleted file mode 100644 index e30c211162..0000000000 --- a/changelog/5515.added.md +++ /dev/null @@ -1 +0,0 @@ -Add computed attributes display in schema visualizer to display the jinja2 and python transforms details \ No newline at end of file diff --git a/changelog/5522.fixed.md b/changelog/5522.fixed.md deleted file mode 100644 index c8abb87692..0000000000 --- a/changelog/5522.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Switch Docker health check from `/api/schema/summary` to `/api/config`, to ensure that the health check works when Infrahub is configured to disallow anonymous read access. diff --git a/docs/docs/release-notes/infrahub/release-1_1_5.mdx b/docs/docs/release-notes/infrahub/release-1_1_5.mdx new file mode 100644 index 0000000000..e227547b84 --- /dev/null +++ b/docs/docs/release-notes/infrahub/release-1_1_5.mdx @@ -0,0 +1,98 @@ +--- +title: Release 1.1.5 +--- + + + + + + + + + + + + + + + + + + + +
Release Number1.1.5
Release DateJanuary 24th, 2025
Release CodenameLyon, Patch #5
Tag[infrahub-v1.1.5](https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.1.5)
+ +# Release 1.1.5 + +This release is a bug-fix release to resolve issues found in Infrahub v1.1.4 and prior. + +## Main changes + +The complete list of changes can always be found in the `CHANGELOG.md` file in the Infrahub Git repository. + +### Added + +- Allow OIDC providers to fall back to id_token for group membership reports if they are not provided within the `userinfo` URL. This allows for group support using Azure. ([#5464](https://github.com/opsmill/infrahub/issues/5464)) +- Add computed attributes display in schema visualizer to display the jinja2 and python transforms details. ([#5515](https://github.com/opsmill/infrahub/issues/5515)) + +### Fixed + +- Prevent branches in a remote Git repository from being imported if they have conflicts. This can be checked in the repository task logs. ([#5085](https://github.com/opsmill/infrahub/issues/5085)) +- Correct the form to ensure it retrieves all values from the profile accurately. ([#5276](https://github.com/opsmill/infrahub/issues/5276)) +- Fix the multi select update mutation when removing all items. ([#5334](https://github.com/opsmill/infrahub/issues/5334)) +- Fix parent filter rule for relationships in forms to not mark as required if the field is required. ([#5418](https://github.com/opsmill/infrahub/issues/5418)) +- Ensure Transforms are executed with the correct timeout. ([#5456](https://github.com/opsmill/infrahub/issues/5456)) +- Fix unexpected `Too many relationships` error while retrieving multiple nodes having the same parent. ([#5474](https://github.com/opsmill/infrahub/issues/5474)) +- The name of generated artifacts is now using `artifact_name`, from the artifact definition, instead of the name of the definition itself. Existing artifacts will be renamed the next time they are generated. ([#5484](https://github.com/opsmill/infrahub/issues/5484)) +- Switch Docker health check from `/api/schema/summary` to `/api/config`, to ensure that the health check works when Infrahub is configured to disallow anonymous read access. ([#5522](https://github.com/opsmill/infrahub/issues/5522)) +- Improved format of data and schema integrity error messages on a Proposed Change to include more information. + +## Migration guide + +The process to migrate your instance of Infrahub to the latest version may vary depending on your deployment of Infrahub. +However, at a high-level, it will involve getting the latest version of the Infrahub code, and then performing any needed Database Migrations and Schema updates. + +Please ensure you have a **backup of your Infrahub environment** prior to attempting any migration or upgrade activities. + +### Migration of an Infrahub instance + +**First**, update the Infrahub version running in your environment. + +Below are some example ways to get the latest version of Infrahub in your environment. + +- For deployments via Docker Compose, update your container version by updating the `VERSION` environment variable and relaunch: + - `export VERSION="1.1.5"; 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 Infrahub in your environment, please run the following commands. + +> Note: If you are running Infrahub in Docker/K8s, these commands need to run from a container where Infrahub is installed. + +```shell +infrahub db migrate +infrahub db update-core-schema +``` + +**Finally**, restart all instances of Infrahub. + +### 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. + +```shell +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.** + +```shell +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. \ No newline at end of file diff --git a/docs/sidebars.ts b/docs/sidebars.ts index 4d9829d68b..9609b64845 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -315,6 +315,7 @@ const sidebars: SidebarsConfig = { slug: 'release-notes/infrahub', }, items: [ + 'release-notes/infrahub/release-1_1_5', 'release-notes/infrahub/release-1_1_4', 'release-notes/infrahub/release-1_1_3', 'release-notes/infrahub/release-1_1_2', diff --git a/pyproject.toml b/pyproject.toml index 057342e847..a7a6fb388b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "infrahub-server" -version = "1.1.4" +version = "1.1.5" description = "Infrahub is taking a new approach to Infrastructure Management by providing a new generation of datastore to organize and control all the data that defines how an infrastructure should run." authors = ["OpsMill "] readme = "README.md"