|
1 | | -# v5.0.0 |
2 | | - |
3 | | -## Breaking Changes |
4 | | - |
5 | | -### 🔴 Breaking change # 1 - IE11 and Legacy Edge support is DISCONTINUED |
6 | | - |
7 | | -If you need to support these old browsers in your project, please use the previous major release [v4.5.0](https://github.com/Basaingeal/Razor.SweetAlert2/releases/tag/v4.5.0) |
8 | | - |
9 | | -### 🔴 Breaking change # 2 - `.QueueAsync()`, `.GetQueueStepAsync()`, `.InsertQueueStepAsync()`, `.DeleteQueueStepAsync()` methods are REMOVED |
10 | | - |
11 | | -`async/await` can perfectly replace all use-cases of `.QueueAsync()`. |
12 | | - |
13 | | - |
14 | | -## 💅 Styling Changes |
15 | | - |
16 | | -`sweetalert2@11` introduced a variety of styling changes. |
17 | | - |
18 | | -- Update button color |
19 | | -- Switch to CSS Grid Layout |
20 | | -- Refreshed look for toasts |
21 | | -- Loaded in toasts moved to the left side (instead of the icon) |
22 | | - |
23 | | -Examples and explainations for these changes can be found on the sweetalert2 v11.0.0 [release notes](https://github.com/sweetalert2/sweetalert2/releases/tag/v11.0.0). |
24 | | - |
25 | | -## 🎉 New features |
26 | | - |
27 | | -### Default Settings |
28 | | - |
29 | | -You can now specify global defaults during Startup for your SweetAlertOptions that apply to all your SweetAlert2 dialogs. |
30 | | - |
31 | | -```csharp |
32 | | -services.AddSweetAlert2(options => { |
33 | | - options.DefaultOptions = new SweetAlertOptions { |
34 | | - HeightAuto = false |
35 | | - }; |
36 | | -}); |
37 | | -``` |
38 | | - |
39 | | -View the [README.md](https://github.com/Basaingeal/Razor.SweetAlert2/blob/develop/README.md#default-settings) for more information |
| 1 | +# v5.0.1 |
40 | 2 |
|
41 | 3 | ## Dependencies |
42 | 4 |
|
43 | | -- bump `sweetalert2` to `11.0.17` |
44 | | -- bump `@sweetalert2/themes` to `5.0.0` |
45 | | - |
46 | | -### Multi-targetting enabled |
47 | | - |
48 | | -Blazor dependencies are now dependant on which version of .NET is being used in the application. |
49 | | - |
50 | | -#### .NETCoreApp 3.1 |
51 | | - |
52 | | -- `Microsoft.AspNetCore.Components` (>= `3.1.0` && < `5.0.0`) |
53 | | -- `Microsoft.AspNetCore.Components.Web` (>= `3.1.0` && < `5.0.0`) |
54 | | - |
55 | | -#### .NETStandard 2.0 |
56 | | -- `Microsoft.AspNetCore.Components` (>= `3.1.0` && < `5.0.0`) |
57 | | -- `Microsoft.AspNetCore.Components.Web` (>= `3.1.0` && < `5.0.0`) |
58 | | - |
59 | | -#### net5.0 |
60 | | -- `Microsoft.AspNetCore.Components` (>= `5.0.0` && < `6.0.0`) |
61 | | -- `Microsoft.AspNetCore.Components.Web` (>= `5.0.0` && < `6.0.0`) |
62 | | - |
| 5 | +- bump `sweetalert2` to `11.0.18` |
63 | 6 |
|
0 commit comments