You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clojurists Together Project Update, 03-04/2024, Tommi Reiman
Finally! Reitit 0.7.0 is out. It has been over a year in the making, spanning multiple libraries:
reitit, malli,
schema-tools, [spec-tools](https://github.com/metosin/spec-tools and
ring-swagger-ui. Big thanks to everyone involved.
There is a lot of draft work that has been queued and can now be worked on. New releases should come more
frequently in the future.
Reitit 0.7.0 (all 8 alphas flattened)
0.7.0 (2024-04-30)
The OpenAPI3 release, Year in the making - the changes span over multiple repositories!
Fix swagger generation when unsupported coercions are present #671
BREAKING: require Clojure 1.11, drop support for Clojure 1.10
BREAKING: compile-request-coercers returns a map with :data and :coerce instead of plain :coerce function
BREAKING: Parameter and Response schemas are merged into the route data vector - so they can be properly merged into the compiled result, fixes #422 - merging multiple schemas together works with Malli and Schema, partially with data-spec but not with spec.
Fixed some module dependencies so Cljdoc can properly analyze all the modules
Fix reading fragment string on Html5History initialization
Add fragment string parameter to reitit-frontend functions (#604)
Frontend: provide easy way to update current query params. #600
Updated dependencies:
[metosin/malli "0.16.1"] is available but we use"0.10.1"
[metosin/muuntaja "0.6.10"] is available but we use"0.6.8"
[metosin/spec-tools "0.10.6"] is available but we use"0.10.5"
[metosin/schema-tools "0.13.1"] is available but we use"0.13.0"
[metosin/jsonista "0.3.8"] is available but we use"0.3.7"
[com.fasterxml.jackson.core/jackson-core "2.17.0"] is available but we use"2.14.2"
[com.fasterxml.jackson.core/jackson-databind "2.17.0"] is available but we use"2.14.2"
[ring/ring-core "1.12.1"] is available but we use"1.9.6"
[metosin/ring-swagger-ui "5.9.0"] is available but we use"4.15.5"
Malli
0.16.1 (2024-04-30)
Enabled Java8 tests back, no need to limit the version.
0.16.0 (2024-04-20)
BREAKING: minimum Java-version is now Java11
allow changing prefix of json-schema $refs via option :malli.json-schema/definitions-path#1045
Only humanize one of :min / :max when different #1032
Distinguish between symbols and strings in humanize #1031
Fix :map-of:min and unreachable generator, explain such-that failures #1029
0.15.0 (2024-03-23)
:=> takes optional 3rd child, the guard schema validating vector of arguments and return value [args ret]. See Function Guards for more details. Fixes #764 and #764.
;; function of arg:int -> ret:int, where arg < ret
[:=>
[:cat:int]
:int
[:fn (fn [[[arg] ret]] (< arg ret))]]
BREAKING: malli.generator/function-checker returns explanations under new keys:
::mg/explain-input -> ::m/explain-input
::mg/explain-output -> ::m/explain-output
new ::m/explain-guard to return guard explanation, if any
m/explain for :=> returns also errors for args, return and guard if they exist
FIX m/deref-recursive doesn't play nice with :merge schema #997 via #999
FIX nested :repeat sequence schema's doesn't seem to work #761 via #1024
FIX Invalid Swagger JSON with [:or :nil] alternatives #1006 via #1023