File: Changes.pod

package info (click to toggle)
libtext-micromason-perl 2.13-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 624 kB
  • ctags: 180
  • sloc: perl: 3,222; makefile: 23
file content (827 lines) | stat: -rw-r--r-- 18,000 bytes parent folder | download
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
=head1 NAME

Text::MicroMason::Docs::Changes - Change History for the MicroMason Distribution


=head1 VERSION 2 HISTORY

=head2 Version 2.13

=over 4

=item 2011-01-13

[rt.cpan.org #64192] Skip the Safe-related tests more often, since newer
versions of Safe.pm mark their own failing tests as TODO instead of
changing the module's behavior.

=back

=head2 Version 2.12

=over 4

=item 2010-09-07

Skip more tests that fail due to a bug in Safe.pm. Add a prereq for
Safe.pm so CPAN testers will provide more debug info on failure.

=back

=head2 Version 2.11

=over 4

=item 2010-09-07

[rt.cpan.org #61010] Fix spelling errors and pod example bugs. Thanks to
vshih at yahoo.com for reporting these problems.

=item 2010-09-07

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.

=item 2010-07-26

[rt.cpan.org #59081] Fix spelling and pod errors. Thanks to Ansgar
Burchardt and the Debian project for submitting this bug report along
with patches.

=back

=head2 Version 2.10

=over 4

=item 2010-06-29

[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.

=item 2010-04-05

"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.

=back

=head2 Version 2.09

=over 4

=item 2010-03-24

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.

=back

=head2 Version 2.08

=over 4

=item 2010-03-08

Fixed PassVariables bug: <%init> failed with -PassVariables plugin.
Thanks to William Kern for reporting this.

=item 2009-11-19

Fixed [rt.cpan.org #51727] [Patch] POD nit; thanks to Frank Wiegand for
reporting this.

=back

=head2 Version 2.07

=over 4

=item 2009-11-16

Merge patch from Simon Cavalletto: fix bug reported in CPAN forum with
"OUT" appearing in the input template stream.  Thanks!

Update requirement for Test::More 0.48 or later in Makefile.PL. Tests
using unlike() failed with Test::More version 0.47.

Fix problem in t/08_errors.t which caused test failures in Perl 5.6. The
error message isn't as important as the test made it out to be, but the
code didn't have a problem.

=item 2009-11-12

Remove documentation for unsupported compile(lines => ...) mode. Put it
on ToDo instead.

=back

=head2 Version 2.06

=over 4

=item 2009-11-11

Fix bug reported in CPAN forum: substr() in LineNumbers.pm was being
used incorrectly, resulting in incorrect line numbering in some cases.

=item 2009-11-12

#51460: Clean up the tarball and resubmit a version that doesn't
contain a stray .tgz file.

=back

=head2 Version 2.05

=over 4 

=item 2009-11-10

Modify compilation error reporting: provide line numbers when dumping
the compiled template into $@, and change the #line to match the line
numbering correctly.

=item 2009-11-11

Fix bug reported by CPAN testers on some Windows boxes: use
Cwd::abs_path for strict_root checking to avoid literal path separators
in TemplateDir.pm.

=item 2009-11-11

Add a hint about -LineNumbers in the numbered template dump when a
compilation error occurs.

=back
 
=head2 Version 2.04

=over 4

=item 2009-11-06

Fixed SKIP count in t/33_filters.t to prevent test failures when
URI::Escape isn't installed.

=back

=head2 Version 2.03

=over 4

=item 2009-10-30

Happy Halloween.

Updated tests to use Test::More for better diagnostics via CPAN testers.

Tweaked t/34 with a longer sleep() since some linux hosts seemed to be
sleeping for less than a second with sleep(1).

=back

=head2 Version 2.02

=over 4

=item 2009-10-29

Updated Changes.pod.

Fixed SKIP count in t/33 which caused test count mismatches when
HTML::Entities wasn't installed.

=back

=head2 Version 2.01

=over 4

=item 2009-10-29

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.

Updated pod to reflect this change and document previously undocumented
exception strings.

Modified undocumented exception strings for strict_root violations.

=back

=head2 Version 2.0

=over 4

=item 2008-01-02

Fix bug with || filter patch: it was erroneously removing the last
character of the filtered token, which made it fail if there was no
space before the |.

Bump version to 2.0

=back

=head2 Version 1.993_01

=over 4

=item 2007-12-21

Add LineNumbers mixin and associated tests.

=item 2007-12-21

Update TODO: move almost everything into a WISH LIST with a request for
contributions, and make the main TODO list bug fixes and a few likely
developments.

=item 2007-12-21

Merge test and patch from RT bug #21802: cache expiration bug. 

=item 2007-12-21

Merge changes from RT bug #18435: filter problem with 
<% $thing || "default" %>

=item 2007-12-21

Bump version to 1.993_01

=back


=head2 Version 1.993

=over 4

=item 2007-12-20

Merge changes from pair Networks local branch, which have been in
testing and production since Q1 2007; bump version to 1.993.

This includes:

=over 2

=item TemplatePath mixin

Template lookups on a search path

=item TemplateDir/ Cache patch

 fix interaction of caching and TemplateDir/TemplatePath

=item Additional test files

=item Stop creating cache objects unless/until they're used

=back

=back

=head2 Version 1.992_01

=over 4

=item 2007-12-20

Updated pod and makefiles for maintenance transition from Simon to
Alan. Thanks for the wonderful module, Simon! I hope I can keep things
under control.

Bumped version number.

=back

=head2 Version 1.992

=over 4

=item 2005-11-13

Updated ToDo.pod with a few ideas for upcoming releases.

Extended t/58-quicktemplate.t to demonstrate use of the pre_fill method.

=item 2005-11-12

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.

=item 2005-08-24

Added RoughDraft of "ParseInfo.pm" based on a reply to a question via email from Alexander.

=item 2005-07-30

Fixed return value from Text::MicroMason::Cache::File set() method; thanks to Alan Ferrency for the helpful bug report and test case.

=item 2005-07-24

Extracted HasParams and StoreOne mixins from HTMLTemplate. 

Added QuickTemplate mixin class with emulation for Text::QuickTemplate.

=item 2005-07-20

Added reference links to benchmarking section in Docs/ToDo.pod.

Added "local $^W;" in two test scripts to silence extra warning on Perl 5.005_04.

Bumped version number.

=back

=head2 Version 1.991

=over 4

=item 2005-07-19

Bumped version number.

Added ApacheHandler configuration options and basic documentation.

=item 2005-07-18

Added PLP mixin class with emulation for PLP templating package.

Added the skeleton for a basic ApacheHandler class.

Improved strict_root support in TemplateDir and added documentation for it.

Extracted argument passing logic from TextTemplate to create new PassVariables mixin.

Added Sprintf syntax mixin and basic tests.

=item 2005-07-17

Added DoubleQuote syntax mixin and basic tests.

=back

=head2 Version 1.99

=over 4

=item 2005-07-09

Added AllowGlobals mixin based on suggestion and patch from Jonas Alves. Reviewed similar functionality in HTML::Mason and added docs and tests.

Extracted debug options to separate Debug mixin class.

Changed name of internal new() method to create(), while propogating the mixin finding behavior from the Text::MicroMason facade up to Text::MicroMason::Base.

Renamed examples directory to samples.

Added read_handle method and output_sub attribute.

Added assembler_vars method and removed %Assembler global.

=item 2004-12-01

Fixed early exit of t/42-text_template.t to skip test if missing Text::Balanced.

=item 2004-11-30

Renamed the Mason compatibilty class to HTMLMason to match other syntax classes. Changed it to be a mixin like the other classes, instead of a subclass.

Switched to use of Class::MixinFactory and removed old class() and NEXT() methods. 

Extracted new interpret() method from inside of compile().

Adjusted setting of options and attributes so that this doesn't happen within interpret().

Extracted list of related modules to new Docs::Related POD file.

=back

=head2 Version 1.98

=over 4

=item 2004-11-29

Fixed unprotected test dependency on Text::Balanced for TextTemplate emulation.

Fixed unexpected side-effect of change to parsing for single-character Filter flags.

Minor adjustments to POD documentation.

=back

=head2 Version 1.97

=over 4

=item 2004-11-28

Moved to do list into new pod file. Moved extra pod files into Docs namespace.

Added _printable to default set of functions in Filters. Tweaked parse_filters  and get_filter_functions methods.

Changed internal names for ouput and include token types to expr and file. Corrected typo in one of the assembler token names.

Adjusted $Carp::CarpLevel in Base croak_msg().

Fixed test failure in t/33-filters.t reported by William Kern.

=item 2004-10-24

Fixed typo in ServerPages example; thanks to William Kern for pointing it out.

=item 2004-10-20

Adjustments to documentation in top-level package.  

=back


=head2 Version 1.96

=over 4

=item 2004-10-19

Added PostProcess mixin class at the suggestion of Alan Ferrency.

Renamed a few keys in the hash returned by assembler_rules(). 

Moved syntax documentation to Mason subclass.

=back

=head2 Version 1.95

=over 4

=item 2004-10-19

Fixed problem with extra semicolons breaking code statements broken onto
multiple % code lines; thanks to Alan Ferrency for test code to isolate
the problem, now added to regression tests.

=item 2004-10-17

Documentation updates.

=back


=head2 Version 1.94

=over 4

=item 2004-10-17

Factored subclass-specific lex_token() method out from superclass lex() method.

Added Embperl mixin class with emulation for HTML::Embperl.

Merged Devel.pod back in to other package documentation.

=item 2004-10-16

Replaced assembler attribute with assembler_rules() method.

Added Mason subclass and moved some functionality to there from Base.

Documentation updates.

=item 2004-10-15

Added HTMLTemplate mixin class with emulation for HTML::Template.

=item 2004-10-13

Added TextTemplate mixin class with emulation for Text::Template.

=back


=head2 Version 1.93

=over 4

=item 2004-10-12

Instead of run-time eval of @MIXIN to fix SUPER resolution, now using a new SUPER method.

=item 2004-10-11

Documentation updates.

=back


=head2 Version 1.92

=over 4

=item 2004-10-11

Uploaded to CPAN to fix packaging issue with 1.9_1.

=back


=head2 Version 1.91

=over 4

=item 2004-10-10

Posted description of mixin mechanism to PerlMonks for discussion.

Debugged CompileCache and finished ExecuteCache. Added test scripts.

Debugged TemplateDir and added test script.

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.

=item 2004-10-09

Reorganized t/ directory.

=back


=head2 Version 1.90

=over 4

=item 2004-10-08

Documentation updates.

=item 2004-10-05

Documentation updates.

=back


=head2 Version 1.55

=over 4

=item 2004-09-23

Documentation updates.

=back


=head2 Version 1.54

=over 4

=item 2004-09-22

Renamed "interpret" method to "execute" for consistency with function interface.

Moved try_ functionality to new ErrorCatching mixin.

Generalized behavior of assemble method; moved template elements into %Assembly hash.

=back


=head2 Version 1.53

=over 4

=item 2004-09-22

Moved Safe functionality to new Safe mixin.

Moved filtering functionality to new Filters mixin.

=item 2004-09-21

Added mixin inheritance hacking logic based on DBIx::SQLEngine::Record::Class.

=back


=head2 Version 1.52

=over 4

=item 2004-09-19

Extracted Changes to separate POD document.

=item 2004-09-18

Additional work.

=back


=head2 Version 1.51

=over 4

=item 2004-09-17

Refactoring of method interface to merge compie and interpretation into single subroutines with parameters to indicate whether we're reading text or a file.

Added initial support for filtering interpolated expressions based on a patch and extended discussion with Alan Ferrency.

Packaged as version 1.51 but not released to CPAN.

=item 2004-09-16

Refactored to object-oriented implementation to allow subclassing. Inspired by discussion with Alan Ferrency about how to extend functionality.

Started CodeCache subclass based on experimental caching code included in 1.07.

Started TemplateDir subclass with base directory and relative path calculations based on a patch from Tommi Maekitalo.

Incorporated patch from Tommi Maekitalo to put default values from an <%args> block into the %ARGS variable as well as the separate named variables.

Created ServerPages subclass based on feature request from William Kern. 

=item 2004-09-15

Moved package documentation into separate ReadMe.pod.

=back


=head1 VERSION 1 HISTORY

=head2 Version 1.07

=over 4

=item 2003-09-26

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>.

Released as Text-MicroMason-1.07.tar.gz.

=back

=head2 Version 1.06

=over 4

=item 2003-09-04

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.

Released as Text-MicroMason-1.06.tar.gz.

=back

=head2 Version 1.05

=over 4

=item 2003-08-11

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. 

Added non-printing-character escaping to parser failure and debugging messages to better track future reports of whitespace-related bugs.

Moved tests from test.pl into t/ subdirectory. 

Added experimental suppport for file code cache in compile_file_codecache.

Released as Text-MicroMason-1.05.tar.gz.

=back

=head2 Version 1.04

=over 4

=item 2002-06-23 

Adjusted regular expression based on parsing problems reported by Mark Hampton. 

Added file-include support with <& ... &> syntax. 

Documentation tweaks. Adjusted version number to simpler 0.00 format.
Released as Text-MicroMason-1.04.tar.gz.

=item 2002-01-14 

Documentation tweaks based on feedback from Pascal Barbedor. Updated author's contact information.

=back

=head2 Version 1.0.3

=over 4

=item 2001-07-01

Renamed from HTML::MicroMason to Text::MicroMason. Documentation tweaks. Released as Text-MicroMason-1.0.3.tar.gz.

=back

=head2 Version 1.0.2

=over 4

=item 2001-04-10 

Munged interface for clarity. Added Safe support. 
Adjusted docs to reflect feedback from mason-users.
Released as HTML-MicroMason-1.0.2.tar.gz.

=back

=head2 Version 1.0.1

=over 4

=item 2001-03-28 

Parser tweakage; additional documentation.
Added Exporter support.
Released as HTML-MicroMason-1.0.1.tar.gz.

=item 2001-03-26 

Added try_interpret; documented error messages.

=back

=head2 Version 1.0.0

=over 4

=item 2001-03-23 

Extended documentation; added makefile, test script. 
Renamed accumulator to $OUT to match Text::Template.
Released as HTML-MicroMason-1.0.0.tar.gz.

=item 2001-03-22 

Created.

=back


=head1 SEE ALSO

For distribution, installation, support, copyright and license 
information, see L<Text::MicroMason::Docs::ReadMe>.

=cut