Skip to content

Commit

Permalink
2.1.0
Browse files Browse the repository at this point in the history
Features:

- Custom error messages
- Custom content encodings and media types

See individual commits for more details.

Closes:

- #137
- #143
- #144
- #146
  • Loading branch information
davishmcclurg committed Nov 15, 2023
1 parent 257e9b9 commit b78828f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@

### Bug Fixes

- Limit anyOf/oneOf discriminator to listed refs
- Require discriminator `propertyName` property
- Support `Schema#ref` in subschemas
- Limit anyOf/oneOf discriminator to listed refs: https://github.com/davishmcclurg/json_schemer/pull/145
- Require discriminator `propertyName` property: https://github.com/davishmcclurg/json_schemer/pull/145
- Support `Schema#ref` in subschemas: https://github.com/davishmcclurg/json_schemer/pull/145
- Resolve JSON pointer refs using correct base URI: https://github.com/davishmcclurg/json_schemer/pull/147
- `date` format in OpenAPI 3.0: https://github.com/davishmcclurg/json_schemer/commit/69fe7a815ecf0cfb1c40ac402bf46a789c05e972

### Features

- Custom error messages with `x-error` keyword and I18n: https://github.com/davishmcclurg/json_schemer/pull/149
- Custom content encodings and media types: https://github.com/davishmcclurg/json_schemer/pull/148

[2.1.0]: https://github.com/davishmcclurg/json_schemer/releases/tag/v2.1.0

Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
json_schemer (2.0.0)
json_schemer (2.1.0)
hana (~> 1.3)
regexp_parser (~> 2.0)
simpleidn (~> 0.2)
Expand All @@ -18,7 +18,7 @@ GEM
i18n (< 2)
minitest (5.15.0)
rake (13.0.6)
regexp_parser (2.8.1)
regexp_parser (2.8.2)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand All @@ -30,7 +30,7 @@ GEM
unf (0.1.4)
unf_ext
unf (0.1.4-java)
unf_ext (0.0.8.2)
unf_ext (0.0.9)

PLATFORMS
java
Expand Down
2 changes: 1 addition & 1 deletion lib/json_schemer/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: true
module JSONSchemer
VERSION = '2.0.0'
VERSION = '2.1.0'
end

0 comments on commit b78828f

Please sign in to comment.