2b75bfaff4
Fix regression when using empty/nil properties with array filters ( #1944 )
...
* Make all array filters that use `filter_array` util process empty string and nil correctly
* up version
* fix ordering of checks
* also do it for map
* Do not raise property error
* Gracefully empty property in map filter
---------
Co-authored-by: Marco Concetto Rudilosso <[email protected] >
2025-04-04 11:27:29 -04:00
Ian Ker-Seymer and GitHub
f5d6a36574
Stringify properties before filtering ( #1929 )
2025-03-17 17:43:57 -04:00
Ian Ker-Seymer and GitHub
c5711c095f
Improve docs of date filter ( #1920 )
2025-03-13 17:36:29 -04:00
Ian Ker-Seymer and GitHub
6372289ba3
Ensure we use InputIterator#each when in join filter ( #1898 )
2025-01-16 11:36:36 -05:00
Ian Ker-Seymer and GitHub
0ec52a40b5
Use Liquid::Utils.to_s for join filter ( #1897 )
2025-01-16 11:21:58 -05:00
Ian Ker-Seymer and GitHub
74af735f0e
Allow for custom < Hash classes to override #to_s ( #1896 )
2025-01-16 11:16:13 -05:00
4b65a28722
Implement logic for stringify Hashes to keep compat with 3.4 ( #1892 )
...
* Exploring
* Bump to v5.6.5
---------
Co-authored-by: Dominic Petrick <[email protected] >
2025-01-15 16:36:53 -05:00
Ian Ker-Seymer
8e37c5e18b
Bump to v5.6.4
2025-01-13 21:57:52 -05:00
Ian Ker-Seymer
b3f9639e7d
Add default string_scanner to Liquid::VariableLookup.parse
2025-01-13 21:56:39 -05:00
Ian Ker-Seymer and GitHub
b4667adadf
Bump to v5.6.0 ( #1876 )
2024-12-19 15:01:16 -05:00
Ian Ker-Seymer and GitHub
fdd8c714b2
Stop testing against liquid-c ( #1868 )
...
* Stop testing against `liquid-c`
* Bump to `v5.6.0.rc2`
2024-12-11 12:23:50 -05:00
Ian Ker-Seymer and GitHub
63583ffe5b
Write one value at a time for array variables ( #1863 )
...
* Write one value at a time for array variables
* Handle recursive array
2024-12-11 10:16:58 -05:00
Ian Ker-Seymer
42b6763546
Bump to v5.6.0.rc1
2024-11-04 15:26:56 -05:00
Ian Ker-Seymer and GitHub
b0cba0bfd2
Remove Liquid.cache_classes option ( #1847 )
2024-11-04 14:41:56 -05:00
Ian Ker-Seymer and GitHub
b3553787c8
Speed up the lexer for Ruby 3.4+ ( #1832 )
...
* Speed up lexing
* Bump msrv to 3.0 (from 2.7)
* Normalize test for ruby-head compat
* Fix bug when parsing negative numbers
2024-10-23 14:15:33 -04:00
Ian Ker-Seymer and GitHub
b233b3d081
Bump to v5.6.0.alpha ( #1819 )
2024-08-15 16:12:16 -04:00
Ian Ker-Seymer and GitHub
fb6634f454
Add concept of Liquid::Environment ( #1815 )
...
* Add concept of `Liquid::World`
* Rename `World` to `Environment`
2024-08-07 15:00:44 -04:00
Ian Ker-Seymer and Ian Ker-Seymer
a0411e0927
Bump to v5.5.1
2024-07-22 23:25:56 -04:00
Ian Ker-Seymer and GitHub
ed421202e2
Merge pull request #1811 from Shopify/marco-cycle-update
...
Add named? method to Cycle class for checking if the cycle is named
2024-07-16 15:58:21 -04:00
Ian Ker-Seymer
d6ca569e8a
Require base64
2024-07-16 15:56:47 -04:00
Ian Ker-Seymer and GitHub
6bf18775e7
Merge pull request #1791 from Shopify/v5.5.0
...
Bump to v5.5.0
2024-03-21 15:50:59 -04:00
Ian Ker-Seymer
56a0b7c42b
Bump to v5.5.0
2024-03-21 15:48:54 -04:00
Ian Ker-Seymer and GitHub
dba733084e
Merge pull request #1760 from mtasaka/nil-nil-comparison-fix
...
change: make nil_safe_casecmp judge compatible for nil-nil comparison
2024-03-21 15:38:13 -04:00
Ian Ker-Seymer and GitHub
02ecaab9d1
Merge pull request #1783 from Shopify/contains-encoding
...
Fallback to binary comparison when `contains` RHS is UTF8 encoded
2024-01-31 11:14:01 -05:00
Ian Ker-Seymer
1b2b62964e
Allow for binary comparison of incompatible strings
2024-01-30 19:03:05 -05:00
Ian Ker-Seymer and GitHub
0f0d5d889f
Merge pull request #1750 from IevaGraz/fix/custom_tag_rendering
...
Fix for custom tag rendering
2023-12-10 11:28:50 -05:00