Permalink
Switch branches/tags
Commits on Mar 28, 2017
  1. Merge branch 'gh/1336'

    xsawyerx committed Mar 28, 2017
  2. reflect changes

    xsawyerx committed Mar 28, 2017
  3. Fix warnings on 5.10 and below:

    As explained in GH #1336, length() on an implicit EXPR undef causes
    a warning up until 5.12, so we're throwing warnings now.
    
    This is fixed as recommended by SysPete.
    xsawyerx committed Mar 28, 2017
Commits on Mar 10, 2017
  1. v0.205000

        [ BUG FIXES ]
        * GH #1325: Support multi-value cookies when using HTTP::XSCookies.
          (James Raspass)
        * GH #1303: Read configuration options when send_as() creates a new
          serializer (Paul Williams)
        * GH #1290: Properly check buffer length in _read_to_end() (Marketa
          Wachtlova)
        * GH #1322: Deprecate broken request->dispatch_path in favor of
          request->path. Warn the developer of the deprecation (Russell
          @veryrusty Jenkins).
    
        [ ENHANCEMENTS ]
        * GH #1326: Speed up by using Type::Tiny, again. (Pete SysPete Mottram)
        * GH #1318: Add support for the SameSite cookie attribute. (James Raspass)
        * GH #1283: Skeleton now provides an example of setting the appdir.
          (Jason Lewis)
        * GH #1315: Adjust dist.ini to set "build_requires" for
          ExtUtils::MakeMaker. (Atoomic)
        * GH #1331: Preliminary prepare_app() work (Sawyer X)
    
        [ DOCUMENTATION ]
        * GH #1324: Fix broken link to send_file. (Fabrice Gabolde)
        * GH #1311: Typo and link fixes. (Breno G. de Oliveira - @garu)
        * GH #1310: Document query string parameters in uri_for. (Michael J South)
        * GH #1329: Remove dead code from file upload example (Stefan Hornburg -
          Racke)
        * GH #1256: Additions to migration manual (Daniel Perrett)
        * GH #1330: Add middleware examples to scaffolder (David - sbts)
    cromedome committed Mar 10, 2017
  2. reflect changes

    cromedome committed Mar 10, 2017
Commits on Mar 9, 2017
  1. Add preliminary prepare_app with guard:

    In order to introduce a prepare_app method in the caller, we need
    to first make sure a user does not have one. This implements the
    logic necessary to call it when it is available by including the
    original class that was called, and then checking on it whether
    the class has it, and if so, warns about it loudly.
    
    Perhaps we should set a version or date?
    
    We set the caller by attempting to reach level 2, which is the
    correct level, but if you're calling App->new() manually (like
    from a test), then you might have it at level 1, but if that's
    not good, we can at least take level 0.
    xsawyerx committed Mar 9, 2017
  2. reflect changes

    cromedome committed Mar 9, 2017
  3. reflect changes

    cromedome committed Mar 9, 2017
  4. Note config->{appdir} per @xsawyerx

    pdl committed with cromedome Oct 6, 2016
  5. reflect changes

    cromedome committed Mar 9, 2017
  6. reflect changes

    cromedome committed Mar 9, 2017
  7. Deprecate request->dispatch_path

    Commit c6af1c0 fixed the broken request->path implementation that was
    responsible for the previous introduction of request->dispatch_path.
    Route match should now be done on request->path; request->dispatch_path
    is no longer required, and hence deprecated.
    
    Note that request->dispatch_path used request->path; the munging involved
    due to the original broken path implementation caused any route match where
    the SCRIPT_NAME was also the prefix to PATH_INFO to incorrectly fail after
    the path implementation was fixed.
    
    Thanks to @jbarret for reporting the issue.
    veryrusty committed with cromedome Feb 17, 2017
  8. Test when SCRIPT_NAME is a prefix of the PATH_INFO

    Reworks the failing test from #1288 into the same structure as the
    rest of the request path tests.
    veryrusty committed with cromedome Feb 17, 2017