Changelog for autodocodec-0.4.2.1
Changelog
[0.4.2.1] - 2024-08-21
Added
optionalFieldOrNullWithDefaultoptionalFieldOrNullWithDefaultWithoptionalFieldOrNullWithDefault'optionalFieldOrNullWithDefaultWith'
[0.4.2.0] - 2024-08-06
Added
HasCodecinstances forDListandDNonEmptyfrom thedlistpackage.
[0.4.1.0] - 2024-08-03
Changed
- Moved the
ToJSON (Autodocodec a)andFromJSON (Autodocodec a)instances so they are no longer orphans.
[0.4.0.0] - 2024-07-26
This is technically a breaking change but it's unlikely that you'll need to change any of your codecs.
Changed
- Changed
NumberBoundstoBoundsand made both bounds optional. - Added
IntegerCodecas distinct fromNumberCodecto represent integers effectively in documentation.
[0.3.0.0] - 2024-07-19
Added
HasCodecinstances for:ConstDualSemigroup.FirstSemigroup.LastMonoid.FirstMonoid.Last
Changed
- Refactored
Codecso it's input and output parameters have a representative, not nominal role. This means one can now usederiving newtypewith theHasCodecclass. - Fixed infinitely looping
Identityinstance - Improve the documentation of
time-related codecs to show<string>instead of<any>.
[0.2.3.0] - 2024-06-23
Added
Ord NumberBoundsinstance
[0.2.2.0] - 2023-11-20
Added
HasCodec IntegerandHasCodec Naturalinstances.
[0.2.1.0] - 2023-10-06
Added
HasCodec a => HasCodec (Vector a)instance.
[0.2.0.6] - 2023-10-05
Added
- Forward-compatibility with
aeson >= 2.2.
[0.2.0.5] - 2023-08-27
Added
- JSON Object-specific versions of encoding and decoding functions
- Documentation about how 'parseAlternative' and 'optionalField' together can be a pitfall.
[0.2.0.4] - 2023-07-31
Added
- The
HasCodec Identityinstance, thanks @clintonmead!
[0.2.0.3] - 2023-01-31
Added
- The
HasCodec Voidinstance, thanks @i-am-tom!
[0.2.0.2] - 2023-01-19
Changed
- Compatibility with
mtl-2.3.1
[0.2.0.1] - 2022-10-06
Added
- The
HasObjectCodectype class
[0.2.0.0] - 2022-07-21
Added
discriminatedUnionCodecfor discriminated unions
[0.1.0.3] - 2022-07-14
Changed
- Doctest fix
[0.1.0.2] - 2022-06-24
Added
scientificWithBoundsCodecfor aNumberCodecwith bounds but without a name.
[0.1.0.1] - 2022-05-03
Changed
- Generalised the type of
parseAlternative.
[0.1.0.0] - 2022-05-03
Changed
- Generalise type of
matchChoiceCodecto allow for two different input types. - Add disjoint versions of
matchChoiceCodecandmatchChoicesCodec. - Functions
enumCodec,stringConstCodec, andshownBoundedEnumCodecnow produce disjoint codecs.
[0.0.1.1] - 2022-04-26
Added
- Compatibility with
aeson >= 2.0.0.0
[0.0.1.0] - 2021-12-23
Changed
EitherCodecnow takes aUnionto specify whether the union is disjoint or not.
Added
disjointEitherCodecandpossiblyJointEitherCodec.
[0.0.0.0] - 2021-11-19
First release.