Skip to content

Commit 997d696

Browse files
committed
Add Release notes and Migration notes.
1 parent 5e1d224 commit 997d696

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
uid: BlazorState:Migration4-5.md
3+
title: Migrate From 4.X to 5.X
4+
---
5+
6+
# Migration
7+
8+
## From 4.X to 5.X
9+
10+
The biggest requirement will be to migrate to dotnet 6. See [Migrate from ASP.NET Core 5.0 to 6.0](https://docs.microsoft.com/en-us/aspnet/core/migration/50-to-60?view=aspnetcore-6.0&tabs=visual-studio)
11+
12+
After completing that dotnet 6 migration the blazor-state specific changes are as follows:
13+
14+
### Remove the script tag in your index.html or _Host.cshtml files
15+
16+
Delete:
17+
18+
```html
19+
<script src="_content/BlazorState.js/blazorstate.js"></script>
20+
```
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
uid: BlazorState:Release.5.0.0.md
3+
title: Release 5.0.0
4+
---
5+
6+
## Release 5.0.0
7+
8+
### Breaking Changes
9+
* Blazor-State has moved to net6.0
10+
* <script src="_content/Blazor-State/blazorstate.js"></script> is no longer needed and should be removed.
11+
* Updated Mediator to 10.0.1 https://jimmybogard.com/mediatr-10-0-released/
12+
* Requires Browsers that support module import. [CanIUse](https://caniuse.com/?search=module)
13+
14+
See [Migrations](xref:BlazorState:Migration4-5.md) for how to migrate existing projects from 4.0 to 5.0.
15+
16+
### Other Changes
17+
* Include debug symbols in main nuget package vs separate.
18+
* Switch from Shouldly to FluentValidations
19+
* Move to `Directory.Packagaes.props`
20+
* Move to esproj and remove webpack.
21+
* In dotnet 6 there are new capabilities to initialize JS modules.
22+
* Move to file based namespaces;
23+
* Run dotnet format on all.

0 commit comments

Comments
 (0)