Skip to content

Commit

Permalink
Release 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luposlip committed Oct 3, 2022
1 parent d147ad1 commit cabe4d3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

## 0.4.0 - 2022-10-03

- Added Custom Format Validators (thanks to @ModestasPeciokas)
- Updated dependencies

For an example on how to use the Custom Format Validators, check the unit tests.

## 0.3.4 - 2022-05-12

- Updated Clojure -> 1.11.1
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Clojure JSON Schema Validator & Generator

```clojure
[luposlip/json-schema "0.3.4"]
[luposlip/json-schema "0.4.0"]
```

A Clojure library for:
Expand Down Expand Up @@ -70,6 +70,10 @@ Pseudo-example for pipelining (note the reuse of the prepared schema):

More usage examples can be seen in the tests.

### Custom Format Validators

Check the unit test for examples on how to do this.

## Usage: Generation

The generation of JSON Schemas is pretty naive, but should work in many scenarios. The generated JSON Schemas doesn't use definitions, pointers or references, but is instead nested.
Expand Down
4 changes: 2 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
(defproject luposlip/json-schema "0.3.4"
(defproject luposlip/json-schema "0.4.0"
:description "Clojure library for JSON Schema validation and generation - Draft-07 compatible"
:url "https://github.com/luposlip/json-schema"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.11.1"]
[cheshire "5.10.2"]
[cheshire "5.11.0"]
[com.github.erosb/everit-json-schema "1.14.1"]]
:global-vars {*warn-on-reflection* true}
:repl-options {:init-ns json-schema.core}
Expand Down

0 comments on commit cabe4d3

Please sign in to comment.