Commit Graph

  • 3282008ba5
    Ensure liquid value during spaceship comparisons. #1945 dpetrick/fix-comparison Dominic Petrick 2025-04-07 17:33:29 +02:00
  • 2b75bfaff4
    Fix regression when using empty/nil properties with array filters (#1944) v5.8.3 Ian Ker-Seymer 2025-04-04 11:27:29 -04:00
  • 19e287dda2
    Gracefully empty property in map filter #1944 ianks-fix-backward-breaking Ian Ker-Seymer 2025-04-03 15:39:14 -04:00
  • 7900043ffc
    Do not raise property error Ian Ker-Seymer 2025-04-02 22:18:09 -04:00
  • a7ad5f4282 also do it for map #1942 marco-fix-backward-breaking Marco Concetto Rudilosso 2025-04-02 12:16:38 +02:00
  • 2998ae38ba fix ordering of checks Marco Concetto Rudilosso 2025-04-02 12:09:54 +02:00
  • 09f9a87ea3 up version Marco Concetto Rudilosso 2025-04-02 11:02:08 +02:00
  • 035a0db6ab Make all array filters that use filter_array util process empty string and nil correctly Marco Concetto Rudilosso 2025-04-02 11:01:51 +02:00
  • 87bc6e7cfa
    Merge pull request #1940 from Shopify/jm/update_snippet_url_links James Meng 2025-04-01 10:58:54 -07:00
  • 7f122aeed2
    Fix snippet URLs in documentation links #1940 jm/update_snippet_url_links James Meng 2025-03-31 17:08:31 -07:00
  • e8e2605035
    Create generator-generic-ossf-slsa3-publish.yml #1937 Jason M. Guest 2025-03-21 21:21:29 -04:00
  • aa1640035f
    Always stringify properties in all array filters (#1936) v5.8.2 Marco Concetto Rudilosso 2025-03-19 18:50:01 +01:00
  • fe498086d0 up version #1936 Marco Concetto Rudilosso 2025-03-19 16:47:16 +01:00
  • 123aa0b111 fix syntax error Marco Concetto Rudilosso 2025-03-19 11:33:10 +01:00
  • 2b45363727 always stringify properties in all array filters Marco Concetto Rudilosso 2025-03-19 11:12:15 +01:00
  • 88a38e391d
    Add test #1935 dpetrick/stringify-sum-property Dominic Petrick 2025-03-18 17:35:16 +01:00
  • d5df53da0a
    Always stringify sum property. Dominic Petrick 2025-03-18 16:52:46 +01:00
  • e1052d7103
    Merge 591d3a2c70423217cff76a4be6fc22011cbf701c into 1ae2ff103e98868bf0eb240d9d0d0182b594eaf8 #1933 Albert Chu 2025-03-18 00:30:11 +00:00
  • 591d3a2c70
    [WIP] Support for nested boolean expressions in parentheses #1933 boolean_precedence Albert Chu 2025-03-17 15:27:23 -06:00
  • f5d6a36574
    Stringify properties before filtering (#1929) Ian Ker-Seymer 2025-03-17 17:43:57 -04:00
  • f1b178d25e
    Boolean precedence unit tests Albert Chu 2025-03-17 14:08:44 -06:00
  • afee90b3f7
    Strict parsing only on Liquid::Variable #1932 strict_parse_variables Albert Chu 2025-03-17 09:58:30 -06:00
  • 3812b3e5d7
    Experiment: Hardcode parser to :strict everywhere #1931 strict_parsing_everywhere Albert Chu 2025-03-14 10:01:37 -06:00
  • 1ae2ff103e
    Added more non-parity unit tests #1922 better-bools-than-ghouls Albert Chu 2025-03-13 16:41:17 -06:00
  • 95ad9844cf
    Stringify properties before filtering #1929 Ian Ker-Seymer 2025-03-13 18:13:04 -04:00
  • c5711c095f
    Improve docs of date filter (#1920) Ian Ker-Seymer 2025-03-13 17:36:29 -04:00
  • 6148604320
    Added another failing unit test for behavior in main Albert Chu 2025-03-13 13:26:03 -06:00
  • e6e8221c78
    Fixed lax parsing test case Albert Chu 2025-03-13 10:53:24 -06:00
  • 284f5fb647
    Merge pull request #1928 from Shopify/jm/add_ld_link_doc_tag James Meng 2025-03-13 09:48:40 -07:00
  • 21432928d0
    Use full relative path for hyperlink #1928 jm/add_ld_link_doc_tag James Meng 2025-03-13 09:47:57 -07:00
  • 484f016e1b
    Added failing unit test that passes in main Albert Chu 2025-03-12 19:23:18 -06:00
  • 1783c0c084
    Add a link to the LiquidDoc reference in doc tag documentation comment James Meng 2025-03-12 15:09:48 -07:00
  • 4b57b2bbd9
    Reintroduced broken conditional operators behaviour present in liquid main Albert Chu 2025-03-12 14:08:45 -06:00
  • 430794dd5a
    Added test for operator reading bug Albert Chu 2025-03-11 17:00:57 -06:00
  • 08d36b09a2
    Fixed ComparisonExpression.parse with MethodLiterals Albert Chu 2025-03-10 18:12:41 -06:00
  • b5c3d3fe82
    Introduced debugging gems Albert Chu 2025-03-10 18:11:26 -06:00
  • 51a05c2781
    Blank parity Guilherme Carreiro 2025-03-07 14:26:45 +01:00
  • 263a73bd81
    Remove 'assert_parity_todo!' Guilherme Carreiro 2025-03-06 12:20:18 +01:00
  • 9e6b628a68
    * Introduce support for literal comparisons (e.g., {{ 'hello' == 'hello' }}) * Evaluate expressions as truthy/falsy to unlock scenarios, such as <div class="{{ disabled and "modal--disabled" }}"> * Add additional scenarios to the expression test suite * Simplify LogicalExpression Guilherme Carreiro 2025-03-06 12:08:24 +01:00
  • b31f24bdf0
    More boolean unit tests and enabled more existing parity cases Albert Chu 2025-03-05 16:36:23 -07:00
  • b57f4fcbcb
    Support usecase where a nil variable value is used in a logical expression Albert Chu 2025-03-05 15:33:17 -07:00
  • 26ccec12ab
    * Move expression handling from variable.rb to expression.rb * Update test suite to validate parity * Remove parentheses handling * Split boolean into comparison and logical expressions Guilherme Carreiro 2025-03-05 14:52:28 +01:00
  • ba0bbe3c3f
    Update the parser to use the new tokens Guilherme Carreiro 2025-03-05 14:49:59 +01:00
  • 9b967690aa
    Introduce support to boolean operators in the lexer Guilherme Carreiro 2025-03-05 14:49:10 +01:00
  • 03feea967b
    Added a lot more boolean unit tests Albert Chu 2025-03-04 17:52:16 -07:00
  • 14b0d64b70
    Rough support for parenthesis. Also better respect for and/or order precedence. Albert Chu 2025-03-04 17:19:27 -07:00
  • 6d4cffa000
    Support for simple boolean comparisons and boolean assignments Albert Chu 2025-03-04 17:08:23 -07:00
  • f32c0fb4fb
    TDD: Improved unit tests in boolean_unit_test.rb Albert Chu 2025-03-04 16:45:26 -07:00
  • b036feb20a
    Removed infix operators from this PR Albert Chu 2025-03-04 16:33:27 -07:00
  • 5782a9e1d7
    TDD: Unit tests for new liquid syntax Albert Chu 2025-03-04 12:59:45 -07:00
  • e38f730c00 Update LiquidDoc documentation Guilherme Carreiro 2025-02-26 13:54:50 +01:00
  • db195ab965 Remove 'assert_parity_todo!' #1927 Guilherme Carreiro 2025-03-06 12:20:18 +01:00
  • 374848ca23 * Introduce support for literal comparisons (e.g., {{ 'hello' == 'hello' }}) * Evaluate expressions as truthy/falsy to unlock scenarios, such as <div class="{{ disabled and "modal--disabled" }}"> * Add additional scenarios to the expression test suite * Simplify LogicalExpression Guilherme Carreiro 2025-03-06 12:08:24 +01:00
  • f154ac1a8a
    More boolean unit tests and enabled more existing parity cases Albert Chu 2025-03-05 16:36:23 -07:00
  • 177b79f8be
    Support usecase where a nil variable value is used in a logical expression Albert Chu 2025-03-05 15:33:17 -07:00
  • 0cacc01376 * Move expression handling from variable.rb to expression.rb * Update test suite to validate parity * Remove parentheses handling * Split boolean into comparison and logical expressions Guilherme Carreiro 2025-03-05 14:52:28 +01:00
  • aff9a98f69 Update the parser to use the new tokens Guilherme Carreiro 2025-03-05 14:49:59 +01:00
  • d56c3416fb Introduce support to boolean operators in the lexer Guilherme Carreiro 2025-03-05 14:49:10 +01:00
  • b58cf8bb43 * Move expression handling from variable.rb to expression.rb * Update test suite to validate parity * Remove parentheses handling * Split boolean into comparison and logical expressions #1925 Guilherme Carreiro 2025-03-05 14:52:28 +01:00
  • a7c4c3ae06 * Move expression handling from variable.rb to expression.rb * Update test suite to validate parity * Remove parentheses handling * Split boolean into comparison and logical expressions #1924 better-bools-than-ghouls-update Guilherme Carreiro 2025-03-05 14:52:28 +01:00
  • a3a0cf9b81 Update the parser to use the new tokens Guilherme Carreiro 2025-03-05 14:49:59 +01:00
  • 5dceb83db1 Introduce support to boolean operators in the lexer Guilherme Carreiro 2025-03-05 14:49:10 +01:00
  • 76d628ddc7
    Added a lot more boolean unit tests Albert Chu 2025-03-04 17:52:16 -07:00
  • 9be1b65bcc
    Rough support for parenthesis. Also better respect for and/or order precedence. Albert Chu 2025-03-04 17:19:27 -07:00
  • 19e9ba36ec
    Support for simple boolean comparisons and boolean assignments Albert Chu 2025-03-04 17:08:23 -07:00
  • a2de2dcdb6
    TDD: Improved unit tests in boolean_unit_test.rb Albert Chu 2025-03-04 16:45:26 -07:00
  • 0667bfaa2e
    Removed infix operators from this PR Albert Chu 2025-03-04 16:33:27 -07:00
  • fc5855d619
    TDD: Unit tests for infix operators (no functionality yet) #1923 infix-operators Albert Chu 2025-03-04 16:26:51 -07:00
  • de669a3415
    TDD: Unit tests for new liquid syntax Albert Chu 2025-03-04 12:59:45 -07:00
  • 235e436d4e
    Omit padding in base64_url_safe_encode filter #1921 Sébastien Ros 2025-02-26 17:07:25 -08:00
  • 77f781dfc6
    Improve docs of date filter #1920 Ian Ker-Seymer 2025-02-26 14:34:07 -05:00
  • 2d0442798b
    chore: Add RUBYOPT configuration to the tests (#1859) Michael Nikitochkin 2025-02-26 20:28:17 +01:00
  • 3f44af056f
    Merge branch 'main' into github-froznestring #1859 Ian Ker-Seymer 2025-02-26 14:26:29 -05:00
  • 4a945a085f Update LiquidDoc documentation #1919 improve-liquid-doc-documentation Guilherme Carreiro 2025-02-26 13:54:50 +01:00
  • 6453a0ea48 Implement nodelist in the Doc tag so it may be visited v5.8.1 Guilherme Carreiro 2025-02-26 12:10:02 +01:00
  • 623be8cb93 Implement nodelist in the Doc tag so it may be visited #1918 liquid-doc-nodelist Guilherme Carreiro 2025-02-26 12:10:02 +01:00
  • 71e5d21c5f Implement nodelist in the Doc tag so it may be visited liquid-nodelist Guilherme Carreiro 2025-02-26 12:05:13 +01:00
  • a398b4cc74 Fix History.md v5.8.0 Guilherme Carreiro 2025-02-24 12:11:05 +01:00
  • cca9fe99cf Bump version to 5.8.0 Guilherme Carreiro 2025-02-24 12:10:46 +01:00
  • 7a44488819 Fix History.md #1917 bump-5.8.0 Guilherme Carreiro 2025-02-24 12:11:05 +01:00
  • ecb2db52a1 Bump version to 5.8.0 Guilherme Carreiro 2025-02-24 12:10:46 +01:00
  • 17d327988d Rename {% doc %} constant strictly validates the abscense of args Guilherme Carreiro 2025-02-17 14:59:49 +01:00
  • f643af4bac Update the implementation to make {% doc %} as strict as {% raw %} Guilherme Carreiro 2025-02-17 14:57:11 +01:00
  • ae8a0a86ac Remove misleading unit test (thank you, @EvilGenius13) Guilherme Carreiro 2025-01-22 16:15:06 +01:00
  • b439d0da53 Update {% doc %} to no longer support nested tags (as {% comment %} does) Guilherme Carreiro 2025-01-21 12:18:55 +01:00
  • 16592cfb8f Add support to LiquidDoc with the new {% doc %} tag Guilherme Carreiro 2025-01-15 23:10:51 +01:00
  • 27810b3cfe Rename {% doc %} constant strictly validates the abscense of args liquid-5.7.2-doc Guilherme Carreiro 2025-02-17 14:59:49 +01:00
  • d0f7d46247 Update the implementation to make {% doc %} as strict as {% raw %} Guilherme Carreiro 2025-02-17 14:57:11 +01:00
  • d519cbb2b9 Remove misleading unit test (thank you, @EvilGenius13) Guilherme Carreiro 2025-01-22 16:15:06 +01:00
  • 87e0561517 Update {% doc %} to no longer support nested tags (as {% comment %} does) Guilherme Carreiro 2025-01-21 12:18:55 +01:00
  • 2531f42b74 Add support to LiquidDoc with the new {% doc %} tag Guilherme Carreiro 2025-01-15 23:10:51 +01:00
  • cae1041ee2 Rename {% doc %} constant strictly validates the abscense of args #1895 liquid-doc Guilherme Carreiro 2025-02-17 14:59:49 +01:00
  • f407157cbd Update the implementation to make {% doc %} as strict as {% raw %} Guilherme Carreiro 2025-02-17 14:57:11 +01:00
  • 677d289e46 Remove misleading unit test (thank you, @EvilGenius13) Guilherme Carreiro 2025-01-22 16:15:06 +01:00
  • 09a51bd6e8 Update {% doc %} to no longer support nested tags (as {% comment %} does) Guilherme Carreiro 2025-01-21 12:18:55 +01:00
  • 03a6d4f8b2 Add support to LiquidDoc with the new {% doc %} tag Guilherme Carreiro 2025-01-15 23:10:51 +01:00
  • da4afd4156
    Merge pull request #1905 from Shopify/catlee/invalid_utf8 v5.7.3 Chris AtLee 2025-02-13 09:24:11 -05:00
  • 1bb3091208
    Merge pull request #1909 from Shopify/catlee/5.7.3 Chris AtLee 2025-02-13 09:22:47 -05:00
  • 040801b32c
    Fix array has filters referring to some (#1910) Max Stoiber 2025-02-12 08:37:49 -08:00
  • f602451a01
    Fix array has filters referring to some #1910 Max Stoiber 2025-02-11 13:20:33 -08:00