|
| 1 | +--- |
| 2 | +title: Release 0.16.2 |
| 3 | +--- |
| 4 | +<table> |
| 5 | + <tbody> |
| 6 | + <tr> |
| 7 | + <th>Release Number</th> |
| 8 | + <td>0.16.2</td> |
| 9 | + </tr> |
| 10 | + <tr> |
| 11 | + <th>Release Date</th> |
| 12 | + <td>October 1st, 2024</td> |
| 13 | + </tr> |
| 14 | + <tr> |
| 15 | + <th>Release Codename</th> |
| 16 | + <td>Beta #5, Patch #2</td> |
| 17 | + </tr> |
| 18 | + <tr> |
| 19 | + <th>Tag</th> |
| 20 | + <td>[infrahub-v0.16.2](https://github.com/opsmill/infrahub/releases/tag/infrahub-v0.16.2)</td> |
| 21 | + </tr> |
| 22 | + </tbody> |
| 23 | +</table> |
| 24 | + |
| 25 | +# Release 0.16.2 |
| 26 | + |
| 27 | +We are thrilled to announce the latest release of Infrahub, version *0.16.2*! |
| 28 | + |
| 29 | +This release focuses largely on bug fixes and is driven by our Beta Test users, |
| 30 | +and as always we greatly appreciate their feedback and time! |
| 31 | + |
| 32 | +## Main changes |
| 33 | + |
| 34 | +The complete list of changes can always be found in the `CHANGELOG.md` file in the Infrahub Git repository. |
| 35 | + |
| 36 | +### Fixed |
| 37 | + |
| 38 | +- Loading a schema with an invalid order_by field raise a proper error. ([#4323](https://github.com/opsmill/infrahub/issues/4323)) |
| 39 | +- Updates internal logic to improve performance when generating a diff. |
| 40 | + |
| 41 | + BREAKING CHANGE: Diff data, including conflict selections, will be deleted. We recommend merging |
| 42 | + any outstanding proposed changes before upgrading to this version. ([#4438](https://github.com/opsmill/infrahub/issues/4438)) |
| 43 | +- Fix performance issue for GraphQL queries that only count nodes. ([#4454](https://github.com/opsmill/infrahub/issues/4454)) |
| 44 | +- Fix ability to construct HFID for upsert mutations where a number attribute is used. ([#4460](https://github.com/opsmill/infrahub/issues/4460)) |
| 45 | + |
| 46 | +## Migration guide |
| 47 | + |
| 48 | +To migrate your instance of Infrahub to the latest version, please run the following commands and restart all instances of Infrahub. |
| 49 | + |
| 50 | +<!-- vale off --> |
| 51 | +```shell |
| 52 | +infrahub db migrate |
| 53 | +infrahub db update-core-schema |
| 54 | +``` |
| 55 | +<!-- vale on --> |
| 56 | + |
| 57 | +> if you are running in docker these commands need to run from the container where Infrahub is installed |
| 58 | + |
| 59 | +### Migration of the demo instance |
| 60 | + |
| 61 | +If you are using the demo environment, you can migrate to the latest version with the following commands |
| 62 | + |
| 63 | +```shell |
| 64 | +invoke demo.stop |
| 65 | +invoke demo.build |
| 66 | +invoke demo.migrate |
| 67 | +invoke demo.start |
| 68 | +``` |
| 69 | + |
| 70 | +If you don't want to keep your data, you can start a clean instance with the following command |
| 71 | + |
| 72 | +```shell |
| 73 | +invoke demo.destroy demo.build demo.start demo.load-infra-schema demo.load-infra-data |
| 74 | +``` |
| 75 | + |
| 76 | +> All data will be lost, please make sure to backup everything you need before running this command. |
| 77 | +
|
| 78 | +The repository https://github.com/opsmill/infrahub-demo-edge has also been updated, it's recommended to pull the latest changes into your fork. |
0 commit comments