Skip to content

Commit

Permalink
release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
phcurado committed Dec 10, 2022
1 parent 42b59c8 commit 68f25aa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v0.8.x (2022-12-10)

### Enhancements

* [Parameter.Schema] Supports `compile/1` function for compiling runtime schemas.
* [Parameter] `load/3`, `validate/3` and `dump/3` now support evaluating parameters using runtime schemas.
* [Parameter.Validators] Improved `length/2` validator to support `min` and/or `max` attributes. Before it was only accepting both.

### Bug fixes
* [Parameter] Fix a bug where `load/3` and `validate/3` was evaluating the `validator` option wrongly.

## v0.7.x (2022-11-07)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion lib/parameter/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ defmodule Parameter.Schema do
## Runtime Schemas
It's also possible schemas via runtime without relying on any macros.
It's also possible to create schemas via runtime without relying on any macros.
The API is almost the same comparing to the macro's examples:
schema = %{
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Parameter.MixProject do
use Mix.Project

@source_url "https://github.com/phcurado/parameter"
@version "0.7.4"
@version "0.8.0"

def project do
[
Expand Down

0 comments on commit 68f25aa

Please sign in to comment.