Current section

Files

Jump to
schematic CHANGELOG.md
Raw

CHANGELOG.md

# CHANGELOG
## [0.5.2](https://github.com/mhanberg/schematic/compare/v0.5.1...v0.5.2) (2026-02-04)
### Bug Fixes
* :to & :from typespecs ([#45](https://github.com/mhanberg/schematic/issues/45)) ([370f797](https://github.com/mhanberg/schematic/commit/370f797206c2f53000dc9533ba8f17ae2a6e7847))
## [0.5.1](https://github.com/mhanberg/schematic/compare/v0.5.0...v0.5.1) (2025-03-29)
### Bug Fixes
* **inspect:** maps with keys/values options ([#42](https://github.com/mhanberg/schematic/issues/42)) ([718eccb](https://github.com/mhanberg/schematic/commit/718eccbc1795f4eb450d12733bbded43e9a64279))
## [0.5.0](https://github.com/mhanberg/schematic/compare/v0.4.0...v0.5.0) (2025-03-26)
### ⚠ BREAKING CHANGES
* correctly handle required map keys with nil schematics ([#39](https://github.com/mhanberg/schematic/issues/39))
### Features
* inspect protocol ([#40](https://github.com/mhanberg/schematic/issues/40)) ([b14a6e0](https://github.com/mhanberg/schematic/commit/b14a6e049b22907513612275d7436d9d3a963379))
* keyword list schematics ([#38](https://github.com/mhanberg/schematic/issues/38)) ([27f5205](https://github.com/mhanberg/schematic/commit/27f52051c141704e0325bcd7b6d954c5f6376a2e))
### Bug Fixes
* correctly handle required map keys with nil schematics ([#39](https://github.com/mhanberg/schematic/issues/39)) ([5302f19](https://github.com/mhanberg/schematic/commit/5302f19e01f7f3da1a1563db45b067bacca1cd4d))
## [0.4.0](https://github.com/mhanberg/schematic/compare/v0.3.1...v0.4.0) (2024-10-11)
### ⚠ BREAKING CHANGES
* Raises minimum Elixir version to 1.12
### Features
* allow default values for optional map keys ([#32](https://github.com/mhanberg/schematic/issues/32)) ([f4f799c](https://github.com/mhanberg/schematic/commit/f4f799c9450764f2251ef71e43b6082b7ce15272))
* atom schematic ([#34](https://github.com/mhanberg/schematic/issues/34)) ([b524b5a](https://github.com/mhanberg/schematic/commit/b524b5a0bb5bf9432aad23470b4d9dba6c2ccf65))
## [0.3.1](https://github.com/mhanberg/schematic/compare/v0.3.0...v0.3.1) (2023-10-07)
### Bug Fixes
* respect `:convert` option for optional schema key ([65b60f3](https://github.com/mhanberg/schematic/commit/65b60f34001a4f90f663ab07b6a9779e192b7b88))
## [0.3.0](https://github.com/mhanberg/schematic/compare/v0.2.1...v0.3.0) (2023-10-07)
### Features
* option to disable schema key conversion ([#29](https://github.com/mhanberg/schematic/issues/29)) ([5b3cacf](https://github.com/mhanberg/schematic/commit/5b3cacf68e92b4f87265476c60cd3a783d216bb2))
## [0.2.1](https://github.com/mhanberg/schematic/compare/v0.2.0...v0.2.1) (2023-07-14)
### Bug Fixes
* switch opaque to type ([e5591fa](https://github.com/mhanberg/schematic/commit/e5591faf80569d4c33b8b47efa796256dbcde887))
## [0.2.0](https://github.com/mhanberg/schematic/compare/v0.1.1...v0.2.0) (2023-06-22)
### ⚠ BREAKING CHANGES
* comprehensive errors for list schematics ([#26](https://github.com/mhanberg/schematic/issues/26))
### Features
* comprehensive errors for list schematics ([#26](https://github.com/mhanberg/schematic/issues/26)) ([6020981](https://github.com/mhanberg/schematic/commit/602098133f6198b610ab042e07d723fb93b8e648))
## v0.1.1
- fix: specs (#20)
- fix: remove float/1 (#19)
## v0.1.0
- feat: extend maps with map/2 (#18)
- feat: remove null schematic, use literal instead (#17)
- feat: struct schematics (#15)
- feat!: use literal terms as schematics (#14)
- feat: float schematic (#13)
## v0.0.11
* feat: telemetry by @mhanberg in https://github.com/mhanberg/schematic/pull/6
## v0.0.10
- feat: recursive schematics by @mhanberg in https://github.com/mhanberg/schematic/pull/5
## v0.0.9
- feat: allow schemas to correctly dump optional fields
## v0.0.8
- docs
## v0.0.7
- Support Elixir >= v1.10
## v0.0.6
- dump/1 now returns and ok/error tuple
- nullable/1 schematic
## v0.0.5
- fix: handle nil message in oneof schematic
## v0.0.4
- fixed the typespecs
## v0.0.3
- fix: slightly better error message for schemas
- feat: dump
- feat: dispatch to a schematic with a function using oneof
- refactor!: rename assimilate to unify
## v0.0.2
- rename `func` to `raw`
- transform option for `raw` schematic
- `any` schematic
- `tuple` schematic
- `map` schematic can take a `:keys` and `:values` schematic to assimilate any key that matches the schematic
## v0.0.1
Initial Release