Dancer2 0.400000 Released

Dancer2 0.400000 has been released, and is on its way to CPAN.

We realize that some of you might be curious as to the large version bump. There are a couple of reasons for this: - Modules we depend on bumped their minimum Perl version to 5.12, requiring us to follow suit. - As of 2022, Dancer2 has an official deprecation policy. We are implementing this policy effective with this release, and it will help shape and guide future development. - We’ve officially marked a lot of outdated and unused API as being deprecated.

With that, the following APIs, methods, etc. are now officially deprecated:

  • Dancer2::Test
  • request->dispatch_path
  • push_header
  • header
  • headers
  • context
  • Named placeholders: splat and capture

In plugins:

  • plugin_setting
  • dancer_app
  • request
  • var
  • hook

To discuss any of these, you can find issue for each of the above here.

We realize some users may be frustrated by the minimum version bump to 5.12. This was not a decision we arrived at lightly. Maintaining backwards compatability to Perl 5.8 requires resources we lack; resources we do have are better spent on work that advances the web framework for everyone. If you’re affected by this and would like to discuss, please reach out to the Dancer Core Team.

All changes in this release:

0.400000  2022-03-13 22:16:13-04:00 America/New_York

[ BUG FIXES ]
* PR #1634: Fix CI push setting to run tests on branches with / in the
  name (Stefan Hornburg - Racke)
* PR #1641: Fix uninitialized warnings from parsing routes with mixed
  regex/splats (Russell @veryrusty Jenkins)

[ ENHANCEMENTS ]
* PR #1627: Set minimum Perl to 5.10.1 (Peter Mottram - SysPete)
* PR #1643: Set minimum Perl to 5.12.5 (Jason A. Crome)

[ DOCUMENTATION ]
* PR #1633: Fix YAML example in the tutorial (Tina Müller)
* PR #1644: Add deprecation policy to docs; link git guide (Jason A.
  Crome)

This release would not have been possible without help and support from the Dancer Core Team, specifically Sawyer, Yanick, veryrusty, SysPete, Racke, and bigpresh; it also doesn’t happen without GeekRuthie cheering this on down the stretch. To all of of you that took the time to contribute to our deprecation policy, submit a patch, report a bug… thank you. I am truly grateful to each and every one of you for helping to make this release happen.

Happy Dancing!

Jason / CromeDome

Leave a comment

About Jason A. Crome

user-pic Dancer developer, pilot, and hockey player.