Releases: metosin/malli
Releases · metosin/malli
0.20.0 (2025-11-17)
0.20.0-alpha3 (2025-10-31)
0.20.0-alpha2 (2025-10-14)
This is a pre-release to gather feedback for a potentially breaking change. The unspecified behavior of transforming parsing and unparsing has been specified which may affect users' workflows. See more details in:
- Robust
:andparser, add:andn#1182
0.20.0-alpha1 (2025-10-14)
Update changelog
0.19.2
0.19.2 (2025-10-06)
- Performance improvements in
malli.transform/transformer#1220 andmalli.core/-intercepting#1219 malli.clj-kondo/emit!saves to.clj-kondo/importsnow as recommended by clj-kondo. #1216malli.clj-kondo/emit!no longer deletes anything automatically. Usemalli.clj-kondo/clean!to clean up.- Add
malli.core/old-parse-formatfor converting output ofparseto the pre-0.18.0 format. #1223 - FIX: Malli dev-mode no longer throws
java.lang.UnsupportedOperationExceptionwhen printing out an#instof typejava.sql.Date#1214 - Updated dependencies:
borkdude/edamame '1.4.30' to '1.4.32'
fipp '0.6.27' to '0.6.29'
0.19.1
0.19.1 (2025-06-09)
- Technical release
0.19.0
0.19.0 (2025-06-09)
- BREAKING FIX:
json-transformeris now better at inferring en/decoders for:enumand:=. #1205- For example
[:enum 1 2 3]gets encoded as a JSON number, not a string. - If you need the old behaviour, you can override the en/decoders using properties. See docs.
- For example
- Value generation:
:+and:*now support generator directives:gen/min,:gen/maxas well as:minand:maxschema directives #1208 - CLJS bundle size reduced #1211
- FIX:
:default/fnnow works in map entry properties in addition to schema properties #1209
0.18.0
0.18.0 (2025-05-12)
- BREAKING Output of
parsenow uses newmalli.core.Tagandmalli.core.Tagsrecords for:orn,:multi,:altn,:catnetc. #1123 #1153 - BREAKING Swagger and JSON-Schema outputs now use
.instead of/(encoded as~1) as the separator. #1183- This will only affect you if you rely on the exact name of the schema
- Docs: elaborate optional-keys and required-keys #1117
- JSON Schema for
:tuplenow uses"prefixItems"#1151 - FIX:
:pathwhen explaining:referrors #1106 - FIX: don't instrument functions with primitive type hints (like
^double), instead, emit a warning #1176 - FIX:
:map-ofand:mapdecode now retain the input map type (eg.sorted-map) #1189 - FIX: schemas and into-schemas are printed to the console and the REPL in CLJS the same way as they are in CLJ. #1186
- FIX:
:mergeand:unionnow work with 1 child. With no children, throw a clearer error. #1147 - FIX:
default-value-transformerfor:refs inside:maps #1145 - FIX: generator for
empty?schema #1196
0.18.0-alpha1
This is a test release to test our release automation.
0.17.0
0.17.0 (8.12.2024)
- Don't output
:definitions nilin swagger. #1134 - BREAKING:
:gen/fmapproperty requires its schema to create a generator.- previous behavior defaulted to a
nil-returning generator, even if the schema doesn't acceptnil - use
:gen/return nilproperty to restore this behavior
- previous behavior defaulted to a
- Support decoding map keys into keywords for
[:mapschemas injson-transformer#1135 :nothumanizer #1138- FIX:
:seqablegeneratesnilwhen:minis greater than 0 #1121 - FIX:
malli.registry/{mode,type}not respected in Babashka #1124 - FIX:
:floataccepts doubles but never generates them #1132 - FIX:
:floatmissing humanizer #1122 - Updated dependencies:
fipp/fipp '0.6.26' to '0.6.27'