Releases: bkiers/Liqp
Releases · bkiers/Liqp
0.9
A lot of changes since last release, so new major version.
Changes:
- "Strict mode" the same behavior as in ruby's
- evaluating improvements:
- apply incorrect expression evaluating (to follow but in source library Shopify/liquid#1102 )
- out tag aware lex vs strict (still Shopify/liquid#1102)
- New flavour
LIQP
added. Made it default. It has no that bug (Shopify/liquid#1102)
- made comparisons in expressions to behave more like ruby's ones:
- Fix number comparisons when applying filters, BigDecimal handling
- Fix dates comparisons
- fix null and non-nullable object comparing
- code cleanup and maintenance:
- Flavor.filters vs ParserSettings.filters differentiation, make more use of new Filters class(immutable)
ProtectionSettings
removed and its settings are now are optional onTemplateParser
class, making single place for all configurations for the template/library- jacoco-maven-plugin added. now we see the test coverage.
- get rid of static context in Filter (now the filters are always parameters with some pre-defaults)
- a lot of
deprecated
methods removed (main reason of new major version) - LiquidParser: Fix antlr warning about matching an empty string
- TemplateContext: provide access to Filters, Insertions, parent context
- Update antlr4 dependency version to 4.13.0
- updating readme to reflect latest library state
Many thanks to @kohlschuetter and @msangel
0.8.5.3
What's Changed
- Bump jackson-databind from 2.13.4.1 to 2.13.4.2 by @dependabot in #270
- exclude-non-antlr-from-shaded-jar by @scott-seguno in #271
New Contributors
- @scott-seguno made their first contribution in #271
Full Changelog: 0.8.5.2...0.8.5.3
0.8.3.3
- Accept dates without time fix #242 by @bkiers
- Use Double/Long.valueOf instead of new as these are deprecated for removal since Java 9 #239 by @kohlschuetter
- Slice filter: Fix "Potential null pointer access" error #238 by @kohlschuetter
- Add support for parameters in Jekyll include tag #237 by @kohlschuetter
- various dependencies upgrades to latest version with security fixes
0.7.9
New in 0.7.9
- Make Date tag compatible with custom date types (thanks for reporting & fixing @msangel)
- Make code compatible with java8 date api (thanks for reporting & fixing @msangel)
- Decrease usage of deprecated internally and better test coverage (thanks for reporting & fixing @msangel)
- Include render-error shown (thanks for reporting & fixing @msangel)
- Support iterating over maps/dictionaries (thanks for reporting @hartfelt)
- New renderer helper (thanks for reporting & fixing @msangel)
- Propagating render settings to the main template (thanks for reporting & fixing @buwi)
- Change the truncate filter to behave like the ruby-version (thanks for reporting & fixing @hartfelt)
- Added support of "blank" literal (thanks for reporting & fixing @msangel)
- Follow ruby null to array (thanks for reporting & fixing @msangel)
- Improved description of parsing errors (thanks for reporting & fixing @pmenhart)
- (security) updates:
Thanks @mosabua for the release to Maven!
0.7.8
New in 0.7.8
- canBeInteger check when value has whitespace (thanks for reporting @nguyenaiden)
- security patch for Jackson
- remove string coercion from first and last filters (thanks for reposting & fixing @mbaumbach)
Thanks @mosabua for the release to Maven!
0.7.7
New in 0.7.7
- Made all filters public (thanks for reporting @skfs)
- Fixed string-integer outcomes (thanks for reporting @sj5000)
- Use HALF_UP RoundingMode to match Liquid spec (thanks @mbaumbach, and thanks for reporting @skfs)
And thanks @mosabua for the release to Maven!
0.7.6
New in 0.7.6:
Two render improvements:
0.7.5
New in 0.7.5:
- fixing (part of) performance issue during parse (thanks @mbaumbach)
- properly parsing tags inside comment tag (thanks for reporting @mbaumbach)
- added path separator for includes tag (thanks for reporting @jvanzyl)
- remove dependency on ANTLR3 and antlr4-maven-plugin (thanks @JD557)
- security upgrade Jackson to 2.9.6 (thanks @jlitola)
And thanks @mosabua for the release to Maven!
0.7.4
New in 0.7.4:
- Upgrade to ANTLR4 (thanks for reporting @jvanzyl and @realiteer)
- Made Date public (thanks for reporting @uhinze)
- Use short-circuit evaluation at And and Or operators (thanks @bmateusz)
- New tags and filters (thanks for reporting @micahasmith)
- Added support for multiple filters in assignment (thanks for reporting @mbaumbach)
- Clone
variables
map when building the TemplateContext (thanks @JD557) - Support unpadded hours and days (thanks @mbaumbach)
- Reserve Java module name (thanks @mbaumbach)
...and thanks @mosabua for the release to Maven!