Skip to content

Commit aa5caaf

Browse files
authored
Merge pull request #1461 from Basaingeal/release/v5.0.1
Release/v5.0.1
2 parents b3a5a81 + 3b513fd commit aa5caaf

File tree

5 files changed

+202
-294
lines changed

5 files changed

+202
-294
lines changed

CHANGELOG.md

Lines changed: 2 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,6 @@
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
402

413
## Dependencies
424

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`
636

CurrieTechnologies.Razor.SweetAlert2.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Description>
1010
A Razor class library for interacting with SweetAlert2.
1111
Use in Blazor Server Apps or Blazor WebAssembly Apps.
12-
Currently using [email protected].17
12+
Currently using [email protected].18
1313
</Description>
1414
<Copyright>Michael J. Currie</Copyright>
1515
<PackageLicenseExpression>MIT</PackageLicenseExpression>
@@ -21,9 +21,6 @@
2121
<PackageReadmeFile>README.md</PackageReadmeFile>
2222
<PackageReleaseNotes>
2323
bump sweetalert2
24-
remove queueing functionality
25-
default color adjustments
26-
multi-targetting
2724
</PackageReleaseNotes>
2825
</PropertyGroup>
2926

azure-pipelines.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -156,21 +156,3 @@ stages:
156156
nuGetFeedType: "external"
157157
publishFeedCredentials: "NuGet All"
158158
verbosityPush: "Normal"
159-
160-
- deployment: githubPackageRegistry
161-
displayName: Push to GitHub Package Registry
162-
pool:
163-
vmImage: "windows-latest"
164-
environment: currietechnologies-prod
165-
strategy:
166-
runOnce:
167-
deploy:
168-
steps:
169-
- task: NuGetCommand@2
170-
displayName: Push to GitHub Package Registry
171-
inputs:
172-
command: "push"
173-
packagesToPush: "$(Pipeline.Workspace)/NuGetPackage/*.nupkg"
174-
nuGetFeedType: "external"
175-
publishFeedCredentials: "GitHub Package Registry"
176-
verbosityPush: "Normal"

0 commit comments

Comments
 (0)