Upstream changes:
0.161000 2015-07-08 14:57:16+02:00 Europe/Amsterdam
[ BUG FIXES ]
* GH #915, #930: Check existence of optional extension headers when
behind proxy. (Andy Beverley, Pedro Melo, Russell Jenkins)
* GH #926, #940: Set session directory default to $apprdir/session.
(Russell Jenkins)
* GH #936, #939: Use the error_template configuration on a 404.
(Russell Jenkins)
* GH #844, #937: Non-hash serialized params do not cause a crash. (Sawyer X)
* GH #943: Pass @_ to UNIVERSAL's VERSION so it validates version number.
(Sawyer X)
* GH #934: Cleanup internals in the old Dispatcher. (Russell Jenkins)
[ DOCUMENTATION ]
* Sanitize Changes
* GH #938: Fix POD link to params keyword. (Ludovic Tolhurst-Cleaver)
* GH #935: Provide more details and considerations when using
behind_proxy. (Andy Beverley)
[ ENHANCEMENT ]
* GH #933: use note in tests to produce cleaner non-verbose output (Vernon)
* Remove unnecessary dependencies: build chain should be smaller. (Sawyer X)
* No need for Module::Build. (Sawyer X)
* GH #911: Dancer2 request object is now a subclass of Plack::Request.
It's also much faster now. (Sawyer X)
{perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS
since pkgsrc enforces the newest perl version anyway, so they
should always pick perl, but sometimes (pkg_add) don't due to the
design of the {,} syntax.
No effective change for the above reason.
Ok joerg
Upstream changes:
0.160000 2015-04-27 00:12:55+02:00 Europe/Amsterdam
[ 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)
Upstream changes:
0.158000 2015-01-01 18:08:04+01:00 Europe/Amsterdam
** Happy new year! **
[ ENHANCEMENT ]
* GH #778: Avoid hard-coded static page location. (D.vid Kov.cs)
* Speed up big uploads significantly. (Rick Myers)
* GH #821: Use Import::Into to import pragmas. (Russell Jenkins)
* GH #782: Fix utf8 pragma import. (Maxim Vuets)
* GH #786: Perlbrew fix. (D.vid Kov.cs)
* GH #622: Refactoring. (James Raspass)
[ DOCUMENTATION ]
* GH #713: Change order of statements in Cookbook to not imply that
D2::P::Ajax::ajax() calls have priority. (Sawyer X)
0.157001 2014-12-21 20:40:13+01:00 Europe/Amsterdam
[ ENHANCEMENT ]
* GH #814, #815: Rename "app.pl" to "app.psgi". (Sawyer X)
0.157000 2014-12-14 18:23:33+01:00 Europe/Amsterdam
[ BUG FIXES ]
* GH #799: Set current request earlier so log formats using requests
will work. (Sawyer X)
* GH #650: Provide default environment to app for templating.
(D.vid Kov.cs, Chi Trinh)
* GH #800: Better portability code, for different Windows situations.
(Christian Walde)
* Less littering of the test directories with session files. (Sawyer X)
[ ENHANCEMENT ]
* GH #810: strict && warnings in the app.pl. (Sawyer X)
* Use to_app keyword in skeleton. (Sawyer X)
* GH #801: Under production, server tokens are disabled. (Sawyer X)
* GH #588, #779: Remove LWP::UserAgent in favor of HTTP::Tiny.
(D.vid Kov.cs, simbabque, Sawyer X)
* Remove all usages of Test::TCP in favor of Plack::Test. (Sawyer X)
[ DOCUMENTATION ]
* GH #802: Remove indication of warnings configuration option
and add explanation in migration document. (Sawyer X)
* GH #806: Link in main docs to the migration document. (Gabor Szabo)
* GH #807: Update migration document with more session data,
changes to app.pl, and Template::Toolkit configuration. (Gabor Szabo)
* GH #813: Update migration document with information on encoding and
usage of Plack::Request internally. (Gabor Szabo, Sawyer X)
0.156001 2014-12-08 23:03:43+01:00 Europe/Amsterdam
[ DOCUMENTATION ]
* Documentations suggested serializers aren't consistent. We fixed it
so we make sure docs reflect that. (Sawyer X)
Upstream changes:
0.156000 2014-12-07 18:04:14+01:00 Europe/Amsterdam
[ BUG FIXES ]
* Do not try to deserialize empty content.
(Lennart Hengstmengel, Sawyer X)
* Do not call serialization hooks when no serialization took place.
(Sawyer X)
* Be more cautious on undef output from serializer.
(Daniel B.hmer, Sawyer X)
[ ENHANCEMENTS ]
* Add cpanfile when scaffolding a new app.
(D.vid Kov.cs, Sawyer X)
* Response "content" attribute no longer stringifies. This should help
reduce warnings, odd debugging problems, etc. (Sawyer X)
* DSL "uri_for" no longer returns URI object. Instead just the URI.
(Sawyer X)
[ DOCUMENTATION ]
* GH #777: Fix doc for mentioning public dir.
(D.vid Kov.cs, Sawyer X)
* GH #787: Document all environment variables. (Sawyer X)
0.155004 2014-12-04 11:51:23+01:00 Europe/Amsterdam
[ BUG FIXES ]
* Guard against content length being empty strings. This is really
bizarre case but saw it once. (Sawyer X)
Upstream changes:
0.155002 2014-12-02 22:59:32+01:00 Europe/Amsterdam
[ BUG FIXES ]
* Fix test on Windows. (A. Sinan Unur)
0.155001 2014-11-28 17:42:24+01:00 Europe/Amsterdam
[ BUG FIXES ]
* Small typo in test. (D.vid Kov.cs)
0.155000 2014-11-28 01:18:39+01:00 Europe/Amsterdam
[ BUG FIXES ]
* GH #773, #775: AutoPage handler no longer renders layouts.
(D.vid Kov.cs, Sawyer X)
* GH #770: Prevent crazy race condition between the logger engine and
other engines. This means engines now call "log_cb" to log.
(Sawyer X)
* App now has default name to caller package. (Sawyer X)
* Serializers will not try to serialize empty content. (Sawyer X)
* Lots of cleanups in Core::Request in favor of Plack::Request.
(Sawyer X)
[ ENHANCEMENTS ]
* Layouts directory can be configured using 'layout_dir'.
(Sawyer X)
* GH #648, #760: Logger format now supports 'h', 'u', 'U', 'h', 'i'.
They are documented but weren't really available.
(Lennart Hengstmengel)
* Serializers having errors will not fail if there is no logger.
(Sawyer X)
* Create a request object with a single argument of $env, like
Plack::Request. (Sawyer X)
[ DOCUMENTATION ]
* Remove documented hack for static content because we use the middleware
now anyway. (Sawyer X)
* Document further the difference between splat and megasplat.
(D.vid Kov.cs)
Add missing DEPENDS
Upstream changes:
0.154000 2014-11-17 15:36:31+01:00 Europe/Amsterdam
[ BUG FIXES ]
* GH #744: Serialize anything, not just references. (Sawyer X)
* GH #744: Serialize regardless of content_type of serializer. (Sawyer X)
* GH #764: Catch template render errors. (Russell Jenkins, Steven Humphrey)
* Calling uri_for(undef) doesn't crash. (Sawyer X)
* GH #732: Correct name for 403 (Forbidden, not Unauthorized).
(Theo van Hoesel, Sawyer X, Mickey Nasriachi, Omar M. Othman)
* GH #753: Syntax of parameterized types. (Russell Jenkins)
* GH #734: Failing tests on Windows. (Russell Jenkins, Sawyer X)
[ ENHANCEMENTS ]
* GH #664, #684, #715: Handler::File replaced for static files with
Plack::Middleware::Static, allowing files to be served *before* routes.
This means hooks do not apply to static files anymore!
(Russell Jenkins, DavsX)
* Engines now have "logger" attribute to log errors. It sends the
Dancer2::Logger:: object, if one exists. (Sawyer X)
* Serializers do not need to implement "loaded" method. (Sawyer X)
* GH #733: In core: response_xxx removed in favor of generic
standard_response. (Sawyer X, Mickey Nasriachi, Omar M. Othman)
* GH #514, #642, #729: Allow mixing named params, splat, and
megasplat. (Russell Jenkins, Johan Spade, D谩vid Kov谩cs)
* GH #596: no_server_tokens works, as well as DANCER_NO_SERVER_TOKENS.
(Omar M. Othman, Sawyer X, Mickey Nasriachi)
* GH #639: Validate engine types in configuration.
(Sawyer X, Omar M. Othman, Mickey Nasriachi, Russell Jenkins)
* GH #663, #741: Remove "accept_type" attribute and other references.
(Mickey Nasriachi, Theo van Hoesel)
* GH #748: Provide forwarded_host, forwarded_protocol. (Sawyer X)
* GH #748: Do not provide a default env, require env for a request.
(Sawyer X)
* GH #742: Update test skeleton to use to_app. (D谩vid Kov谩cs)
* GH #636: Use Plack::Test in more tests. (D谩vid Kov谩cs)
[ DOCUMENTATION ]
* GH #656: Dancer2::Manual::Testing as a guide for testing Dancer2
applications. (Sawyer X)
* Improved documentation of route matching. (Russell Jenkins)
* Migration document update relating to enhancements.
(Sawyer X, Mickey Nasriachi)
* GH #731: Document changes in session.
(racke, Sawyer X, Mickey Nasriachi, Omar M. Othman)
* Document "id" attribute in Request object. (Sawyer X)
* Correct Cookbook examples on command line scripts. (Sawyer X)
Add missing DEPENDS.
Upstream changes:
0.150000 2014-08-17 01:35:16CEST+0200 Europe/Amsterdam
[ DOCUMENTATION ]
* GH #657: Update multi-app example in cookbook to include route
merging. (Bas Bloemsaat)
* GH #643: Improve session factory docs by mentioning Dancer2::Config.
(Andy Jack)
[ BUG FIXES ]
* Postponed hooks are no longer sent to all Apps.
(Sawyer X, Mickey Nasriachi)
* 404 File Not Found Application reworked to stay up to date with
postponed hooks merging in multiple apps. (Russell Jenkins)
* GH #610, #662: Removed two circular references memory leaks!
(Russell Jenkins)
* GH #633: Log an error when a hook dies. (DavsX)
[ ENHANCEMENT ]
* Allow settings apps in the psgi_app() call by name or regex.
(Sawyer X)
* GH #651: silly typo in clearer method name (DavsX).
0.149000_02 2014-08-10 13:50:39CEST+0200 Europe/Amsterdam
[ ENHANCEMENT ]
* GH #641: Adding a shim layer to prevent available hooks (and
thus plugins) from breaking.
* Each App can now define its own configuration. The Runner's
application-specific configure has been untangled.
(Russell @veryrusty Jenkins, Sawyer X, Mickey Nasriachi)
* Multiple Dancer App support. You can now create a App-specific
PSGI application using MyApp->psgi_app.
(Russell @veryrusty Jenkins, Sawyer X, Mickey Nasriachi)
* Add routes and hooks to an existing app on import.
(Russell @veryrusty Jenkins, Stevan Humphrey, Stefan racke
Hornburg, Jean Stebens, Chunzi, Sawyer X, Mickey Nasriachi)
* Allow DSL class to be specified in configuration file.
(Stevan Humphrey)
* forward() now returns a new request which is then just runs
the dispatching loop again. (Sawyer X, Mickey Nasriachi)
[ BUG FIXES ]
* GH #336: Set log level correctly.
(Andrew Solomon, Pedro Bruno)
* GH #627, #607: Remove potential context issues with returning
undef explicitly. (Javier Rojas)
* GH #646: Fix whitespacing for tests. (DavsX)
0.149000_01 2014-07-23 21:31:21CEST+0200 Europe/Amsterdam
*************************** NOTICE ***************************
* This very is a major upgrade *
* We untangled the context, DSL implementation a bit *
* Please check your code, including your plugins, thoroughly *
* Thank you *
[ ENHANCEMENTS ]
* GH #589: Removing Dancer2::Core::Context global context variable.
Finally in.
(Sawyer X, Mickey Nasriachi, Russell @veryrusty Jenkins)
[ BUG FIXES ]
* GH #606, #605: Fix for setting public directory.
(Ivan Kocienski, Russell Jenkins, Stefan @racke Hornburg)
* GH #618, #620: Fix jQuery link generated by CLI skeleton.
(Micha Wojciechowski)
* GH #589: Major memory leak fix by removal of Dancer2::Core::Context.
[ ENHANCEMENTS ]
* GH #620: Bump jQuery to 1.11.1. (Micha Wojciechowski)
Add missing DEPENDS
Upstream changes:
0.143000 2014-07-05 21:39:28CEST+0200 Europe/Amsterdam
[ BUG FIXES ]
* GH #538, #539: Coerce propogated exceptions to strings within Error object.
(Steven Humphrey)
* GH #531: Generate valid HTML when show_errors is true from Error objects.
(Steven Humphrey)
* GH #603: Update skeleton test to use Plack::Test. (Sawyer X)
[ ENHANCEMENTS ]
* Provide psgi_app in top-level Dancer.pm to make it easier to change it.
(Sawyer X)
0.142000 2014-06-24 15:16:42CEST+0200 Europe/Amsterdam
[ BUG FIXES ]
* GH #550, #555: Allow the content type to be set when using send_file
as per the documentation. (Russell Jenkins, Steven Humphrey)
[ ENHANCEMENTS ]
* GH #512, #520, #602: Pass all settings into JSON serializer engine.
(Jakob Voss, Russell Jenkins)
* GH #532: Serialize runtime errors such as those produced by die if a
serializer exists. (Steven Humphrey)
0.141000 2014-06-08 22:27:03CEST+0200 Europe/Amsterdam
* No functional changes.
0.140900_01 2014-06-07 23:32:56IDT+0300 Asia/Jerusalem
[ BUG FIXES ]
* GH #447: Setting the apphandler now triggers the Dancer Runner
configuration change, which works. (Sawyer X)
* GH #578: Remove the default engine configurations. (Sawyer X)
* GH #567: Check for proper module names in loading engines. Might help
with taint mode. (Sawyer X)
* GH #585, #595: Return 405 Method Not Allowed instead of 500.
(Omar M. Othman)
* GH #570, #579: Ensure keywords pass, send_error and send_file
exit immediatly when executed. (Russell Jenkins)
[ ENHANCEMENTS ]
* GH #587: Serializer::Mutable alive! (Pedro Bruno)
[ DOCUMENTATION ]
* Fix doc for params(). Ported from Dancer#1025 (Stefan Hornburg)
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
Upstream changes:
0.140001 2014-05-01 10:49:25CEST+0200 Europe/Amsterdam
[ BUG FIXES ]
* Bugfix for extracting multiple cookies within a request.
(Cymon, Russell Jenkins)
* Require minimum version of Plack to make sure we can add the Head
middleware. Not exactly a bug, but not a feature. (Sawyer X)
[ DOCUMENTATION ]
* Correct reference to HTTP::Server::Simple::PSGI. (Russell Jenkins)
0.140000 2014-04-28 23:14:31CEST+0200 Europe/Amsterdam
[ ENHANCEMENTS ]
* Replace Config role with better ConfigReader role.
(Mickey Nasriachi, Stefan Hornburg, Sawyer X)
* Move App-related attributes (engines) to App instead of config role.
(Mickey Nasriachi, Stefan Hornburg, Sawyer X)
* Untangle Runner-Server (removing Server entirely).
(Mickey Nasriachi, Stefan Hornburg, Sawyer X)
* Replace HTTP::Server::Simple::PSGI with HTTP::Server::PSGI.
(Mickey Nasriachi, Stefan Hornburg, Sawyer X)
* GH #527: Build request cookie objects from request headers, not env.
(Russell Jenkins)
* GH #569: Transform cookie using the HTTP_COOKIE header, per PSGI spec.
(Russell Jenkins)
* GH #559, #544: Use Plack middleware for HEAD request content removal.
(Russell Jenkins)
* GH #513, #483: Deserialize body content for DELETE requests.
(Russell Jenkins, Yanick Champoux, Sawyer X)
0.13 2014-04-13 19:19:44CEST+0200 Europe/Amsterdam
[ ENHANCEMENTS ]
* GH #562: Change YAML::Any to YAML (Steven Humphrey, Russell Jenkins).
[ BUG FIXES ]
* GH #524: Double encoding for YAML sessions.
* GH #557: Switch to using YAML::Old.
* GH #548: Deserializer test failure.
Upstream changes:
0.12 2014-04-07 22:42:12 Europe/Amsterdam
[ ENHANCEMENTS ]
* GH#518: Bump jQuery to 1.10.2 (Grzegorz Ro偶niecki).
* GH#535: Support OPTIONS and PATCH requests in Server::Standalone.
(Russell Jenkins)
* GH#553: Dancer2 CLI: specify directory to write app skeleton
(Jean Stebens)
* GH#543: Additional HTTP Methods for Ajax plugin (Jean Stebens).
[ DOCUMENTATION ]
* RT#91428: POD encoding set to UTF-8 in main .pm (Gregor Herrmann).
* GH#517: Miscellaneous documentation fixes (Cesare Gargano).
* GH#518: "Getting started" demo page fixes (Grzegorz Ro偶niecki).
* GH#522: s/PerlHandler/PerlResponseHandler/ in Apache2 sample configuration
(Grzegorz Ro偶niecki)
* GH#521: Remove duplicated POD and clean up list details (Shlomi Fish)
* GH#526: Cleanup POD formating and code snippets in manual.
(Grzegorz Ro偶niecki)
[ BUG FIXES ]
* GH#528,529: Force PSGI server in dispatch scripts for CGI or fcgi
deployments (Erik Smit, Alberto Sim玫es)
* GH#550,GH#551: Update all headers in Handler::File
(Sawyer X, Stefan @racke Hornburg)
* GH#540: Fix hook execution when default scalar was used in hook code.
(baynes, Russell Jenkins)
* GH#552: Rework test suite to use Plack::Test
(Sawyer X, Stefan @racke Hornburg)
* GH#560: Return value of hooks do not alter response content.
(Jean Stebens)
Update DEPENDS
Upstream changes:
0.11 2013-12-15 14:19:22 Europe/Amsterdam
[ ENHANCEMENTS ]
* GH#481: Don't pollute @INC automatically when Dancer2 is imported, each
runner is now responsible of including the local ./lib dir if needed.
* GH#469, 418: Dancer2::Plugin provides a ':no_dsl' flag for modern Plugins
(Pedro Melo)
* GH#485: Keywords 'redirect' and 'forward' exit immediatly when executed in
a route/hook. New dependency on Return::MultiLevel (Russell Jenkins).
* GH#495: Use accessor and predicates instead of direct access.
Addresses GH#493 too. (Russell Jenkins)
* GH#502,GH#472: Rework halt to use with_return from Return::MultiLevel.
(Russell Jenkins)
* GH#479,GH#480,GH#508: Pass parameters to params() in the DSL.
(Slava Goltser, unickuity, Russell Jenkins)
* GH#505: Fix empty HTTP_REFERER in Dancer::Core::Request (Menno Blom).
* GH#503: Multiple reverse proxy support (Menno Blom).
* GH#371,GH#506: CLI tool rewrite (using App::Cmd, supports plugins, etc.).
(Ivan Kruglov, Samit Badle, Sawyer X)
* GH#498: Add some missing items in MANIFEST.SKIP (Gabor Szabo, Sawyer X).
[ DOCUMENTATION ]
* GH#489: Remove link to Dancer2::Deployment pod which does not exist
(Sweet-kid)
* GH#511: s/Deflator/Deflater/; (Cesare Gargano)
* GH#491: Updated config paths for template_toolkit in cookbook.
(Mark A. Stratman)
* GH#494: Update session config details (Dancer2::Config),
namespace fixup in Dancer2::Core::cookie.
(Russell Jenkins)
* GH#470: Fix Plack::Builder mount usage (Pedro Melo).
* GH#507: Fix plenty of typos (David Steinbrunner).
* GH#477: Document problem with Plack Shotgun on Windows (Ahmad M. Zawawi).
* GH#504: Add link to Dancer2::Plugin::Sixpack (Menno Blom).
* GH#490: Document Dancer2 should be FatPackable (Sawyer X).
* GH#452: Make a complete authors section, clean it up (Pau Amma).
* More fixes to main documentation (Pau Amma).