Acme-CPANModulesBundle-Import-PerlDancerAdvent-2018
view release on metacpan or search on metacpan
devdata/http_advent.perldancer.org_2018_13 view on Meta::CPAN
to the survey, and it is being used to help guide the future direction of
Dancer and its community. The results of this survey will be discussed in
tomorrow's article.</p>
<h2><a name="new_features"></a>New Features</h2>
<p>Several significant new features came to pass since the last Advent Calendar:</p>
<h3><a name="websockets"></a>Websockets</h3>
<p>You asked, and Yanick delivered! <a href="https://metacpan.org/pod/Dancer2::Plugin::WebSocket">Dancer2::Plugin::Websocket</a>
enables websockets from within your Dancer2 applications. To make this work
properly, a non-blocking, streaming Plack server is needed (such as Twiggy).</p>
<h3><a name="mutable_serializer"></a>Mutable Serializer</h3>
<p>Dancer2 can now properly deserialize and serialize content based upon the
request headers. Even better, it's completely and easily configurable! Thanks
to veryrusty for spearheading the effort to get this working!</p>
<h3><a name="no_default_middleware"></a>No Default Middleware</h3>
<p>To support ETags and other similar features, the default Plack middleware used
by Dancer2 can get in the way. To get around this, veryrusty added a
<code>no_default_middleware</code> configuration option to Dancer2's <i>config.yml</i> file
( run in 0.252 second using v1.01-cache-2.11-cpan-a5abf4f5562 )