From b9fbde25862033dba4d5b58008f61a2acb0cebb2 Mon Sep 17 00:00:00 2001 From: Brett Lykins Date: Tue, 1 Oct 2024 18:38:57 -0400 Subject: [PATCH] release v0.16.2 prep --- CHANGELOG.md | 12 +++ changelog/4323.fixed.md | 1 - changelog/4438.fixed.md | 4 - changelog/4454.fixed.md | 1 - changelog/4460.fixed.md | 1 - .../release-notes/infrahub/release-0_16_2.mdx | 78 +++++++++++++++++++ docs/sidebars.ts | 1 + helm/Chart.yaml | 4 +- pyproject.toml | 2 +- 9 files changed, 94 insertions(+), 10 deletions(-) delete mode 100644 changelog/4323.fixed.md delete mode 100644 changelog/4438.fixed.md delete mode 100644 changelog/4454.fixed.md delete mode 100644 changelog/4460.fixed.md create mode 100644 docs/docs/release-notes/infrahub/release-0_16_2.mdx diff --git a/CHANGELOG.md b/CHANGELOG.md index f7fb71681a..574f437f64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,18 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [0.16.2](https://github.com/opsmill/infrahub/tree/v0.16.2) - 2024-10-01 + +### Fixed + +- Loading a schema with an invalid order_by field raise a proper error. ([#4323](https://github.com/opsmill/infrahub/issues/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](https://github.com/opsmill/infrahub/issues/4438)) +- Fix performance issue for GraphQL queries that only count nodes. ([#4454](https://github.com/opsmill/infrahub/issues/4454)) +- Fix ability to construct HFID for upsert mutations where a number attribute is used. ([#4460](https://github.com/opsmill/infrahub/issues/4460)) + ## [0.16.1](https://github.com/opsmill/infrahub/tree/v0.16.1) - 2024-09-24 The largest change in this version is the movement of the Infrahub SDK into a diff --git a/changelog/4323.fixed.md b/changelog/4323.fixed.md deleted file mode 100644 index 4c1ea1d4c1..0000000000 --- a/changelog/4323.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Loading a schema with an invalid order_by field raise a proper error diff --git a/changelog/4438.fixed.md b/changelog/4438.fixed.md deleted file mode 100644 index fc954f7f6e..0000000000 --- a/changelog/4438.fixed.md +++ /dev/null @@ -1,4 +0,0 @@ -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. \ No newline at end of file diff --git a/changelog/4454.fixed.md b/changelog/4454.fixed.md deleted file mode 100644 index 5a8a191247..0000000000 --- a/changelog/4454.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix performance issue for GraphQL queries that only count nodes. diff --git a/changelog/4460.fixed.md b/changelog/4460.fixed.md deleted file mode 100644 index 46f5b65046..0000000000 --- a/changelog/4460.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fix ability to construct HFID for upsert mutations where a number attribute is used. diff --git a/docs/docs/release-notes/infrahub/release-0_16_2.mdx b/docs/docs/release-notes/infrahub/release-0_16_2.mdx new file mode 100644 index 0000000000..22e4dba0b9 --- /dev/null +++ b/docs/docs/release-notes/infrahub/release-0_16_2.mdx @@ -0,0 +1,78 @@ +--- +title: Release 0.16.2 +--- + + + + + + + + + + + + + + + + + + + +
Release Number0.16.2
Release DateOctober 1st, 2024
Release CodenameBeta #5, Patch #2
Tag[infrahub-v0.16.2](https://github.com/opsmill/infrahub/releases/tag/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](https://github.com/opsmill/infrahub/issues/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](https://github.com/opsmill/infrahub/issues/4438)) +- Fix performance issue for GraphQL queries that only count nodes. ([#4454](https://github.com/opsmill/infrahub/issues/4454)) +- Fix ability to construct HFID for upsert mutations where a number attribute is used. ([#4460](https://github.com/opsmill/infrahub/issues/4460)) + +## Migration guide + +To migrate your instance of Infrahub to the latest version, please run the following commands and restart all instances of Infrahub. + + +```shell +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 + +```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 + +```shell +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. diff --git a/docs/sidebars.ts b/docs/sidebars.ts index e2097d1334..35442be736 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -308,6 +308,7 @@ const sidebars: SidebarsConfig = { }, items: [ // 'release-notes/infrahub/release-1_0-DRAFT', + 'release-notes/infrahub/release-0_16_2', 'release-notes/infrahub/release-0_16_1', 'release-notes/infrahub/release-0_16', 'release-notes/infrahub/release-0_15_3', diff --git a/helm/Chart.yaml b/helm/Chart.yaml index c29cb9a3d8..3cf60f1250 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -14,12 +14,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.7.0 +version: 2.7.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.16.1" +appVersion: "0.16.2" dependencies: - name: neo4j diff --git a/pyproject.toml b/pyproject.toml index 32227133a2..679ed29034 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "infrahub" -version = "0.16.1" +version = "0.16.2" 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"