Skip to content

Releases: kalimatas/php-liquid

Updated whitespace control

22 Mar 06:14
c08ebdf
Compare
Choose a tag to compare

This release comes with a much more solid implementation for the whitespace control. Kudos to @funkjedi!

Not exposing $_SERVER anymore

11 Feb 07:55
ce53ad8
Compare
Choose a tag to compare

Fixes #114. This issue is particularly important because $_SERVER may contain sensitive data, like AWS access keys, which then can be accessed from user-provided templates.

To re-enable old unsafe behavior, use:

Liquid::set('EXPOSE_SERVER', true);

Content ticks

30 Jan 06:44
Compare
Choose a tag to compare

#113: Content ticks allow us to track the rendering cost at runtime, abort it or do something else if a template takes too much time to render. (Kudos to @timglabisch!)

Bugfix release

29 Jan 03:31
Compare
Choose a tag to compare
  • Filterbank shall now ignore use of __construct as a filter (by @PATROMO)

Whitespace control for tags

29 Dec 04:38
06264e7
Compare
Choose a tag to compare
  • Whitespace control implemented for tags (see #109).
  • Strings now have a 'size' property, for a number of characters.

Bugfix release

22 Mar 03:15
df82356
Compare
Choose a tag to compare
  • Now we return null for missing properties, like we do for missing keys for arrays. (#101)

Paginate tag gets updated

09 Feb 02:22
3827557
Compare
Choose a tag to compare
  • Paginate tag shall now respect request parameters.
  • It is now possible to set a custom query param for the paginate tag.
  • Page number will now never go overboard.

Major thanks to @edwardoka and @asacarter.

Bugfix release

07 Feb 02:30
d3d8d54
Compare
Choose a tag to compare
  • TagPaginate shall not pollute the global scope, but work in own scope. (Thanks @edwardoka and @asacarter)
  • TagPaginate errors if no collection present instead of vague warning.

Bugfix release

12 Dec 14:05
0d97b49
Compare
Choose a tag to compare

Now a capture tag will save a variable in the global context. (Fixes #90)

Bugfix release

03 Nov 01:01
357cede
Compare
Choose a tag to compare
  • TagUnless is an inverted TagIf: simplified implementation
  • Allow dashes in filenames (thanks @j-angnoe)