Dancer 1.1808
[ Alexis Sukrieh ]
* FIX test failures
- t/08_session/07_session_expires.t
- t/08_session/07_session_expires.t
Dancer 1.1807
[ Sawyer X ]
* Fix for RT #60403: removing Test::Exception requirement
[ Alexis Sukrieh ]
* Global rewrite of Dancer's core to allow support for
sub-application, better route resolution and a better design.
* Support for mountable applications via "load_app".
Mounted applications can have their own settings registry and
can be mounted under a given prefix.
[ Franck Cuny ]
* Support for new hooks:
- after: to allow response post-processing
- before_template: to allow defaut tokens to be given at anytime
to the template function.
* Fix and test for bug RT#57829
(Custom response headers lost when using JSON serializer)
* FIX PSGI compatibility layer (request->path_info is used when appropriate
instead of request->path)
* FIX for GH#100
When loading a module, it's possible to require a minimal
version.
* New option "ajax" for route handlers.
* Fix a bug in ajax route when processing the route resolution
(when a route is defined with options, it's pushed in the
beggining of the route handler tree).
[ jamhed ]
* Support for new setting "session_expire" in order to allow
session cookies to expire before the browser is closed.
[ Naveed Massjouni ]
* Dancer::Test can now test requests with a body
Dancer 1.1806_02
[James Aitken]
* fix issues GH #84 #86 and #87 (failing tests on < 5.10 due to regex with named captures)
[franck cuny]
* update cookbook
[François Charlier]
* fix for GH#76 and GH#88
[David Precious]
* Add Dancer::Plugins POD, describing useful plugins
* Extend sessions & logging in entry in cookbook
Dancer 1.1806_01
[ sebastian de castelberg ]
* Support for path_info() in Dancer::Request so it's possible to
mount an application under a directory.
[ Alexis Sukrieh ]
* Fix for RT#56239
logger calls are better traced
* Fix for GH#72
New keyword 'load_plugin' for loading a plugin in the current namespace.
Plugins can be used anywhere thanks to that method.
* Fix for issue #77
Passing and caching works well together again.
* Applied miyagawa's patch for droping the app.psgi file. Refactoring of
Dancer::Handler::PSGI and friends.
* Applied LoonyPandora's patch for checking Dancer's VERSION when running
script/dancer. Changed it a bit so it can check against CPAN rather than
GitHub.
* Documentation update: r('') is now DEPRECATED, the method triggers a warning
when called and will be removed in the next stable release (1.2).
* Transparent wrapping of Plack middlewares in Dancer's configuration.
It's possible to enable/disable middlewares right from Dancer's config files.
Thanks to Tatsuiko Miyagawa and Franck Cuny for their help.
[jbarratt]
* Dancer::Serializer::JSON supports 'allow_blessed' and 'convert_blessed'
options.
[ Marc Chantreux ]
* Support for regexp objects in route definition
* Support for named captures (keyword 'captures' added to Dancer's syntax).
Dancer 1.1805
[ Alexis Sukrieh ]
* Fix for RT#56239
logger calls are better traced
* Fix for GH#72
New keyword 'load_plugin' for loading a plugin in the current namespace.
Plugins can be used anywhere thanks to that method.
[ Minty ]
* Update Introduction pod with (required) -a dancer opt (Murray, 5 hours ago)
* Bump HTTP::Body dependency to 1.07 (Murray, 6 hours ago)
Dancer 1.804
[ sebastian de castelberg ]
* Fix priority in D::S::Mutable.
[ David Precious ]
* Fix test failures with old Plack versions (Issue 73).
* Don't surround content with <p> tags in layout.
* Add $ENV{REMOTE_ADDR} in core log messages
[ SawyerX ]
* Fix issue #75, reported by nanis.
perl -MDancer -e "print $Dancer::VERSION" now works as expected
[ Daniel Pittman ]
* FIX for issue #80
Make sure the tempfiles created during uploads are removed when the
request object dies.
[ Alexis Sukrieh ]
* FIX for bug RT#58355
Rewrite of Dancer::Template::Simple's parser, now more robust,
based on Perl's regexp engine.
* FIX a warning when remote_address is undefined
Dancer 1.1803
[ Alexis Sukrieh ]
* Fix for issue #69
The issue was resolved in 1.1801, this time, the fix is working as
expected.
[ Sawyer X ]
* Fix for RT #57715, require Test::More 0.88 and up.
Dancer 1.1802
[ Sawyer X ]
* Fix RT #57158 (route_cache does not work with multiple parameters)
Cache revealed a small design overlook of not cloning a route before
returning it to the user, making multiple parameters disabled.
(Thanks to Stéphane Alnet for reporting and adding a test for it!)
Dancer 1.1801
[ Alexis Sukrieh ]
* FIX issue #69
Error are trapped even if occuring from Dancer's source code.
auto_reload is set to false in scaffolded applications to
prevent errors if Module::Refresh is not installed.
Dancer 1.1800
[ Alexis Sukrieh ]
* merge of the devel branch into master, first stable release of
1.178_01 and 1.178_02
Dancer 1.178_02
[ Alexis Sukrieh ]
* Errors are caught in before filters
* halt can be given a Dancer::Response object rahter than plain text content
Dancer 1.178_01
[ Alexis Sukrieh ]
* New logger for sending log message to STDERR: Dancer::Logger::Console
Thanks to Gabor Szabo for the idea.
* Logger engines don't have anymore to implement _format(), they can use
$self->format_message instead.
* New log level: "core" for letting Dancer's core express itself on crucial
events.
That way, when the app config sets log to "core", any core messages is
sent to the logger, and the end-user can see which route is chosen for
each request received.
Thanks to Gabor Szabo for the idea.
* New class Dancer::Timer added so any logger engine can now show a timer
string.
* Scaffolded applications are now built like a CPAN distribution, with a
Makefile.PL
and test scripts (thanks to Gabor Szabo for the idea).
* Added Dancer::Test to provide helpers for writing test script for Dancer
applications
* FIX bug when returning a void context after redirecting a route.
Thanks to Juan J. Martínez for the report.
* Add support for request headers in Dancer::Request
* Add support for halt() in Dancer's syntax.
[ Alex Kapranof ]
* Support for on-the-fly charset encoding when the setting is set and a
content is sent by Dancer and needs to be encoded.
The response Content-Type is updated accordingly as well.
[ Sawyer X ]
* Adding "import_warnings" settings. On by default, but allows to disable
auto-import of "warnings" pragma. Reported by Adam Kennedy.
Dnacer 1.176
* Bringing 1.175_01 into production.
Dancer 1.175_01 (Developer release)
[ Sawyer X ]
* Documentation for Dancer::FileUtils.
* Documentation for Dancer::Cookie.
* Fixing PNG bug on IE (reported by Adam Kennedy - thank you).
Dancer 1.175
[ Sawyer X ]
* RT #56395 reported by Jonathan Yu on behalf of Debian Perl team.
* Documentation for Dancer::Error.
[ Alexis Sukrieh ]
* fixed t/15_plugins/02_config.t when YAML is not installed
Dancer 1.174
[ Gabor Szabo ]
* Docs fixes, typo in warning.
* TestUtils.pm is now in "t/lib".
[ David Precious ]
* Support semi-colons as name=value pair separators when parsing
querystring. Satisfies feature request/issue 59.
Thanks to deepakg for requesting this feature.
[ Sawyer X ]
* RT #56381 reported by Jonathan Yu on behalf of Debian Perl team.
(Adding LICENSE file)
Dancer 1.173_01 (Developer release)
[ Franck Cuny ]
* Doc fixes.
(Thanks to poisonbit)
* Plugins configuration
* Cleaning up tests
[ Alexis Sukrieh ]
* New serializer: Dumper for easily output dumped variable
in text/plain.
* Before filters can now access route params
* Support for '.' as a token separator in params parsing
* The standalone server respect the 'access_log' setting,
the starting banner is printed on STDERR only if the
setting is set to true.
[ Sawyer X ]
* Fixed Windows PSGI.URL_SCHEME bug, causing tests to fail
(Thanks to ADAMK for reporting)
Dancer 1.173
[ Alexis Sukrieh ]
* Documenting set_cookie in Dancer.pm.
[ Franck Cuny ]
* Cleaning up serializer test.
[ François Charlier ]
* Documenting layout disabling.
[ Sawyer X ]
* Fix a few failing tests because of compilation errors.
* Add init{} subs for all serializers.
* Dancer::Engine documentation
[ David Precious ]
* Fix issue 52 - creating invalid cookie expiration dates.
Thanks to Juanjo (reidrac) for reporting!
Dancer 1.172
[ Alexis Sukrieh ]
* Plugin support.
[ Franck Cuny ]
* Prevent usage of reserved Dancer keywords in plugins.
* Tests cleanups.
[ Robert Olson ]
* Fixing docs to clarify layouts can use variables too.
Dancer 1.171
[ Alexis Sukrieh ]
* Removed bogus TestApp/ directory
Dancer 1.170
[ David Precious ]
* Fixed bug with status keyword not converting aliases (e.g. 'not_found') to
real usable status lines with valid HTTP codes.
Thanks to P Kishor for reporting this on the dancer-users mailing list!
* Accept end_tag as a synonym for stop_tag when configuring TemplateToolkit.
Thanks to James Ronan for bringing this up.
[ Sawyer X]
* Route::Cache store_route = store_path, beefed up docs
* Changed names of limits in settings
* Added documentation for it in Dancer.pm
* More documentation about Module::Refresh dependency
(closes bug #48)
* uri_for now accepts a boolean for not escaping URIs,
and redirect calls uri_for with that boolean.
(closes: bug #47)
[ Alexis Sukrieh ]
* Query string params are not dropped anymore when their value is 0. thanks
to "Squeeks" for the report.
(closes: bug #49)
* Support for file uploads
The Dancer::Request class provides a common interface to access file
uploads. Syntactic sugar has been added to Dancer's as well
(keyword 'upload').
(closes whish #36)
[ Franck Cuny ]
* Support for automatic serialization/deserialization
Dancer is now able to serialize route handler's response in various
format (JSON, YAML, XML); and can also deserialize request body when
appropriate.
(closes: wish #29)
Dancer 1.160
[ David Precious ]
* Added session backend Dancer::Session::Simple
* Dump session contents on development error page, if session is in use
* Censor sensitive-looking information on development error page settings /
session dumps, to help avoid passwords / card details etc being leaked.
* Add deployment guide
[ Alexis Sukrieh ]
* Dancer helper propagates its perl executable into the generated
$appname.pl script (FIX for RT #54759).
* FIX for issue #34
No more warnings undeer Win32 for tests script that needs a tempdir
* FIX (unknown bug)
The standalone server now parses commandline options (was broken
since 1.140).
* FIX for issue #37
A new setting "confdir" is provided for making Dancer
read the application configuration files from an
alternate location.
* Core settings can be initialized via environment
variables, prefixed with "DANCER_" (e.g. "DANCER_DAEMON"
for the setting "daemon").
* Config and command-line arguments are parsed and loaded at import time,
rather than when the handler is initialized.
* Routes are compiled at startup instead of being compiled whenever a
request is handled. This can increase performances up to 50%.
* FIX Params are not polluted anymore by the 'splat' keyword when no capture
is needed by the pattern.
* New feature 'auto_page' (closes: #41)
Lets the user have automatic route resolution for
requests that match an existing template in the views dir. Thanks to
David Precious for the idea and his help.
[ Daniel Tasov ]
* Plack environment is propagated to Dancer if none specified.
[ Sawyer X ]
* Route Caching with size and path number limits: Dancer::Route::Cache.
* FIX for issue #39.
* Dancer::ModuleLoader documentation
* Cleaned Dancer::Template::Abstract docs
* Cleaner die in Dancer::Engine if can't find engine
* Added default route example in Dancer::Cookbook
Dancer 1.150
[ Alexis Sukrieh ]
* Refactored all core engines with Dancer::Engine
* Support for engine configuration via config files
* Each core template engine now uses start_tag/stop_tag from the
configuration instead of harcoding '<%' and '%>'.
* FIX for issue #34
Cookies can now be used when the application is ran under a Plack
server.
[ David Precious ]
* Lots of documentation cleaning and fixes.
* Make the session available to the views, if possible.
* Added Dancer::Cookbook to provide lots of concrete examples for
newcomers.
* Helper script `dancer' now provides a default favicon.ico in the
application public directory.
* FIX for issue #30
Added 'config' method to provide easy access to app config
[ Anirvan Chatterjee ]
* Various documentation typo fixes
[ Danijel Tasov ]
* FIX for issue #24
Dancer now depends on MIME::Types rather than using
File::MimeInfo::Simple which uses a fork().
[ Paul Driver ]
* Support for virtual location.
It's now possible to mount a Dancer app under a user-defined prefix.
[ Franck Cuny ]
* Test scripts cleanup:
+ Cleanup is performed in test scripts when necessary
(all temp files are removed at the end of the script).
+ FIX for issue #23
Test scripts that try to write logfiles set the appdir.
Dancer 1.140
* Dancer now depends on HTTP::Server::Simple::PSGI in
order to rely on a PSGI environement even when running
the app with the standalone server
(Thanks to Tatsuiko Miyagawa).
* Dancer::Request object enhancements:
+ Dancer::Request now provide an accesor to the raw body
of the request.
+ FIX for issue #13
The params helper now provides accessors to route
params, query string params and body params so the
user can chose from which source they want to access
params instead of dealing with a mixed structure.
+ Added accessors to referer and remote_address
* The Standalone server now uses the setting 'server' to
bind itself to the IP address given by the setting.
Default value is 0.0.0.0
Dancer 1.130
* Fix a memory leak that could occur between two
requests under mod_perl (Thanks to Nicolas Rennert for
the report and diagnosis).
* remove all optional modules from the core, they are now
shipped as separate CPAN distributions:
- Dancer::Template::MicroTemplate
- Dancer::Session::Cookie
- Dancer::Session::Memcached
- Dancer::Logger::LogHandler
- Dancer::Logger::Syslog
* support for the `header' keyword in Dancer's syntax.
The user is now able to alter response-headers in route
handlers.
* support for `prefix' keyword in Dancer's syntax.
A prefix can be set by the user before defining routes handlers.
All route defined then will be automatically prefixed accordingly.
Dancer 1.122
* Fix the test suite under Perl 5.8.x
* Security Fix: protection from CRLF injection in
response headers (thanks to Mark Stosberg for the report).
* Support for multi-valued params in GET/POST data (thanks to
Mark Stosberg for the report).
* Backward compatibility with old app.psgi files, don't die
when a request is initialized with a CGI::PSGI object.
Dancer 1.121
* Fix for POST data parsing (was broken in 1.120)
now Dancer depends on HTTP::Body for that.
Dancer 1.120
* ROADMAP updated
* Dancer is now compliant with Plack::Server::Apache2
* Remove the CGI.pm dependency, huge refactoring
* POD typo fixes (Naveed)
* Support for syntax-only importation (Sawyer X)
* Remove the example/ directory, useless and deprecated
* New logger engine: Log::Handler (franck cuny)
* New template engine Text::Microtemplate (franck cuny)
* Remove compilation-time warnings catching (issue #14)
Dancer 1.110
* Fix test script `t/11_logger/04_syslog.t'
* Fix test script `t/10_template/05_template_toolkit.t'
Dancer 1.100
* 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)
Dancer 1.000
* Support for Syslog logger (Dancer::Logger::Syslog)
* Basic template engine so Template is no more a hard deps.
* Memcache Session support (Dancer::Session::Memcache)
* YAML file-based session support (Dancer::Session::YAML)
* Lots of tests (more than 80% of the code is covered)
Dancer 0.9906
* move from File::MimeInfo to File::MimeInfo::Simple for
smooth run on Mac OSX and Win32 systems.
Dancer 0.9005
* Source code extract on error catching
* Support for configurable error handling
* New design for the starting app built with script/dancer
Dancer 0.9004
* Support for PSGI/Plack environment
* script/dancer helper script for bootstraping a new app
Dancer 0.9003
* Detect differently compilation-time warnings and runtime warnings
closes bug #48440 (Thanks to Enric Joffrion for the report, and to
Vincent Pit for the diagnosis)