Michael Go
29986d3704
remove TagRegistry
2024-11-04 15:22:56 -04:00
Michael Go and GitHub
8e40f8050a
Merge pull request #1838 from Shopify/quirky-lexer-parsing
...
fix parsing quirky incomplete expressions
2024-10-30 13:52:47 -03:00
Michael Go
ffce6de8bb
avoid using StringScanner eos
2024-10-30 13:45:10 -03:00
Michael Go
f00670cb01
refactor lexer unit test
2024-10-30 13:44:36 -03:00
Michael Go
f6a3e25e2e
fix parsing quirky incomplete expressions
2024-10-30 13:44:35 -03:00
Michael Go and GitHub
f6ffc37cf2
Merge pull request #1840 from Shopify/fix-lexer-contains-as-id
...
fix lexer parsing ID 'contains' as comparison
2024-10-30 13:43:48 -03:00
Michael Go
1375a9e4dc
fix lexer parsing ID 'contains' as comparison
2024-10-30 13:39:55 -03:00
Michael Go and GitHub
c626dfa1a1
Merge pull request #1839 from Shopify/lexer-parse-error-with-utf8
...
raise syntax error from lexer parser with UTF-8 character
2024-10-30 13:39:05 -03:00
Michael Go
8a9f33a060
raise syntax error from lexer parser with utf8 character
2024-10-29 22:04:37 -03:00
Michael Go and GitHub
1943441361
Merge pull request #1835 from Shopify/fix-multibyte-variable-parsing
...
fix parsing Variable blockbody with multibyte character
2024-10-28 19:31:21 -03:00
Michael Go and GitHub
36251e640c
Merge pull request #1837 from Shopify/lexer-comparison-fix
...
fix lexer parsing comparison without whitespaces
2024-10-28 19:31:11 -03:00
Michael Go
d94293a464
fix lexer parsing comparison without whitespaces
2024-10-28 19:30:12 -03:00
Michael Go
6c13805a60
fix parsing Variable blockbody with multibyte character
2024-10-28 17:33:55 -03:00
Michael Go and GitHub
b4196489c2
Merge pull request #1833 from Shopify/fast-variable-parse
...
Faster Variable BlockBody Matching
2024-10-28 15:28:04 -03:00
Gray Gilmore and GitHub
6d58c41440
Merge pull request #1831 from Shopify/gg-add-named-params-docs
...
Update liquid docs for named parameters
2024-10-28 09:20:55 -07:00
Michael Go
fb6ac72520
use byteslice to create Variable BlockBody
2024-10-25 15:41:35 -03:00
Michael Go
cb16219552
faster BlockBody variable matching
2024-10-25 15:22:56 -03:00
Gray Gilmore
8d7ed706f4
Update liquid docs for named parameters
...
The YARD liquid gem now supports specifying named parameters. For the
core liquid tags and filters this is the only object I could find that
needed to be updated.
2024-10-24 09:56:50 -07: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
Alex Coco and GitHub
ac91d31268
Merge pull request #1818 from Shopify/tablerow-interrupt
...
Handle interrupts in table row
2024-08-15 14:04:35 -04:00
Alex Coco
9067e5167a
Handle interrupts in table row
2024-08-15 11:56:29 -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
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
Marco Concetto Rudilosso and Ian Ker-Seymer
d36937d17f
Add named? method to Cycle class for checking if the cycle is named
2024-07-16 15:52:25 -04:00
Peter Zhu and GitHub
77bc56a1c2
Merge pull request #1792 from Shopify/centralize_ruby_version
...
Centralize Ruby Version to `.ruby-version`
2024-04-11 11:12:08 -04:00
Jenny Shen
88d013c8da
Use latest compatible Bundler of each Ruby version run
2024-04-05 10:33:27 -04:00
Jenny Shen
36c7fc8e07
Remove ruby version definition in CI/CD
...
it will be read from .ruby-version
2024-04-05 10:33:06 -04:00
Jenny Shen
2b4810006b
Remove TargetRubyVersion in RuboCop config
...
reads from required_ruby_version in RuboCop 1.61+
2024-04-05 10:23:39 -04:00
Jenny Shen
fc4f19471e
Update rubocop to 1.61.0
2024-04-05 10:23:37 -04:00
Jenny Shen
8596bb2e38
Commit a .ruby-version
2024-04-05 10:23:05 -04:00
Ian Ker-Seymer and GitHub
6bf18775e7
Merge pull request #1791 from Shopify/v5.5.0
...
Bump to v5.5.0
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
Michael Go and GitHub
4a4fe3c72a
Merge pull request #1781 from Shopify/contextualize-before-to-liquid
...
update variable's context before invoking its to_liquid
2024-02-12 16:58:54 -04:00
Michael Go
4f35b0bc66
update liquid-c
2024-02-12 16:49:52 -04:00
Michael Go
a5e5fab82a
update variable's context before invoking its to_liquid
2024-02-12 16:48:20 -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
Michael Go and GitHub
9b38a15282
Merge pull request #1776 from Shopify/refactor/invalid-encoding-error
...
add new TemplateEncodingError
2024-01-12 12:38:34 -04:00
Michael Go
7b25b770af
add new TemplateEncodingError
2024-01-12 12:17:20 -04:00
Michael Go and GitHub
cf76c0bbec
Merge pull request #1775 from Shopify/allow-nil-template-source
...
allow non-string template source
2024-01-12 10:48:30 -04:00
Michael Go
6a0fe3f7e3
convert template source to string to ensure encoding validity
2024-01-10 16:50:31 -04:00
Michael Go
730ad3684a
allow nil template source
2024-01-10 16:32:08 -04:00
Michael Go and GitHub
3ac7e470e6
Merge pull request #1774 from Shopify/check-utf8-validity
...
check template UTF8 validity before parsing
2024-01-10 15:27:49 -04:00
Michael Go
369a6c55e3
check template UTF8 validity before parsing
2024-01-10 18:58:15 +00:00
Michael Go and GitHub
f5ed5404b5
Merge pull request #1773 from Shopify/liquid-tag-whitespace-control-with-comment
...
don't reset Liquid tag's whitespace control from comment tag
2024-01-05 10:54:32 -04:00
Michael Go
a3c837687e
don't reset Liquid tag's whitespace control from comment tag
2024-01-05 10:21:33 -04:00