Skip to content

Commit

Permalink
Post-update CHANGELOG for 0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ikitommi committed Aug 16, 2023
1 parent 620666f commit e3631e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ Malli is in well matured [alpha](README.md#alpha).
; => {1 1}
```

* **BREAKING** (post-note 16.8.2023, this should have been a MINOR version bump). `mt/strip-extra-keys-transformer` strips non-defined keys of implicitely open `:map`:

```clojure
;; explicitly open map
(m/decode
[:map [:x :int]]
{:x 1, :y 2, :z 3}
(mt/strip-extra-keys-transformer))
; => {:x 1}
```

* `m/default-schema` to pull the `::m/default` schema from entry schemas
* `m/explicit-keys` to get a vector of explicit keys from entry schemas (no `::m/default`)
* Simplify content-dependent schema creation with `m/-simple-schema` and `m/-collection-schema` via new 3-arity `:compile` function of type `children properties options -> props`. Old 2-arity top-level callback function is `m/deprecated!` and support for it will be removed in future versions. [#866](https://github.com/metosin/malli/pull/866)
Expand Down

0 comments on commit e3631e4

Please sign in to comment.