Skip to content

v0.70.1

Compare
Choose a tag to compare
@joshmossas joshmossas released this 28 Dec 02:12
· 65 commits to master since this release

What's Changed

If a particular language isn't mentioned then no change occurred.

Go

Breaking Changes

  • EncodeJSON now accept EncodingOptions as one of it's parameters
  • DecodeJSON now accepts EncodingOptions as one of it's parameters
  • FromUrlQuery has been renamed to DecodeQueryParams
  • FromUrlQuery now accepts EncodingOptions as one of it's parameters
  • Context interface has been renamed to Event to prevent confusion with context from the STD
  • EncodeJSON in the ArriModel interface now accepts EncodingOptions as its parameter
  • When encoding enums the first specified enum value will be used as a fallback during serialization
  • When encoding discriminated unions the first specified subtype will be used as a fallback during serialization

Non-Breaking Changes

  • Initial support for RPC middleware has been added
  • Len() method has been added to OrderedMap
  • Entries() method has been added to OrderedMap
  • Keys() method has been added to OrderedMap
  • Add documentation for helper types

Tooling

Breaking Changes

  • json-schema-to-jtd package has been deprecated and replaced with json-schema-to-atd
  • @arrirpc/jtd-utils package has been deprecated and replaced with @arrirpc/type-defs

Non-Breaking Changes

  • json-schema-to-atd now supports converting "string" with "date-time" format to timestamp type

Other

  • Update dev dependencies
  • Move all ts server and client libraries to languages/ts for consistency

Full Changelog: v0.69.2...v0.70.1