[ANN] lib-noir 0.1.1 and noir-1.3.0-beta10

141 views
Skip to first unread message

Anthony Grimes

unread,
Jun 23, 2012, 6:03:23 PM6/23/12
to clj-...@googlegroups.com
Howdy everyone!

Noir is slowly on its way to a final 1.3.0 release. We haven't been so great about keeping people updated with the changes we made in Noir, and I'd like for
that to change. As such, here are some of the latest changes we made. There are some important ones here too.

First of all, as if today, the old https://github.com/ibdknox/noir repo is deprecated. We have created an organization for Noir called noir-clojure. You can find it at
https://github.com/noir-clojure. The new Noir repo is located at https://github.com/noir-clojure/noir. Future development will take place here.

Another big change is that you'll notice a lot of Noir is now missing from Noir! Indeed, we discovered that a large portion of Noir was actually useful to people who
aren't even using it. We've split out several middleware and libraries into a new library called lib-noir for consumption by users of other ring-based web frameworks
such as Compojure and Mustache. Right now (as of the 0.1.1 release of lib-noir), I have moved the following Noir namespaces to lib-noir:

* noir.cookies
* noir.session
* noir.response
* noir.validation
* noir.util.crypt

More may be added in the future.

This isn't really a breaking change. Existing code using Noir should continue to work fine because Noir itself now depends on lib-noir and all of the namespaces remain the same. One thing to note is that noir.response/redirect is slightly changed now. Noir has mutable options middleware that I opted to not move over to lib-noir because it isn't very useful outside of Noir. However, the redirect function used the option middleware to get the :base-url key and tack it on the beginning of URLs passed to redirect. This wont happen anymore. If you rely on redirect adhering to base url, please call noir.options/resolve-uri on your URLs before passing them to redirect. Sorry for any inconvenience that this causes.

So, in summary, the latest version of lib-noir is 0.1.1 and Noir itself is 1.3.0-beta10. From here on out, I'll try to make an announcement post here about new betas and the latest changes.

I hope everybody enjoys lib-noir.

Cheers!

Chris Zheng

unread,
Jun 27, 2012, 4:52:56 PM6/27/12
to clj-...@googlegroups.com
Is there an estimated date for the final 1.3 release?
Reply all
Reply to author
Forward
0 new messages