Skip to content

Commit de0ada5

Browse files
committed
Update release date and fix readme example
1 parent 6c88530 commit de0ada5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [2.0.0] - XXXX-XX-XX
3+
## [2.0.0] - 2023-08-20
44

55
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.
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ schemer.ref('#/$defs/foo').validate(1).to_a
126126
# "schema_pointer"=>"/$defs/foo",
127127
# "root_schema"=>{"type"=>"integer", "$defs"=>{"foo"=>{"type"=>"string"}}},
128128
# "type"=>"string",
129-
# "error"=>"instance at root is not a string"}]
129+
# "error"=>"value at root is not a string"}]
130130

131131
# schema bundling (https://json-schema.org/draft/2020-12/json-schema-core.html#section-9.3)
132132

0 commit comments

Comments
 (0)