Releases: antlr/stringtemplate4
4.3.3
4.3.2
This is a bug fixing cleanup release.
Please note: As of 4.3.2, I'm building jars with java 1.8. Also, 4.3.2 most to the Linux developer certificate of origin instead of the custom contributors license agreement we had previously. Please use -s
on all git commits to sign the commits going forward in your PRs.
Issues fixed
- Loading template group from STGroupDir in app running on Tomcat 8 fails (type:bug)
- Website issue (doc)
- Trailing slash on the root dir leads to an IOException when calling URL.openstream() (type:bug)
Improvements, features
Pull requests
- Shift to Linux DCO (cleanup)
- Fixes #293. Fixes #276 (cleanup)
- Loading template group from STGroupDir in app running on Tomcat 8 fails (type:bug)
- Bazel support (build, compatibility)
- Bugfix for #276 (type:bug)
- Website issue (doc)
- Trailing slash on the root dir leads to an IOException when calling URL.openstream() (type:bug)
- Fix for NPE when Thread.currentThread().getContextClassLoader() is null. (compatibility)
- add license to pom.xml (build)
- Fix escaping for closing angle brackets. (type:enhancement)
- Correctly handle surrogate pairs in StringRenderer.encodeHTML (type:bug, compatibility)
- Updating scala documentation to be more idiomatic and work with ST4 (doc)
- Add test for TypeRegistry (type:enhancement, testing)
Contributors
- 2 items: Terence Parr (parrt)
- 2 items: Adrian Kunz (Clashsoft)
- 1 items: Clement Cherlin (Mooninaut)
- 1 items: Justin King (jcking)
- 1 items: Stephan Richter (StephanRichter)
- 1 items: John Jetmore (jetmore)
- 1 items: alexgast
- 1 items: Becca Gaspard (beccagaspard)
- 1 items: Dvoreth
- 1 items: Peter Uhnak (peteruhnak)
- 1 items: Marvin Ma (mma-tapad)
4.3.1 Small cleanup
4.3 bug fix, clean up release
Big improvements by @Clashsoft including integration of travis-ci, editor config, generics for model adaptors, addition of revapi to catch api changes.
There might be some backward compatibility issues with 4.3 but limited to ModelAdaptor. Should be ok. Thanks to @sharwell for reviewing PRs.
Pull requests
- More .editorconfig ()
- Revapi fix (build)
- Update installation instructions in README (doc)
- Fix backward compatibility issues introduced by #233 ()
- Update README to point to latest release ()
- Revapi (build)
- Fix signature of STGroup.getAttributeRenderer (type:enhancement)
- Generify ModelAdaptor (type:enhancement)
- Travis CI (testing)
- Generify AttributeRenderer (type:enhancement)
- Remove <\r> from cheat sheet (doc)
- Specify UTF-8 encodings in pom.xml (testing)
- Add .editorconfig and replace tabs with 4 spaces (type:enhancement)
- Remove double-brace initialization and wrap constant collections in Collection.unmodifiable{Set,Map} (type:enhancement)
Contributors
- 13 items: Adrian Kunz (Clashsoft)
- 1 items: Sean Abraham (seanabraham)
4.2 Bug fix release
Pull requests
- Add myself to the contributors list ()
- Use an AtomicInteger for subtemplateCount to avoid race condition (type:enhancement)
- Fix inheritance example (doc, type:enhancement)
- Update MapModelAdaptor to handle optional exceptions ()
- Fixed typo in doc/templates.md. (doc)
- Inheritance.md -- Misspelling (doc)
4.1
A major bug fix release (4.0.8 -> 4.1).
Contributors
- 12 items: Sam Harwell (sharwell)
- 8 items: Terence Parr (parrt)
- 2 items: kkress2000
- 2 items: bobflannigon
- 2 items: Jeff Allen (jeff5)
- 2 items: Ayman Abdel Ghany (AymanDF)
- 2 items: John Snyders (jsnyders)
- 2 items: frederik256 (frederik256)
- 1 items: drealeed
- 1 items: Leon Lee (leonlee)
- 1 items: lkrylov
- 1 items: Dani Shemesh (FullGC)
- 1 items: Alex Reinking (alexreinking)
- 1 items: IInspectable
- 1 items: Burt Harris (BurtHarris)
- 1 items: Alex Sherwin (alex-sherwin)
- 1 items: Mike Lischke (mike-lischke)
- 1 items: Frank Benoit (frankbenoit)
- 1 items: Quenio dos Santos (quenio)
- 1 items: Marco Lombardo (mar9000)
- 1 items: chwt
- 1 items: Hartmut (hartmut27)
- 1 items: Aurélien Leboulanger (herau)
Issues fixed
- Template imports ignore UTF-8 setting ()
- STGroupFile constructor suppresses exceptions (type:bug)
- STGroupFile.load is not synchronized (type:enhancement)
- import fails when template group is loaded using a container classloader (type:enhancement)
- Error thrown if a rule contains a template comment that is indented (status:fixed, type:bug)
- Doc for Functions is misformatted (status:fixed)
- STGroupString does not work with default delimiters (status:invalid, type:bug)
- null ptr exception if self==null in STRuntimeMessage (type:bug)
- foo.stg that imports bar.stg, both from jar, doesn't work from top level dir. (type:bug)
- dictionary value using <% %> is broken (type:bug)
- ST.format() Javadoc examples not with expected result (status:fixed, type:bug)
- Recurrence of specified parameters in Template paramter list (status:fixed, type:bug)
- clone ST and add attributes cause an ArrayIndexOutOfBoundsException (type:bug)
- Using an attribute with a hypen, followed by a alphanum character throws Antlr4.StringTemplate.Compiler.TemplateException (status:fixed, type:bug)
- Leading CR/LF is lost after Render() (status:fixed, type:bug)
- Warn people when they tried to use @ as the delimiter (status:fixed, type:enhancement)
- Bug in ST.java line 245 (type:bug)
Improvements, features
- Dictionary iteration is unordered (status:fixed, type:feature)
- Unique test folders (type:feature)
- Support Iterable (type:feature)
Pull requests
- Loading templates in containers (type:enhancement)
- Utf template fix (type:enhancement)
- Template imports ignore UTF-8 setting ()
- STGroupFile constructor suppresses exceptions (type:bug)
- STGroupFile.load is not synchronized (type:enhancement)
- Enhancement to support loading template in multiple thread (type:enhancement)
- import fails when template group is loaded using a container classloader (type:enhancement)
- resolved Issue #98 ArrayIndexOutOfBoundsException (type:bug)
- Allow a dictionary to define values for 'keys' and 'values' ()
- Fix table in null-vs-empty.md ()
- Patch for wrong markdown formatting in anonymous template syntax ()
- Correct missing column punctuation in "real story on null..." (doc)
- Remove HTML tags from expr-options.md and templates.md (doc)
- Fix typos in introductory documentation ()
- Add error PARAMETER_DEFINITION and report where applicable (type:enhancement)
- Add test for ST.format (type:enhancement)
- Fix handling of newline at beginning of literal template (type:bug)
- Fix parsing of IDs in templates (type:bug)
- Fix handling of indented comment at end of template (type:enhancement)
- Add warning for unsupported delimiter characters (type:enhancement)
- [squid:S2095] Resources should be closed ()
- [squid:S2259] Null pointers should not be dereferenced ()
- fixed grammer, missing "of" (doc)
- Error thrown if a rule contains a template comment that is indented (status:fixed, type:bug)
- Doc for Functions is misformatted (status:fixed)
- Doc - Fix formatting of functions table (type:enhancement)
- STGroupString does not work with default delimiters (status:invalid, type:bug)
- Move doc to repo (doc)
- Sharwell code cleanup ()
- Sharwell code cleanup ()
- Fix 124 ()
- Fixes #125. ()
- null ptr exception if self==null in STRuntimeMessage (type:bug)
- foo.stg that imports bar.stg, both from jar, doesn't work from top level dir. (type:bug)
- Dictionary iteration is unordered (status:fixed, type:feature)
- Code cleanup ()
- fix issue 114 ()
- dictionary value using <% %> is broken (type:bug)
- ST.format() Javadoc examples not with expected result (status:fixed, type:bug)
- Unique test folders (type:feature)
- Recurrence of specified parameters in Template paramter list (status:fixed, type:bug)
- clone ST and add attributes cause an ArrayIndexOutOfBoundsException (type:bug)
- Using an attribute with a hypen, followed by a alphanum character throws Antlr4.StringTemplate.Compiler.TemplateException (status:fixed, type:bug)
- Leading CR/LF is lost after Render() (status:fixed, type:bug)
- Warn people when they tried to use @ as the delimiter (status:fixed, type:enhancement)
- Update interpreter to support Iterable (fixes #79) ()
- Support Iterable (type:feature)
- Bug in ST.java line 245 (type:bug)
4.0.8
Minor bug fix release
Changes
For a list of all issues closed for this release, click here.
For a list of all commits in this release, click here.
- Fix import of relative directory inside a Jar (#43)
- Fix imported template files not inheriting delimiters (#66)
- Improved support for
STRawGroupDir
(#70) - Improved type registration and lookup for model adapters and renderers (#57, #58, #59)
- Usability
- Improved error reporting when parsing group files
- Support group files without any templates
- General
- Improved compatibility with Java 8
- Performance improvements