Skip to content

Commit

Permalink
bump upgrade versions (#1414)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjosttveit authored Feb 20, 2024
1 parent 3d9bf22 commit bf78d9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion content/community/changelog/app-frontend/v4/_index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ App frontend v4 requires at least version 8.0.0 of the `Altinn.App.Core` and `Al
See the [overview of changes in backend v8](/community/changelog/app-nuget/v8) for more information on how to upgrade.

{{% notice warning %}}
The `v4.0.0-rc2` release requires version `v8.0.0-preview16` or above. When both major releases of app frontend and
The `v4.0.0-rc3` release requires version `v8.0.0-preview.17` or above. When both major releases of app frontend and
backend are released, the `v4.0.0` release will require version `v8.0.0` or above.
{{% /notice %}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ toc: true
---

{{% notice info %}}
As of writing this documentation, the latest release candidate of app-frontend v4 is `4.0.0-rc2`. Updated information
As of writing this documentation, the latest release candidate of app-frontend v4 is `4.0.0-rc3`. Updated information
[is available on GitHub](https://github.com/Altinn/app-frontend-react/releases). Before the release of v4.0.0 stable,
you will have to use exact version numbers in the URLs, e.g. `4.0.0-rc2` instead of `4`. Each time we release a new
you will have to use exact version numbers in the URLs, e.g. `4.0.0-rc3` instead of `4`. Each time we release a new
release candidate and you want to try out the new release, this URL will have to be updated. When the stable
version is released, you can use `4` as the version number in the URLs and get the latest stable version automatically.
{{% /notice %}}
Expand Down Expand Up @@ -96,7 +96,7 @@ In addition to changing the version, you should also remove the links to the thi

<!-- Runtime CSS -->
- <link rel="stylesheet" type="text/css" href="https://altinncdn.no/toolkits/altinn-app-frontend/3/altinn-app-frontend.css">
+ <link rel="stylesheet" type="text/css" href="https://altinncdn.no/toolkits/altinn-app-frontend/4.0.0-rc2/altinn-app-frontend.css">
+ <link rel="stylesheet" type="text/css" href="https://altinncdn.no/toolkits/altinn-app-frontend/4.0.0-rc3/altinn-app-frontend.css">
```
2. Changes inside __&lt;body&gt;__:
<br><br>
Expand All @@ -121,7 +121,7 @@ In addition to changing the version, you should also remove the links to the thi
</div>

- <script src="https://altinncdn.no/toolkits/altinn-app-frontend/3/altinn-app-frontend.js"></script>
+ <script src="https://altinncdn.no/toolkits/altinn-app-frontend/4.0.0-rc2/altinn-app-frontend.js"></script>
+ <script src="https://altinncdn.no/toolkits/altinn-app-frontend/4.0.0-rc3/altinn-app-frontend.js"></script>
```
3. It's optionally also possible to change the `$schema` reference in layout files to get the latest suggestions
and validations for layout configuration. This is not required for v4 to work, but is recommended when developing
Expand All @@ -133,7 +133,7 @@ In addition to changing the version, you should also remove the links to the thi
```diff
{
- "$schema": "https://altinncdn.no/schemas/json/layout/layout.schema.v1.json",
+ "$schema": "https://altinncdn.no/toolkits/altinn-app-frontend/4.0.0-rc2/schemas/json/layout/layout.schema.v1.json",
+ "$schema": "https://altinncdn.no/toolkits/altinn-app-frontend/4.0.0-rc3/schemas/json/layout/layout.schema.v1.json",
"data": {
"layout": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ toc: true
---

{{% notice info %}}
As of writing this documentation, the latest preview release of v8 is `8.0.0-preview.16`. Updated information
As of writing this documentation, the latest preview release of v8 is `8.0.0-preview.17`. Updated information
[is available on GitHub](https://github.com/Altinn/app-lib-dotnet/releases).
{{% /notice %}}

Expand Down Expand Up @@ -66,18 +66,18 @@ The CLI will then make the necessary changes to your code to upgrade it to versi

## Migrate manually

1. To migrate manually from v7 to v8, you need to upgrade the nuget packages in your `App.csproj` file to version `8.0.0-preview.16`.
1. To migrate manually from v7 to v8, you need to upgrade the nuget packages in your `App.csproj` file to version `8.0.0-preview.17`.
<br><br>
{{< code-title >}}
App/App.csproj
{{< /code-title >}}
```diff
- <PackageReference Include="Altinn.App.Api" Version="7.15.3">
+ <PackageReference Include="Altinn.App.Api" Version="8.0.0-preview.16">
+ <PackageReference Include="Altinn.App.Api" Version="8.0.0-preview.17">
<CopyToOutputDirectory>lib\$(TargetFramework)\*.xml</CopyToOutputDirectory>
</PackageReference>
- <PackageReference Include="Altinn.App.Core" Version="7.15.3" />
+ <PackageReference Include="Altinn.App.Core" Version="8.0.0-preview.16" />
+ <PackageReference Include="Altinn.App.Core" Version="8.0.0-preview.17" />
<CopyToOutputDirectory>lib\$(TargetFramework)\*.xml</CopyToOutputDirectory>
</PackageReference>
```
Expand Down

0 comments on commit bf78d9d

Please sign in to comment.