Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changelog prep for 1.1.7 #5785

Merged
merged 2 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,28 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang

<!-- towncrier release notes start -->

## [Infrahub - v1.1.7](https://github.com/opsmill/infrahub/tree/infrahub-v1.1.7) - 2025-02-18

### Added

- Data diffs are loaded in sequential batches for faster performance with large changes.
- The diff tree and diff list can now be scrolled independently.

### Changed

- Modified node mutation events to not send metadata properties as part of the mutation payload. The reason is that the property lookup was time consuming. This information will return again in Infrahub 1.2 with a completely updated format. ([#5664](https://github.com/opsmill/infrahub/issues/5664))

### Fixed

- Fix nodes remaining in the database after a create mutation fails when using pools. ([#4303](https://github.com/opsmill/infrahub/issues/4303))
- Modify the query for the current tasks, ensuring the correct determination of the merge button state. ([#5565](https://github.com/opsmill/infrahub/issues/5565))
- Fix Docker `task-manager-db` PostgreSQL health check test by adding database and user parameters. ([#5739](https://github.com/opsmill/infrahub/issues/5739))
- Fixed issue causing a gap in menu sidebar when text is too long.
- Prevent avatar from being cut off in menu sidebar.
- Enforce permission checks when using relationship add or delete mutation.
- Enhance the data integrity checks UI to enable navigation from the check to the diff view.
- Improved performance when updating an existing diff.

## [Infrahub - v1.1.6](https://github.com/opsmill/infrahub/tree/infrahub-v1.1.6) - 2025-01-30

### Artifact improvements
Expand Down
1 change: 0 additions & 1 deletion changelog/+checks.fixed.md

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/+data-diff.added.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/+diff-performance.fixed.md

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/+menu.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/+relationship-mutation-permission.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4303.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/5565.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/5664.changed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/5739.fixed.md

This file was deleted.

101 changes: 101 additions & 0 deletions docs/docs/release-notes/infrahub/release-1_1_7.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
title: Release 1.1.7
---
<table>
<tbody>
<tr>
<th>Release Number</th>
<td>1.1.7</td>
</tr>
<tr>
<th>Release Date</th>
<td>February 18th, 2025</td>
</tr>
<tr>
<th>Release Codename</th>
<td>Lyon, Patch #7</td>
</tr>
<tr>
<th>Tag</th>
<td>[infrahub-v1.1.7](https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.1.7)</td>
</tr>
</tbody>
</table>

# Release 1.1.7

This release brings some changes and bug-fixes to resolve issues found in Infrahub v1.1.6 and prior.

## Main changes

The complete list of changes can always be found in the `CHANGELOG.md` file in the Infrahub Git repository.

### Added

- Data diffs are loaded in sequential batches for faster performance with large changes.
- The diff tree and diff list can now be scrolled independently.

### Changed

- Modified node mutation events to not send metadata properties as part of the mutation payload. The reason is that the property lookup was time consuming. This information will return again in Infrahub 1.2 with a completely updated format. ([#5664](https://github.com/opsmill/infrahub/issues/5664))

### Fixed

- Fix nodes remaining in the database after a create mutation fails when using pools. ([#4303](https://github.com/opsmill/infrahub/issues/4303))
- Modify the query for the current tasks, ensuring the correct determination of the merge button state. ([#5565](https://github.com/opsmill/infrahub/issues/5565))
- Fix Docker `task-manager-db` PostgreSQL health check test by adding database and user parameters. ([#5739](https://github.com/opsmill/infrahub/issues/5739))
- Fixed issue causing a gap in menu sidebar when text is too long.
- Prevent avatar from being cut off in menu sidebar.
- Enforce permission checks when using relationship add or delete mutation.
- Enhance the data integrity checks UI to enable navigation from the check to the diff view.
- Improved performance when updating an existing diff.

## 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.7"; 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.
1 change: 1 addition & 0 deletions docs/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ const sidebars: SidebarsConfig = {
slug: 'release-notes/infrahub',
},
items: [
'release-notes/infrahub/release-1_1_7',
'release-notes/infrahub/release-1_1_6',
'release-notes/infrahub/release-1_1_5',
'release-notes/infrahub/release-1_1_4',
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "infrahub-server"
version = "1.1.6"
version = "1.1.7"
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 <info@opsmill.com>"]
readme = "README.md"
Expand Down
Loading