Comments (4)
the before
and after
filters were deprecated in dancer1 in favor of the hook before => sub {...};
syntax
from dancer2.
However, you should add a warning like 'before and after are deprecated, use hook before instead'. It will be more informative.
from dancer2.
Yes, that would be helpful.
from dancer2.
No, the are already "soft" deprecated in Dancer 1 (see last version) because we dont want to keep code like that for Dancer 1 deprecations in Dancer 2.
I'll write a "Porting Dancer 1 plugins to Dancer 2" guide that will mention that. It will be much clean that way I think.
from dancer2.
Related Issues (20)
- Deprecated keyword in plugins: dancer_app HOT 1
- Deprecated keyword in plugins: request HOT 1
- Deprecated keyword in plugins: var HOT 1
- Deprecated keyword in plugins: hook HOT 1
- Name of Dancer2::DeprecationPolicy is cut off HOT 1
- Rename "master" branch to "main" HOT 2
- add_route called in a plugin BUILD block will get a prefix that cannot be overridden HOT 1
- Double Server header HOT 1
- Setting meta tags for autopage...
- Dancer2::Core::Error document is obsolete HOT 2
- Provide support for Futures::AsyncAwait HOT 1
- Error mounting multiple domains HOT 2
- Dancer2 Manual on Github is different from Manual on metaCPAN HOT 1
- Duplicate entries in Makefile.pl for VERSION_FROM created by 'dancer2 gen -a my::app' HOT 1
- serializer attempts to deserialize mutipart form data on post HOT 2
- Document how write a Dancer2 CGI app HOT 3
- Document versioning scheme in Dancer2::Policy HOT 6
- Update JS assets in Dancer2 app skel HOT 2
- contribute button doesn't work HOT 1
- Cookie parsing bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dancer2.