-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text::Template 1.48,1.49 breaks Dist::Milla #8
Comments
72f457f is the first bad commit
:100644 100644 2e425e38fcf676dab990310ed27fd146da2b7e72 8e62fbfef8a626ddacab4abbfd0baaead088e97c M Changes |
Basically the way that change was implemented breaks cases where you have nested tags such as this example. Given the severity of the breakage, and how recently this was added, I'm inclined to revert it and release a version without the same start/end tag feature for now and revisit that in the future. |
@mschout Thanks for looking into this.
I agree. |
reverted and released in v1.50, just released. |
sorry for the multi-hour delay. U-verse sh*t the bed here. :) |
@mschout I confirmed that |
Upstream changes: 1.50 2018-02-10 *** Revert support for identical start/end delimiters (e.g.: @@foo@@, XXfooXX) due to breakage with nested tags (see mschout/perl-text-template#8). Will revisit this in a future release. 1.49 2018-02-07 - Fix failing tests in v1.48 under perl < 5.8.9 1.48 2018-02-07 - remove COPYING and Artistic files from the dist. These are replaced by the Dist::Zilla generated LICENSE file. - use strict/warnings (thanks Mohammad S Anwar) - remove $VERSION checks from tests. This makes it easier to run the test with Dist::Zilla and avoids maintenance issue of updating the tests for each release (Thanks Andrew Ruder). - Allow precompiled templates to work with preprocessing [#29928] (Thanks Nik LaBelle) - Add "strict" option to fill_in(). This adds "use strict" and "use vars (...)" to the prepend section, and only the keys of the HASH option are allowed in the template. (Thanks Desmond Daignault, Kivanc Yazan, CJM) [55696] - Fix templates with inline comments without newline after comment for perl < 5.18 [34292] - Don't use bareword file handles - use three arg form of open() - Fix BROKEN behaviour so that it returns the text accumulated so far on undef as documented [28974] - Source code cleanups - Minimum perl version is now 5.8.0 - Allow start/end delimiters to be identical (e.g.: @@foo@@, XXfooXX) (Thanks mirod) [46639] - Fix + document the FILENAME parameter to fill_in() (Thanks VDB) [106093] - Test suite cleanups: + turn on strict/warnings for all tests + run tests through perltidy and formatting cleanup + remove number prefixes from test names + use Test::More instead of generating TAP by hand + use three-arg form of open() + don't use indirect object syntax + don't use bareword file handles + use File::Temp to generate temporary files
Upstream changes: 1.50 2018-02-10 *** Revert support for identical start/end delimiters (e.g.: @@foo@@, XXfooXX) due to breakage with nested tags (see mschout/perl-text-template#8). Will revisit this in a future release. 1.49 2018-02-07 - Fix failing tests in v1.48 under perl < 5.8.9 1.48 2018-02-07 - remove COPYING and Artistic files from the dist. These are replaced by the Dist::Zilla generated LICENSE file. - use strict/warnings (thanks Mohammad S Anwar) - remove $VERSION checks from tests. This makes it easier to run the test with Dist::Zilla and avoids maintenance issue of updating the tests for each release (Thanks Andrew Ruder). - Allow precompiled templates to work with preprocessing [#29928] (Thanks Nik LaBelle) - Add "strict" option to fill_in(). This adds "use strict" and "use vars (...)" to the prepend section, and only the keys of the HASH option are allowed in the template. (Thanks Desmond Daignault, Kivanc Yazan, CJM) [55696] - Fix templates with inline comments without newline after comment for perl < 5.18 [34292] - Don't use bareword file handles - use three arg form of open() - Fix BROKEN behaviour so that it returns the text accumulated so far on undef as documented [28974] - Source code cleanups - Minimum perl version is now 5.8.0 - Allow start/end delimiters to be identical (e.g.: @@foo@@, XXfooXX) (Thanks mirod) [46639] - Fix + document the FILENAME parameter to fill_in() (Thanks VDB) [106093] - Test suite cleanups: + turn on strict/warnings for all tests + run tests through perltidy and formatting cleanup + remove number prefixes from test names + use Test::More instead of generating TAP by hand + use three-arg form of open() + don't use indirect object syntax + don't use bareword file handles + use File::Temp to generate temporary files
Text::Template 1.48,1.49 breaks Dist::Milla's
milla new
command:The following script shows difference between 1.46 and 1.49, which actually breaks Dist::Milla.
The text was updated successfully, but these errors were encountered: