- 10.0.0Feb 2023
- Fixed
Guard
decodeMaybeNullto evaluates thedecoderonly if the value is notnull- 9.1.0Jan 2023
- 9.0.0Dec 2022
- Changed
PR #141: Don't throw when union doesn't contain field values (by @alfonsogarciacaro)
- 8.0.0Nov 2022
- Added
PR 136: Add
Decode.map'andEncode.mapto supportMap<'Key, 'Value>(by @njlr)PR 146: Add
Decode.datetimeUtc,Decode.datetimeLocal(by @Gastove)Fix #139: Add
Encode.Auto.toString(value)which is equivalent toEncode.Auto.toString(0, value)Fix #125: Add doc comment to
Decode.fromValue,Decode.fromString,Decode.unsafeFromStringFix #36: Add support for
charFix #17: Add link to the "extra coders" section when coders fail for missing types information
Fix #104: Add
Decode.andMapallowing to decoder large objects incrementally- Deprecated
PR 146: Mark
Decode.datetimeas deprecated (by @Gastove)- Fixed
PR #118: Fix path when auto decoding unions (by @alfonsogarciacaro)
PR #145: Fix auto coders for nested anon records (by @alfonsogarciacaro)
Fix type in error message for unsupported Enum types
- 7.0.0Jan 2022
- Changed
BREAKING CHANGE: Represent
sbyteusing number instead of string.BREAKING CHANGE: Represent
byteusing number instead of string.BREAKING CHANGE: Represent
int16using number instead of string.BREAKING CHANGE: Represent
uint16using number instead of string.- 6.0.0Jul 2021
- Added
Expose
HelpersfromDecodemodule so users can consume it when writting custom decoders- Changed
Remove
[<Inject>]use in favor ofinlineto prepare for Fable 4- 5.1.0Jan 2021
- Fixed
PR #96: Improve tree shaking for longs (by @alfonsogarciacaro)
- 5.0.0Oct 2020
- 4.1.0May 2020
- Added
Add
keysandalldecoders (by @felixschorer)- 4.0.0Mar 2020
- Added
Added caseStrategy that accept CamelCase | PascalCase | SnakeCase
- Changed
isCamelCase is now replaced by caseStrategy=CamelCase
- 3.5.0Jan 2020
- Changed
Upgrade to Fable.Core 3.1.4 and fix warnings
- 3.4.1Oct 2019
- Changed
Fix #27: Add a note to the package description about runtime support
- 3.4.0Oct 2019
- Added
Add supports for
byteAdd supports for
sbyteAdd supports for
int16>Add supports for
uint16Add supports for
uint32Add supports for
float32Add 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
unitAllow to configure if
nullfield should be omitted or no. SetskipNullFieldtofalsewhen using auto encoder, to includemyField: nullin your json output- 3.3.0Jun 2019
- Changed
Fix #19: Stop using first person when reporting an error (by @jeremyabbott)
- 3.2.0Jun 2019
- Fixed
Fix auto coders with recursive types (by @alfonsogarciacaro)
- 3.1.0May 2019
- Fixed
Fix late fail in auto encoders (by @alfonsogarciacaro)
- 3.0.0Apr 2019
- Changed
Release stable version
- 3.0.0-beta-005Apr 2019
- Changed
Make Decode.at be consistant and reports the exact error
- 3.0.0-beta-004Apr 2019
- Changed
Make Decode.object output 1 error or all the errors if there are severals
Improve BadOneOf errors readibility
- Fixed
Fix Decode.oneOf in combination with object builder (by @alfonsogarciacaro)
Make
Decode.fieldconsistant and report the exact error- 3.0.0-beta-003Mar 2019
- Changed
Upgrade to
Fable.Corev3-beta- 3.0.0-beta-002Jan 2019
- Added
Adding
TimeSpansupport (by @rfrerebe)- 3.0.0-beta-001Dec 2018
- Added
Add
Setsupport 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
extrasupport to auto coders. So people can now override/extends auto coders capabilities (by @alfonsogarciacaro)- Changed
Decode.datetimealways 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-decimalsupport is being disabled from auto coders to reduce bundle size (by @alfonsogarciacaro)- Removed
Mark
Decode.unwrapas private. It's now only used internally for object builder. This will encourage people to useDecode.fromValue.- 2.5.0Nov 2018
- Added
Make auto decoder support record/unions with private constructors
- 2.4.0Nov 2018
- Added
Make auto decoder succeeds on Class marked as optional
- 2.3.0Oct 2018
- Added
Added CultureInfo.InvariantCulture to all Encoder functions where it was possible (by @draganjovanovic1)
- Fixed
Fix #59: Make autodecoder support optional fields when missing from JSON
Fix #51: Add support for
Rawdecoder in object builders- 2.2.0Oct 2018
- Added
Re-add optional and optionalAt related to #51
- Changed
Various improvements for Primitive types improvements (by @draganjovanovic1)
- 2.1.0Oct 2018
- Fixed
Fix nested object builder (ex: get.Optional.Field > get.Required.Field)
Fix exception handling
- 2.0.0Oct 2018
- Added
Stable release for Fable 2
- 2.0.0-beta-005Aug 2018
- Changed
Make
Encode.Valuean alias ofobjinstead of an empty interface- 2.0.0-beta-004Aug 2018
- Added
Add Encoders for all the equivalent Decoders
- 2.0.0-beta-003Jul 2018
- Changed
Make auto decoder safe by default
- 2.0.0-beta-002Jul 2018
- Fixed
Fix
Decode.decodeStringsignature- 2.0.0-beta-001Jul 2018
- Added
Support auto decoders and encoders
Add object builder style for the decoders
- Changed
Support Fable 2
Better error, by now tracking the path
- Deprecated
Mark
Encode.encode,Decode.decodeString,Decode.decodeValueas obsoletes- Removed
Remove pipeline style for the decoders
- 1.1.0Jun 2018
- Fixed
Ensure that
fieldatoptionaloptionalAtworks with object- 1.0.0Apr 2018
- Added
Initial release