v0.70.1
What's Changed
If a particular language isn't mentioned then no change occurred.
Go
Breaking Changes
EncodeJSON
now acceptEncodingOptions
as one of it's parametersDecodeJSON
now acceptsEncodingOptions
as one of it's parametersFromUrlQuery
has been renamed toDecodeQueryParams
FromUrlQuery
now acceptsEncodingOptions
as one of it's parametersContext
interface has been renamed toEvent
to prevent confusion withcontext
from the STDEncodeJSON
in theArriModel
interface now acceptsEncodingOptions
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 toOrderedMap
Entries()
method has been added toOrderedMap
Keys()
method has been added toOrderedMap
- Add documentation for helper types
Tooling
Breaking Changes
json-schema-to-jtd
package has been deprecated and replaced withjson-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 totimestamp
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