Under Perl 5.13.1 and later with Safe version 2.27,
skip failing tests in t/32-safe.t.
The regression tests for Safe 2.27 fail in Perl 5.13.1 as well,
in a similar way.
This bug is not fixable in any reasonable way until Safe.pm is also stable.

[rt.cpan.org #57797] Deprecate safe_methods parameter.
Unfortunately,
Safe.pm version 2.27 patches a bug we were inadvertantly taking advantage of to implement the safe_methods parameter.
Unless we can find a working implementation of safe_methods that is smaller than "make everything unsafe" then we can't continue to support safe_methods.

Using safe_methods now issues a deprecation warning,
but it should work with older versions of Safe.
I'm in no hurry to remove the feature,
but I don't want anyone to use it who isn't already using it,
until we know it can be supported in the future.

Thanks to Niko Tyni and the Debian Perl Group for submitting this bug report.

"uninitialized" warnings in templates were being generated at a line number within MicroMason instead of a line number within the template itself.
Thanks to Mike Kelly for a patch: by concatenating an empty string to each TOKEN within the template,
the warning's line number is shifted to inside the template where the interpolation took place.

Fix test that was broken by changes in URI::Escape 1.30.
Double quotes aren't reserved characters in URIs but they were previously encoded anyway.
Test modified to use reserved single quotes instead,
for URI::Escape testing.

Fix a bug with TemplatePath error messages.
If a template name was provided that didn't exist in the path,
the error message generated by read_file didn't specify which template was requested.
This version now croaks in resolve_path instead of returning undef and letting read_file croak.

Fixed incorrect handling of default values for array or hash variables in an <%args> block. Thanks to Alexander for the bug report.

Added extra newlines to the do blocks generated by Base's assemble(), so that <% exprs %> can contain a comment. Problem reported by Alexander.

Improved error reporting by changing the file name embedded in the CPP-style line number comment at the top of each stretch of generated Perl code. Based on a problem report from Alexander. This does not fix the line numbering problem, but at least the file name is more helpful than it used to be.

Implemented support for one-time options passed to compile that override other attributes. Adjusted Safe facade to prevent this from being done there, in order to avoid escapes from a Safe compartment.

Discard line break after <%perl> block as suggested by Tommi Maekitalo. Note that removing these line breaks may affect the rendering of your current templates! Although I am typically hesitant to change established behavior, this does improve the template output and brings us into line with HTML::Mason's behavior.

Added $Debug flag and support for <%args> blocks based on a contribution by Tommi Maekitalo.

Adjusted internals to allow block reordering, and added support for <%init> and <%once>.

Changed the way that subroutines were scoped into the Text::MicroMason::Commands namespace so that Safe compartments with separate namespaces and shared symbols have the visibility that one would expect.

Fixed a bug in which an unadorned percent sign halted parsing, as reported by William Kern at PixelGate. Added a test to the end of 6-regression.t that fails under 1.05 but passes under 1.06 to confirm this.

Simplified parser regular expressions by using non-greedy matching.

Added documentation for *_file() functions. Corrected documentation to reflect the fact that template code is not compiled with "use safe" in effect by default, but that this might change in the future.

Adjusted regular expression based on parsing problems reported by Philip King and Daniel J. Wright, related to newlines and EOF. Added regression tests that fail under 1.04 but pass under 1.05 to ensure these features keep working as expected.