<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Brilliant, great to hear Jason! Thanks to you and the team for
making this happen.<br>
<br>
Just a quick plug for the new hook "on_hook_exception". As the name
suggests, this can be used to better handle exceptions that happen
in hooks. Previously these could result in rendered errors such as
below, even with the server running in production mode (with
show_errors disabled):<br>
<br>
<code class="notranslate">Exception caught in
'core.app.after_request' filter: Hook error: Can't call method
"bar" on an undefined value at...<br>
</code><br>
The new hook can be used to completely change the final response
object.<br>
<br>
Andy<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 15/09/2025 22:59, Jason A. Crome
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:fecb946c-258c-4209-a939-4d5f501dc46b@app.fastmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<div>At long last - Dancer2 2.0.0!</div>
<div><br>
</div>
<div>I apologize it took longer than expected - open source
doesn't always move as fast as we'd like it to - but there's a
lot of great things in this release that make it worth the wait.</div>
<div><br>
</div>
<div>Head on over to Perl.com to check out the details. Here's a
quick summary of what's new:</div>
<div><br>
</div>
<div>- New documentation, courtesy of a grant from the Perl and
Raku Foundation</div>
<div>- Extendable config system, thanks to Mikko Koivunalho</div>
<div>- Removed <a class="moz-txt-link-freetext" href="Dancer2::Template::Simple">Dancer2::Template::Simple</a> from core Dancer2</div>
<div>- Retired our fork of <a class="moz-txt-link-freetext" href="Template::Tiny">Template::Tiny</a>, and integrated our
changes into the core distribution (thanks, @ether!)</div>
<div>- Configurable data/secrets censoring with <a class="moz-txt-link-freetext" href="Data::Censor">Data::Censor</a></div>
<div>- Logging of hooks as they are executed</div>
<div>- New hook: on_hook_exception</div>
<div>- CLI improvements:</div>
<div> - Changes that allow for scaffolding of other things
(plugins, etc.) in future Dancer2 releases</div>
<div> - Scaffolding of tutorial app</div>
<div><br>
</div>
<div>We're really excited for this release, and we hope you are
too!</div>
<div><br>
</div>
<div>Keep Dancing!</div>
<div>Jason/CromeDome and the Dancer Core Team</div>
<div><br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
dancer-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dancer-users@lists.preshweb.co.uk">dancer-users@lists.preshweb.co.uk</a>
<a class="moz-txt-link-freetext" href="https://lists.preshweb.co.uk/mailman/listinfo/dancer-users">https://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a>
</pre>
</blockquote>
<br>
</body>
</html>