diff --git a/CHANGELOG.md b/CHANGELOG.md index 929e51ea60..b41806bfd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,37 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [Infrahub - v1.1.6](https://github.com/opsmill/infrahub/tree/infrahub-v1.1.6) - 2025-01-30 + +### Artifact improvements + +As part of our ongoing efforts to enhance the integrations and capabilities of Infrahub, the Artifact detail page has been redesigned. + +This redesign focused on allowing a richer and more powerful Artifact experience. +Enhancements include support for additional content-types (as listed below), colorized syntax highlighting, and easier access to download or copy artifacts. + +**Supported Artifact Content Types**: + +- Markdown +- YAML +- JSON +- Text +- SVG + +### Added + +- Allow Default Address Type quick selection in the Resource Manager form ([#3489](https://github.com/opsmill/infrahub/issues/3489)) +- Added code viewer for new content-types, preview of raw markdown content, one-click file download or cop, and redesign of artifact details view ([#5452](https://github.com/opsmill/infrahub/issues/5452)) + +### Fixed + +- Automatically mark hierarchical nodes `parent` relationship as optional if the parent is of the same kind or mandatory if the parent is of a different kind ([#3682](https://github.com/opsmill/infrahub/issues/3682)) +- Revert back to `state=open` from `state=merging` if the merge of a proposed change fails. + This fixes the possibility of leaving a proposed change in an unexpected state. ([#5563](https://github.com/opsmill/infrahub/issues/5563)) +- Fixes an issue with retrieving object from S3 storage backend. ([#5573](https://github.com/opsmill/infrahub/issues/5573)) +- Loosened requirement for group discovery using OIDC and id_token. This will probably be reverted or presented as a configuration option in the future. ([#5623](https://github.com/opsmill/infrahub/issues/5623)) +- Significant improvements to diff calculation performance. + ## [Infrahub - v1.1.5](https://github.com/opsmill/infrahub/tree/infrahub-v1.1.5) - 2025-01-24 ### Added diff --git a/changelog/+diff-perf.fixed.md b/changelog/+diff-perf.fixed.md deleted file mode 100644 index ea9a3b5b0c..0000000000 --- a/changelog/+diff-perf.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Significant improvements to diff calculation performance \ No newline at end of file diff --git a/changelog/3489.added.md b/changelog/3489.added.md deleted file mode 100644 index 62a1aeb3c5..0000000000 --- a/changelog/3489.added.md +++ /dev/null @@ -1 +0,0 @@ -Allow Default Address Type quick selection in the Resource Manager form \ No newline at end of file diff --git a/changelog/3682.fixed.md b/changelog/3682.fixed.md deleted file mode 100644 index e4e57d996c..0000000000 --- a/changelog/3682.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Automatically mark hierarchical nodes `parent` relationship as optional if the parent is of the same kind or mandatory if the parent is of a different kind \ No newline at end of file diff --git a/changelog/5452.added.md b/changelog/5452.added.md deleted file mode 100644 index 4a4fac0e2d..0000000000 --- a/changelog/5452.added.md +++ /dev/null @@ -1 +0,0 @@ -Add code viewer for new content-types, preview the raw markdown content, allow file download + copy and redesign artifact details view \ No newline at end of file diff --git a/changelog/5563.fixed.md b/changelog/5563.fixed.md deleted file mode 100644 index 19185ddf79..0000000000 --- a/changelog/5563.fixed.md +++ /dev/null @@ -1,3 +0,0 @@ -Revert back to state=open from state=merging if the merge of a proposed change fails - -Fixes #5563 diff --git a/changelog/5573.fixed.md b/changelog/5573.fixed.md deleted file mode 100644 index be619bc941..0000000000 --- a/changelog/5573.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixes an issue with retrieving object from S3 storage backend diff --git a/changelog/5623.fixed.md b/changelog/5623.fixed.md deleted file mode 100644 index f391c74442..0000000000 --- a/changelog/5623.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Loosened requirement for group discovery using OIDC and id_token. This will probably be reverted or presented as a configuration option in the future. diff --git a/docs/docs/media/release_notes/infrahub_1_1_6/json_artifact.png b/docs/docs/media/release_notes/infrahub_1_1_6/json_artifact.png new file mode 100644 index 0000000000..5ba89eba30 Binary files /dev/null and b/docs/docs/media/release_notes/infrahub_1_1_6/json_artifact.png differ diff --git a/docs/docs/media/release_notes/infrahub_1_1_6/markdown_artifact_preview.png b/docs/docs/media/release_notes/infrahub_1_1_6/markdown_artifact_preview.png new file mode 100644 index 0000000000..17e8f67519 Binary files /dev/null and b/docs/docs/media/release_notes/infrahub_1_1_6/markdown_artifact_preview.png differ diff --git a/docs/docs/media/release_notes/infrahub_1_1_6/markdown_artifact_raw.png b/docs/docs/media/release_notes/infrahub_1_1_6/markdown_artifact_raw.png new file mode 100644 index 0000000000..4c0641f59d Binary files /dev/null and b/docs/docs/media/release_notes/infrahub_1_1_6/markdown_artifact_raw.png differ diff --git a/docs/docs/media/release_notes/infrahub_1_1_6/svg_artifact.png b/docs/docs/media/release_notes/infrahub_1_1_6/svg_artifact.png new file mode 100644 index 0000000000..fa4b240e0c Binary files /dev/null and b/docs/docs/media/release_notes/infrahub_1_1_6/svg_artifact.png differ diff --git a/docs/docs/media/release_notes/infrahub_1_1_6/text_artifact.png b/docs/docs/media/release_notes/infrahub_1_1_6/text_artifact.png new file mode 100644 index 0000000000..24aaeee801 Binary files /dev/null and b/docs/docs/media/release_notes/infrahub_1_1_6/text_artifact.png differ diff --git a/docs/docs/media/release_notes/infrahub_1_1_6/yaml_artifact.png b/docs/docs/media/release_notes/infrahub_1_1_6/yaml_artifact.png new file mode 100644 index 0000000000..4c93f93af1 Binary files /dev/null and b/docs/docs/media/release_notes/infrahub_1_1_6/yaml_artifact.png differ diff --git a/docs/docs/release-notes/infrahub/release-1_1_6.mdx b/docs/docs/release-notes/infrahub/release-1_1_6.mdx new file mode 100644 index 0000000000..09a132aa60 --- /dev/null +++ b/docs/docs/release-notes/infrahub/release-1_1_6.mdx @@ -0,0 +1,136 @@ +--- +title: Release 1.1.6 +--- + + + + + + + + + + + + + + + + + + + +
Release Number1.1.6
Release DateJanuary 30th, 2025
Release CodenameLyon, Patch #6
Tag[infrahub-v1.1.6](https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.1.6)
+ +# Release 1.1.6 + +This release brings exciting new features to Infrahub's Artifact capability, as well as bug-fixes to resolve issues found in Infrahub v1.1.5 and prior. + +## Main changes + +The complete list of changes can always be found in the `CHANGELOG.md` file in the Infrahub Git repository. + +### Artifact improvements + +As part of our ongoing efforts to enhance the integrations and capabilities of Infrahub, the Artifact detail page has been redesigned. + +This redesign focused on allowing a richer and more powerful Artifact experience. +Enhancements include support for additional content-types (as listed below), colorized syntax highlighting, and easier access to download or copy artifacts. + +**Supported Artifact Content Types**: + +- Markdown +- YAML +- JSON +- Text +- SVG + +#### Examples + +Markdown with syntax highlighting: + +!["Example screenshot of Infrahub 1.1.6 showing an Artifact of Markdown type with syntax highlighting."](../../media/release_notes/infrahub_1_1_6/markdown_artifact_raw.png) + +Markdown rendered for preview: + +!["Example screenshot of Infrahub 1.1.6 showing an Artifact of Markdown type rendered for preview."](../../media/release_notes/infrahub_1_1_6/markdown_artifact_preview.png) + +Text: + +!["Example screenshot of Infrahub 1.1.6 showing an Artifact of text type."](../../media/release_notes/infrahub_1_1_6/text_artifact.png) + +YAML: + +!["Example screenshot of Infrahub 1.1.6 showing an Artifact of YAML type with syntax highlighting."](../../media/release_notes/infrahub_1_1_6/yaml_artifact.png) + +JSON: + +!["Example screenshot of Infrahub 1.1.6 showing an Artifact of JSON type with syntax highlighting."](../../media/release_notes/infrahub_1_1_6/json_artifact.png) + +SVG: + +!["Example screenshot of Infrahub 1.1.6 showing an Artifact of SVG type."](../../media/release_notes/infrahub_1_1_6/svg_artifact.png) + +### Added + +- Allow Default Address Type quick selection in the Resource Manager form ([#3489](https://github.com/opsmill/infrahub/issues/3489)) +- Added code viewer for new content-types, preview of raw markdown content, one-click file download or cop, and redesign of artifact details view ([#5452](https://github.com/opsmill/infrahub/issues/5452)) + +### Fixed + +- Automatically mark hierarchical nodes `parent` relationship as optional if the parent is of the same kind or mandatory if the parent is of a different kind ([#3682](https://github.com/opsmill/infrahub/issues/3682)) +- Revert back to `state=open` from `state=merging` if the merge of a proposed change fails. + This fixes the possibility of leaving a proposed change in an unexpected state. ([#5563](https://github.com/opsmill/infrahub/issues/5563)) +- Fixes an issue with retrieving object from S3 storage backend. ([#5573](https://github.com/opsmill/infrahub/issues/5573)) +- Loosened requirement for group discovery using OIDC and id_token. This will probably be reverted or presented as a configuration option in the future. ([#5623](https://github.com/opsmill/infrahub/issues/5623)) +- Significant improvements to diff calculation performance. + +## 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.6"; 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 9609b64845..f322366ab0 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_6', 'release-notes/infrahub/release-1_1_5', 'release-notes/infrahub/release-1_1_4', 'release-notes/infrahub/release-1_1_3', diff --git a/pyproject.toml b/pyproject.toml index a7a6fb388b..b64a5362c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "infrahub-server" -version = "1.1.5" +version = "1.1.6" 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"