Джерело:
blogs.perl.org
Дата публікації:
12/03/2026 08:31
Постійна адреса новини:
http://www.vsinovyny.com/12752048
12/03/2026 08:31 // blogs.perl.org
We're thrilled to announce the release of Dancer2 2.1.0! This release represents a major investment in the health and quality of the project. We've gone deep into the issue tracker and PR backlog, closing out some of our oldest open issues — some dating back years — and significantly grooming both the issue and pull request queues. A big thank you to everyone who contributed.
This release addresses a number of long-standing issues:
to_json no longer double-encodes UTF-8 (#686), the charset config option is now properly respected (#1124), and UTF-8 in URLs is handled correctly (#1143). To the best of our knowledge, this release fixes all known UTF-8 issues. The default charset for Dancer2 apps is now UTF-8 rather than undefined. You can set an empty charset for your app if needed.t/dsl/send_file.t (#1772), JSON warnings in t/dsl/send_as.t (#1773), and void warnings in t/hooks.t (#1774).dancer2 gen will have strict config enabled by default.Path::Tiny for cleaner, more reliable file operations.Unicode::UTF8 is available, Dancer2 will use it for faster encoding/decoding.clear method.Server headers.send_as (#1709): send_as now uses the full serializer pipeline, including hooks.api_version and improved the dispatching loop.views setting behavior (#1431).logger keyword from the DSL docs (PR #1762).Thanks to all who contributed to this release: Sawyer X, Russell Jenkins, Mikko Koivunalho, Gil Magno, and Sorin Pop.
You can install or upgrade via CPAN:
cpanm Dancer2
Happy Dancing!
Jason/CromeDome
| « |
Наступна новина з архіву How much of HN is AI? |
Попередня новина з архіву Різке зростання цін на пальне: експерт пояснив, чи має місце картельна змова |
» | |
|
|
||||