All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix #27: Add a note to the package description about runtime support
- Add supports for
byte
- Add supports for
sbyte
- Add supports for
int16>
- Add supports for
uint16
- Add supports for
uint32
- Add supports for
float32
- Add supports for
enum<byte>
- Add supports for
enum<sbyte>
- Add supports for
enum<int16>
- Add supports for
enum<uint16>
- Add supports for
enum<int>
- Add supports for
enum<uint32>
- Add support for
unit
- Allow to configure if
null
field should be omitted or no. SetskipNullField
tofalse
when using auto encoder, to includemyField: null
in your json output
- Fix #18: Remove the cache limitation when using generateDecoderCached (by @SCullman)
- Fix Encode.decimal comment (by @alfonsogarciacaro)
- Fix #19: Stop using first person when reporting an error (by @jeremyabbott)
- Fix auto coders with recursive types (by @alfonsogarciacaro)
- Fix late fail in auto encoders (by @alfonsogarciacaro)
- Release stable version
- Make Decode.at be consistant and reports the exact error
- Fix Decode.oneOf in combination with object builder (by @alfonsogarciacaro)
- Make
Decode.field
consistant and report the exact error
- Make Decode.object output 1 error or all the errors if there are severals
- Improve BadOneOf errors readibility
- Upgrade to
Fable.Core
v3-beta
- Adding
TimeSpan
support (by @rfrerebe)
- Add
Set
support in auto coders (by @alfonsogarciacaro) - Use reflection for auto encoders just as auto decoders. This will help keep the JSON representatin in synx between manual and auto coders (by @alfonsogarciacaro)
- Add
extra
support to auto coders. So people can now override/extends auto coders capabilities (by @alfonsogarciacaro)
- Fix #103: Optional Records fail with Auto Decoder in Internet Explorer (by @SCullman)
Decode.datetime
always outputs universal time (by @alfonsogarciacaro)- If a coder is missing, auto coders will fail on generation phase instead of coder evaluation phase (by @alfonsogarciacaro)
- By default
int64
-uint64
-bigint
-decimal
support is being disabled from auto coders to reduce bundle size (by @alfonsogarciacaro)
- Mark
Decode.unwrap
as private. It's now only used internally for object builder. This will encourage people to useDecode.fromValue
.
- Make auto decoder support record/unions with private constructors
- Make auto decoder succeeds on Class marked as optional
- Added CultureInfo.InvariantCulture to all Encoder functions where it was possible (by @draganjovanovic1)
- Fix #59: Make autodecoder support optional fields when missing from JSON
- Fix #51: Add support for
Raw
decoder in object builders
- Re-add optional and optionalAt related to #51
- Fix Encode.Auto
- Fix decoding of optional fields (by @eugene-g)
- Various improvements for Primitive types improvements (by @draganjovanovic1)
- Fix nested object builder (ex: get.Optional.Field > get.Required.Field)
- Fix exception handling
- Stable release for Fable 2
- Make
Encode.Value
an alias ofobj
instead of an empty interface
- Add Encoders for all the equivalent Decoders
- Make auto decoder safe by default
- Fix
Decode.decodeString
signature
- Support auto decoders and encoders
- Add object builder style for the decoders
- Support Fable 2
- Better error, by now tracking the path
- Mark
Encode.encode
,Decode.decodeString
,Decode.decodeValue
as obsoletes
- Remove pipeline style for the decoders
- Ensure that
field
at
optional
optionalAt
works with object
- Initial release