Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0d61fcf1ab
Fetching contributors…

Cannot retrieve contributors at this time

file 205 lines (142 sloc) 5.746 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
Revision history for Mason

** marks an incompatible change

2.20 Jul 12, 2012

* Improvements
  - Implement and document trailing slash policy - perl-mason/pull/11 (Pedro Melo)

* Fixes
  - Coerce undefined filter argument to the empty string (Tomohiro Hosaka)
  - Eliminate "=for html" POD entries, which were mangling metacpan.org output (Pedro Melo)
  - Fix some tests for Windows - perl-mason/pull/9 (Tomasz Konojacki)

* Documentation
  - Moved eg/blog to Poet

2.19 May 2, 2012

* Improvements
  - Add $.Tee standard filter, like $.Capture but outputs at same time

* Fixes
  - Fix for Moose 2.06 - RT #76793 (doy)

* Documentation
  - Mention Mason::Plugin::DefaultFilter more prominently

2.18 Apr 22, 2012

* Documentation
  - Add references to Poet, Mason's new companion web framework
  - Move Admin.pod to Setup.pod
  - Fix lots of broken links

2.17 Mar 27, 2012

* Documentation
  - Move FAQ pod sections up one level

* Fixes
  - Use make_immutable on generated Mason subclasses (Tomohiro Hosaka)
  - Properly quote paths when generating component class (Peter Franke)

2.16 Feb 24, 2012

* Documentation
  - Add Mason::Manual::FAQ, and various documentation improvements/fixes

* Fixes
  - Add prereq Exception::Class
  - Use Data::Dumper in Mason::Util

2.15 Nov 27, 2011

** Incompatible changes
  - Rename bin/mason to bin/mason.pl, to avoid conflict with the Mason firewall tool - RT #72497 (Florian)

* Fixes
  - Fix parser bug with filters and comment characters (Tomohiro Hosaka)

2.14 Sep 6, 2011

** Incompatible changes
  - Deprecate %%-lines, <%args> section and <%shared> section, which IMO add
    unnecessary TMTOWTDI. Standardize on the <%class> section and Moose 'has'
    declarations. These alternate syntaxes may make it into a plugin.

* Improvements
  - Allow applications to specify Mason subclasses by naming convention.
  - Document use of Mason subclasses in Mason::Manual::Subclasses.

* Fixes
  - Respect Mason::CodeCache plugins (bokutin)
  - Allow comments after filter markers {{ and }}

2.13 Jul 26, 2011

* Improvements
  - Add process_output, an easy way to modify all Mason output in a plugin or subclass

2.12 Jul 3, 2011

* Fixes
  - Fix $m->visit under PSGIHandler (Jozef Mojzis)
  - Fix $m->visit when initial out_method passed

2.11 Jun 29, 2011

* Fixes
  - Fix memory leaks between Interp, Request and Component; add test for leaks (StephenClouse)

2.10 Jun 23, 2011

* Fixes
  - Fix filter pipe syntax, broken in 2.09 - RT #69038 (MDIETRICH)
  - Specify and test execution order of multiple filters in pipe syntax
  - Go back to generating version numbers for all sub-modules again

2.09 Jun 20, 2011

* Fixes
  - Properly rename Mason::t::Defer test

2.08 Jun 18, 2011

** Incompatible changes
  - Change apply filter syntax to
     % $.Filter {{
     ...
     % }}
    as it reduces tag soup and better matches the typical use of filtering a block of content

* Improvements
  - Add $m->filter to manually apply filters
  - Add CLASS->no_wrap() as a convenient way to skip parent wrapping
  - Set $_ as well as $_[0] to content for filtering, to make s// based filters easier

* Fixes
  - Define $CLASS as well as CLASS in components, ala CLASS module
  - Fix $. notation inside <& &>
  - Re-fix compatibility with JSON version 1.x
  - Untaint component source when in taint mode (e.g. mod_perl) as in Mason 1, otherwise
    compiler regexes may fail

2.07 Apr 21, 2011

* Improvements
  - Allow arguments to be passed to the content sub from a dynamic filter (e.g. CompCall)
  - Throw error on unmatched %> or &>
  - Fix error line numbers after method sections and multiple text sections

* Fixes
  - Prevent false inheritance loops when component overrides its default parent (Jozef Mojzis)
  - Fix compatibility with JSON version 1.x

* Other
  - Only generate version numbers for .pm files with documentation, to reduce inter-version churn

2.06 Mar 14, 2011

* Fixes
  - Use new file extensions in eg/blog (Jozef Mojzis)

2.05 Mar 6, 2011

** Incompatible changes
  - Change default component file extensions due to conflict with Objective C's .m
    (suggested by jomo). New extensions:
    .mc - top-level component
    .mi - internal component
    .mp - pure-perl component

* Fixes
  - Require comp_root parameter to Mason->new (cxreg)
  - Require that request path is absolute
  - Ignore whitespace at beginning of a <%args> and <%shared> line (cxreg)

* Improvements
  - Forbid reserved names such as 'cmeta' in new method and attribute declarations
  - Improve error message when request path not found - list all component paths searched

* Testing
  - Stop using test counts - see http://bit.ly/eISu3R

* Documentation
  - Add Mason/Manual/Intro.pod

2.04 Feb 26, 2011

* Fixes
  - Fix broken $m->scomp (Tomohiro Hosaka)

* Testing
  - Add a pile of tests to fill in coverage gaps

2.03 Feb 24, 2011

* Improvements
  - Add -e option to bin/mason

* Fixes
  - Depend on Log::Any 0.08, for Log::Any::Test (David Wheeler)

2.02 Feb 24, 2011

* Fixes
  - Allow index file (index.m, index.pm) to be accessed directly with /index path (Matthias Dietrich)
  - Fix error line # for invalid attribute
  - Include HTMLFilters in eg/blog/install.sh (qiuhw)
  - Fix t/mason-app.t to be perl-location-agnostic (qiuhw)
  - Prevent CPAN from indexing built-in plugin implementation files

* Backend
  - Remove InstanceMeta object, make args() a direct method of component
  - Add pluggable Mason::Component::Import for importing non-Moose things into components

2.01 Feb 20, 2011

* Fixes
  - Declare Devel::GlobalDestruction dependency; get rid of List::MoreUtils dependency

2.00 Feb 16, 2011

- Initial Mason 2 version - see HTML::Mason for previous versions
Something went wrong with that request. Please try again.