Just a small suggestion: Bugfix releases (z in x.y.z) are usually
considered to be non-breaking, so breaking changes in such releases
might cost people time when they assume they can upgrade without
changing their code.

It's nicer to introduce breaking changes to minor- or major-releases (x or
y in x.y.z). 

Leonardo Borges writes:

> Hi all,
>
> bouncer is a validation library for Clojure apps
>
> Github: https://github.com/leonardoborges/bouncer
> Clojars: https://clojars.org/bouncer
>
> Version 0.2.4-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<https://github.com/leonardoborges/bouncer/blob/master/README.md>for
> updated docs as well as the
> CHANGELOG<https://github.com/leonardoborges/bouncer/blob/master/CHANGELOG.md>
> for
> details.
> Feedback on this version and the new API is greatly appreciated.
>
> Cheers,
> Leonardo Borges
> www.leonardoborges.com
>
> -- 


-- 
Moritz Ulrich

-- 
-- 
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