Dancer
view release on metacpan or search on metacpan
[ENHANCEMENTS]
- environment configs are now merged with the global config, versus the
previous behavior that was overriding the whole config segments.
(GH#1016, Yanick Champoux)
- Dancer::Handler::Debug now accepts env variables from the command-line.
(GH#1056, Yanick Champoux)
- Accessing values abstracted as methods in Dancer::Session. (GH#1000,
John Wittkoski)
1.3126 2014-07-14
[BUG FIXES]
- Bunch of files were not in the MANIFEST.
1.3125 2014-07-12
[DOCUMENTATION]
- Improve the wording of the params() section in Dancer. (GH#1025, Warren
Young)
- Explain how to access config in Dancer::Config's POD. (GH#1026, Gabor
Szabo)
- Cookbook typo fix. (GH#1031, Florian Sojer)
[ENHANCEMENT]
- Skip bad cookie definitions. (GH#1036, Manuel Weiss)
- 'dancer' script warns and die if trying to create an app with the same
name of an existing module. (GH#1038, Racke)
- In Dancer::Logger::Abstract, default host name to '-' if not available.
(GH#1029, John Wittkoski)
- Add Dancer::Serializer::JSONP. (GH#1035, David Zurborg)
1.3124 2014-05-09
[BUG FIXES]
- Remove print statement in Dancer::ModuleLoad::require. (GH#1021, John
Wittkoski)
- Test was failing if JSON module was absent.
(GH#1022, Yanick Champoux)
- Allow for routes evaluating to false ('0', '', etc). (GH#1020, Yanick
Champoux)
[DOCUMENTATION]
- Specify defaults in POD. (GH#1023, isync)
- Fix doc for params(). (GH#1025, reported by Warren Young)
[ENHANCEMENTS]
- Also check X-Forwarded-Proto. (GH#1015, Andy Jones)
- Update bundle jQuery to v1.11.0. (GH#1018, Michal Wojciechowski)
- Add session support to the skeleton config. (GH#1008. Gabor Szabo)
[MISC]
- Update mailing list url in README. (GH#1017, Racke)
- Markdownify the README. (GH#986, Chris Seymour)
1.3123 2014-04-12
[BUG FIXES]
- Test was skipping wrong number of tests if JSON was absent.
1.3122 2014-04-10
[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)
[DOCUMENTATION]
- GH #995: Documentation improvements. (Colin Kuskie)
[MISC]
- Unused function 'path_no_verify' removed. (GH#998, reported by
mjemmeson)
1.3121 2014-02-02
[DOCUMENTATION]
- GH #983: Correction of various typos. (Akash Ayare)
- GH #981: Add synopsis to Dancer::Request::Upload. (smashz)
- GH #985: Change mentions of 'PerlHandler' to 'PerlResponseHandler'
(Xaerxess)
[ENHANCEMENTS]
- GH #994: change heuristic so that
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' is
not recognized as text. (Skeeve)
- GH #987: get_current_session() now accepts option 'no_update'. (Lee
Carmichael)
1.3120 2013-12-24
[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)
[ENHANCEMENTS]
- GH #974: Make plugins play nicely with mro 'c3'. (Fabrice Gabolde)
1.3119 2013-10-26
[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)
- GH #970: Small documentation edit. (Matthew Horsfall)
[ENHANCEMENTS]
- GH #965: Serializer also serialize content for DELETE. (reported by
Achim Adam)
1.3118 2013-09-01
[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)
1.3029_03 2011-04-10
[BUG FIXES]
- Dancer::Session::Cookie 0.14 is required for dependency test.
- Only test for undef serializer if we have the default (JSON) available.
(Sawyer X)
[ENHANCEMENTS]
- Test before_template & auto_page.
1.3029_02 2011-04-08
[BUG FIXES]
- Better way to initialize the logdir in Dancer::Logger::File. Works now
cleanly if the appdir is not writable but the logdir exist and is
writable. (Alberto Simões)
- fix warnings in t/03_route_handler/28_plack_mount.t. (Franck Cuny)
[DOCUMENTATION]
- POD fix. (Stefan Hornburg - Racke)
[ENHANCEMENTS]
- Support for error templates. If the setting "error_template" is set, it
is used when building an error page instead of using the default
template. Added the appropirate documentation as well. (Alberto Simões)
- Dancer::Test::dancer_response() returns a 404 response when no route
handler is found. This is consistent with what Dancer does internally.
(Alberto Simões)
- Dancer::Test provides a new helper for inspecting subsets of headers:
"response_headers_include". (Alberto Simões, Alexis Sukrieh)
- dancer_response now handles the rendering of static pages as well.
(Alberto Simões)
- Cleanup some tests. (Alberto Simões)
1.3029_01 2011-04-01
[BUG FIXES]
- Fix t/14_serializer/02_json.t to work with older JSON (relates to
GH#416) (Damien Krotkine)
- the Changelog test now supports Codenames. It suggests to add codenames
for table releaes as well (Damien Krotkine)
- GH #420: Extra content generated (Alberto Simões, Damien Krotkine)
- GH #409: If pass has no more matching routes, return 404. (Alberto
Simões)
[DOCUMENTATION]
- Add documentation to send_file optional argument (Alberto Simões)
- Fix plack_middlewares example in the cookbook (Michael G. Schwern)
- Extend the POD on plugin_setting to prevent a pitfall with plugin
modules more than 3 levels deep. (Stefan Hornburg)
- GH #400: Documenting the plack_middlewares_map. (Michael G. Schwern,
Sawyer X)
- GH #422: Documenting no need for caret when you have a prefix. (Sawyer
X)
[ENHANCEMENTS]
- GH #396: Test that Dancer::Session::Cookie isn't broken (Michael G.
Schwern)
- GH #399: Make sure session can have their name changed. (Michael G.
Schwern)
- Dancer::Test tests assumes 'GET' if their first argument is scalar.
(Yanick Champoux)
- send_file accepts optional content-type declaration, to override guessed
MIME type, e.g. send_file $filename, content_type => 'image/png'
(Alberto Simões, requested by Michael G Schwern)
- send_file accepts optional absolute option, to send an absolute path
(Alberto Simões)
- Have `dancer` cmd tool create MANIFEST and MANIFEST.SKIP. (Alberto
Simões)
- mime_type is deprecated; new keyword 'mime'; new config key
'default_mime_type'; (Alberto Simões and Michael G. Schwern)
- Recognize absolute redirects (Yanick Champoux)
1.3020 2011-03-21
- Codename: The Schwern Cometh // Michael G. Schwern **
[ENHANCEMENTS]
- No functional changes, just releasing as stable.
1.3019_02 2011-03-14
[BUG FIXES]
- GH #354: Tokens are not passed to layout if no params are passed to
template. (Damien Krotkine)
1.3019_01 2011-03-13
[BUG FIXES]
- GH #393: Reset vars for each new request. (Franck Cuny)
[ENHANCEMENTS]
- GH #391: Dancer::Logger::Note now exists. :) (Sawyer X)
- Porting documentation on WRAPPER to Dancer::Template::TemplateToolkit.
(Sawyer X)
- GH #387: Document views and appdir in Dancer::Config. (Michael G.
Schwern)
- Add a new symbol to exporter ':script'. (Franck Cuny)
- GH #397: Support cookie expire times like "+2h". (Michael G. Schwern)
1.3014_01 2011-03-10
[BUG FIXES]
- GH #373: Display valid path to the main app file in the welcome screen.
(Franck Cuny)
- GH #152, GH #170, GH #362: Log dir is not created when logger is not set
to 'file', and setting log_path works as expected. (Franck Cuny)
- GH #308: Use request's uri_base. (Sawyer X)
- GH #378: Some routes with prefix where wrongly matched. (Franck Cuny)
[DOCUMENTATION]
- Dancing on command line. (Maurice Mengel)
- Improve Dancer::Cookbook. (Maurice Mengel)
[ENHANCEMENTS]
- GH #351: Explicitly exclude some keywords when important Dancer's
syntax, add modes that also excludes some keywords (:moose, :tests).
(Sawyer X, Naveed Massjouni, Michael G. Schwern, Franck Cuny)
- All logging options accept any number of variables. (Sawyer X)
- GH #297: All logging options can automatically serialize references.
(Sawyer X)
- Add Dancer::Logger::Capture to capture and read log messages during
testing. (Michael G. Schwern)
- Dancer::Cookie make secure (https only) cookies. It also adds the
"session_secure" setting instructing sessions to use secure cookies.
(Michael G. Schwern)
- Adding uri_base to Request.pm. (Sawyer X)
- Make Dancer::Test use the capture logger (Michael G. Schwern)
1.3014 2011-03-04
[BUG FIXES]
- YAML Session UTF-8 Fix (Roman Galeev)
- Tests and documentations for Dancer::Request::Upload + type method in
Dancer::Request::Upload (Michael G. Schwern)
- Dancer::Test::dancer_response handles correctly its 'body' parameter We
can now pass a hash ref as the body of dancer_response, it will
automatically be serialized as an URL-encoded string with the
appropriate content_type header. (Alexis Sukrieh)
1.3013 2011-03-01
[ENHANCEMENTS]
- Fix test suite: the changelog test is skipped if not under
RELEASE_TESTING environment.
1.3012 2011-03-01
[BUG FIXES]
- Fix cookies disappearing when more than one is set. Complete refactoring
of the cookie handling. (Chris Andrews, Geistteufel)
- Properly set the settings in Dancer::Test only after config loading.
(Sawyer X)
- Fix possible loss of last directory in path. (Sawyer X)
- No need for default upper directory in Dancer::Test. This fixes an issue
raised on the list about the default scaffolded test failing. (Sawyer X)
- Fix anti UNC substitution under Cygwin (Rowan Thorpe)
- GH#299 Return appropriate headers on HEAD request (content-type, ...)
(franck cuny)
- Use the dancer_version variable in scaffolded app. (Sawyer X, reported
by Brian E. Lozier)
[DOCUMENTATION]
- Add missing methods (e.g. "referer"), sorting, clean up. (Flavio
Poletti)
- Complete working example of deployment under Nginx/Starman in
Deployment.pod (Geistteufel)
[ENHANCEMENTS]
- Fix manifest (Damien Krotkine)
- Various packaging, changelog and test fixes (Damien Krotkine)
- Add a new accessor to Dancer::Request: ->uri. (it's an alias to
->request_uri) (Franck Cuny)
- Removes Dancer::Helpers, refactor Dancer.pm accordingly. (Franck Cuny)
- Introduce changelog test of hell. (Damien Krotkine)
- Add Dancer::Logger::Null. (Sawyer X)
- Add Dancer::Logger::Diag. (Sawyer X)
- Refactor Dancer::Response (franck cuny)
- Allow to use a subclass of Template::Toolkit. (Michael G. Schwern)
- Dancer::Test now uses Dancer::Logger::Null instead of ::File. (Sawyer X)
- Add Dancer::Deprecation. (handle deprecation messages) (franck cuny)
- Introduce new timestamp format in logger (%T) (Roman Galeev)
- Refactoring of the forward method (Alex Kalderimis)
- Refactoring of internal objects in the core, use more of
Dancer::Object. Introduce attributes_defaults (Damien Krotkine)
- Add a perl_version variable to all templates, used in scaffolded app.
(Sawyer X, reported by Brian E. Lozier)
- Better output when template file is missing. (Brian E. Lozier, Sawyer X)
1.3011 2011 .02.14
[BUG FIXES]
- Set binmode in write_data_to_file() to fix image corruption in Windows
(Rowan Thorpe)
- GH#319, GH#278, GH#276, GH#217: Fix file issues on Cygwin and Win32
platforms (Rowan Thorpe)
- GH#322: Detect errors in scaffolded dispatchers (Alberto Simões)
- Fix tests so that they don't fail if JSON is not installed (Damien
Krotkine)
[DOCUMENTATION]
- Small spaces fix (Alberto Simões).
1.3010_01 2011 .02.12
[BUG FIXES]
- GH#136: fix again Mime::Type issues in preforking environment (Chris
Andrews) * GH#220: fix for path issues under MacOS X and Windows
platforms. A new function is provided by Dancer::FileUtils:
path_no_verify() (Rowan Thorpe) * Fix for infinite loops detection in
before filters (Flavio Poletti)
[DOCUMENTATION]
- Fix a typo in Dancer::Request::Upload's POD (Rowan Thorpe)
- Better documentation for the before filters, explanations about the
potential infinite loops that can happen when using before filters (and
what Dancer does in that case). (Flavio Poletti)
[ENHANCEMENTS]
- Better detection of the application layout under non-UNIX platforms.
appropriate - automatically decode UTF-8 strings in params
- FIX scaffolded dispatchers (script/dancer) The PLACK_ENV variable is not
propagated by Apoache to the dispatchers (at least with our Deployment
examples) so the dispatchers aren't aware of the PSGI context if we
don't tell them explicitly. This patch forces the dispatchers in PSGI
mode.
- FIX (unknown bug) When a serializer is set and show_errors is true,
don't expose internal errors caught.
[Damien Krotkine]
- replace all die and warn with croak and carp
[Franck Cuny]
- Dancer::Test load D::Session::Simple
- rewrite how Dancer handle HTTP headers - no more Dancer::Headers - all
headers are HTTP::Headers object
[Mark Allen]
- Add a tutorial (Dancer::Tutorial)
- example application 'Dancr', provided in example/
[Naveen]
- add --version to the dancer CLI
- changed the URI fetched by the dancer script to check Dancer's version
[Philippe Bruhat]
- use Pod::Usage
1.1999_01 2010-10-14
[Adam J. Foxson]
- FIX for issue GH#136: "readline() on closed filehandle DATA" error that
appears when running the app with Starman
[Alexis Sukrieh]
- FIX for utf8 content in views Dancer now handles correctly templates
with non-ASCII characters in views. All you have to do is to set the
"charset" setting in your config. Your content response will then be
encoded appropriately on-the-fly by Dancer.
- Scaffolded app sets the charset to "utf8" by default.
- Better design for the scaffolded app (logo, favicon and background image
added)
- Environment info available on scaffolded app
- LWP is used by the dancer helper to download files
- jQuery 1.4.2 (minified) is included in the scaffolded app
- default layout uses <% request.base %> in order to support mounted apps
(Thanks to Naveed Massjouni and Franck Cuny for the concept/idea).
- The main.tt layout sources jQuery first from Google CDN and falls back
to the local minified version if on offline mode.
- New default token provided to the "template" helper: dancer_version
[Damien Krotkine]
- FIX for issue GH#115 documentation about compression in
Dancer::Deployment
[David Precious]
- Make the 'layout' param to the template keyword work as you'd expect and
allow you to set a custom layout to use, e.g.: template 'templatename',
{}, { layout => 'layoutname' };
[Franck Cuny]
- FIX for issue GH#129 don't add multiple content-type to headers
- fix broken tests (they were testing incorrect content type)
[Naveed Massjouni]
- Dancer::Test function get_response is renamed to dancer_response
get_response still works but is deprecated
- dispatch.f?cgi scripts use FindBin to resolve their location. FIX a bug
when using symlinks.
[Philippe Bruhat]
- Make sure a plugin refuse to register a keyword twice
[Sawyer X]
- Lots of documentation updates
- Dancer now logs caught crashes in rendering (easier to debug Ajax
routes)
[Sebastian de Castelberg]
- The dancer helper is able to download files via a transparent proxy
(thanks to LWP).
1.1904 2011-01-27
[Sawyer X, Franck Cuny]
- SAX, not Sax.
- Check for XML::Parser or XML::SAX in test as well.
1.1903 2011-01-27
[Sawyer X, Franck Cuny]
- XML::Simple needs either XML::SAX or XML::Parser. (fixed test fails from
Dancer::Serializer::XML)
1.1902 2010-11-02
[Adam J. Foxson]
- Addresses issue #136: "readline() on closed filehandle DATA"
1.1901 2010-09-24
[Alexis Sukrieh]
- load_plugin is DEPRECATED; 'use' should be used instead to load a
plugin. This is fixes the major issue with plugins about symbol exports
that didn't work well (issue #101).
- All paths built in a scaffolded application are dynamic, it's now
possible to move a scaffolded application after it's been generated.
(fixes issues #88,
- The auto_reload feature is now disabled by default due to too many
unsolved issues (it works most of the time, but some race conditions are
still present) This feature is still being working on, but it's now
flagged "experimental").
- Default log level in development environment is now 'core' in order to
provide more information.
- New scaffolded application design. More neutral and with lots of
information for a beginner, and links to useful material. Based on the
Ruby on Rails start page (kudos to the Rails team,
http://www.rubyonrails.org).
[Boris Shomodjvarac]
- Support for a clean way for Template engines to define their template
file extensions (issue #126).
[Franck Cuny]
- implemented GH#120: - methods {to,from}_{xml,json,yaml} accept more than
one arguments. The first argument is the data to transform. All the
( run in 0.633 second using v1.01-cache-2.11-cpan-524268b4103 )