Skip to content

Releases: DZakh/rescript-schema

v0.7.0

13 May 16:23
Compare
Choose a tag to compare
  • Added Null struct factory for nullable data
  • Added Unknown struct factory
  • Use the transform word instead of coerce
  • Removed Custom struct factory in favor of Unknown
  • Better tests that cover some edge-cases that aren't properly handled right now

v0.6.0

06 May 20:31
Compare
Choose a tag to compare
  • Make encodeWith and decodeWith work with any JS values and not only with Js.Json.t
  • Remove Json module because it became unneeded
  • Introduce opaque S.unknown type. You can use Js.Types module to work with it
  • Improve consistency for struct factories testing

I'm very happy about the change, because it makes rescript-struct something more than yet another JSON decoding/encoding library.
I've decided to update the roadmap section and start describing changes for releases 🎆