The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.204000 - 2016-10-10

  • BUG FIXES
    • GH #1255: Fix hook overriding in plugin. (Yves Orton)
    • GH #1191: Named capture prior to dispatch breaks dispatch. (Yves Orton)
    • GH #1235: Clean up descriptions for HTTP codes 303 and 305. (Yanick Champoux)
    • Remove duplicate (and errornous) 451 error message. (Sawyer X)
    • GH #1116, #1245: Ensure cached Hash::MultiValue parameters are cloned into the new request. (Russell @veryrusty Jenkins)
  • ENHANCEMENTS
    • You can now provide a $EVAL_SHIM to Dancer2::Core::App in order to have custom code run on eval{} calls. One example of this is to handle proper counting of stack frames when you want to unwind/unroll the stack for custom error reporting. (Yves Orton)
    • Added a cpanfile to allow installing local dependencies with carton. (Mickey Nasriachi)
    • GH #1260: Specify optional charset to send_file and send_as (Russell @veryrusty Jenkins)
    • PR #1162: Change skeleton template tags so skeletons can generate applications that use Template Toolkit default tags (Jason Lewis)
    • GH #1149: Fix config loading inconsistencies, support local config files in addition to standard Dancer conf files (Jonathan Scott Duff)
    • PR #1269: Stash decoded body_parameters separately from those in Plack::Request (Russell @veryrusty Jenkins)
    • GH #1253: Static middleware should send 304 Not Modified to enable intermediate level caching. (Russell @veryrusty Jenkins)
  • DOCUMENTATION
    • GH #608: Remove extra general COPYRIGHT notice in Tutorial. (Sawyer X)
    • Simplify upload example. (Alberto Simões, Sawyer X)

Documentation

Configure Dancer2 to suit your needs
Example-driven quick-start to the Dancer2 web framework
A gentle introduction to Dancer2
common ways to put your Dancer app into use
Migrating from Dancer to Dancer2
Writing tests for Dancer2
Recommended Dancer2 plugins
Dancer core and community policy and standards of conduct
An example to get you dancing
Dancer2 command line interface

Modules

Lightweight yet powerful web application framework
Dancer2 cli application
create new Dancer2 application
Core libraries for Dancer2 2.0
encapsulation of Dancer2 packages
A cookie representing class
Dancer2's Domain Specific Language (DSL)
Class for dispatching request to the appropriate route handler
Class representing fatal errors
Instantiate components by type and name
helper for rendering HTTP status codes for Dancer2
Manipulate hooks with Dancer2
Class to ease manipulation of MIME types
Interface for accessing incoming requests
Class representing file upload requests
Response object for Dancer2
Config role for Dancer2 core objects
Role for engines
Role for Handlers
Role for application location "guessing"
Role for hookable objects
Role for logger engines
Role for Serializer engines
Role for session factories
Role for file-based session factories
Role to provide commonly used responses
Role for template engines
Dancer2's route handler
Top-layer class to start a dancer app
class to represent any session object
class to handle common helpers for time manipulations
Moo types for Dancer2 core.
File utility helpers
Class for handling the AutoPage feature
class for handling file content rendering
Capture dancer logs
a place to store captured Dancer2 logs
Console logger
Test::More diag() logging engine for Dancer2
file-based logging engine for Dancer2
Test::More note() logging engine for Dancer2
Blackhole-like silent logging engine for Dancer2
base class for Dancer2 plugins
Serializer for handling Dumper data
Serializer for handling JSON data
Serialize and deserialize content based on HTTP header
Serializer for handling YAML data
in-memory session backend for Dancer2
YAML-file-based session backend for Dancer2
Dancer2 own implementation of Template::Tiny
Pure Perl 5 template engine for Dancer2
Template toolkit engine for Dancer2
Template::Tiny engine for Dancer2
Useful routines for testing Dancer2 apps