Releases: skybrud/Skybrud.Essentials.AspNetCore
v1.0.1
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.1
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.1
Changelog
-
Updated the
Skybrud.Essentialsdependency (see 4fd620f)
This doesn't affect the package directly, but since we have other packages with a direct dependency forSkybrud.Essentials.AspNetCore, but usingSkybrud.Essentialsas a transitive dependency, we might as well bump the dependency to the newest version. -
Misc internal improvements (see 4fd620f)
This includes updating the code to align with our internal code style, enabling C# 12 features etc. This does not affect how the package is consumed.
v1.0.0
First stable release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0
Changelog
- Removed obsolete classes (see 3e6643b)
While still in alpha, the classes related to Newtonsoft.Json have had a few different locations and names, and each time they've "been renamed", the old files have been kept for legacy support. As this release goes from alpha to stable, the obsolete classes have now been removed.
v1.0.0-alpha015
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha015
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha015
Changelog
-
IQueryCollectionextension methods should be nullable (see 0524512)
Most of the extension methods forIQueryCollectiontargetedIQueryCollection?, while some only targetedIQueryCollection. With proper null checks, the remaining methods can also targetIQueryCollection?. -
Added
TryGetEnumextension methods for theIQueryCollectioninterface (see b8b5a96)
As an alternative to the existingGetEnumextension methods, the package now has similar methods following theTryGetpattern. -
Added extension methods for the
HeaderDictionaryclass (see dc2c38a)
This release adds various extension methods for theHeaderDictionaryclass similar to the existing extension methods for theIQueryCollectioninterface. -
Added extension methods for the
IFormCollectioninterface (see 9932a32)
This release adds various extension methods for theIFormCollectioninterface similar to the existing extension methods for theIQueryCollectioninterface.
v1.0.0-alpha014
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha014
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha014
Changelog
- Improved the
NewtonsoftJsonOnlyConfigurationAttributeclass and underlying filter (see 5baafcd)- property names are now camel cased by default (opposed to Pascal cased - or whatever is default in JSON.net)
- casing may be set by optional parameter for the attribute
v1.0.0-alpha013
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha013
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha013
v1.0.0-alpha012
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha012
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha012
Changelog
- Fixed issue with
GetDoublemethod trying to parse tolonginstead ofdouble(see c8237de)
The method would only work for whole numbers, which wasn't really ideal.
v1.0.0-alpha011
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha011
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha011
Changelog
-
Added methods for parsing query string values into string arrays and lists (see 1977354)
The package already contains extension methods forICookieCollectionandStringValuesfor parsing multiple values into an array or list. While this has been specifically for value types,GetStringArrayandGetStringListextension methods are now available forICookieCollection, and similarToStringArrayandToStringListextension methods are now available forStringValues. -
Added methods for parsing query strings into enum arrays and lists (see f962561)
So far this package has lacked extension methods for parsing enum values from a query string. With this release, the package provides variousGetEnum,GetEnumOrNull,GetEnumArrayandGetEnumListextension methods forIQueryCollectionas well as similarToEnum,ToEnumOrNull,ToEnumArrayandToEnumListextension methods forStringValues. -
Added
Get{Type}OrNullandTo{Type}OrNullextension methods (see 00c54a2)
In addition to the existingGet{Type}andTo{Type}extension methods forIQueryCollectionandStringValuesrespectively, the package now also containsGet{Type}OrNullandTo{Type}OrNullalternatives that returnnullif a value isn't found or couldn't be parsed.
v1.0.0-alpha010
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha010
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha010
Changelog
-
Fixed issues comma separated GUID values (see 7489bb0)
Until now, the two methods supported query strings likeguid1=a&guid2=b, but notguids=a,b. With this commit, both scenarios are now supported. -
Fixed misc issues with parsing query strings with comma separated values (see 46e6ff9)
Similar to the issue with comma separated GUID values, the logic for parsing other types had the same problems. -
Updated the Skybrud.Essentials dependency to the newest version (see 24657d9)
The package now has a dependency for v1.1.46.
v1.0.0-alpha009
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha009
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha009
Changelog
-
Added a bunch of
TryGet{Type}extension methods to theQueryStringExtensionsclass (see 6aa56bc)
As an alternative to the existingGet{Type}extension methods, theQueryStringExtensionsclass now also contains correspondingTryGet{Type} -
Added a bunch of extension methods for getting GUID values from
IQueryCollectionandStringValues(see 56f1187)
Similar to the other extension methods for getting value types, the package now supports getting single and multiple GUID values from bothIQueryCollectionandStringValuesinstances. -
Updated the Skybrud.Essentials dependency to the newest version (see 7236184)
The package now has a dependency for v1.1.45. -
Updated project to use C# 11 and added .NET 7 as an additional target framework (see 548ed69)
Might as well uses the newest versions. 😎
v1.0.0-alpha008
New alpha release 🎉
Installation
Via NuGet:
dotnet add package Skybrud.Essentials.AspNetCore --version 1.0.0-alpha008
or:
Install-Package Skybrud.Essentials.AspNetCore -Version 1.0.0-alpha008
Changelog
- Re-adding deleted classes to avoid breaking changes (see 1135b53)
Since we have solutions and packages using a mix of different versions of this package, it's not possible to upgrade to alpha007 without some other part breaking. Therefore the deleted classes have been re-added to the package, but marked as obsolete. The classes ought still to be removed before pushing a stable release.