From de0ada566e650061f28fd2289ad3c44c06af5ebb Mon Sep 17 00:00:00 2001 From: David Harsha Date: Mon, 25 Sep 2023 16:10:12 -0700 Subject: [PATCH] Update release date and fix readme example --- CHANGELOG.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5aabe9f2..44b36c7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [2.0.0] - XXXX-XX-XX +## [2.0.0] - 2023-08-20 For 2.0.0, much of the codebase was rewritten to simplify support for the two new JSON Schema draft versions (2019-09 and 2020-12). The major change is moving each keyword into its own class and organizing them into vocabularies. [Output formats](https://json-schema.org/draft/2020-12/json-schema-core.html#section-12) and [annotations](https://json-schema.org/draft/2020-12/json-schema-core.html#section-7.7) from the new drafts are also supported. The known breaking changes are listed below, but there may be others that haven't been identified. diff --git a/README.md b/README.md index ae71d2c7..b119fa6a 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ schemer.ref('#/$defs/foo').validate(1).to_a # "schema_pointer"=>"/$defs/foo", # "root_schema"=>{"type"=>"integer", "$defs"=>{"foo"=>{"type"=>"string"}}}, # "type"=>"string", -# "error"=>"instance at root is not a string"}] +# "error"=>"value at root is not a string"}] # schema bundling (https://json-schema.org/draft/2020-12/json-schema-core.html#section-9.3)