<div dir="ltr">Hey everyone,<div><br></div><div>We've just released a new Dancer2 version, approximately two weeks after the previous one.</div><div><br></div><div>This version contains quite a few changes. In statistics:</div><div>* Github issues resolved: 21</div><div>* Bugs resolved: 7</div><div>* Enhancements introduced: 12</div><div>* Documentation changes: 6</div><div>* Total changes introduced: 25</div><div><br></div><div>Big ones:</div><div>* Serializers always serialize, no matter what. This is important!</div><div>* Static files are finally served before routes and don't create a new route. This is huge!</div><div>* Catching template rendering errors. Very crucial!</div><div>* Should fix Windows testing errors. Sorry about that!</div><div>* Named params can be freely mixed with splat and megasplat. Woohoo!</div><div>* New testing manual! See: Dancer2::Manual::Testing.</div><div>* You can disable "Server" tokens header. Finally!</div><div><br></div><div>Thank you to everyone who worked on this release (in order of appearance):</div><div>Sawyer X, Russell Jenkins, Steven Humphrey, Theo Van Hoesel, Mickey Nasriachi, Omar M. Othman, Dávid Kovács (DavsX), and Johan Spade.<br></div><div><br></div><div>The entire changelog is available below:</div><div><div>0.154000  2014-11-17 15:36:31+01:00 Europe/Amsterdam</div><div><br></div><div>    [ BUG FIXES ]</div><div>    * GH #744: Serialize anything, not just references. (Sawyer X)</div><div>    * GH #744: Serialize regardless of content_type of serializer. (Sawyer X)</div><div>    * GH #764: Catch template render errors. (Russell Jenkins, Steven Humphrey)</div><div>    * Calling uri_for(undef) doesn't crash. (Sawyer X)</div><div>    * GH #732: Correct name for 403 (Forbidden, not Unauthorized).</div><div>      (Theo van Hoesel, Sawyer X, Mickey Nasriachi, Omar M. Othman)</div><div>    * GH #753: Syntax of parameterized types. (Russell Jenkins)</div><div>    * GH #734: Failing tests on Windows. (Russell Jenkins, Sawyer X)</div><div><br></div><div>    [ ENHANCEMENTS ]</div><div>    * GH #664, #684, #715: Handler::File replaced for static files with</div><div>      Plack::Middleware::Static, allowing files to be served *before* routes.</div><div>      This means hooks do not apply to static files anymore!</div><div>      (Russell Jenkins, DavsX)</div><div>    * Engines now have "logger" attribute to log errors. It sends the</div><div>      Dancer2::Logger:: object, if one exists. (Sawyer X)</div><div>    * Serializers do not need to implement "loaded" method. (Sawyer X)</div><div>    * GH #733: In core: response_xxx removed in favor of generic</div><div>      standard_response. (Sawyer X, Mickey Nasriachi, Omar M. Othman)</div><div>    * GH #514, #642, #729: Allow mixing named params, splat, and</div><div>      megasplat. (Russell Jenkins, Johan Spade, Dávid Kovács)</div><div>    * GH #596: no_server_tokens works, as well as DANCER_NO_SERVER_TOKENS.</div><div>      (Omar M. Othman, Sawyer X, Mickey Nasriachi)</div><div>    * GH #639: Validate engine types in configuration.</div><div>      (Sawyer X, Omar M. Othman, Mickey Nasriachi, Russell Jenkins)</div><div>    * GH #663, #741: Remove "accept_type" attribute and other references.</div><div>      (Mickey Nasriachi, Theo van Hoesel)</div><div>    * GH #748: Provide forwarded_host, forwarded_protocol. (Sawyer X)</div><div>    * GH #748: Do not provide a default env, require env for a request.</div><div>      (Sawyer X)</div><div>    * GH #742: Update test skeleton to use to_app. (Dávid Kovács)</div><div>    * GH #636: Use Plack::Test in more tests. (Dávid Kovács)</div><div><br></div><div>    [ DOCUMENTATION ]</div><div>    * GH #656: Dancer2::Manual::Testing as a guide for testing Dancer2</div><div>      applications. (Sawyer X)</div><div>    * Improved documentation of route matching. (Russell Jenkins)</div><div>    * Migration document update relating to enhancements.</div><div>      (Sawyer X, Mickey Nasriachi)</div><div>    * GH #731: Document changes in session.</div><div>      (racke, Sawyer X, Mickey Nasriachi, Omar M. Othman)</div><div>    * Document "id" attribute in Request object. (Sawyer X)</div><div>    * Correct Cookbook examples on command line scripts. (Sawyer X)</div></div><div><br></div></div>