7.0.0-preview4
Pre-release
Pre-release
7.0.0-preview4
Bug fixes:
- Add nullables to the properties in
WsFederationMessage
. See issue #2240 for details. - Fix regression where
JsonWebToken.TryGetPayloadValue()
was not compatible with dictionary types. See issue #2246 for details. - Fix regression where dictionary claims added to
SecurityTokenDescriptor.Claims
are no longer correctly serialized. See issue #2245 for details. - Fix regression with a Y2038 bug. See issue #2261 for details.
- Fix a regression where claims with multiple values are incorrectly serialized. See #2244 for details.
Performance improvements:
- Remove sync-over-async pattern with
JsonWebTokens.ValidateToken
, which when in the hot path can lead to threadpool starvation. See issue #2253 for details. - Perf testing using brenchmark dotnet and crank, similar to aspnetcore, to better gauge requests per second perf impacts. See issue #2232 for details.
- Use optimistic synchronization in
JsonWebToken.Audiences
. See PR for details. - Reduce allocations when enumerating over collections. See PR for details.
Documentation:
- Fix description for JWT X5tS256 field.
Fundamentals:
- Improvements to the build script to accommodate .NET's source-build requirements. See PR for details.