Skip to content

Commit

Permalink
Bump version and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Oct 17, 2017
1 parent e2d1f94 commit ddbca29
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
2.2
---

* Treat unknown properties as validation errors in `validateToJSON`;
* Add `validateJSON` and `validateJSONWithPatternChecker` to validate JSON `Value` against `Schema` without classes;
* Add more `Schema` helpers:
* `genericNameSchema` — to give a custom schema `Generic`-based name;
* `genericDeclareNamedSchemaNewtype` — to derive `NamedSchema` for `newtype`s;
* `declareSchemaBoundedEnumKeyMapping` — to derive more specific `Schema` for maps with `Bounded` `Enum` keys;
* Add a few tests with invalid `Schema`.

2.1.6
-----

Expand Down
2 changes: 1 addition & 1 deletion swagger2.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: swagger2
version: 2.1.6
version: 2.2
synopsis: Swagger 2.0 data model
description:
This library is inteded to be used for decoding and encoding Swagger 2.0 API
Expand Down

0 comments on commit ddbca29

Please sign in to comment.