Just a quick note to let people know I've released bouncer 0.3.0 final.

The only extra change was this pull request:

- Merge [PR #18](https://github.com/leonardoborges/bouncer/pull/18):
"Minor readme change to not make it seem a strange design decision was
taken, and very minor (somewhat random) syntax change"

Happy new year!

Cheers,
Leonardo Borges
www.leonardoborges.com


On Thu, Aug 15, 2013 at 11:01 PM, Leonardo Borges
<leonardoborges...@gmail.com> wrote:
> Hi all,
>
> bouncer is a validation library for Clojure apps
>
> Github: https://github.com/leonardoborges/bouncer
> Clojars: https://clojars.org/bouncer
>
> Version 0.3.0-alpha1 has undergone major, breaking changes:
>
> - My original design made heavy use of macros for a nicer, more natural DSL
> at the expense of composition;
> - This turned out not to be the best option as I received a few bug reports
> related to issues composing validations;
> - As a result I removed almost all macros in favour of functions
>
> In a nutshell what this means is that where once you wrote this:
>
> (b/validate {:postcode -1}
>               :postcode [(v/required :message "required") (v/number :message
> "number")])
>
> You will now write this:
>
> (b/validate {:postcode -1}
>               :postcode [[v/required :message "required"] [v/number :message
> "number"]])
>
> The difference is minimal, but the gains are great as I was able to
> completely eliminate the defvalidatorset macro in favour of clojure maps:
>
> (def address-validations {:postcode [v/required v/number]})
>
> (b/validate {} address-validations)
>
> Please check out the README for updated docs as well as the CHANGELOG for
> details.
>
> Feedback on this version and the new API is greatly appreciated.
>
> Cheers,
> Leonardo Borges
> www.leonardoborges.com
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to