Catalyst-Runtime

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

    as an application method, instead of a context method.  Now if you call
    MyApp::Web->uri_for(...) you will get a generic URI object that you need to
    resolve manually.
  - documentation updates around forwarding to chained actions.
  - Fixed bug when a PSGI engine need to use psgix logger.
  - Added cpanfile as a way to notice we are a dev checkout.
  - Added 'x-tunneled-method' HTTP Header method override to match features in
    Catalyst::Action::REST and in other similar systems on CPAN.
  - smarter validation around action attributes.

5.90020 - 2013-02-22
  ! Catalyst::Action now defines 'match_captures' so it is no long considered
    an optional method.  This might break you code if you have made custom
    action roles/classes where you define 'match_captures'.  You must change
    your code to use a method modifier (such as 'around').
  - New match method "Method($HTTP_METHOD)" where $HTTP_METHOD in (GET, POST,
    PUT, HEAD, DELETE, OPTION) and shortcuts in controllers called "GET, POST
    PUT, HEAD, DELETE, OPTION").  Tests and documentation.  Please note if you
    are currently using Catalyst::ActionRole::MatchRequestMethods there may
    be compatibility issues.  You should remove that actionrole since the built
    in behavior is compatible on its own.
  - Initial debug screen now shows HTTP Method Match info
  - security fixes in the way we handle redirects
  - Make Catalyst::Engine and Catalyst::Base immutable
  - Some test and documentation improvements

5.90019 - 2012-12-04 21:31:00
  - Fix for Perl 5.17.6 (commit g7dc8663). RT#81601
  - Fix for Perl 5.8. RT#61122
  - Remove use of MooseX::Types as MooseX::Types is broken on Perl 5.8
    RT#77100 & RT#81121

5.90018 - 2012-10-23 20:55:00
  - Changed code in test suite so it no longer trips up on recent changes to
    HTTP::Message.

5.90017 - 2012-10-19 22:33:00
  - Change Catalyst _parse_attrs so that when sub attr handlers:

    1) Can return multiple pairs of new attributes.
    2) Get their returned attributes passed through the correct attribute handler.

    e.g sub _parse_Whatever_attr { return Chained => 'foo', PathPart => 'bar' }

    Will now work because both new attributes are respected, and the Chained
    attribute is passed to _parse_Chained_attr and fixed up correctly by that.

  - In Catalyst::Test, don't mangle headers of non-HTML responses. RT#79043

  - Refactor request and response class construction to add methods
    that roles can hook to feed extra parameters into the constructor
    of request or response classes.

5.90016 - 2012-08-16 15:35:00
  - prepare_parameters is no longer an attribute builder.  It is now a method
    that calls the correct underlying functionality (Bill Moseley++)
  - Updated Makefile.PL to handle MacOSX tar
  - Fix uri_for to handle a stringifiable object
  - Fix model/view/controller methods to handle stringifiable objects
  - Fix RT#78377 - IIS7 ignores response body for 3xx requests, which
    causes (a different) response to be broken when using keepalive.
    Fixed by applying Middleware which removes the response body and
    content length that Catalyst supplies with redirects.

5.90015 - 2012-06-30 16:57:00
  - Fix $c->finalize_headers getting called twice. RT#78090
  - Fix test fails in Catalyst-Plugin-Session-State-Cookie. RT#76179
  - Fix test fails in Catalyst-Plugin-StackTrace
  - Fix test fails in Test-WWW-Mechanize-Catalyst

5.90014 - 2012-06-26 10:00:00

  - Fix calling finalize_headers before writing body when using $c->write /
    $c->res->write (fixes RT#76179).

5.90013 - 2012-06-21 10:40:00

  - Release previous TRIAL as stable.
  - We failed to note in the previous changelog that the Makefile.PL has been
    improved to make it easier for authors to bootstrap a developer install
    of Catalyst.

5.90013 - TRIAL 2012-06-07 20:21:00

 New features:
  - Merge Catalyst::Controller::ActionRole into Catalyst::Controller.

 Bug fixes:
  - Fix warnings in some matching cases for Action methods with
    Args(), when using Catalyst::DispatchType::Chained

  - Fix request body parameters to not be undef if no parameters
    are supplied.

  - Fix action_args config so that it can be specified in the
    top level config.

  - Fix t/author/http-server.t on Win32

  - Fix use of Test::Aggregate to make tests faster.

5.90012 - 2012-05-16 09:59:00

 Distribution META.yml changes:
  - author key is now correct, rather than what Module::Install
    mis-parses from the documentation.
  - x_authority key added.

 Bug fixes:
  - Fix request body parameters being multiply rebuilt. Fixes both
    RT#75607 and CatalystX::DebugFilter

  - Make plugin de-duplication work as intended originally, as whilst
    duplicate plugins are totally unwise, the C3 error given to the user
    is less than helpful.

  - Remove dependence on obscure behaviour in B::Hooks::EndOfScope
    for backward compatibility. This fixes issues with behaviour changes
    in bleadperl. RT#76437

  - Work around Moose bug RT#75367 which breaks

Changes  view on Meta::CPAN

      Catalyst::EngineLoader detect mod_perl in more generic
      circumstances.
      https://github.com/miyagawa/Plack/issues/239

  Documentation fixes:

    - Fix incorrect example in Catalyst::PSGI.
    - Add note that if you are using the PSGI engine, then $c->req->env
      needs to become $c->engine->env when you upgrade.

5.90001 - 2011-08-15 22:42

 Realise that we accidentally chopped a digit off the versioning scheme
 without anyone noticing, which is a bad thing.

 Feel like a fool. Well done t0m.

 Cut another release.

5.9000 - 2011-08-15 22:18

 See Catalyst::Delta for the major changes in this release.

 Changelog since the last TRIAL release:

   Backward compatibility fixes:

    - Fix calling MyApp->engine_class to set the engine class manually.

    - Re-add a $res->headers->{status} field to Catalyst::Test responses.
      This _should_ be accessed with $c->res->code instead, but is here
      for backward compatibility.

   Documentation:

    - Documentation which was in the now removed Catalyst::Engine::* classes
      has been moved to Catalyst::Manual::Deployment

   Changes:

    - nginx specific behaviour is removed as it is not needed with any
      web server configuration I can come up with (recommended config is
      documented in Catalyst::Manual::Deployment::nginx::FastCGI)

5.89003 2011-07-28 20:11:50 (TRIAL release)

 Backward compatibility fixes:

  - Application scripts which have not been upgraded to newer
    Catalyst::Script::XXX style scripts have been fixed

 Bug fixes:

  - mod_perl handler fixed to work with application classes which have manually
    been made immutable.

  - Scripts now force the Plack engine choice manually, rather than relying
    on auto-detection, as the automatic mechanism gets it wrong if (for
    example) Coro is loaded.

  - Server script option for --fork --keepalive are now handled by loading
    the Starman server, rather than silently ignored.

  - Server script options for --background and --pid are now fixed by
    using MooseX::Deamonize

  - Plack middlewares to deal with issues in Lighttpd and IIS6 are now
    automatically applied to applications and deployments which need them
    (when there is not a user written .psgi script available).
    This fixes compatibility with previous stable releases for applications
    deployed in these environments.

 Enhancements:

  - Catalyst::Test's remote_request method not uses Plack::Test to perform
    the remote request.

 Documentation:
  - Added a Catalyst::PSGI manual page with information about writing a .psgi
    file for your application.

   - Catalyst::Upgrading has been improved, and the status of old Catalyst
     engines clarified.

 Deprecations:
  - Catalyst::Test's local_request function is now deprecated. You should just
    use the normal request function against a local server instead.

5.80033 2011-07-24 16:09:00

 Bug fixes:
  - Fix Catalyst::Request so that the hostname accessor is not incorrectly
    populated with 'localhost' if a reverse DNS lookup fails.

  - Fix Path actions debug screen to display number of arguments

  - Fix a regression that prevented configuring attributes for all actions using
    ->config(actions => { '*' => \%attrs }) from working

  - Append $\ in Catalyst::Response->print to more closely match
    IO::Handle's behaviour.

  - Fixed situation where a detach($action) from a forward within auto
    was not breaking out correctly

  - Fix the disable_component_resolution_regex_fallback config setting
    to also work in the $c->component method.

  - Handle users setting cookies with an undef value by not trying to
    output that cookie (rather than trying to do so and causing an exception
    as previously happened). A warning is logged if this occurs in debug
    mode.
  - Update tests to ignore $ENV{CATALYST_HOME} where required

  - Change repository metadata to point at git.

  - Clean namespaces in Catalyst::Request::Upload

  - Catalyst::Test: Fixes to action_ok, action_redirect and action_notfound
    test functions to be better documented, and have better default test
    names.

Changes  view on Meta::CPAN

          - Tests for this
        - Naive implementation of making all components mutable in the
          forked restart watcher process so native Moose apps using
          immutable restart correctly.
          - Tests for this
        - Bump Moose dependency to 0.70 so that we avoid nasty surprises
          with is_class_loaded and perl 5.80 when you Moosify MyApp.pm
        - Clarify that request arguments aren't unescaped automatically
          (Simon Bertrang) (Closes RT#41153)
        - Don't require C3 for the MRO test
        - Bump MX::Emulate::CAF prereq to support list assignment
        - Remove useless column in chained action debug table.
        - namespace::clean related cleanups
        - Import related cleanups and consistency fixes
        - Fix test suite TestApp /dump/env action
        - Add $res->code as alias for $res->status
        - Make Catalyst::ClassData compatible with the latest Class::MOP::Class
          changes. Also depend on the latest Class::MOP.
        - Add $c->uri_for_action method.
        - Don't stringify the meta method. Use its name instead.
        - Use MooseX::MethodAttributes::Inheritable to contain action
          attributes. This means that attributes are now represented in the MOP,
          allowing method modifiers on actions to work as expected.
        - Provide a reasonable API in Catalyst::Controller for working with
          and registering actions, allowing a controller sub-class to replace
          subroutine attributes for action declarations with an alternate
          syntax.
        - Instantiate correct sub-class of Moose::Meta::Class for non-Moose
          components where Catalyst forces the creation of a metaclass instance.
          This is more correct, and avoids metaclass incompatibility in complex
          cases
          - Tests for this
        - Use of deprecated Catalyst::Base now warns.
        - Add uri_with tests

5.8000_06 2009-02-04 21:00
        - Disallow writing to config after setup
        - Disallow calling setup more than once
        - Documentation fix regarding overloading of Engine and Dispatcher
          instances
        - Several documentation typo fixes
        - Stop Makefile.PL from warning about versions that fixed a conflict
        - Improved upgrading documentation
        - Seed the RNG in each FastCGI child process (Andrew Rodland)
        - Properly report dynamic bind port for the development server
          (Closes RT#38544)
        - Use the way documented by IO::Socket::INET to get the error message
          after trying to create a listening socket (Closes RT#41828)
        - Don't ignore SIGCHLD while handling requests with the dev server
          (Closes RT#42962)

5.8000_05 2008-29-01 00:00
        - Text::SimpleTable's go as wide as $ENV{COLUMNS} (jhannah)
          Patch written by Oleg Kostyuk <cub.uanic@gmail.com>
        - Improve docs for visit (mateu)
        - Add docs for finalize hook (dhoss)
        - Added ru/ua translations to error page
        - Improve the clarity and verbosity of the warning when component
          resolution uses regex fallback. (jhannah)
        - Handle leading CRLF in HTTP requests sometimes sent by IE6 in
          keep-alive requests.
        - Fixes for FastCGI with IIS 6.0 (janus)
        - Passing request method exported by Catalyst::Test an extra
          parameter used to be ignored, but started breaking if the parameter
          was not a hash in 5.8000_04. Extra parameter is now ignored if
          it isn't a hashref
        - Fix request arguments getting corrupted if you override the
          dispatcher and call an action which detaches (for
          Catalyst::Plugin::Authorization::ACL)
        - Fix calling use Catalyst::Test 'MyApp' 'foo' which used to work,
          but stopped as the 2nd parameter can be an options hash now
        - Bump Moose dependency to fix make_immutable bug
        - Use compile time extends in Catalyst::Controller
        - Make Catalyst::Request::uploads attribute non-lazy, to fix
          test for Catalyst-Engine-Apache
        - Bump version of MooseX::Emulate::Class::Accessor::Fast
        - Stop using MooseX::Adopt::Class::Accessor::Fast by default, to stop
          breaking other packages which use Class::Accessor::Fast
        - Remove unused action_container_class attribute from
          Catalyst::Dispatcher
        - Replace {_body} instance access with calls to _body accessors
        - Add backwards compatibility alias methods for private attributes on
          Catalyst::Dispatcher which used to be public. Needed by
          Catalyst::Plugin::Server and  Catalyst::Plugin::Authorization::ACL
        - Fix return value of $c->req->body, which delegates to the body
          method on the requests HTTP::Body instance
          - Test for this
        - Fix calling $c->req->body from inside an overridden prepare_action
          method in a plugin, as used by Catalyst::Plugin::Server
          - Test for this
        - Fix assignment to Catalyst::Dispatcher's preload_dispatch_types and
          postload_dispatch_types attributes - assigning a list should later
          return a listref. Fixes Catalyst::Plugin::Server.
          - Tests for this
        - Change streaming test to serve itself rather than 01use.t, making
          test sync for engines easier
        - Refactor capturing of $app from Catalyst::Controller into
          Catalyst::Component::ApplicationAttribute for easier reuse in other
          components
        - Make the test suites YAML dependency optional
        - Make debug output show class name for the engine and dispatcher
          rather than the stringified ref.
        - Make MyApp immutable at the end of the scope after the setup
          method is called, fixing issues with plugins which have their
          own new methods by inlining a constructor on MyApp
          - Test for this and method modifiers in MyApp
        - Fix bug causing Catalyst::Request::Upload's basename method
          to return undef
          - Test for this (Carl Franks)
        - Fix loading of classes which do not define any symbols to not
          die, as it didn't in 5.70
          - Test for this
        - Bump MooseX::Emulate::Class::Accessor::Fast dependency
          to force new version which fixes a lot of plugins
        - Make log levels additive, and add documentation and tests
          for the setup_log method, which previously had none.
          Sewn together by from two patches provided by David E. Wheeler
        - Switch an around 'new' in Catalyst::Controller to a BUILDARGS
          method as it's much neater and more obvious what is going on
        - Add a clearer method on request and response _context
          attributes, and use if from ::Engine rather than deleting
          the key from the instance hash
        - Use handles on tree attribute of Catalyst::Stats to replace
          trivial delegation methods
        - Change the following direct hash accesses into attributes:
          Catalyst::Engine: _prepared_write
          Catalyst::Engine::CGI: _header_buf
          Catalyst::Engine::HTTP: options, _keepalive, _write_error
          Catalyst::Request: _path
          Catalyst::Stats: tree
        - Fix issues in Catalyst::Controller::WrapCGI
          and any other components which import (or define) their
          own meta method by always explicitly calling
          Class::MOP::Object->meta inside Catalyst
          - Add test for this
        - Add test case for the bug which is causing the
          Catalyst::Plugin::Authentication tests to fail
        - Fix a bug in uri_for which could cause it to generate paths
          with multiple slashes in them.
          - Add test for this
        - Fix SKIP block name in t/optional_http-server-restart.t,
          stopping 'Label not found for "last SKIP"' error from
          Test::More
        - Workaround max_redirect 0 bug in LWP
        - Move live_engine_response_print into aggregate
        - Fix dependency bug, s/parent/base/ in new test
        - Fix optional tests to run the live tests in the aggregate
          dir
        - Fix Catalyst->go error in remote tests
        - Fix upload test to work with remote servers, don't check for
          deleted files
        - Fix engine_request_uri tests to work on remote server with
          different URI

5.8000_04  2008-12-05 12:15:00
        - Silence Class::C3::Adopt::NEXT warnings in the test suite
        - Fix loads of 'used once, possible typo' warnings
        - Additional tests to ensure upload temp files are deleted
        - Remove use of NEXT from the test suite, except for one case
          which tests if Class::C3::Adopt::NEXT is working
        - Use a predicate to avoid recursion in cases where the uri
          method is overridden by a plugin, and calls the base method,
          for example Catalyst::Plugin::SmartURI
          - Test for this (caelum)
        - Compose the MooseX::Emulate::Class::Accessor::Fast role to
          Catalyst::Action, Catalyst::Request, and all other modules which
          inherit from Class::Accessor::Fast in 5.70.
          This fixes:
            - Catalyst::Controller::HTML::FormFu (zamolxes)
            - Catalyst::Request::REST
          - Test for this
        - Make hostname resolution lazy (Marc Mims)
        - Support mocking virtualhosts in test suite (Jason Gottshall)
        - Add README
        - Fix TODO list
        - Use Class::C3::Adopt::NEXT
        - Ignore C3 warnings on 5.10 when testing ensure_class_loaded
        - Add TODO test for chained bug (gbjk)
        - Fix list address in documentation (zarquon)
        - Fix ACCEPT_CONTEXT on MyApp, called as a class method
           - Test for this
        - Bump MooseX::Emulate::Class::Accessor::Fast version requirement to
          get more back compatibility
        - Improve documentation for $req->captures (caelum)
        - Fix a bug in Catalyst::Stats, stopping garbage being inserted into
          the stats if a user calls begin => but no end => (jhannah)
           - Test for this (jhannah)
        - Trim lines sooner in stats to avoid ugly Text::SimpleTable wrapping

Changes  view on Meta::CPAN

        - Added COMPONENT() and ACCEPT_CONTEXT() support
        - Action list in debug mode is now displayed as a tree in the
          correct execution order.
        - Fixed engine detection to allow custom mod_perl engines.
        - Static::Simple: Fixed bug in ignore_dirs under win32.
        - Display version numbers of loaded plugins. (Curtis Poe)
        - Added class and method for caught exception messages.
        - Updated PAR support to use "make catalyst_par",
          packages are no longer written by Makefile.PL.
        - Automatically determine Content-Length when serving a
          filehandle.
        - Exceptions now return status 500.
        - Updated for Module::Install 0.44.
        - Fixed additional file installation for multi level app names.
        - Added REDIRECT_URL support for applications running behind
          a RewriteRule in Apache. (Carl Franks)
        - Fixed FastCGI engine under win32. (Carl Franks)
        - FastCGI doc updates (Bill Moseley)
        - Bugfix for $c->model and friends (defined).

5.61    2005-12-02 00:00:00
        - Fixed ExtUtils::AutoInstall Bootstrap Code in Makefile.PL

5.60    2005-12-01 22:15:00
        - Fixed Path and index actions in the appclass,
          including those that attach to /
        - Index is now weighted higher than Path
        - Fixed restarter and -d debug switch in server.pl.
        - Added a warning if you attempt to retrieve a parameter
          using $c->req->params('foo').
        - Fixed the Module::Install::Catalyst @ISA bug

5.59    2005-11-30 13:25:00
        - Fixed shebang line for generated scripts
        - Fixed forward to classes ($c->forward(qw/MyApp foo/))
        - Wrap use block in begin to quelch C:C3 warnings
        - Removed scrollbar from debug output
        - Fixed catalyst_par_core() and catalyst_par_multiarch()

5.58    2005-11-24 10:51:00
        - Added ExtUtils::AutoInstall support
        - Allow overriding path in Catalyst::Helper.
        - Added -makefile to catalyst.pl to generate a new Makefile.PL.
        - Restored Catalyst::Build with a deprecation notice.
        - Improved PAR support
        - Replaced -short with auto-detection
        - Fixed prereqs, added File::Copy::Recursive
        - Static::Simple changes:
            - Made prepare_action play nice with other plugins by not short-
              circuiting.
            - Added tmpl to the ignored extensions.
            - Fixed security problem if req->path contained '..'.

5.57    2005-11-20 22:45:00
        - Updated uri_for to accept undef actions
        - Switched to Module::Install
        - Renamed tests for easier editing
        - Reformatted documentation
        - Renamed -nonew to -force
        - Added PAR support
        - Added keep-alive support and bug fixes to HTTP engine.
          (Sascha Kiefer)
        - Added daemonize option to FastCGI engine. (Sam Vilain)

5.56   2005-11-16 10:33:00
        - Fixed FastCGI engine to not clobber the global %ENV on each
          request. (Sam Vilain)
        - Updated benchmarking to work with detach
        - Fixed dispatcher, so $c->req->action(undef) works again
        - Updated Catalyst::Test to use HTTP::Request::AsCGI
        - Added -pidfile to external FastCGI server.

5.55    2005-11-15 12:55:00
        - Fixed multiple cookie handling

5.54    2005-11-14 22:55:00
        - Fixed a Module::Pluggable::Fast related bug

5.53    2005-11-14 15:55:00
        - Removed t/04prereq.t that was testing for non-required
          modules.

5.52    2005-11-14 10:57:00
        - Strip '..'s in static urls to fix security issue.

5.51    2005-11-14 00:45:00
        - Changed uri_for to use namespace instead of match.

5.50    2005-11-13 20:45:00
        - Fixed minor bugs.
        - Updated docs.

5.49_05 2005-11-12 20:45:00
        - Large update to the documentation. (David Kamholz)
        - Fixed args handling in forward()
        - Fixed forwarding to classes
        - Fixed catalyst.pl-generated Build.PL Makefile section.
        - Fixed relative forwarding
        - Fixed forward arrows in debug output

5.49_04 2005-11-09 23:00:00
        - Made context, dispatcher, engine, request and response classes
          configurable.
        - Added $c->stack.
        - Fixed dispatcher to ignore unknown attributes.
        - Improved format of startup debug log.
        - Updated built in server to restart on win32. (Will Hawes)
        - Fixed streaming write from a filehandle to stop writing
          if the browser is closed.
        - Added $c->controller, $c->model and $c->view shortcuts.
        - Switched to Text::SimpleTable.

5.49_03 2005-11-03 12:00:00
        - Fixed $c->req->{path} for backwards-compatibility.
        - Allow debug to be disabled via ENV as well as enabled.
        - Added -scripts option to catalyst.pl for script updating
        - Changed helpers to default to long types, Controller instead of C
        - Added Catalyst::Controller, Catalyst::Model and Catalyst::View
          base classes
        - Added JavaScript to debug screen to show and hide specific dumps
        - Added _DISPATCH, _BEGIN, _AUTO, _ACTION and _END actions



( run in 1.745 second using v1.01-cache-2.11-cpan-39bf76dae61 )