ANNOUNCE: Mason 1.17

Dave Rolsky <[email protected]> Fri, 17 Jan 2003 13:48:00 -0600 (CST)
Newsgroups gmane.comp.web.mason.user,gmane.comp.web.mason.announce
Message-ID <[email protected]>
This is mostly a bug fix release, with a couple small features added,
including the return of $m->call_self a new "REQUEST:" pseudo-component
that works in a similar fashion as "SELF:" or "PARENT:".

This is also the first release in a while likely to actually pass all its
tests on Win32, thanks to Murat Unalan's help.


1.17  January 17, 2003

[ ENHANCEMENTS ]

- Added "REQUEST:" as a component specifier for method comp calls,
similar to "SELF:" and "PARENT:".  "REQUEST:" is short-hand for
$m->request_comp.  Suggested by Manuel Capinha, among others.
- Added $m->call_self.  This was present in Mason pre-1.10, and has
been added back per Jon Swartz's request.
- Added $comp->attributes, similar to $comp->methods.  This just
returns attributes for a given component object.  It doesn't return
attributes inherited from a parent.  Suggested by Matti Makitalo.

[ BUG FIXES ]

- ** When $m->cache_self was used for a component with a filter block,
the output would be cached _before_ filtering, and filtered every time
it was retrieved from the cache.  This has been fixed, and the
documentation now specifies that the filtered output is cached.
- Fixed failure of 12-taint.t #7 on Win32 boxes.  Reported by Randy
Kobes.
- Without HTML::Entities installed, 13-errors.t #7 failed.  Reported
by Sam Kington.
- $m->file did not handle relative paths properly when called from a
subcomponent or method.  Reported by Chris Hutchinson.
- If $m->abort was called in the shared block of a component that had
a filter, then a fatal error occured.  Reported by Chris Pudney.
- Mason was not cooperating with Apache::Filter, and attempts to
filter Mason's output did not work.  Fixing this also requires
Apache::Filter 1.021, if you are using Apache::Request to handling
incoming arguments.  Reported by by Manuel Capinha.
- Mason assumed that if Scalar::Util loaded without errors, it had a
weaken() subroutine.  However, Scalar::Util provides a pure Perl
implementation that does not include this subroutine.  Now we check
for this subroutine explicitly.  Reported by Autrijus Tang.
- Some code constructs, such as qw() lists, would end up being turned
into invalid code during component compilation.  Reported by Robert
Landrum.
- Subclassing a subclass of HTML::Mason::Request broke when the class
between HTML::Mason::Request and your own class called
alter_superclass.
- Under mod_perl 2.0, when ApacheHandler could't resolve a filename to
a component, it would die instead of returning a not found status.

[ INCOMPATIBLE CHANGES ]

- Removed the long deprecated and undocumented $comp->parent_comp
method.  Use $comp->owner instead.




/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/


-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en