Files
perl-Dancer/perl-Dancer.changes

254 lines
11 KiB
Plaintext
Raw Normal View History

-------------------------------------------------------------------
Fri May 27 20:10:35 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3051:
* SECURITY
+ FIX CVE-2011-1589 (Mojolicious report, but Dancer was vulnerable as
well): return "400 Bad Request" when requested filename seems suspicious
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1589
-------------------------------------------------------------------
Sun May 22 22:17:48 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3050:
* API CHANGES
+ deprecation of 'logger' (use set)
+ deprecate 'layout' (use set)
+ definitely remove plack_middlewares HashRef deprecation
* BUG FIXES
+ unbreaking auto_page somewhat - the catch-all route added will pass
unless a suitable view exists; this means that routes like /foo are not
obscured, and made up URLs will result in a proper 404, not 500; a little more
work required here, though.
+ anchor regular expression routes; before regular expressions were
matching anywhere in the URL
* ENHANCEMENTS
+ GH#519: remove redundant lines from CSS
+ when scaffolding an app, show a warning if YAML not installed
+ hooks! add new positions for hooks, and possibility to create your own
hooks inside your application and your plugin
+ don't try to read/set session vars with empty/undef keys; it doesn't make
sense to do so, and can cause warnings elsewhere
+ check HTTP status code/alias passed to status() is valid; previously, and
invalid code would result in the response status being unset
+ lowercase status aliases and swap spaces for underscores before trying to
match
+ added 'behind_proxy' setting, making Dancer honor X_FORWARDED_PROTOCOL
and X_FORWARDED_HOST
-------------------------------------------------------------------
Fri May 6 13:56:33 UTC 2011 - dbahi@novell.com
- added BuildRequires for complete test coverage
- commented out %check make test for SLE_11 as core Test::More is too old
-------------------------------------------------------------------
Fri May 06 06:58:58 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3040: cumulated changes from 1.3039*:
* fix 404 results from forwarding
* don't remove trailing slashes from route patterns under prefix
* remove deprecated r() function from list of exports
* GH#402: make session_expires honor +2h style formatting
* GH#433: encoding issues with forward()
* GH#390: renaming access_log to startup_info (+doc)
* rewrite scalar usage of qw() that is incompatible with 5.14
* introducing the "megasplat"
* improve Dancer::Test so failures report the correct line numbers
* GH#466: can now set cookies with http_only => 0 for JS integration
* session engine can be told to set cookies without HttpOnly attribute using
new session_is_http_only setting
* GH#296: show versions of loaded modules in startup info
* able to set more than one value at once using set()
* GH#253: use Clone::clone() if available to clone data before censoring
* GH#246: Dancer::Test can now test for file uploads as well
* allow parameters in forward()
-------------------------------------------------------------------
Thu Apr 14 19:26:53 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3030:
* Better way to initialize the logdir in Dancer::Logger::File.
Works now cleanly if the appdir is not writable but the logdir exist and
is writable.
* Support for error templates.
If the setting "error_template" is set, it is used when building an error
page instead of using the default template.
* dancer_response now handles the rendering of static pages as well.
* GH #409: If pass has no more matching routes, return 404.
* GH #399: Make sure session can have their name changed.
* send_file accepts optional content-type declaration, to override guessed
MIME type, e.g. send_file $filename, content_type => 'image/png'
* send_file accepts optional absolute option, to send an absolute path
* mime_type is deprecated; new keyword 'mime'; new config key
'default_mime_type'
* Recognize absolute redirects
* GH #354: Tokens are not passed to layout if no params are passed to
template.
* GH #393: Reset vars for each new request.
* Add a new symbol to exporter ':script'.
* GH #397: Support cookie expire times like "+2h".
* GH #373: Display valid path to the main app file in the welcome screen.
* GH #152, GH #170, GH #362: Log dir is not created when logger is not set
to 'file', and setting log_path works as expected.
* GH #308: Use request's uri_base.
* GH #378: Some routes with prefix where wrongly matched.
* GH #351: Explicitly exclude some keywords when important Dancer's syntax,
add modes that also excludes some keywords (:moose, :tests).
* Dancer::Cookie make secure (https only) cookies. It also adds the
"session_secure" setting instructing sessions to use secure cookies.
* Adding uri_base to Request.pm.
-------------------------------------------------------------------
Fri Mar 04 22:34:02 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3014:
* YAML Session UTF-8 Fix
* Dancer::Test::dancer_response handles correctly its 'body' parameter
-------------------------------------------------------------------
Thu Mar 03 20:09:33 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3012:
* fix cookies disappearing when more than one is set
* properly set the settings in Dancer::Test only after config loading
* fix possible loss of last directory in path
* no need for default upper directory in Dancer::Test -- this fixes an issue
raised on the list about the default scaffolded test failing
* GH#299 return appropriate headers on HEAD request (content-type, ...)
* use the dancer_version variable in scaffolded app
* add a new accessor to Dancer::Request: ->uri (it's an alias to ->request_uri)
* removes Dancer::Helpers, refactor Dancer.pm accordingly
* add Dancer::Logger::Null
* add Dancer::Logger::Diag
* refactor Dancer::Response
* allow to use a subclass of Template::Toolkit
* Dancer::Test now uses Dancer::Logger::Null instead of ::File
* add Dancer::Deprecation (handle deprecation messages)
* introduce new timestamp format in logger (%T)
* refactoring of the forward method
* refactoring of internal objects in the core, use more of Dancer::Object;
introduce attributes_defaults
* add a perl_version variable to all templates, used in scaffolded app
* better output when template file is missing
* complete working example of deployment under Nginx/Starman in
Deployment.pod
- changes from 1.3010_01:
* GH#136: fix again Mime::Type issues in preforking environment
* fix for infinite loops detection in before filters
* better documentation for the before filters, explanations about the
potential infinite loops that can happen when using before filters (and
what Dancer does in that case)
- changes from 1.3011:
* GH#322: Detect errors in scaffolded dispatchers
- changes from 1.3010:
* allow read_file DWIMishness using wantarray
* GH#290: Use return with redirect examples in docs
* show version when starting standalone server
-------------------------------------------------------------------
Tue Feb 8 21:45:07 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3003:
* remove load_plugin from the core's DSL (was deprecated)
* GH#271 - use correct VERSION_FROM in scaffolded application
* GH#260 - send_file doesn't clobber existing headers
* logger unicode bugfix in the formated date
* GH#281 - don't crash if splat is used with no captures
* possible to given "template" a view name with the extenstion
* new setting log_path to allow for alternalte logging path in logger "file"
* GH#289: add more aliases on the ENV, provide more smart accessors to Plack
env entries
- changes from 1.3002:
* to_json and from_json accept options as hashref instead of hash; passing
arguments as hash is deprecated
* status is kept even when halt is used in a before filter
* proper handling of temporary file creation using File::Temp module instead
of homebrew solution
* Logger::Abstract unicode bug fix
* in development, pretty-print JSON serializations for easier development
-------------------------------------------------------------------
Mon Jan 31 15:51:47 UTC 2011 - pascal.bleser@opensuse.org
- update to 1.3001:
* fix weird Plack error "status code needs to be an integer greater than or
equal to 100", because of a typo in a call to Dancer::Error (Closes issue
GH#264)
* uri_(un)escape cookie value; closes GH-248
* path for send_file must be relative from the public directory
* support for complex values in cookies (scalars, flat arrays and flat
hashes); fixes issue GH#249
* Request.pm Decode HTTP::Request's uploads
* support for aliases for content_type and refactoring of mime-types
handling, with a new class Dancer::MIME (closes issue GH #124)
* deprecation of Dancer::Config::mime_types (now handled by Dancer::MIME)
* fix a bug in YAML session backend, during the creation of the session file
- changes from 1.3000_02:
* added forward() functionality (incl. tests and docs)
* fix for --no-check switch in script/dancer
* refactoring of Dancer::Template::Abstract
+ add support of apply_layout and apply_renderer
+ deprecation of render_with_layout (now handled better)
+ add an accessor "engine" to the DSL to access any engine singleton
+ better interface for Dancer::Object and Dancer::Object::Singleton
- changes from 1.3000_01:
* better check of keywords used in plugins
* fix some unicode issues, refactored all file openings in one function in
Dancer::FileUtils
* add a --no-check switch to script/dancer to disable remote check of new
Dancer versions
* add script/wallflower, helper to turn a Dancer application into a static
* web site
* better behaviour for plugin_setting (better search, more user-friendly)
* support for configurable log format in logger engines
-------------------------------------------------------------------
Wed Jan 19 18:24:57 UTC 2011 - dbahi@novell.com
- update to 1.2003 release
-------------------------------------------------------------------
Wed Dec 8 20:08:14 UTC 2010 - dbahi@novell.com
- update to 1.2002_01 release remove all done_testing again
-------------------------------------------------------------------
Tue Dec 7 13:48:32 UTC 2010 - dbahi@novell.com
- update to 1.2002 release
-------------------------------------------------------------------
Wed Dec 1 13:31:26 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Fri Sep 24 15:15:54 UTC 2010 - dbahi@novell.com
- update to 1.1901 first release candidate for 1.2
-------------------------------------------------------------------
Wed Sep 22 03:31:28 UTC 2010 - dbahi@novell.com
- tests: fix patching of t/14_/01_
-------------------------------------------------------------------
Tue Sep 21 19:58:19 UTC 2010 - dbahi@novell.com
- tests: added buildrequires pkgs for test coverage
- tests: patch for test::more qw(no_plan) and #done_testing;
-------------------------------------------------------------------
Mon Sep 20 03:47:57 UTC 2010 - dbahi@novell.com
- initial package 1.1811
* created by cpanspec 1.78