140 lines
5.0 KiB
Markdown
140 lines
5.0 KiB
Markdown
# Changelog
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [Unreleased](https://git.am-wd.de/AM.WD/common/compare/v1.5.0...master) - 0000-00-00
|
|
_nothing changed yet_
|
|
|
|
## [v1.5.0](https://git.am-wd.de/AM.WD/common/compare/v1.4.3...v1.5.0) - 2022-06-15
|
|
### Added
|
|
- `TcpClientMoq` to test communication via a `TcpClient`
|
|
- EntityFramework Core Converters for new `DateOnly` and `TimeOnly` datatypes when using SQL Server on .NET 6.0 (Bug on Microsoft's EntityFramework)
|
|
- `HttpContext.IsLocalRequest()` to determine whether the request was from local or remote.
|
|
- `IPWhitelistAttribute` and `IPBlacklistAttribute` to allow/restrict access on specific controllers/actions.
|
|
|
|
|
|
## [v1.4.3](https://git.am-wd.de/AM.WD/common/compare/v1.4.2...v1.4.3) - 2022-05-12
|
|
### Fixed
|
|
- Fixed detection of SQLServer for EFCore extensions
|
|
|
|
|
|
## [v1.4.2](https://git.am-wd.de/AM.WD/common/compare/v1.4.1...v1.4.2) - 2022-05-06
|
|
### Added
|
|
- New extension for `StringBuilder` `AppendLine(value: string, newLine: string)` to add a line with a explicit defined new line character.
|
|
|
|
|
|
## [v1.4.1](https://git.am-wd.de/AM.WD/common/compare/v1.4.0...v1.4.1) - 2022-03-23
|
|
### Added
|
|
- `IntegrityHashTagHelper` can be used with `asp-integrity="true|false"` and `asp-integrity-strength="256|384|512"`
|
|
- `WaitAvailableAsync` can be used to wait for a database connection to be available.
|
|
|
|
### Changed
|
|
- `ApplyMigrationsAsync` uses `WaitAvailableAsync` internally.
|
|
|
|
### Fixed
|
|
- `InMemory` database provider does not fail on "migration" (none possible)
|
|
|
|
|
|
## [v1.4.0](https://git.am-wd.de/AM.WD/common/compare/v1.3.0...v1.4.0) - 2022-02-11
|
|
### Added
|
|
- New NuGet package `AMWD.Common.Moq` with `HttpRequestHandlerMoq` class
|
|
- Supporting `InMemory` Database as provider
|
|
|
|
### Changed
|
|
- Enhanced Stopwatch/Timer delta due to unsharp resolution using timers
|
|
- `IBasicAuthenticationValidator` now also provides the realm as property (resolving a string on DI is bad style)
|
|
|
|
|
|
## [v1.3.0](https://git.am-wd.de/AM.WD/common/compare/v1.2.0...v1.3.0) - 2021-12-21
|
|
### Added
|
|
- `BasicAuthenticationHandler` to use instead of other handlers (instead of e.g. CookieAuthentication)
|
|
- `BasicAuthenticationAttribute` to restrict single actions
|
|
|
|
### Changed
|
|
- Simplified package references on AspNetCore
|
|
- Changed NuGet package `DnsClient` to `DNS`
|
|
|
|
|
|
## [v1.2.0](https://git.am-wd.de/AM.WD/common/compare/v1.1.0...v1.2.0) - 2021-12-19
|
|
### Added
|
|
- CHANGELOG
|
|
- `HtmlHelper.IsDarkColor` to classify a color as dark or light one (by luminance)
|
|
- `ReadLine` and `ReadLineAsync` as `StreamExtensions`
|
|
|
|
### Changed
|
|
- Unit-Tests enhanced
|
|
- Unit-Tests excluded from code coverage calcualtion
|
|
- Updated NuGet package `NetRevisionTask`
|
|
|
|
|
|
## [v1.1.0](https://git.am-wd.de/AM.WD/common/compare/v1.0.2...v1.1.0) - 2021-11-22
|
|
### Added
|
|
- `AddSingletonHostedService<TService, TImplementation>` using an interface and an implementation type
|
|
- Unit-Tests for `AMWD.Common` (ca. 60% Branch-Coverage, target: above 90%)
|
|
- `IsValidEmailAddress` check whether a string is a valid email address, optionally with DNS check (MX record)
|
|
- AES and 3DES De-/Encrypt enhanced for string to string (plain/base64)
|
|
|
|
### Changed
|
|
- CI Build-Process splitted into: build, test, deploy
|
|
- `GetAlignedInterval` splitted into `GetAlignedIntervalUtc` and `GetAlignedIntervalLocal` to respect daylight saving times
|
|
- `HexToBytes` checks for valid characters by using RegEx
|
|
|
|
### Fixed
|
|
- `Sha256` as string extension
|
|
|
|
|
|
## [v1.0.2](https://git.am-wd.de/AM.WD/common/compare/v1.0.1...v1.0.2) - 2021-11-09
|
|
### Added
|
|
- .NET 6.0 (LTS) compatibility
|
|
- Versioning in README
|
|
|
|
### Changed
|
|
- CI Build modified
|
|
- C# Update from 9.0 to 10.0
|
|
|
|
### Fixed
|
|
- Comments updated / enhanced
|
|
|
|
|
|
## [v1.0.1](https://git.am-wd.de/AM.WD/common/compare/v1.0.0...v1.0.1) - 2021-10-25
|
|
### Added
|
|
- `ParseDecimal` added to prevent problems with comma/dot as decimal separator
|
|
|
|
### Changed
|
|
- NuGet packages reside on `artifacts/`
|
|
|
|
### Fixed
|
|
- MySQL library is now working correctly via reflection
|
|
|
|
|
|
## [v1.0.0](https://git.am-wd.de/AM.WD/common/compare/v0.0.2...v1.0.0) - 2021-10-24
|
|
### Added
|
|
- Lizenz
|
|
- Readme
|
|
|
|
### Changed
|
|
- `CustomFloatingPointModelBinder*` renamed to `InvariantFloatingPointModelBinder*`
|
|
- `ResolveHost` returns a list of resolved ip addresses
|
|
- `ResolveInterface` returns a list of resolved ip addresses
|
|
|
|
|
|
### Removed
|
|
- `IPAddress fallback` parameter removed from `ResolveHost`
|
|
- `IPAddress fallback` parameter removed from `ResolveInterface`
|
|
- `ResolveInterface` does not use DNS to resolve the input (kind a weired behaviour)
|
|
|
|
|
|
## [v0.0.2](https://git.am-wd.de/AM.WD/common/compare/v0.0.1...v0.0.2) - 2021-10-23
|
|
### Added
|
|
- NuGet packages have an icon
|
|
|
|
### Changed
|
|
- Additional information for NuGet packages
|
|
|
|
|
|
## [v0.0.1](https://git.am-wd.de/AM.WD/common/commits/v0.0.1) - 2021-10-23
|
|
|
|
Initial release
|