[dancer-users] Dancer2 0.160000 en route to CPAN!

Zahir Lalani ZahirLalani at oliver-marketing.com
Mon Apr 27 12:43:25 BST 2015


Hi

On my local dev (which was installed months ago – its 1.14
On the clean build it is picking up 1.15

Z

From: dancer-users [mailto:dancer-users-bounces at dancer.pm] On Behalf Of Sawyer X
Sent: 27 April 2015 12:10
To: Perl Dancer users mailing list
Subject: Re: [dancer-users] Dancer2 0.160000 en route to CPAN!

What version of YAML do you have installed?

On Mon, Apr 27, 2015 at 12:10 PM, Zahir Lalani <ZahirLalani at oliver-marketing.com<mailto:ZahirLalani at oliver-marketing.com>> wrote:
Hi

Re: my previous issues with install

Has anyone managed to install this new version on a virgin OS?

I ran the installer for the new version on a clean Centos 7 install, and it still fails as before:

t/config_multiapp.t .................................... ok

#   Failed test 'Configuration file parsing failure'
#   at t/config_reader.t line 97.
#                   'Unable to parse the configuration file: /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/t/config/environments/failure.yml: Can't use an undefined value as a HASH reference at /root/.cpanm/work/1430127487.10996/Dancer2-0.160000/blib/lib/Dancer2/Core/Role/ConfigReader.pm line 208.
#  at (eval 129) line 22.
# '
#     doesn't match '(?^:YAML)'
# Looks like you failed 1 test of 19.
t/config_reader.t ......................................

Z


From: dancer-users [mailto:dancer-users-bounces at dancer.pm<mailto:dancer-users-bounces at dancer.pm>] On Behalf Of Sawyer X
Sent: 26 April 2015 23:34
To: Perl Dancer users mailing list
Subject: [dancer-users] Dancer2 0.160000 en route to CPAN!

Hi everyone,

I am proud to announce another release of Dancer2, carrying many changes and improvements, with 9 contributors and 21 tickets closed[1].

This release carries the following major changes:

* Workaround for multiple plugins with hooks.
* "send_file" is asynchronous by default. Fallback to synchronous.
* "prefix" now supports the entire route path spec ("/:var" now works in prefix).
* Clear up prefix inconsistencies ("/var" vs. "/var/").
* Proper package reported in logging.

Thank you to everyone involved in this release, whether working on an issue or helping raise them and debug them, especially the following people (in order of appearance in the Changelog):

cdmalon, Russell Jenkins, Alberto Simões, Sawyer X, Chenchen Zhao, Sakshee Vijayvargia, Andrew Solomon, David Zurborg, and valerycodes.

The full Changelog for this release:

    [ BUG FIXES ]
    * GH #868: Fix incorrect access name in $error->throw. (cdmalon)
    * GH #879, #883: Fix version numbering in packaging and tests.
      (Russell Jenkins)
    * File serving (send_file) won't call serializer. (Russell Jenkins)
    * GH #892, #510: Workaround for multiple plugins with hooks.
      (Russell Jenkins, Alberto Simões)
    * GH #558: Remove "prefix" inconsistency with possibly missing postfixed
      forward slash. (Sawyer X)

    [ DOCUMENTATION ]
    * GH #816, #874 Document session engine changes in migration documentation.
      (Chenchen Zhao)
    * GH #866, #870: Clarify that you cannot forward to a static file, why,
      and two different ways of accomplishing it without forward.
      (Sakshee Vijayvargia)
    * GH #878: Rework example for optional named matching due to operator
      precedence. (Andrew Solomon)
    * GH #844: Document Simple session backend is the default. (Sawyer X)

    [ ENHANCEMENT ]
    * GH #869: Streaming file serving (send_file). (Russell Jenkins)
    * GH #793: "prefix" now supports the path definition spec. (Sawyer X)
    * GH #817, #845: Route spec under a prefix doesn't need to start with
      a slash (but must without a prefix).
      (Sawyer X, Russell Jenkins)
    * GH #871: Use Safe.pm instead of eval with Dancer2::Serializer::Dumper.
      (David Zurborg)
    * GH #880: Reduce and cleanup different logging calls in order to handle
      the stack frames traceback for logging classes. (Russell Jenkins)
    * GH #857, #875: When failing to render in Template::Toolkit, make the
      error reflect it's a TT error, not an internal one.
      (valerycodes)

Sawyer,
on behalf of the Dancer core developers team.

[1] Only 20 tickets mentioned in the Changelog itself.

_______________________________________________
dancer-users mailing list
dancer-users at dancer.pm<mailto:dancer-users at dancer.pm>
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150427/4eaa2f45/attachment-0001.html>


More information about the dancer-users mailing list