Skip to content

Releases: DZakh/rescript-json-schema

v6.2.0

08 Nov 08:04
Compare
Choose a tag to compare

Add JSONSchema.example helper

Full Changelog: v6.1.0...v6.2.0

v6.1.0

15 Jul 08:55
Compare
Choose a tag to compare

Added support for rescript-schema V8

Full Changelog: v6.0.1...v6.1.0

v6.0.1

30 Jun 14:37
Compare
Choose a tag to compare
  • Include rescript.json to published files
  • Fix online converter

Full Changelog: v6.0.0...v6.0.1

v6.0.0

17 Jun 12:30
Compare
Choose a tag to compare

Update rescript-schema to use V7

Full Changelog: v5.0.0...v6.0.0

v5.0.0

09 Dec 10:02
Compare
Choose a tag to compare

What's Changed

  • Migrate to rescript-schema (previously rescript-struct)
  • Renamed toStruct -> toRescriptSchema
  • Correct Vite configuration to fix broken GitHub Pages for online converter by @smorimoto in #9

New Contributors

Full Changelog: v4.0.0...v5.0.0

v3.1.0

29 Nov 09:28
Compare
Choose a tag to compare

Support rescript@11 in uncurried mode.

Full Changelog: v3.0.0...v3.1.0

v4.0.0

11 Sep 20:28
Compare
Choose a tag to compare
  • Removed JSONSchema.validate. Use Added JSONSchema.toStruct + S.parseWith
  • Start using rescript@11.0.x and rescript-struct@5.0.x
  • Fixed #8

v3.0.0

28 Apr 11:38
Compare
Choose a tag to compare

Changes

  • Added online converter of JSON Schema to rescript-struct.
  • Added JSONSchema.toStruct
  • Added JSONSchema.validate
  • Built-in refinements are represented in the created JSON Schema
  • Added JSONSchema7.Mutable module

Full Changelog: v2.0.0...v3.0.0

v2.0.0

05 Apr 22:25
04edd56
Compare
Choose a tag to compare

What's Changed

  • Added complete type definition for the http://json-schema.org/draft-07/schema#

  • Renamed module JsonSchema to JSONSchema
    To align with rescript-core's JSON module.

  • Replace raw with extend

  • Update peer dependencies: rescript-struct@4.0.x

  • Removed description in favor of S.describe

  • Added CI and test coverage

Full Changelog: v1.1.0...v2.0.0

v1.1.0

23 Feb 07:44
b6e41dd
Compare
Choose a tag to compare

What's Changed

  • Fix usage with commonjs
  • Remove deepmerge from dependencies
  • Update rescript-struct peer dependency

Full Changelog: v1.0.1...v1.1.0