Dancer 1.100 released
A new version of Dancer has just been published on CPAN. It was a good time to do it, according to the changelog, as you can see:
* Support for multiple method routes at once with 'any'
* Templates engines
+ Bug fixes in Dancer::Template::Simple (Jury Gorky)
+ Refactoring of the factory
+ option for disabling the layout in the template helper.
* New session engine based on encrypted cookies (Alex Kapranof)
* More HTTP codes supported for a better REST compat (Nate Jones)
* Documentation updates
* script/dancer now requires an appname
* New Makefile.PL with better metadata (CPAN Service)
I’m pretty glad to underline that this release is the first one where most of the changes are written by other developers than me, that’s really exciting to see more and more people involved with the project.
This release should also fix the test-suite which looks to be broken on most of the CPAN testers under version 1.000 (but sadly not on my workstation, so I wasn’t aware of it).
UPDATE Jan. 7th 2010 : The CPAN-testers reports show that 1.100 passes 100% of the tests under Linux and FreeBSD, that’s a good start!
Stay tuned for next dances!
395 views · Tags: CPAN, Dancer, Perl, Release · Both comments and pings are currently closed.
Thanks!
But when I switch the template setting to “template_toolkit” in config file, I got a blank page…Could you help me out?
Thank you!
Oh, My code works in 1.100, not blank again, thanks again.
In version 1.100 Template::Toolkit errors are correctly caught, whereas it was not the case in previous versions.
Maybe you had a parsing error in your template. Thanks for using Dancer ;-)
Nicely done. Thanks for the CPAN update. :)
Hi, the handler may not auto reload when file is updated. Maybe a bug? Described here:
1. define a handle: /see => sub {…};
2. start the dance daemon; /see works.
3. modify the /see handle to: /see_modified => sub{ … }
4. /see and /see_modified both work! It seems strange. In fact, /see doesn’t exist any longer.
@zhang this is a bug with the auto_reload feature, see http://github.com/sukria/Dancer/issues#issue/4
I just discovered dancer today… dancer++
Really easy (and elegant) :)