Commit Graph

  • b4a2a79e26
    Merge pull request #1527 from Shopify/condition/receive-mandatory-context-argument Thierry Joyal 2022-03-02 15:04:24 -05:00
  • 1d2bee1f60 Condition#evaluate to receive mandatory context argument #1527 Thierry Joyal 2022-03-02 16:14:55 +00:00
  • 01e6eec97a Fix warning about block and default value #1531 Peter Zhu 2022-03-02 14:30:55 -05:00
  • fbdab19358 We're in 2022... Jean Boussier 2022-03-02 18:27:25 +01:00
  • dde377c7d0
    Merge c0ffeef30a9d97f8d9c536b3ee1ac2833d735f84 into ce85ac5d3d3452186fb70defb7bed079ff5972e1 #1528 Thierry Joyal 2022-03-02 08:50:24 -05:00
  • c0ffeef30a Liquid::Drop: Expect @context to always be set #1528 drop/expect-context-to-be-present Thierry Joyal 2022-03-02 11:28:18 +00:00
  • ce85ac5d3d
    Merge pull request #1529 from Shopify/tests/standard-filters-with-context Thierry Joyal 2022-03-02 08:44:16 -05:00
  • c0ffee16a3 StandardFiltersTest: Initialize following production code paths with context #1529 Thierry Joyal 2022-03-01 15:10:44 +00:00
  • a7eb33fa39 Release 5.2.0 v5.2.0 Jean Boussier 2022-03-01 16:18:49 +01:00
  • 1a85e98793
    Merge pull request #1524 from Shopify/global-constant-cache Jean byroot Boussier 2022-03-01 16:14:31 +01:00
  • c588337aac Eagerly cache global filters #1524 Jean Boussier 2022-03-01 12:44:57 +01:00
  • 38a402b183 Increase performance in VariableLookup #1522 Watson 2022-02-27 18:35:46 +09:00
  • 2100b7d185
    Update History.md #1436 Anders Søgaard 2022-02-25 10:34:54 +01:00
  • f94e4244cf
    Merge branch 'master' into where-deep Anders Søgaard 2022-02-25 10:32:21 +01:00
  • b60d575206 Merge where filter with master Anders Søgaard 2022-02-25 10:30:46 +01:00
  • fb7e6ed31c Merge from master branch Anders Søgaard 2022-02-25 09:54:35 +01:00
  • 97f7922457
    Add missing changelog entry for PR #1518 (#1521) Dylan Thacker-Smith 2022-02-24 14:46:26 -05:00
  • 9df634728d Add missing changelog entry for PR #1518 #1521 Dylan Thacker-Smith 2022-02-24 14:07:26 -05:00
  • 0d83e64cfe
    Add replace_last and remove_last filters (#1422) Anders Søgaard 2022-02-24 20:02:15 +01:00
  • 63ae4cc2cc Remove redundant test assertions #1422 Dylan Thacker-Smith 2022-02-24 13:56:14 -05:00
  • 588d407e0b Fix new changelog entry so it is under unreleased Dylan Thacker-Smith 2022-02-24 09:21:28 -05:00
  • 50c88fe74d History.md: Add missing PR number to previous changelog entry Dylan Thacker-Smith 2022-02-24 09:24:35 -05:00
  • 873ca150ad Merge remote-tracking branch 'origin/master' into pr-1422 Dylan Thacker-Smith 2022-02-24 09:21:08 -05:00
  • 0d5e01ae98
    Fix some internal errors in filters from invalid input. (#1476) Dylan Thacker-Smith 2022-02-24 09:17:37 -05:00
  • 0912f6869b Fix some internal errors in filters from invalid input. #1476 Dylan Thacker-Smith 2021-09-16 18:46:07 -04:00
  • 15eaa49e48
    Merge pull request #1518 from Shopify/fix/kwarg-key-name-liquid-c-inconsistency Charles-Philippe Clermont 2022-02-14 13:22:12 -05:00
  • 91c54c579d
    Merge pull request #1477 from Watson1978/performance Tobias Lütke 2022-02-14 12:25:19 -05:00
  • 58f9135462 Deterministic cycle keys. #1520 James Prior 2022-02-14 10:59:38 +00:00
  • 1310c4978d Fix kwarg parsing inconsistency with Liquid::C #1518 fix/kwarg-key-name-liquid-c-inconsistency Charles-P. Clermont 2022-02-11 11:37:06 -05:00
  • 47fbff07fa WIP - Support {% render obj %} #1507 catlee/render_object Chris AtLee 2022-01-18 18:08:43 -05:00
  • 3de1db3c3a
    Merge pull request #1509 from Shopify/1508-shopify-docs-link shainaraskas 2022-01-20 12:06:16 -05:00
  • 03522caaf8 fix Shopify documentation link #1509 1508-shopify-docs-link Shaina Raskas 2022-01-20 09:40:48 -05:00
  • 7acea2a9c9 Revert "fix Shopify documentation link" Shaina Raskas 2022-01-20 09:37:26 -05:00
  • d8ef698539 fix Shopify documentation link Shaina Raskas 2022-01-20 09:27:00 -05:00
  • 23cadd6240 Prototype: Dump yardoc to json pobed2/yard-dump Pierre-Olivier Bédard 2022-01-19 22:02:37 -05:00
  • 02b6be4025 Potential fix comment-parse-tests Christophe Naud-Dulude 2021-11-30 14:10:34 -05:00
  • f3638b3eb4 Test parsing of Liquid code in comments Christophe Naud-Dulude 2021-11-30 11:56:49 -05:00
  • 277a620983 Fix resource limit scores resetting after include #1485 Agon Qurdina 2021-10-27 10:28:13 +02:00
  • e9d151bd94
    Update README.md #1484 Harry V. Kiselev 2021-10-26 18:56:37 +03:00
  • ebdfdb80e5
    Detect quoted string using String#{start_with?, end_with?} to reduce Regexp#=== calling #1477 Watson 2021-09-26 03:03:13 +09:00
  • 95e9fa5010
    Use String#=~ and Regexp.last_match instead to retrieve the markup content Watson 2021-09-26 01:51:56 +09:00
  • 7cdab83b87 Remove whitespace Anders Søgaard 2021-09-19 21:23:04 +02:00
  • 5857c08100 Refactor Anders Søgaard 2021-09-19 21:20:27 +02:00
  • 1fb9b44717 Add test with dotted keys Anders Søgaard 2021-09-19 21:20:15 +02:00
  • 0f17ed01b4 Use rindex again Anders Søgaard 2021-09-17 08:38:56 +02:00
  • 45f186b4df Remove string formatter Anders Søgaard 2021-09-17 08:33:59 +02:00
  • 5187399fd4
    Update lib/liquid/standardfilters.rb Anders Søgaard 2021-09-17 08:26:16 +02:00
  • 1b22d54b81 Add end Anders Søgaard 2021-09-16 19:18:16 +02:00
  • 0879e0b85d Merge branch 'main' into where-deep Anders Søgaard 2021-09-16 19:17:05 +02:00
  • f17c49776d
    Merge branch 'Shopify:master' into master Anders Søgaard 2021-09-16 19:14:10 +02:00
  • aead4c5daa Refactor filter Anders Søgaard 2021-09-16 19:10:50 +02:00
  • d81f7f04ce Add tests to make sure it returns original string on no replacement Anders Søgaard 2021-09-16 18:42:18 +02:00
  • 0e14d539a3 README: Use newer hash syntax for the error_mode parse option #1474 Dylan Thacker-Smith 2021-09-16 10:15:45 -04:00
  • db106ae058 Clarify that the error_mode: :warn parse option is only for strict errors Dylan Thacker-Smith 2021-09-16 10:13:57 -04:00
  • db3999a008
    Improve where filter tests (#1472) Anders Søgaard 2021-09-16 16:02:39 +02:00
  • 40ffb37129
    Remove History.md addition #1472 Dylan Thacker-Smith 2021-09-16 10:02:09 -04:00
  • 9fb3dc2c7b
    Update standard_filter_test.rb Anders Søgaard 2021-09-16 09:45:42 +02:00
  • 10e2aa8d5b
    Merge pull request #1471 from Shopify/bump-5.1.0 v5.1.0 Marc-André Cournoyer 2021-09-15 15:15:13 -04:00
  • 2e796088ee
    Update standard_filter_test.rb Anders Søgaard 2021-09-15 19:55:49 +02:00
  • e3c82a9e4e Favor unless over if for negative conditions Anders Søgaard 2021-09-13 18:07:29 +02:00
  • 986391cb7d start_index will never be -1 Anders Søgaard 2021-09-13 18:00:03 +02:00
  • 7c4114671b
    Remove to_liquid_value fixes in changelog #1471 Marc-André Cournoyer 2021-09-13 10:53:46 -04:00
  • de9315d734 Add history Anders Søgaard 2021-09-13 15:31:43 +02:00
  • 6925ea2398 Improve test Anders Søgaard 2021-09-13 15:28:25 +02:00
  • df77c36d07 Split property outside of loop Anders Søgaard 2021-09-13 14:22:58 +02:00
  • b5abd145e3 Remove default value for replacement argument Anders Søgaard 2021-09-10 18:02:35 +02:00
  • f5e77b6d1d Update test to support third argument Anders Søgaard 2021-09-10 18:02:23 +02:00
  • dc7818f371 Update filter to use rindex Anders Søgaard 2021-09-10 09:55:08 +02:00
  • f72cfb13ab Delegate functions to corresponding replace functions Anders Søgaard 2021-09-10 08:24:50 +02:00
  • b01de9d325 Prep for 5.1.0 release Marc-André Cournoyer 2021-09-09 14:28:45 -04:00
  • a5369c26a8
    Add missing quote in comment (#1468) Zac Clay 2021-09-09 14:23:11 -04:00
  • d03be17cc7 Add missing quote in comment #1468 Zac Clay 2021-09-03 11:06:45 -04:00
  • a03de8f9ea
    Merge pull request #1470 from Shopify/fix/range-parse-tree-visitor Charles-Philippe Clermont 2021-09-09 11:39:14 -04:00
  • e86fe27259 Fix lint #1470 fix/range-parse-tree-visitor Charles-P. Clermont 2021-09-09 11:22:19 -04:00
  • c8906d05b9 Add ParseTreeVisitor to RangeLookup Charles-P. Clermont 2021-09-09 11:17:25 -04:00
  • d5ecf00a8c
    Update History.md Anders Søgaard 2021-09-09 09:28:22 +02:00
  • e00745258c
    Update History.md Anders Søgaard 2021-09-09 09:26:57 +02:00
  • cd77f15f96
    Merge branch 'Shopify:master' into where-deep Anders Søgaard 2021-09-09 08:59:18 +02:00
  • 973aa9f1b5
    Merge branch 'Shopify:master' into master Anders Søgaard 2021-09-09 08:59:07 +02:00
  • 4f77039039
    Add missing quote #1467 Zac Clay 2021-09-03 11:03:12 -04:00
  • abf23a4530
    Merge 351e8f3fff2bcb0c82e095499ef66ec273e15db8 into 50d1a2ffc91e69c26af2eea278cbc9c4930126a9 #1353 Peter Zhu 2021-07-08 11:40:14 +01:00
  • b92c724738
    Update liquid.gemspec #1459 Jacquelyn Vinson 2021-06-27 21:18:39 -05:00
  • 50d1a2ffc9
    Merge pull request #1458 from Shopify/use-to-liquid-value-with-conditions Michael Go 2021-06-15 12:18:14 -03:00
  • f686c5dec7 use Utils.to_liquid_value on conditionals #1458 use-to-liquid-value-with-conditions Michael Go 2021-06-14 18:19:37 -03:00
  • aa8ce87b96
    Merge pull request #1454 from Shopify/default-filter-with-to-liquid-value Michael Go 2021-06-14 15:43:56 -03:00
  • 698f5e0d96
    Merge pull request #1456 from Shopify/pz-psych-4-unsafe-load Peter Zhu 2021-06-10 13:14:13 -04:00
  • 996bfe0c82 Fix benchmark for breaking change in Psych 4 #1456 Peter Zhu 2021-06-10 11:44:10 -04:00
  • be81c9ae5a
    Merge pull request #1457 from Shopify/fix-unless-to-use-to-liquid-value-helper Michael Go 2021-06-10 14:00:19 -03:00
  • edd4d70aee fix unless to use to_liquid_value helper with multiple conditions #1457 fix-unless-to-use-to-liquid-value-helper Michael Go 2021-06-10 13:28:17 -03:00
  • ac66dbbafe utilize input's to_liquid_value on default filter #1454 default-filter-with-to-liquid-value Michael Go 2021-06-08 15:20:53 -03:00
  • 19906f99e1 Add a description for ifchanged in Iteration page #1452 ADTC 2021-06-05 04:11:18 +08:00
  • 21d241fbd1 Drop blank lines from some output examples ADTC 2021-06-05 03:40:55 +08:00
  • c5dc0752cc Corrections for anchor links (avoid conflict with sidebar) ADTC 2021-03-31 05:15:45 +08:00
  • 22ee87edd8 Add a "deprecated" badge on the "include" Template tag ADTC 2021-03-30 15:35:18 +08:00
  • 876e640903 Expand the note about optional "as" in the "render for" section ADTC 2021-03-30 14:49:17 +08:00
  • 733965e126 Double the padding at the bottom of the sidebar menu ADTC 2021-03-30 09:31:13 +08:00
  • 72897bfd94 Add Template tag type and all filter types in the Introduction page ADTC 2021-03-30 01:27:37 +08:00
  • 63801439e7 Change the style of filter subheadings to indicate them as such ADTC 2021-03-29 23:44:24 +08:00
  • 36ad142557 Make the menu button sticky on mobile view ADTC 2021-03-28 16:05:50 +08:00
  • cb9e8f4622 Fix scrollbar and scrolling active link into view on the sidebar ADTC 2021-03-28 15:14:53 +08:00