Upstream changes:
1.3123 2014-04-12
[ BUG FIXES ]
* Test was skipping wrong number of tests if JSON was absent.
1.3122 10.04.2014
[ DOCUMENTATION ]
* GH #995: Documentation improvements. (Colin Kuskie)
[ BUG FIXES ]
* Serializer::Mutable now consider 'Accept' before 'Content-Type'.
(GH#996, Bernhard Reutner-Fischer)
* Serializer::Mutable now correctly deals with content-types
with charsets. (GH#996, Bernhard Reutner-Fischer)
* Without Clone(), Dancer::Error::dumper() could clobber
values in deep structures. (GH#1006, fix by asergei)
* 'session_name' in Dancer::Session::Abstract couldn't be
redefined. (GH#1004, patch by Lee Carmichael)
[ MISC ]
* Unused function 'path_no_verify' removed. (GH#998,
reported by mjemmeson)
Upstream changes:
1.3120 24.12.2013
[ ENHANCEMENTS ]
* GH #974: Make plugins play nicely with mro 'c3'. (Fabrice Gabolde)
[ DOCUMENTATION ]
* GH #972: Correction of a truckload of typos. (David Steinbrunner)
* GH #971: Stress that the request's 'env()' method is prefered over
accessing '%ENV' directly. (isync)
* GH #968: Fix 'ScriptAlias' example in Deployment docs. (reported
by tednolan)
* GH #976: Document and trap limitation in Dancer::Test. (Tom Hukins)
* GH #976: Improve references to related modules. (Tom Hukins)
Upstream changes:
1.3119 26.10.2013
[ ENHANCEMENTS ]
* GH #965: Serializer also serialize content for DELETE.
(reported by Achim Adam)
[ BUG FIXES ]
* GH #959: hash randomization could cause .pl MIME to vary and test
to fail. (Olof Johansson)
* GH #961: fix bug in require_environment's logic. (reported by
sapphirecat)
[ DOCUMENTATION ]
* GH #962: Improvements of the Dancer::Test docs. (Tom Hukins)
Upstream changes:
1.3118 01.09.2013
[ ENHANCEMENTS ]
* GH #946: new 'require_environment' setting. (Jesse van Herk)
* GH #952: don't set defaults for Template subclasses for
Dancer::Template::TemplateToolkit. (Rick Myers)
* GH #945: add function 'template_or_serialize' to
Dancer::Serializer::Mutable. (Yanick Champoux)
[ BUG FIXES ]
* GH #655: clarify logger error message. (Yanick Champoux,
reported by Gabor Szabo)
* GH #951: fix quoting of TemplateToolkit start_tag/stop_tag.
(Rick Myers)
* GH #940: carry over the session when we forward().
(Yanick Champoux, reported by sciurius)
* GH #954: don't die on autoflush for older perls.
(Yanick Champoux, reported by metateck and David Golden)
* GH #950: Dancer::Test functions now populate REQUEST_URI.
(Yanick Champoux, reported by S枚ren Kornetzki)
[ DOCUMENTATION ]
* GH #942: simpilify the Apache deployment docs for cgi/fcgi.
(bug report by Scott Penrose)
[ MISC ]
* GH #949: fixes a few errors in the serializer testsuite.
(Franck Cuny)
Upstream changes:
1.3117 31.07.2013
[ ENHANCEMENTS ]
* GH #836: Provide more information when an engine fails to load.
(Yanick Champoux, reported by Daniel Perrett)
[ BUG FIXES ]
* GH #794: Upload data was not kept for forwarded requests.
(reported by William Wolf)
* GH #898: calling halt() doesn't discard set headers anymore.
(Yanick Champoux, reported by Nicolas Franck)
* GH #842: embedded 'prefix' now properly localized.
(Yanick Champoux, reported by Jashank Jeremy)
[ DOCUMENTATION ]
* GH #938: fix doc typos in Dancer::Serializer. (Fabrice Gabolde)
* GH #712: add all status codes known to Dancer to Dancer::HTTP.
(Yanick Champoux, reported by Brian J Miller)
* Add warning that 'forward' doesn't preserver the session. (Alberto Sim玫es)
* GH #941: minor correction to code snippets in documentation.
(Grzegorz Ro偶niecki)
* GH #929: add warning on the use of Corona as underlying web server.
(issue reported by berekuk)
* GH #943: remove mention to 'Dancer::Plugin::Validation',
clean 'dancer -a' sample output. (Grzegorz Ro偶niecki)
Update DEPENDS
Upstream changes:
1.3115 09.06.2013
[ BUG FIXES ]
* GH #605: pass'ed megasplat with no further routes cause 404, not 500.
(vlyon)
[ DOCUMENTATION ]
* GH #934: Added example of HAProxy deployment. (Anton Gerasimov)
[ MISC ]
* Tests now require Test::TCP v1.30+ (previous version had too short a
timeout and tests were failing). (Yanick Champoux)
1.3114 02.06.2013
[ ENHANCEMENTS ]
* GH #919: 'dancer' script exits with code 255 if application
name is invalid. (ppisar)
* GH #871: now recognize HTTP_X_FORWARDED_PROTO. (mlbarrow)
* GH #926: make messages from fatal warnings show up in the logs.
(Max Maischein)
* GH #930: speed improvement. (ichesnokov)
* GH #859: strip illegal characters from cookie name. (Colin Keith)
* GH #924: non-'/' apps behind proxies now possible using 'request-base'
header. (Mikolaj Kucharski)
[ BUG FIXES ]
* GH #724: app.pl obeys --confdir. (Yanick Champoux)
* GH #927: logging format using 'h' now play nicely if no header present.
(ironcamel)
[ DOCUMENTATION ]
* GH #922: Add example of request parameters. (Gabor Szabo)
* Add scheme line for ngnix config in D::Deployment.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
Upstream changes:
1.3110 06.10.2012
[ BUG FIXES ]
* GH #817, #823, #825: Removing Clone from core. Pure-perl environments
supported again (Sawyer X).
* GH #755, #819, #827, #828: HTTP::Headers accepted by dancer_response
(Roberto Patriarca, Dagfinn Ilmari Mannsåker, draxil, perlpong).
[ ENHANCEMENTS ]
* GH #826: The version of wallflower shipped with Dancer has been removed.
It was well out of date. BooK is now maintaining it as a more general
solution under the name App::Wallflower. (BooK)
* GH #834: Provide empty Headers object if not defined (Yanick Champoux).
* GH #840, #841: Dancer::Plugin::Ajax now has content_type (Lee Carmichael).
[ DOCUMENTATION ]
* GH #821: Pointing to new homepage (alfie).
* GH #822: Typos in documentation (Stefan Hornburg - racke).
* GH #824: Fix in Dancer/Session.pm (pdl).
* GH #830: Fix Github links to https:// (Olivier Mengué).
* GH #838: Error in Dancer::Plugin::Ajax Documentation (Lee Carmichael).
* GH #839: Typo (goblin).
Upstream changes:
1.3100 25.08.2012
[ BUG FIXES ]
* GH #816: Improve wording when failed to load engine. (Sawyer X)
* GH #817: Fix CODE reference uncloned using Clone::clone.
(David Previous, Sawyer X)
[ ENHANCEMENTS ]
* GH #755: HTTP::Headers accepted by dancer_response. (Roberto Patriarca)
[ DOCUMENTATION ]
* GH #818: Use "MyWeb::App" instead of "mywebapp" in examples. (pdl)
1.3099 11.08.2012
[ BUG FIXES ]
* GH #683: Fix uninitialized warnings. (Sawyer X)
* GH #700: Take into account the app name in route caching. (Perlover)
* GH #775: Clone variables for templates.
(Reported by Wanradt Koell, fixed by David Precious, Sawyer X)
* GH #776: get should be default to get/head even it's inside any.
(Fayland Lam)
* GH #788: Make sure ID key in sessions are clobbered. (kocoureasy)
* Fix uninitialized variables in config file path. (Sawyer X)
* GH #809: Require all necessarily modules in Dancer::Config.
(John Wittkoski)
[ ENHANCEMENTS ]
* GH #799: New test function: response_redirect_location_is. (Martin Schut)
* send_file now accepts an IO::Scalar. (David Precious)
* Clean up $VERSION. (Damien Krotkine)
[ DOCUMENTATION ]
* GH #784: Synopsis fix in Dancer::Error. (Alex C)
* Document session_domain in Dancer::Config. (David Precious)
* Pod fixes in abstract session. (David Precious)
* Synopsis fix in Dancer::Test. (Stefan Hornburg <Racke>)
1.3098 28.07.2012
[ ENHANCEMENTS ]
* New keyword 'plugin_args' exported by Dancer::Plugin to provide
a consistent way with Dancer 2 to obtain arguments from a plugin
keyword. (Alberto Sim.es).
* Add 'execute_hook' and deprecate 'execute_hooks' for homogeneity
with Dancer 2.
* send_file will do the right thing if given an IO::Scalar object
(David Precious, prompted by Ilya Chesnokov).
[ DOCUMENTATION ]
* Fix escaping on some docs (Stefan Hornburg @racke).
Upstream CHANGES:
1.3097 08.07.2012
[ ENHANCEMENTS ]
* New keywords 'register_hook' and 'execute_hooks' exported by Dancer::Plugin
for providing a consistent way with Dancer 2 on how to declare and run hooks
from within a plugin (Alexis Sukrieh, idea from David Precious).
1.3096 06.07.2012
** Codename: Chop Hooey // Neil Hooey **
[ ENHANCEMENTS ]
* Finally released, thanks to Neil Hooey bugging my sorry ass.
1.3095_02 03.07.2012
[ BUG FIXES ]
* fix exception tests in some cases (GH #734) (Damien Krotkine & katkad )
[ ENHANCEMENTS ]
* If YAML does not load, Dancer::Config now reports why (Ovid)
[ DOCUMENTATION ]
* Clarify serialization in introduction POD (Mark A. Stratman)
* Typo fix (Sam Kington)
1.3095_01 22.06.2012
[ BUG FIXES ]
* Don't assume returned references are blessed when considering
continuations (Neil Hooey, GH-778)
* Malformed/missing cookies caused warnings
(James Aitken/LoonyPandora, GH-782 and GH-783)
* Avoid potential crash in t/14_serializer/06_api.t if tmp dir is replaced
when %ENV gets cleared (Adam Kennedy)
* Properly initialize %callbacks to default empty hashref in _send_file if
not provided (Greg Mullen)
[ ENHANCEMENTS ]
* Add UTC timestamp options for logger_format (Alex C - perlpong).
* Tests can now run in parallel (Richard Sim.es).
* dancer_version keyword added (Damien "dams" Krotkine).
* New session_domain paramter allows you to set the domain of the default
session cookie (William Wolf)
[ DOCUMENTATION ]
* Update Ubic service example (Vyacheslav Matyukhin)
* Silly typo fixing (Paul Fenwick)
* Typo in Dancer::Test file upload example (Jonathan "Duke" Leto)
* UTF-8 fixes in POD (ambs)
1.3095 01.04.2012
[ BUG FIXES ]
* Small fix to skip tests when YAML is not available.
(Sawyer X)
[ ENHANCEMENTS ]
* Added 'info' log level for messages that should always go to the logs
but aren't really debug, warning or error messages (Ovid)
1.3094 31.03.2012
[ BUG FIXES ]
* GH #763: Fix exceptions in ajax routes clobbering layout (ilmari)
* GH #748 & GH 647: Don't force override environment from PLACK_ENV (jwittkoski)
* GH #762: fix param parsing lacking limit on split (leejo)
* GH #758: Fix Dancer::Test: make sure the request is properly converted to
a response. (Ovid)
* GH #729: Fix dancer exception composition, and message pattern application
(Damien Krotkine)
* GH #752: Exceptions raised in hooks were not propagated back to the route
code, but instead canceleld and replaced by a Dancer halt exception. That
was wrong. Now it is fixed, exceptions raised in hooks can be properly
caught in route code.
(Damien Krotkine)
* Be more flexible in single vs. mutliple values in key hiding.
(Sam Kington)
* Use isa() for checking relationships instead of ref() in Dancer::Test.
(Ovid)
[ ENHANCEMENTS ]
* Added 'strict_config' option to have the config return an object instead
of a hashref. (Ovid)
* GH #708: Added support for query strings in dancer_request (Jacob Rideout)
* It's possible for the user to set the environments directory using a new
environment variable (DANCER_ENVDIR) or using `set envdir => $path`
* Sort hash keys when serializing references in log messages (Ovid).
[ DOCUMENTATION ]
* Explain in POD that if there are multiple fields with the same name,
params('fieldname') returns an arrayref of them (alexrj).
* GH #750: Fix in Dancer::Deployment: appdir needs to be set before calling
load_app (Paul Johnson)
* Update 'before' hook document (David Cantrell).
1.3093 29.02.2012
[ BUG FIXES ]
* GH #738: Define exception type ::Core::Request, to avoid things blowing
up when Dancer::Request raises exceptions of that type
(David Precious, thanks to damog for reporting)
* GH #671: Fix Dancer::Plugin::Ajax with Plack::Builders.
(Activeg, Sawyer X)
* Auto-page feature cleanup and fixup. (David Precious)
* Remove uninitialized warnings. (Sawyer X, David Precious)
[ ENHANCEMENTS ]
* Winning release race to Catalyst (nice try rafl++!)
* Add exception type ::Core::Request. (David Precious)
* JSON decode from UTF8. (Sam Kington)
* Provide the method when a route crashes to help debug. (Sam Kington)
* More helpful log messages. (David Precious)
[ DOCUMENTATION ]
* Fix examples for multi-app deployment under Plack::Builder in deployment.
* Deployment docs. (c0bra)
* Update tutorial. (David Precious)
* Clean up EXPORTS. (David Precious)
* Keyword documentation fixups. (Kirk Kimmel)
* Clarify forward docs with better examples. (David Precious)
1.3092 27.01.2012
[ BUG FIXES ]
* Don't call isa() on unblessed refs in Dancer::Exception. (Sam Kington)
* Assume UTF-8 by default when serialising JSON. (Sam Kington)
* GH #725: If a cookie is set multiple times, last value wins.
(David Precious)
* More intuitive, backwards compatible appending of default template
extension. (GH #716, David Precious)
* Prevent recursion in censoring. (Yanick Champoux, Damien dams Krotkine)
* GH #734: More tests flexibility (Sawyer X, reported by @birdy-)
[ ENHANCEMENTS ]
* Return the current set prefix using prefix(). (Michal Wojciechowski)
* More intuitive appending of default template extension. Makes for cleaner
more DWIM code. (David Precious, reported by Nick Knutov)
* Allow any options to JSON serializer. (Lee Johnson)
* Support complex views with multiple document roots. (Pedro Melo)
[ DOCUMENTATION ]
* Document how to work with Dotcloud. (Oliver Gorwits)
* Clean ups and fix ups. (David Precious, Sawyer X, Michal Wojciechowski)
Changes from previous:
----------------------
1.3090 13.12.2011
** Codename: Hornburg of Hannover // Stefan Hornburg (racke) **
[ BUG FIXES ]
* GH #685: Set VERSION for Dancer::Plugin::Ajax.
(Sawyer X, Naveed Massjouni)
[ DOCUMENTATION ]
* GH #694: Typo fix. (Yanick Champoux)
* GH #698: Document further TT init options. (Dennis Lichtenthaeler)
* GH #709: Update POD documentation regarding hook. (Stefan Hornburg)
1.3089_01 26.11.2011
[ BUG FIXES ]
* Fix bug that made system() fail with -1 under Dancer (felixdo).
* Support for 'content_type' option on send_file when sending a
system wide file (Emmanuel Rodriguez).
* Support HTTP_X_FORWARDED_HOST in behing proxy (Ipaponov).
* Deserialize PATCH requests (Sam Kington).
* Encode log messages properly if charset UTF-8 is set (David Precious,
thanks to Penfold for the fix & MiklerGM for reporting).
[ ENHANCEMENTS ]
* Continuations-style exception system! (Damien Krotkine).
* The ability for dancer_response to send file contents for file uploads
as a scalar, instead of reading from file on disk (Squeeks).
[ DOCUMENTATION ]
* Clean up "plack_middlewares" example in docs (Richard Simões).
Changes from previous:
1.3080 25.10.2011
** Codename: Sawyer's Sugar Stream // Sawyer X **
[ ENHANCEMENTS ]
* No functional changes, just releasing as stable.
1.3079_05 02.10.2011
[ API CHANGES ]
* Deprecation of 'before', 'before_template' and 'after' in favor of hook
(Alberto Simões)
[ BUG FIXES ]
* Minor corrections (jamhed, felixdo)
* Log if a view and or a layout is not found (Alberto Simões, reported
by David Previous)
[ ENHANCEMENTS ]
* Add support for the HTTP 'PATCH' verb (David Precious)
1.3079_04 02.10.2011
[ ENHANCEMENTS ]
* PSGI handler code cleaned up (chromatic).
* Improved warning localizations (chromatic).
[ DOCUMENTATION ]
* Dancer::Plugins typos (Olof Johansson).
* PSGI handler documented (chromatic).
1.3079_03 10.09.2011
[ ENHANCEMENTS ]
* Support XML::Simple configuration for serializing/deserializing
(Alberto Simões)
* Hard deprecate lots of stuff (Alberto Simões)
[ BUG FIXES ]
* Don't clobber TT INCLUDE_PATH if the user set it specifically in the
config file - Issue 643 (David Precious, reported by meraxes)
* Don't require a space after semi-colon delimiting multiple name=value
cookie pairs - Issue 642 (David Precious, reported by travisbeck)
1.3079_02 28.08.2011
[ BUG FIXES ]
* Remove hard-coded version from 404.html and 500.html (Alberto Simões)
* Fix logging of UTF8-encoded strings (jamhed)
* Do not clean 'vars' during forward (Alberto Simões)
[ ENHANCEMENTS ]
* Add streaming support to send_file. (Sawyer X)
Changes are:
- 2 security fixes.
- Documentation improvements including tutorials.
- bugfixes
for complete list, look into CHANGES file contained in the distfile.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Collection.
Dancer is a web application framework designed to be as effortless
as possible for the developer, taking care of the boring bits as
easily as possible, yet staying out of your way and letting you get
on with writing your code.
Dancer aims to provide the simplest way for writing web applications,
and offers the flexibility to scale between a very simple lightweight
web service consisting of a few lines of code in a single file, all
the way up to a more complex fully-fledged web application with
session support, templates for views and layouts, etc.