1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
# Changelog
## [0.12.1.0 - 2024-07-18]
### Added
* `Validity` instances for various newtypes in base
## [0.12.0.2] - 2023-10-09
### Added
* `decorateString`
## [0.12.0.1] - 2022-04-26
### Added
* Compatibility with `GHC >= 9.0.0`
## [0.12.0.0] - 2021-11-20
### Removed
* `RelativeValidity`, it was a misfeature.
## [0.11.0.0] - 2020-04-17
### Changed
* Made it so that Char is no longer trivially valid.
## [0.10.0.0] - 2020-04-12
### Changed
* Made it so that Word8, Word16, Word32 and Int8, Int16, Int32 are no longer trivially valid.
## [0.9.0.3] - 2020-02-10
### Changed
* Improved the 'validateRatioNormalised' to not crash on certain extreme values.
## [0.9.0.2] - 2019-09-27
### Added
* `isUtf16SurrogateCodePoint` and `validateCharNotUtf16SurrogateCodePoint`
### Changed
* The contents of the error message when using `validateNotNan` or `validateNotInfinite` is now more accurate.
### Added
* `validateRatioNotNan`
* `validateRatioNotInfinite`
* `validateRatioNormalised`
## [0.9.0.1] - 2018-12-05
### Changed
* The validity instance of `Ratio a` now disallows unnormalised values.
So `0 %: 1` is valid, but `0 %: 2` is not.
## [0.9.0.0] - 2018-10-07
### Added
* `prettyValidate`, `validationIsValid`, `prettyValidation`
* `validateNotNaN`, `validateNotInfinite`
### Changed
* Renamed `prettyValidation` to `prettyValidate` before adding the new `prettyValidation`.
* `NaN`, `+Infinity` and `-Infinity` are now considered valid for both `Double` and `Float`.
## [0.8.0.0] - 2018-08-25
### Added
* `decorateList` in `Data.Validity`
### Changed
* `-0` is now a valid value for `Double` and `Float`.
## Older versions
No history before version 0.8.0.0
|