Alan Tan
c9be96b58d
Improve error message of Liquid::MemoryLimit.
...
The existing error message is too generic since there are three types of limits in place.
It is useful to know which limit was reached to make it easier to debug the error.
2020-01-14 11:43:01 +08:00
Thierry Joyal
c0ffee3ff9
[Strainer] Remove safe navigation
2020-01-06 18:34:13 +00:00
Thierry Joyal
c0ffeeef26
[Strainer] Separate factory from template
2020-01-06 17:45:25 +00:00
Justin Li
f2f467bdbc
v4.0.3
2019-03-12 12:43:48 -04:00
Justin Li
8013df8ca2
v4.0.2
2019-03-08 15:43:46 -05:00
Eric Chan
b41fc10d8e
Updated changelog for v4.0.1
2018-12-03 23:54:00 -05:00
Mike Angell
c9bac9befe
Merge branch 'master' into contains-strict-fix
2017-03-24 11:09:09 +10:00
Mike
210a0616f3
Update History to include fix
2017-03-24 10:35:56 +10:00
Lasse Skindstad Ebert
5149cde5c3
Fix include tag used with strict_variables ( #829 )
...
Fixes https://github.com/Shopify/liquid/issues/828
2017-03-22 16:00:31 -04:00
Jared Beck
52ff9b0e84
Docs: Help people upgrade to 4, re: liquid_methods
...
The discussion in #568 helped me.
[ci skip]
2017-01-19 14:23:39 -05:00
Justin Li
ffb0ace303
Update changelog for 4.0.0
2016-12-16 13:11:22 -05:00
Dylan Thacker-Smith
f27bd619b9
change: Render an opaque internal error by default for non-Liquid::Error ( #835 )
...
These errors may contain sensitive information, so is safer to
render a more vague message by default.
This is done by replacing non-Liquid::Error exceptions with a
Liquid::InternalError exception with the non-Liquid::Error accessible on
through the cause method. This also allows the template name and line
number to be attached to the template errors.
The exception_handler render option has been changed to exception_renderer
since now it should raise an exception to re-raise on a liquid rendering
error or return a string to be rendered where the error occurred.
2016-12-07 17:34:29 -05:00
Dylan Thacker-Smith
9dd0801f5c
Drop support for ruby 2.0
...
It is no longer maintained upstream
2016-12-05 13:51:49 -05:00
Justin Li
d233acb483
Update history to reflect merge of #731
2016-03-30 16:36:57 -04:00
Gaurav Chande
c424d47274
Add changelog entry for Strainer method override change
2016-02-24 20:23:57 +00:00
Justin Li
5a50c12953
Update history to reflect merge of #691
...
[ci skip]
2016-02-02 23:14:41 -05:00
Justin Li
6d30226768
Update changelog for 4.0.0rc1
2016-01-08 15:08:06 -05:00
Thierry Joyal
ac041c4ad1
Rename before_method as liquid_method_missing
2015-10-28 17:28:19 +00:00
Justin Li
31d7682f4e
Update history to reflect merge of #658
...
[ci skip]
2015-10-21 12:50:12 -04:00
Justin Li
cd03346239
Update history to reflect merge of #652
...
[ci skip]
2015-09-29 21:06:21 -04:00
Justin Li
27c6b8074a
Update history to reflect merge of #610
...
[ci skip]
2015-08-03 20:51:41 -04:00
Justin Li
1f70928f8a
Update history to reflect merge of #631
...
[ci skip]
2015-07-23 17:07:40 -04:00
Justin Li
7713f6709d
Update history for 3.0.5
2015-07-23 17:06:12 -04:00
Justin Li
239cf0e5f5
Update history for 2.6.3
2015-07-23 17:05:58 -04:00
Justin Li
58c7f226cc
Format changelog attribution to include one name only
2015-06-19 11:45:37 -04:00
Justin Li
adfcd0ab13
Update history to reflect merge of #600
...
[ci skip]
2015-06-19 11:38:59 -04:00
Florian Weingarten
4920ec50e4
update changelog
2015-06-19 07:41:39 -04:00
Justin Li
20ca2b9632
Update history to reflect merge of #570
...
[ci skip]
2015-05-28 16:43:22 -04:00
Florian Weingarten
f4724f0db3
Remove support for liquid_methods Module extension
2015-05-14 14:44:19 +00:00
Justin Li
8a8996387b
Update history to reflect merge of #554
...
[ci skip]
2015-05-12 13:20:06 -04:00
Justin Li
4c3381a523
Update history to reflect merge of #559
...
[ci skip]
2015-05-12 10:59:58 -04:00
Justin Li
724d625f47
Update history to reflect merge of #555 [ci skip]
2015-05-07 14:03:38 -04:00
James Reid-Smith
4592afcc8b
Updated History.md and removed a couple remaining methods using the old signature
2015-04-27 15:45:44 +00:00
Justin Li
6390652c3f
Update changelog with backported patches
2015-04-24 16:09:37 -04:00
Justin Li
f266aee2e5
Slightly more concise issue# reference in changelog
2015-04-21 23:40:42 -04:00
Justin Li
df0649a031
Update changelog
2015-04-21 23:36:54 -04:00
Justin Li
b8365af07d
Add changes for 4.0.0
2015-03-25 14:53:43 -04:00
Justin Li
53842a471e
Create history section for 4.0.0
2015-03-25 14:40:19 -04:00
Dylan Thacker-Smith
73fcd42403
Create a BlockBody class to decouple block body parsing from tags.
2014-11-03 17:07:42 -05:00
Dylan Thacker-Smith
a67e2a0a00
Remove unused Block#end_tag method.
...
Although the method is called, it is defined with an empty body and not
overridden to do anything else.
2014-10-14 02:58:11 -04:00
Bogdan Gusiev
4e9d414fde
Fixed condition constains operator with wrong data type
...
"contains" operator on wrong data type should not cause NoMethodError.
2014-08-18 17:32:29 +03:00
Derrick Reimer
f8c3cea09b
Add url_encode filter to history
2014-08-15 11:03:06 -07:00
Florian Weingarten
33e7b8e373
uniq filter
2014-07-29 13:09:34 +00:00
Arthur Neves
d07b12dc7d
Update History log
...
Bring latest History from 2-6-stable and 2-5-stable
2014-07-24 11:01:19 -04:00
Florian Weingarten
6c6350f18b
Exception handling for humans
...
Ability to pass exception_handler as a block to #render
and provide whatever behavior you want on handling exceptions
https://github.com/Shopify/liquid/pull/254
2014-07-24 14:44:02 +00:00
Jason Hiltz-Laforge
0df3f1c372
Cache parsed markup parts to avoid repeated calls during template render
2014-07-21 15:55:06 +00:00
Jason Hiltz-Laforge
fd8c30070a
Adding tests, spy dependency
2014-07-16 15:05:45 +00:00
Florian Weingarten
0ac3ec7834
Revert "Merge pull request #352 from gaiottino/master"
...
This reverts commit 553b0926ae , reversing
changes made to 628ab3dc6a .
2014-07-08 14:48:19 +00:00
Arthur Neves
553b0926ae
Merge pull request #352 from gaiottino/master
...
Add error messages for missing variables when :strict
Conflicts:
History.md
2014-05-06 10:16:45 -04:00
Daniel Gaiottino
2bac6267f9
Add error messages for missing variables when :strict
2014-05-06 16:12:46 +02:00