Skip to content

Commit adecaed

Browse files
committed
0.10.8
1 parent 5ad1795 commit adecaed

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

CHANGELOG.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.10.8 (2025-11-24)
2+
3+
* Add support for or/and key-groups in s/keys when generating JSON-Schema [#279](https://github.com/metosin/spec-tools/pull/279)
4+
15
# 0.10.7 (2024-06-29)
26

37
* Support transforming multi-spec to JSON Schema. PR [#281](https://github.com/metosin/spec-tools/pull/281)
@@ -71,7 +75,7 @@ user=> (st/encode inst? (java.util.Date.) st/json-transformer)
7175

7276
# 0.9.3 (2019-06-07)
7377

74-
* Updated dependency on jackson-databind to fix a vulnerability. [#189](https://github.com/metosin/spec-tools/pull/189)
78+
* Updated dependency on jackson-databind to fix a vulnerability. [#189](https://github.com/metosin/spec-tools/pull/189)
7579

7680
# 0.9.2 (2019-05-10)
7781

@@ -119,19 +123,19 @@ user=> (st/encode inst? (java.util.Date.) st/json-transformer)
119123

120124
(println (spell/explain-str ::options invalid))
121125
; -- Misspelled map key -------------
122-
;
126+
;
123127
; {:config {:name ..., :countr ..., :use-hisory ...}}
124128
; ^^^^^^^^^^^
125-
;
129+
;
126130
; should probably be: :use-history
127-
;
131+
;
128132
; -- Unknown map key ----------------
129-
;
133+
;
130134
; {:config {:name ..., :use-hisory ..., :countr ...}}
131135
; ^^^^^^^
132-
;
136+
;
133137
; should be one of: :name, :use-history
134-
;
138+
;
135139
; -------------------------
136140
; Detected 2 errors
137141
```
@@ -266,7 +270,7 @@ user=> (st/encode inst? (java.util.Date.) st/json-transformer)
266270
* `:keys/opt` => `::parse/keys-opt`
267271
* new parser keys `::parse/items`, `::parse/item`, `::parse/key` and `::parse/value`
268272
* `s/and` and `s/or` are parsed into composite types:
269-
273+
270274
```clj
271275
(testing "s/or"
272276
(is (= {::parse/items [{:spec int?, :type :long} {:spec keyword?, :type :keyword}]
@@ -277,7 +281,7 @@ user=> (st/encode inst? (java.util.Date.) st/json-transformer)
277281
:type [:and [:long :keyword]]}
278282
(parse/parse-spec (s/and int? keyword?)))))
279283
```
280-
284+
281285
# 0.7.2 (2018-09-26)
282286

283287
* Update deps:

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject metosin/spec-tools "0.10.7"
1+
(defproject metosin/spec-tools "0.10.8"
22
:description "Clojure(Script) tools for clojure.spec"
33
:url "https://github.com/metosin/spec-tools"
44
:license {:name "Eclipse Public License", :url "https://www.eclipse.org/legal/epl-2.0/"}

0 commit comments

Comments
 (0)