Current section
Files
Jump to
Current section
Files
CHANGELOG.md
# Releases
## 0.2.0
### Breaking
- Second argument to `parse` and `reverse`: it used to be the entire `%Lapis.Schema{}`, not it is just the `assigns` from the schema
- Remove `Lapis.Schema.wrap`; rename `Lapis.wrap` to `Lapis.pipe`
### Additions
- Compile-time schemas: now all standard `Lapis` utils can be put and used in e.g. module attributes
- `Lapis.refine` (`Lapis.Schema.refine`): allow passing refine-specific assigns
- `Lapis.Map.extend`: extend/override existing map schema
- `Lapis.map` (`Lapis.Map.new`): add `:struct` option (calls `struct!` on the final output)
- `Lapis.choice`: add optional argument to specify reverse
- `Lapis.regex` (refine): ensures input string matches the regex
## 0.1.0
Hello, world!