Releases: DZakh/rescript-schema
Releases · DZakh/rescript-schema
v0.10.0
v0.9.0
v0.8.0
- Removed
S.encodeWith
. UseS.destructWith
instead - Renamed
S.decodeWith
->S.parseWith
- Renamed
S.decodeJsonWith
->S.parseJsonWith
- Renamed
S.encodeJsonWith
->S.serializeJsonWith
- Fixed incorrect Null struct behaviour inside Deprecated and Option structs
- Added package prefix to error messages and rephrase them
- Added name to the raised JS exception
v0.7.0
v0.6.0
- Make
encodeWith
anddecodeWith
work with any JS values and not only withJs.Json.t
- Remove
Json
module because it became unneeded - Introduce opaque
S.unknown
type. You can useJs.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 🎆