Dancer2 0.205002 released; survey update

Dancer2 0.205002 has just been released and is on its way to your favorite CPAN mirror. Highlights include a number of documentation improvements (thank you, simbabque and ambs!) and the fixing of some lingering and pesky bugs (thanks to Nick Tonkin, Pierre Vigier, and our very own bigpresh, ambs, and veryrusty).

The full changelog is as follows:

0.205002  2017-10-17 16:08:25-05:00 America/Chicago

[ BUG FIXES ]
* GH #1362: Make cookies http_only by default (David Precious)
* GH #1366: Use proper shebang on dancer script and make EU::MM do the job
* GH #1373: Unset Dancer environment vars before testing (Alberto Simões)
* GH #1380: Consider class of error displayed when using show_errors
  (Nick Tonkin).
* GH #1383: Remove Deflater from default app skeleton (Pierre Vigier)
* GH #1385: Fix links inside the documentation (Alberto Simões)
* GH #1390: Honour no_server_tokens config in error responses (Russell
  @veryrusty Jenkins)

[ DOCUMENTATION ]
* GH #1285: Add "Default Template Variables" section to manual (simbabque)
* GH #1312: Fix docs for Dancer2::Core::Route->match, which takes a request
  object (simbabque).
* GH #1368: Don't allow XSS in tutorial (simbabque)
* GH #1383: Remove full URL on links to third party modules (Alberto Simoes)
* GH #1395: Customize TT behavior via subclassing (simbabque).

There’s two weeks left in the Dancer 2017 Survey! We have received close to 100 responses now, and are still looking for more. Your input is valuable in charting the future of Dancer. If you have yet to fill out the survey, there’s still time. Responses will be accepted until 11:59 PM on October 31st.

Until then, keep on Dancing!

Dancer 2017 Survey: Update

We are a week into the Dancer 2017 Survey, and we have received 77 responses to date. The Core Team has received a lot of great feedback from the community so far, and it has already resulted in some exciting new work, the most notable of which being the release of Dancer2::Plugin::Websocket by Yanick.

The Dancer Core would like to thank those of you who have taken the time to respond thus far, and would like to encourage those of you who have yet to respond to take a few minutes and ="https://docs.google.com/forms/d/e/1FAIpQLSeFcLEcAYujouTHUJ9tHdL7FILmHEoNCWU-q_ngerAdkc2x_g/v…

Dancer Survey 2017

On behalf of the Dancer Core Team, I would like to announce the availability of the Perl Dancer 2017 Survey. As Dancer 2 has become stable and matured, the Core Team is sometimes left to wonder what our community wants from us next, as it is the greatest deciding factor in focusing our efforts. What better way to answer that question than to survey you, our users, for what you like, don’t like, and what you want to see?

And so we would like to ask you to share your thoughts and feelings about Dancer2, the infrastructure, and its community. Whether you are a new user or a former user…

Dancer2 0.205001 improves documentation and internals

The Dancer Core team has just released Dancer2 0.205001. This release primarily fixes some documentation issues with a couple of notable exceptions:

  • If HTTP::XSCookies is installed, Dancer2 will check at install time to see if the correct version is installed (Peter Mottram)

  • Dancer2 is now tested by Travis CI on Perl versions 5.22, 5.24, and 5.26, as well as Appveyor (Dave Jacoby)

  • All reference checking under the hood is handled by Ref::Util (Mickey Nasriachi)

We have several new contributors this release. Thanks to Dave Jacoby, Abdullah Diab, Glenn Fowler, and Jonathan Cast for your first patches to Dancer2!

The full changelog follows:

0.205001  2017-07-11 08:03:21-05:00 America/Chicago

[ BUG FIXES ]
* GH #1332: Add check for old version of HTTP::XSCookies (Peter Mottram -
  SysPete)
* GH #1336: Fix warnings on 5.10 and below. (Sawyer X)
* GH #1347: Add Perl versions 5.22-5.26 and appveyor to Travis-CI
  configuration (Dave Jacoby)

[ ENHANCEMENTS ]
* GH #1281: Use Ref::Util in Core for all reference checks (Mickey 
  Nasriachi)
* GH #1338: Add message explaining how to run newly-created application
  (Jonathan Cast)

[ DOCUMENTATION ]
* GH #1334: Fix prefix example in Cookbook (Abdullah Diab)
* GH #1335: Add missing word in request->host docs (Glenn Fowler)
* GH #1337: Fix link in SEE ALSO section of Dancer2::Core::Types (Stefan
  Hornburg - Racke)
* GH #1341: Clarify plugin documentation (Stefan Hornburg - Racke)
* GH #1345, #1351, #1356: Fix password check code example in tutorial
  (Jonathan Cast)
* GH #1355: Fix typo (Gregor Herrmann)

You can find us on irc.perl.org at #dancer or the mailing list with any questions. Should you find any problems, please report them on Github.

Happy Dancing! Jason A. Crome / CromeDome

Dancer2 0.205000 improves application speed, deprecates request->dispatch_path

Dancer2 0.205000 is on it’s way to CPAN, and brings with it a number of bug fixes, documentation improvements, and enhancements. The changes with the most potential impact to your existing applications include:

  • Migrating from MooX::Types to Type::Tiny. This will improve the speed of any Dancer2 application automatically.

  • Deprecating request->dispatch_path. This was originally introduced to fix a buggy request->path implementation; fixing request->path caused dispatch_path to incorrectly fail a route match when SCRIPT_NAME was also a prefix of the PATH_INFO. request->path now functions as intended, and is the preferred method of dispatch. request->dispatch_path will throw a warning if used, and will call request->path instead. The method will be removed entirely two releases from now.

  • A new method is being added to Dancer2 applications, prepare_app(). This method will eventually get called automatically when to_app() is invoked. In preparation of this, any application that may already contain a prepare_app() method will complain - loudly - that implementation of this method is coming. Expect to see the final implementation of prepare_app() two releases from now.

Finally, this release saw a large number of community contributions, especially from first-time contributors. The Dancer Core Team is extremely appreciative of the efforts by its users - thanks so much for making Dancer an even better framework!

The full changelog is as follows:

0.205000  2017-03-10 15:37:52-06:00 America/Chicago

[ BUG FIXES ]
* GH #1325: Support multi-value cookies when using HTTP::XSCookies.
  (James Raspass)
* GH #1303: Read configuration options when send_as() creates a new 
  serializer (Paul Williams)
* GH #1290: Properly check buffer length in _read_to_end() (Marketa 
  Wachtlova)
* GH #1322: Deprecate broken request->dispatch_path in favor of 
  request->path. Warn the developer of the deprecation (Russell 
  @veryrusty Jenkins).

[ ENHANCEMENTS ]
* GH #1326: Speed up by using Type::Tiny, again. (Pete SysPete Mottram)
* GH #1318: Add support for the SameSite cookie attribute. (James Raspass)
* GH #1283: Skeleton now provides an example of setting the appdir.
  (Jason Lewis)
* GH #1315: Adjust dist.ini to set "build_requires" for 
  ExtUtils::MakeMaker. (Atoomic)
* GH #1331: Preliminary prepare_app() work (Sawyer X)

[ DOCUMENTATION ]
* GH #1324: Fix broken link to send_file. (Fabrice Gabolde)
* GH #1311: Typo and link fixes. (Breno G. de Oliveira - @garu)
* GH #1310: Document query string parameters in uri_for. (Michael J South)
* GH #1329: Remove dead code from file upload example (Stefan Hornburg - 
  Racke)
* GH #1256: Additions to migration manual (Daniel Perrett)
* GH #1330: Add middleware examples to scaffolder (David - sbts)

Happy Dancing!