-
Notifications
You must be signed in to change notification settings - Fork 47
/
Changes
1350 lines (1055 loc) · 41.2 KB
/
Changes
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
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Revision history for Perl extension Text::Xslate
{{$NEXT}}
v3.5.9 2021-10-31T01:10:44Z
- Fix t/010_internals/008_files.t (#206)
v3.5.8 2020-06-01T15:17:51Z
- Fix "Argument list too long" in test (greeneg #202, #203, #204)
v3.5.7 2019-11-25T16:15:32Z
- Fix a segfault on array join (zanyou #199, #200)
v3.5.6 2018-01-08T06:39:38Z
- Fix build on perl 5.8.8 (wyoung #192, #193)
v3.5.5 2018-01-05T02:53:17Z
- Ensure that test cleans up after itself (jkeenan #190)
v3.5.4 2017-12-19T14:06:41Z
- Guarantee that test cleans up after itself (jkeenan #189)
v3.5.3 2017-12-03T05:18:51Z
- Fix tests for windows again (#188)
v3.5.2 2017-12-02T08:19:33Z
- Fix tests for windows (zdm #186, #187)
v3.5.1 2017-11-30T16:09:33Z
- Fix packaging issue; explicitly declare version for Text::Xslate::Engine
v3.5.0 2017-11-30T15:57:50Z
- Migrate to using minil (#179)
- Improve perl 5.8 support (#182)
- Use version->declare() to declare $VERSION (#182)
- Make `prove -br t` work with dot-not-in-INC perls (#184)
- Run tests against both XS and pureperl (#185)
- Fix typo (anirvan #181)
3.4.0 2017-01-20 15:00:00+0900
- Fix tied hash issue(#173)
- Fix encoding issue(#160)
- Fix segmentation fault issue by accessing uninitialized array element(#159)
3.3.9 2015-12-18 22:15:00+0900
- Fix test for Windows
3.3.8 change breaks Windows
3.3.8 2015-12-18 16:20:00+0900
- Fix test for DragonflyBSD
- Update document
3.3.7 2015-08-28 13:45:00+0900
- Fix for older Perl 5.8.8 or lower(#145)
- Enable 5.8 tests again
3.3.6 2015-08-25 13:50:00+0900
- Fix issue 'include' makes stack pointer incorrect(#130)
3.3.5 2015-08-05 18:50:00+0900
- Update Mouse version for Perl 5.22 or higher
3.3.4 2015-03-24 23:21:57+0900
- Fix typos in document
- Introduce $Text::Xslate::DEFAULT_CACHE_DIR
3.3.3 2014-08-04 15:50:00+0900
- No code changes from 3.3.2, just re-packaging.
3.3.2 2014-08-04 12:40:00+0900
[IMPROVEMENT]
- #127 Improve generating temporary file name
3.3.1 2014-08-03 11:45:40+0900
[ANNOUNCE]
- Now Xslate has new co-maintainers (those who can maintain and release
Xslate): lestrrat, syohex, and tokuhirom
[BUG FIXES]
- #126 Fix a typo in naming tempfiles (Hugmeir)
[DOCMENT]
- #125 Update document on Text::Xslate->bridge() and Builtin.pod
(Mike Raynham)
3.3.0 2014-08-03 11:54:02+0900
(mis-packaging release)
3.2.5 2014-07-15 08:18:31+0900
[TEST FIXES]
- No CGI.pm, which is no longer a standard module
3.2.4 2014-04-27 17:18:15+0900
[TEST FIXES]
- Fix #122, #120 testing issue on windows (syohex)
[FEATURES]
- Add $array.first() and $array.last() methods (#116, #118 / shyohex)
3.2.3 2014-04-23 07:32:39+0900
- Made a mistake in the release engineering, re-packaged on the correct
status.
3.2.2 2014-04-23 07:29:42+0900
[BUG FIXES]
- Fix #105 SEGV on blead (reported by tokuhirom, fixed by syohex in #117)
3.2.1 2014-04-17 07:55:38+0900
[BUG FIXES]
- Fix #111 (by syohex in #113) inputting "0" made a wrong result
3.2.0 2014-04-04 07:39:59+0900
[BUG FIXES]
- Fix #107, #109 HashWithDefault should use "exists" (yappo, tokuhirom)
3.1.2 2014-02-20 21:09:47+0900
[TEST]
- Add a test for github issue #105, which will fail on Perl 5.19.x
3.1.1 2014-01-24 07:50:52+0900
[DOCUMENTS]
- Fix some typos (#102)
- Add an explanation of `validate()` (#101)
[BUG FIXES]
- Fix a race condition on making cache dirs (#103)
3.1.0 2013-11-16 16:46:35+0900
[BUG FIXES]
- Close #96; $/ affected the parse() method
[FEATURES]
- Add $xslate->validate($file) method to check template syntax
3.0.2 2013-11-15 21:56:53+0900
[BUG FIXES]
- Fix a mojibake issue where utf8::upgrade() was always called when
loading caches (hanabukuro++)
3.0.1 2013-11-04 12:27:51+0900
[TEST FIXES]
- Fix a test that might fail on a slow machine like Raspberry Pi
(Getty++)
3.0.0 2013-10-18 08:59:22+0900
- No code changes from 2.1.0, just re-packaging for package managers
2.1.0 2013-10-17 22:18:21+0900
[BUG FIXES]
- Fix an issue that multi-bytes string literals used for a hash key
was not dealt as a text string (@Niratama++)
WARNING: this change could break your code if you use multi-byte
text string as a hash key.
2.0010 2013-10-07 21:56:12+0900
[BUG FIXES]
- Fix an issue that vpath with text-strings raised errors
on newer perls due to specification changes in PerlIO::scalar (#90)
- Documentation tweaks (#84, #86)
2.0009 2013-07-08 10:49:47-0700
[BUG FIXES]
- Fix a tied hash issue on string concat, thanks to zxchris (#81)
2.0008 2013-07-06 00:09:43-0700
[BUG FIXES]
- Fix a chache issue that UTF8 flags were not turned on
as expected (#82)
- Fix Metakolon doc (#83)
2.0007 2013-06-21 13:16:16-0700
[DOCUMENTS]
- Add doc about chomping newlines (<:- ... -:>)
[NEW FEATURES]
- Add pre_process_handler to pre-process template content (bluescreen)
2.0006 2013-06-02 22:58:27
[BUG FIXES]
- Fix an issue that the state of VM broke on exception
reported by nihen
2.0005 2013-06-02 12:23:15
[BUG FIXES]
- Fix a Multiplexed WRAPPER issue reportedy by @kawamuray (#79)
Those who use WRAPPER, template cascading, or anonymous functions
(lambdas) are strongly recommended to upgrade Xslate.
2.0004 2013-05-29 20:27:07
[TEST FIXES]
- Template string must be bytes (#78)
2.0003 2013-05-10 12:59:11
[BUG FIXES]
- Fix a crash on compiling templates (#77)
2.0002 2013-04-26 12:51:47
[BUG FIXES]
- Support perl-blead (5.17.11)
2.0001 2013-04-24 16:24:22
[FEATURES]
- Support PUREPERL_ONLY build
See the Lancaster Consensu:
https://github.com/sjn/toolchain-site/blob/219db464af9b2f19b04fec05547ac10180a469f3/lancaster-consensus.md#specifying-pure-perl-builds
2.0000 2013-02-20 09:21:08
- No code change from 1.9999_01
1.9999_01 2013-02-16 15:44:31
[CHANGES]
- Migrate from Any::Moose to Mouse because Any::Moose is deprecated
1.6002 2012-12-19 22:54:55
[BUG FIXES]
- Fix a bug where TTerse created no variable scopes (thanks to Yappo)
1.6001 2012-12-05 10:03:13
[BUG FIXES]
- Resolve issue #71: SV leaks in VM frames
1.6000_01 2012-11-04 09:56:45
- The bytecode version is now 1.6. So all the cache will be discarded.
[FEATURES]
- Add opcodes: find_file, suffix, is_code_ref, merge_file in
order to enhance template syntaxes (doy)
1.5025 2012-10-20 21:45:27
[BUG FIXES]
- Fix a bug that constants with unary operators might result in
wrong values (thanks to @doy)
1.5024 2012-10-15 18:02:29
[BUG FIXES]
- Fix false assertion failure
(This change affects only to -DDEBUGGING enabled perl)
1.5023 2012-10-15 08:22:14
[TEST]
- Apply issue #66 again
- 1.5022 was identical to 1.5021 (thanks to @doy)
1.5022 2012-10-15 00:15:18
[TEST]
- Do not depend on extra modules in tests (issue #66, @nihen).
1.5021 2012-10-15 00:07:54
[BUG FIXES]
- Fix an issue that recursive call of render() may cause SEGV
thanks to doy for reporting this issue (isseu #65).
1.5020 2012-10-14 23:06:49
[BUG FIXES]
- Fix deploying issues reported at 1.5017, again.
thanks to @woremacx for reporting it.
- Fix a bug that calling macro which encloses outer variables,
may clobber other variables, thanks to @ktat for reporting it.
1.5019 2012-10-03 12:28:20
[BUG FIXES]
- Revert 1.5016's bugfix which introduced a more serious problem.
The complete bufix will be applied to 1.5020.
1.5018 2012-09-30 13:41:13
[FEATURES]
- "html_builder_module" option to import HTML builders;
functions imported with this option are wrapped by html_builder()
1.5017 2012-08-04 19:31:59
[BUG FIXES]
- Fix a problem on Win32
1.5016 2012-08-04 19:19:15
[BUG FIXES]
- Fix a bug that reloading templates could fail on deploying
- Fix a problem on 5.17
1.5015 2012-07-13 19:31:53
[IMPROVEMENT]
- Enhance extensibility for custom parsers (shmorimo)
1.5014 2012-06-26 19:41:20
[IMPROVEMENT]
- Add scalar::split() to Bridge::Star (tokuhirom)
1.5013 2012-06-12 23:46:44
[IMPROVEMENT]
- Add "macro" option to Text::Xslate->new() (gunyoki)
1.5012 2012-05-21 15:52:59
[IMPROVEMENT]
- imporve error messages when the parser reaches EOF
1.5011 2012-05-21 15:45:00
[BUG FIXES]
- add warning about https://github.com/xslate/p5-Text-Xslate/issues/55
For backword compatibility, we don't change its behavior, but
it is likely to a problem so we warnn about it.
1.5010 2012-05-04 01:04:47
[TEST FIXES]
- Make `HANRESS_OPTIONS=j9 make test` work (@punytan)
1.5009 2012-03-30 09:19:18
[IMPROVEMENT]
- Documentation improvement
1.5008 2012-03-28 09:39:45
[BUG FIXES]
- Fix a typo in an error messages (issues/53, thanks to wchristian)
- Fix an undefined behavior that giving utf8-encoded *bytes* as
params made mojibake in use of caches
1.5007 2011-11-17 19:43:10
[BUG FIXES]
* SWITCH without an END made infinate loops (reorted by ryochin)
* "01" was parsed as 1, not "01" (reported by ryochin)
1.5006 2011-11-12 12:54:39
[META]
- Move the repository from github.com/gfx/* to github.com/xslate/
[FEATURES]
- Add Text::Xslate::Bridge::Star, utilities for templates
1.5005 2011-10-27 13:36:03
[IMPROVEMENT]
- Update documentations
1.5004 2011-10-13 10:24:38
[BUG FIXES]
- Small doc changes regarding escaping of HTML metacharacters (oalders)
- Fix a missing current_vars() method in PP
- Fix an error handling in Bridge.pm
1.5003 2011-10-05 11:23:56
[BUG FIXES]
- Fix typos in docs
- Resolve issue/45: nested macro modifiers caused errors
(thanks to tokuhirom)
1.5002 2011-08-30 21:48:49
[FEATURES]
* Add Text::Xslate->current_vars to get the parameters of render()
(requested by cho45 and others)
1.5001 2011-08-30 19:37:24
[BUG FIXES]
* Calling macros could break lexical vars;
Thanks to tomyhero and tokuhirom.
1.5000 2011-08-29 17:37:10
[BUG FIXES]
* Purge caches when input_layer has chagned. This fix
forces to purge all the caches, so the version is
now 1.5000, not 1.4003.
1.4002 2011-08-29 16:24:13
[FEATURES]
* Support FOR-ELSE syntax in TTerse
* Support file input hook by overriding slurp_template()
(See the cookbook)
1.4001 2011-07-29 09:13:00
[CHANGES]
* Forbid blessed HASH references as template parameters,
which could break encapsulation
1.4000 2011-07-24 19:26:31
* No code changes from 1.3999_04
* Note that all the cache created before 1.4 will be purged
1.3999_04 2011-07-24 13:07:28
[BUG FIXES]
* render() for %vpath did compile template sources at the first time
of the running process, but it was not required
1.3999_03 2011-07-23 17:51:28
[BUG FIXES]
* [% FOR x IN ... %] no longer throws errors
Using reserved words as variables is allowed if it's not ambiguous
[OTHER]
* Files and directories have been cleaned up
1.3999_02 2011-07-23 13:31:09
[DOCUMENT]
* Improve FAQ and Cookbook
* Mention to Text::Xslate::Syntax::HTMLTemplate and
HTML::Template::Parser (thnaks to @shmorimo)
1.3999_01 2011-07-13 23:14:05
The bytecode version is now 1.5.
[NEW FEATURES]
* New keyword: __ROOT__ for the root parameter
(the parameter of render())
* New methods: $array.merge(...) and $hash.merge(...)
which return a merged array / hash respectively
1.3001 2011-07-11 00:41:48
[BUG FIXES]
* Constants (and my pseudo-vars) didn't work in foreach-loops
(thanks to @toritori0318)
1.3000 2011-06-11 18:20:02
[CHANGES]
* html_builder(\&f) passes @_ as-is to &f
[BUG FIXES]
* Comments broke line numers (thanks to ktat)
* <: "10" x 100 :> was broken (thanks to ktat)
1.2004 2011-06-06 08:54:50
[BUG FIXES]
* Overriding builtins (introduced in 1.1005) didn't work
1.2003 2011-06-03 00:41:03
[BUG FIXES]
* Fix a miss-format in docs
* Suppress a compiler warnings
1.2002 2011-05-18 23:53:31
[BUG FIXES]
* Fix the overriding of the default escaping routine (rep. by @shmorimo)
1.2001 2011-05-16 23:39:16
* No code chages
* Just updated Module::Install::XSUtil for PERL_ONLY configuration support
1.2000 2011-05-14 14:32:46
See the changes for 1.1005_01
1.1005_01 2011-05-12 00:13:48
[CHANGES]
* The bytecode version is 1.4
[FEATURES]
* Allow the default escaping function html_escape() overridden
* Allow all the builtin functions overridden
* Add html_escape() and uri_escape() builtin functions,
which are the same as html() and uri() respectively
1.1005 2011-04-30 11:56:35
[BUG FIXES]
* Fix a bug which caused the performance to suffer severly under large
template files
1.1004 2011-04-11 22:55:59
[BUG FIXES]
* Fix a test which failed on Windows
1.1003 2011-04-08 09:51:47
[BUG FIXES]
* render_string(), to which you must pass a text string, died when wide
characters were passed (reported by @kazeburo)
1.1002 2011-04-05 00:41:09
[CHANGES]
* Remove the dependency on MX::Getopt
1.1001 2011-04-02 00:00:16
[BUG FIXES]
* A quote in comments caused parse errors (reported by @lestrrat)
1.1000 2011-03-17 22:18:07
This is a major update with the bytecode version 1.3
See the 1.0099_* for details
[NEW FEATURES]
* Loop control statements (next and last)
* for-else syntax in Kolon
1.0099_03 2011-03-13 13:22:21
[BUG FIXES]
* Fix tests
[CHANGES]
* Remove PP::Booster stuff
1.0099_02 2011-03-10 16:21:18
[NEW FEATURES]
* Add loop control statements (last and next) in both Kolon and TTerse
1.0099_01 2011-03-10 12:42:28
[CHANGES]
* The bytecode version is now 1.3, which means all the compiled codes
will be purged on render()
* Remove PP::Booster because of its high maintainance cost
* <: for nil -> $i { } :> no longer produces warnings
[NEW FEATURES]
* Add for-else syntax in Kolon
1.0012 2011-03-04 12:18:19
[BUG FIXES]
* Fix a bug that <: include foo() :> and <: my $var = ...; include $var :>
were wrongly parsed in Kolon (thanks to @shmorimo)
1.0011 2011-03-01 18:08:16
[CHANGES]
* Internet Explorer (<= 8) doesn't support ' in title, so
we must escape ' (apostrophe) into ', not '
(thanks to @tokuhirom)
1.0010 2011-02-28 18:09:28
[BUG FIXES]
* Fix a bug in import_from(), which failed to import optimized constant
introduced in 5.10 (thanks to @kane46taka)
1.0009 2011-02-28 13:00:50
[BUG FIXES]
* Lock cache file operations with flock(2)
* Fix doc issues
[CHANGES]
* Switch PP backend from PP::Booster to PP::Opcode.
PP::Booster will be removed from the core because
its maintainance cost is too high.
1.0008 2011-02-14 12:46:45
[BUG FIXES]
* Fix docs
1.0007 2011-02-13 23:10:03
[BUG FIXES]
* Suppress irrational uuv warnings in relational operators
(github issue/28, reported by @tokuhirom)
1.0006 2011-02-11 16:23:32
[BUG FIXES]
* Complex templates which include too many string literals (e.g. large
JSON) could cause fatal errors on 5.10+, or SEGV on 5.8
(github issue/27; thanks to @cho45 for reporting it)
[NEW FEATURES]
* You can inject customized messages into the output with
the 'warn_handler' option and Text::Xslate->print() method.
See the Cookbook for details.
1.0005 2011-02-09 14:33:57
ANNOUNCE: If you are interested in xslate, join #xslate @ irc.perl.org!
[BUG FIXES]
* The INCLUDE recursion bug (see the NOTE at 1.0004) has been fixed.
(thanks to @kane46taka for reporting it)
1.0004 2011-02-08 12:36:21
NOTE: All the versions including this version has a bug that INCLUDE
recursion doesn't work. It will be fixed in the next release.
[BUG FIXES]
* Fix a critical bug that warnings in templates could break the Perl stack
(thanks to @tokuhirom for reporting it)
* Fix a bug that method calls didn't work in PP version
(thanks to @tokuhirom for reporting it)
1.0003 2011-02-05 11:54:45
[NEW FEATURES]
* For-loops allow overloaded objects. i.e. you can use Scalar::Defer
to defer to create large arrays.
1.0002 2011-02-02 12:02:40
[BUG FIXES]
* A tiny doc fix
1.0001 2011-02-02 11:50:43
[BUG FIXES]
* Template caches was not purged correctly when functions were added
(thanks to @tokuhirom for reporting it)
* The 'super' keyword didn't work in template components
(thanks to @shiba_yu36 for reporting it)
1.0000 2011-01-07 16:08:44
This is the version 1.0, which means "very stable". Although some features are planned
to impement in the near future, the basic features are unlikely to be changed.
[BUG FIXES]
* Resolve github issue/23: html_builder() doesn't work with functions which accepts
multiple arguments
[DOCUMENTS]
* Add an entry about I18N to the cookbook (c9s)
0.3002 2010-12-16 16:17:48
[BUG FIXES]
* hash_with_default() didn't work with `include with vars` syntax
(thanks to hirose31 for reporting this issue)
0.3001 2010-12-09 17:18:14
[BUG FIXES]
* Fix `module => \@bridges` that importing of bridge modules
incorrectly cleared the function mapping (reported by lestrrat)
0.3000 2010-11-23 15:19:04
[CHANGES]
* `option => undef` passes the option as is, which allows
Text::Xslate->new( line_start => undef ) (issue/21, reported by @tomita).
Note that this is an IMCOMPATIBLE CHANGE.
[DOCUMENTS]
* Update Cookbook and FAQ
0.2015 2010-11-17 22:27:34
[NEW FEATURES]
* The 'include' command allows barewords as 'cascade' does
0.2014 2010-11-06 09:24:00
[BUF FIXES]
* Error messages did not respect input_layer
0.2013 2010-10-30 15:17:40
[BUG FIXES]
* Magic handlings for 'print' opcode
[NEW FEATURES]
* hash_with_default(\%vars, $default) in Text::Xslate::Util
see Text::Xslate::Manual::Debugging
[OTHERS]
* Switch from M::I::ExtendsMakeTest to M::I::TestTarget
0.2012 Mon Oct 18 23:25:38 2010
* No code changes
* Update Module::Install::ExtendsMakeTest (to HEAD of the repo)
to avoid problems with non-author environments
0.2011 Sun Oct 17 18:38:01 2010
[CHANGES]
* The bytecode version is now 1.2
* Remove builtin ref(); Add is_array_ref() and is_hash_ref() instead.
I'm sorry to change APIs, but use of ref() would confuse people.
0.2010 Sat Oct 16 10:00:00 2010
This is the commemorative release for YAPC::Asia Tokyo 2010!
[CHANGES]
* The bytecode version is now 1.1
[NEW FEATURES]
* Add a builtin function ref(), which is the same as Perl's ref()
[BUG FIXES]
* Resolve RT #62028 (Kaare Rasmussen): Test failed on old URI::Find
0.2009 Wed Oct 6 18:50:45 2010
[BUG FIXES]
* Large template files could cause SEGV (reported by id:peppon)
[ENHANCEMENT]
* The first call of render() has been significantly faster than 0.2008
0.2008_02 Tue Sep 28 16:42:21 2010
[BUG FIXES]
* Cache mechanism was affected by the special variables $/ and $\
* Developpers' releases might produced warnings about versions
[CHANGES]
* Upgrading Text::Xslate no longer forces to purge cached templates.
Instead, the internal bytecode version (1.0, currentl) is used.
0.2008_01 Wed Sep 22 17:18:53 2010
[CHANGES]
* Use Data::MessagePack as the bytecode serializer, which make
the first call of render() much faster
0.2008 Sun Sep 19 18:17:51 2010
[CHANGES]
* The obsolete feature that render(undef) is the same as render('<string>')
has been removed. render(undef) always throws the error.
[FEATURES]
* Range operator (e.g. <: for [1 .. 10] -> $i { } :>)
0.2007 Fri Sep 17 12:12:50 2010
[BUG FIXES]
* Resolve RT #61359 (Sam Graham): Taint flag broke templates
0.2006 Tue Sep 14 11:46:33 2010
[BUF FIXES]
* Single-quote literals parsed wrong, when contain paired double q (Mons Anderson)
* Infinite recursion during _fold_constants in case of warnings (Mons Anderson)
0.2005 Mon Sep 13 14:44:22 2010
[BUG FIXES]
* Workaround a new deprecated warnings for qw(...)
(See perl.git/master/ea25a9b2cf73948b1e8c5675de027e0ad13277bd)
0.2004 Fri Sep 10 13:50:08 2010
[BUG FIXES]
* Workaround test failure about 'too long arguments for exec()'
0.2003 Thu Sep 9 19:25:08 2010
[BUG FIXES]
* Fix a misuse of test functions. This problem is revealed
by Test::Builder2.
* Workaround MAGIC problems with html_escape($1)
0.2002 Tue Sep 7 15:23:49 2010
[FEATURES]
* Performance improvement (thanks to @kazuho)
This version is 10% faster than the previous version!
* Update meta spec.
0.2001 Tue Aug 31 13:48:29 2010
[BUG FIXES]
* Resolve github issue/16: header/footer was applied recursively, which
caused deep recursions (reported by egor)
* Dies in macros could make inconsistent data
* Optimization of if statements could make wrong results
[FEATURES]
* Statement modifiers (a.k.a. post-if statements) for Kolon and TTerse
0.2000 Fri Aug 27 11:44:26 2010
Version 0.2000 is stable but has some incompatible changes.
Please check the [CHANGES] section of this file before upgrading.
[CHANGES]
* Remove deprecated .defined() method. Use defined(expr) instead.
0.1999_06 Thu Aug 26 14:50:46 2010
[BUG FIXES]
* Fix a test. IPC::Cmd seems broken.
0.1999_05 Wed Aug 25 18:35:15 2010
[BUG FIXES]
* Fix another build problem on Win32
0.1999_04 Wed Aug 25 11:34:09 2010
[BUG FIXES]
* Fix a build problem on Win32
0.1999_03 Tue Aug 24 17:20:16 2010
[BUG FIXES]
* t/300_examples/100_eg_pl.t could hung up on Win32 (@turugina)
0.1999_02 Tue Aug 24 12:08:03 2010
[CHANGES]
* For Text::Xslate::Runner, remove --input_layer option, and
add --input_encoding and --output_encoding
[BUG FIXES]
* uri_escape() in PP didn't work for UTF-8-flagged string
0.1999_01 Sun Aug 22 17:45:17 2010
[CHANGES]
* The "escape" option is changed to "type", which accepts "html", "xml",
and "text"
* The default pure Perl backend is now PP::Booster, which is about
2 times faster than PP::Opcode (according to benchmark/x-poor-env.pl)
[BUG FIXES]
* Modulus zero ($foo % 0) could throw uncatchable errors
[FEATURES]
* Repeat operator (infix:<x>) is added (so "x" is now an invalid
variable name in TTerse)
* Now html_builder() can be applied to dynamic filters (e.g.
to the HTML::FillInForm::fillinform() function)
0.1058 Tue Aug 17 17:59:53 2010
[CHANGES]
- Deprecate defined() method, which is provided only for compatibility
with TT, but the behaviour might not be exceptable. That is,
$object.defined() returns false unless the $object has its own
defined() method. Use defined(expr) function instead, which return
false if and only if the expr is undef (nil).
[FEATURES]
- Add html_builder() to make it easy to import HTML builders.
See Text::Xslate::Cookbook for example.
0.1057 Sun Aug 15 18:28:32 2010
[BUG FIXES]
- Subroutines that localize $SIG{__WARN__} or $SIG{__DIE__} could make
Perl interpreter panic (reported by tokuhirom)
- Invalid expressions could produce insane errors including infinite loop
(issue/13, reported by y)
- A Win32 problem in tests might be fixed
[FEATURES]
- Experimental support for PP::Compiler which make PP::Booster faster
(makamaka)
0.1056 Tue Aug 10 14:28:55 2010
[BUG FIXES]
- The rendering methods ignored signals
- 'path' option could not deal with overloaded strings (e.g.
Path::Class::Dir) correctly (chiba)
- Die in macros/blocks caused segfaults (reported by chiba)
[OTHERS]
- Benchmarks to compare other template engines have been refactored
and improved (lestrrat, tokuhirom).
See http://xslate.org/benchmark.html for details.
0.1055 Sat Aug 7 17:33:56 2010
[BUG FIXES]
- Make xslate(1) print the result to stdout when both --suffix and
--dest are omitted
- Add HTML escaping in benchmarks correctly, updating the result of
benchmarks in documents
0.1054 Mon Aug 2 17:26:21 2010
[BUG FIXES]
- The print routine for raw stirings was significantly slower than
that with automatic HTML escaping
0.1053 Sun Aug 1 18:14:52 2010
[BUG FIXES]
- Fix incorrect titles of manuals
0.1052 Sun Aug 1 15:42:16 2010
http://xslate.org is out!
Thanks to Shibuya.pm, esp. @tokuhirom and @lestrrat.
[BUG FIXES]
- Forbid '..' in file names
- "<: $foo :>:<: $bar :>" caused parse errors
[CHANGES]
- The algorithm of building cache paths has been changed, which requires
to re-compile templates.
[NEW FEATURES]
- Documents: Text::Xslate::Manual for table of contents,
Text::Xslate::Builtin for builtin methods and filters
- Exportable functions: uri_escape()
- Builtin filters: uri
0.1051 Thu Jul 29 17:41:43 2010
[BUG FIXES]
- Fix cache issues enbugged in 0.1049
0.1050 Tue Jul 27 19:36:39 2010
[BUG FIXES]
- Fix another keyword problem
0.1049 Tue Jul 27 19:03:04 2010
[BUG FIXES]
- Compliant with Moose 1.09 (warns about coerce => 1 without coercion)
- Lower cased keywords were incorrectly parsed as an upper cased keyword
in TTerse (thanks to chiba)
- Complex expression problems in PP::Booster, again (@maka2_donzoko)
[CHANGES]
- Now chache file names include tha path they are
0.1048 Mon Jul 26 16:17:43 2010
[BUG FIXES]
- Virtual paths were not cached when cache => 1
- The explanation of 'tag_end' were incorrect
- AUTOLOAD were ignored in methodcall
- Complex expression problems in PP::Booster (@maka2_donzoko)
[CHANGES]
- Internal refactoring to make parsers more robust
- Rename Text::Xslate::Cookbook to Text::Xslate::Manual::Cookbook
- Now string concatination (infix:<~>) respects raw strings
[NEW FEATURES]
- Add GET statement to TTerse
- Add prefix:<NOT>, infix:<AND> and infix:<OR> to TTerse (@clouder)
[NEW DOCUMENTS]
- Text::Xslate::Manual::FAQ to answer a few questions
0.1047 Mon Jul 19 17:04:51 2010
[BUG FIXES]
- $foo.nil did not work.
- "+10" was wongly converted into "10"
[CHANGES]
- Rename Text::Xslate->engine to Text::Xslate->current_engine
- Remove deprecated Text::Xslate::EscapedString->new
[NEW FEATURES]
- New methods: Text::Xslate->current_file and current_line
0.1046 Sat Jul 17 18:48:14 2010
[NEW FEATURES]
- Add Perl6-like bitwise operators:
infix:<+|> for bitwise or
infix:<+&> for bitwise and
infix:<+^> for bitwise xor
prefix:<+^> for bitwise negate
0.1045 Tue Jul 13 20:05:10 2010
[BUG FIXES]
- prechomp/postchomp ([%- ... -%]) was not completly comptible with TT2
- Line numbers were wrong if templates used prechomp/postchomp
- TTerse could not parse dynamic filters with FILTER blocks correctly
[NEW FEATURES]
- Text::Xslate::Runner as the guts of xslate(1)
- The __FILE__ and __LINE__ keywords for testing and debugging
- Now parsers can has its own identity pattern
0.1044 Mon Jul 12 17:50:35 2010
[BUG FIXES]
- Underscores in bare words (i.e. left-hand side of the operator '=>')
were accidentally removed.
- There were several issues on path => \%vpath
[NEW FESTURES]
- $array.reduce(-> $x, $y { ... }) method
0.1043 Sat Jul 10 14:26:57 2010
[BUG FIXES]
- What Makefile.PL wrote for additional tests did not work on Win32
(thanks to Taro, Nishino)
[DOC FIXES]
- Fix typos for Changes: s/ware/were/g (thanks to @ryochin)
[NEW FEATURES]
- Extend 'path' option for in-memory file mapping, inspired by
Text::MicorTemplate::DataSection (@typester++), requested by @kazeburo
0.1042 Tue Jul 6 13:28:43 2010
[BUG FIXES]
- Makefile.PL did not work on some environments
- block -> {} and FILTER BLOCK were not consistent with normal macros
[CHANGES]
- Internal refactoring
0.1041 Sat Jul 3 14:52:00 2010
[BUG FIXES]
- Tests for filenames did not work on Win32
[CHANGES]
- Refactor internal function registration APIs
[NEW FEATURES]
- For App::xslate
+ New option --version to show versions
+ New option --engine (or -E) to change the engine class
0.1040 Thu Jul 1 15:33:14 2010
[BUG FIXES]
- UTF8 flags was not respected in some cases
[CHANGES]
- Error messages contain source lines
0.1039 Mon Jun 28 20:31:54 2010
[DOCUMENTS]
- Applying the raw filter in templates is considered harmful. Remove
the use of it from the cookbook. Thanks to @typester.
0.1038 Mon Jun 28 17:44:52 2010
[BUG FIXES]
- Extra white spaces caused syntax errors in given blocks
- Original error handlers (i.e. $SIG{__WARN__} and $SIG{__DIE__})
were ignored. This problem affected PSGI applications with the
StackTrace middlewere.
[NEW FEATURES]
- New document Text::Xslate::Cookbook
- Block filter syntax in Kolon. See Text::Xslate::Cookbook.
- SWITCH-CASE directives in TTerse
0.1037 Sun Jun 27 17:37:57 2010
[BUG FIXES]
- Template cascading broke the file name of error messages
[OTHERS]
- Internal refactoring
0.1036 Wed Jun 23 20:05:44 2010
[CHANGES]
- Change line_start, tag_start and tag_end to take string tokens,
not regexps
[NEW FEATURES]
- Improve performance (about 10%+) by direct threaded code, although it's
enabled only on gcc
- Text::Xslate->engine() method to access the executing engine
from functions and methods
0.1035 Sun Jun 20 15:03:12 2010
[BUG FIXES]
- Macros with args could not refer to outer variables
[NEW FEATURES]
- "while defined expr -> $item" as a syntactic sugar to
"while defined(my $item = expr)"
- New iterator element: $~iter.cycle(...)
0.1034 Wed Jun 16 17:27:44 2010
[CHANGES]
- Rename $~iter.max to $~iter.max_index in Kolon
[BUG FIXES]
- The cache reloader was broken from 0.1032 (thanks to @fujiwara)
[NEW FEATURES]
- For TTerse
+ Support header/footer options