jettison v0.5.0 Release Notes

Release Date: 2020-02-02 // about 4 years ago
  • ๐Ÿ”จ Refactor of the entire project.

    This includes the following changes, but not limited to:

    • โœ‚ Remove the Encoder type to simplify the usage of the library and stick more closely to the design of encoding/json
    • ๐ŸŽ Reduce the number of closures used. This improves readability of stacktraces and performance profiles.
    • ๐Ÿ‘Œ Improve the marshaling performances of many types.
    • โž• Add support for marshaling json.RawMessage values.
    • โž• Add new options DenyList, NoNumberValidation, NoCompact, and rename some others.
    • Replace the Marshaler and MarshalerCtx interfaces by AppendMarshaler and AppendMarshalerCtx to follow the new append model. See this issue for more details: #34701.
    • โœ‚ Remove the IntegerBase option, which didn't worked properly with the string JSON tag.

    Some of the improvements have been inspired by the github.com/segmentio/encoding project.