Commit Graph

  • 550135c0b9 Raise SyntaxError on invalid UTF8 strings in lexer/tokenizer #1905 Chris AtLee 2025-01-30 11:49:23 -05:00
  • aec966eed7 Bump version to 5.7.3 #1909 Chris AtLee 2025-02-11 14:21:14 -05:00
  • 432c171be9 context-1 k/contexts-1 Guilherme Carreiro 2025-02-05 15:31:28 +01:00
  • eba29edf21
    fix(docs): readme #1908 Oleg 2025-02-05 10:54:43 +02:00
  • bfe29e11be
    Merge pull request #1907 from Shopify/nested-properties v5.7.2 Michael Go 2025-01-31 12:35:03 -04:00
  • f9454d8cf3 Fix array filters to not support nested properties #1907 nested-properties Guilherme Carreiro 2025-01-31 13:53:17 +01:00
  • 0ae38bac69 Fix backward-compatibility issue with the 'sort' filter #1904 diff-types-err Guilherme Carreiro 2025-01-29 16:50:05 +01:00
  • 8dd9279265 Fix release date on History.md Guilherme Carreiro 2025-01-24 14:15:41 +01:00
  • cdec09ad23 Fix release date on History.md #1903 fix-history Guilherme Carreiro 2025-01-24 14:15:41 +01:00
  • bf1419b8ac Apply the same fix for find_index and has v5.7.1 Guilherme Carreiro 2025-01-23 16:44:58 +01:00
  • 5718c4cee2 Fix the find filter to return nil when filtering empty arrays Guilherme Carreiro 2025-01-23 10:54:46 +01:00
  • 4e59e8ca6c Apply the same fix for find_index and has #1902 find-filter-patch Guilherme Carreiro 2025-01-23 16:44:58 +01:00
  • 2883fd58bb Fix the find filter to return nil when filtering empty arrays Guilherme Carreiro 2025-01-23 10:54:46 +01:00
  • b0dbc62696
    Fix bundle exec rake example (#1900) Guilherme Carreiro 2025-01-23 08:21:38 +01:00
  • 38d674466a
    Merge 9ccbe2b61ced6e8a28c75f838d0b3fd2579706f6 into 7429350ae2cbefa659ad867c832471a94a75a37d #1901 Success Ambaliya 2025-01-20 22:33:34 +00:00
  • 9ccbe2b61c Update Liquid types documentation to include missing Object and Timestamp types with examples. Resolves #1884 #1901 success1308 2025-01-20 17:29:02 -05:00
  • 903169be79 Move 'webrick' from 'benchmark/test' to 'development' #1900 fix-rake-example Guilherme Carreiro 2025-01-20 08:38:48 +01:00
  • 03aafa974c
    Bump to 5.7.0 (#1894) v5.7.0 Guilherme Carreiro 2025-01-17 12:10:18 +01:00
  • 4de9afbaf0 Fix bundle exec rake example Guilherme Carreiro 2025-01-17 11:50:24 +01:00
  • e429c940a3 Use VariableLookup instead of dot notation #1899 filters-update Guilherme Carreiro 2025-01-17 11:34:39 +01:00
  • ace14461a7
    Update History.md #1894 bump-5.7.0 Guilherme Carreiro 2025-01-17 09:29:32 +01:00
  • 6d2d3dbdde
    Update CONTRIBUTING.md Guilherme Carreiro 2025-01-17 09:29:02 +01:00
  • 6372289ba3
    Ensure we use InputIterator#each when in join filter (#1898) Ian Ker-Seymer 2025-01-16 11:36:36 -05:00
  • df53bc250b
    Ensure we use InputIterator#each when in join filter #1898 Ian Ker-Seymer 2025-01-16 11:35:34 -05:00
  • 0ec52a40b5
    Use Liquid::Utils.to_s for join filter (#1897) Ian Ker-Seymer 2025-01-16 11:21:58 -05:00
  • 74af735f0e
    Allow for custom < Hash classes to override #to_s (#1896) Ian Ker-Seymer 2025-01-16 11:16:13 -05:00
  • 393f6f7d23
    Allow for custom < Hash classes to override #to_s #1896 to-s-fixes-34 Ian Ker-Seymer 2025-01-16 11:04:23 -05:00
  • db8b0a256c
    Use Liquid::Utils.to_s for join filter #1897 Ian Ker-Seymer 2025-01-16 11:03:51 -05:00
  • d209d1467e
    Allow for custom Hash classes to override #to_s hash-rendering-fixes Ian Ker-Seymer 2025-01-16 10:58:34 -05:00
  • 43dbcb4f07 Update 'Releasing' steps Guilherme Carreiro 2025-01-16 09:19:19 +01:00
  • 7dce60fb71 Update 'History.md' Guilherme Carreiro 2025-01-16 09:18:57 +01:00
  • 3327813498 Bump to 5.7.0 Guilherme Carreiro 2025-01-15 14:21:49 +01:00
  • a617b91ddd
    Default to Ruby 3.4.1 in dev Ian Ker-Seymer 2025-01-15 18:47:09 -05:00
  • 11c2dba8fa
    Use Liquid::Utils.to_s in join filter Ian Ker-Seymer 2025-01-15 18:46:59 -05:00
  • 4b65a28722
    Implement logic for stringify Hashes to keep compat with 3.4 (#1892) Ian Ker-Seymer 2025-01-15 16:36:53 -05:00
  • d02cf235ae
    Bump to v5.6.5 #1892 Ian Ker-Seymer 2025-01-15 16:35:23 -05:00
  • be775453ee
    Exploring Dominic Petrick 2025-01-14 19:37:19 +01:00
  • d6e07f9e5f
    pretend we're on 3.4 dpetrick/hash_hacks Dominic Petrick 2025-01-15 11:17:05 +01:00
  • 8c89e6a0dd
    Implement logic for stringify Hashes to keep compat with 3.4 Ian Ker-Seymer 2025-01-14 14:40:33 -05:00
  • c2530b233b
    Exploring Dominic Petrick 2025-01-14 19:37:19 +01:00
  • ecf25ea83d
    Add the "Releasing" section to CONTRIBUTING.md (#1891) Guilherme Carreiro 2025-01-14 19:07:11 +01:00
  • d2ab3f828f
    Update CONTRIBUTING.md #1891 releasing Guilherme Carreiro 2025-01-14 18:57:02 +01:00
  • 244fe38471 Add 'Releasing' workflow to 'CONTRIBUTING.md' Guilherme Carreiro 2025-01-14 18:47:43 +01:00
  • 6909570f8e
    Add find, find_index, has, and reject filters to arrays (#1869) Guilherme Carreiro 2025-01-14 10:33:31 +01:00
  • cd9971579f
    Merge pull request #1889 from Shopify/default-variable-lookup-string-scanner v5.6.4 Michael Go 2025-01-13 23:28:11 -04:00
  • 8e37c5e18b
    Bump to v5.6.4 #1889 default-variable-lookup-string-scanner Ian Ker-Seymer 2025-01-13 21:57:52 -05:00
  • b3f9639e7d
    Add default string_scanner to Liquid::VariableLookup.parse Ian Ker-Seymer 2025-01-13 21:56:39 -05:00
  • fe3da0e17d
    Merge pull request #1887 from Shopify/remove-lru-redux v5.6.3 Michael Go 2025-01-13 18:37:17 -04:00
  • e200c4544b remove expression caching while rendering #1887 Michael Go 2025-01-13 18:36:30 -04:00
  • 7124540563 remove lru-redux Michael Go 2025-01-13 18:27:56 -04:00
  • 0558bd12c4
    Merge pull request #1886 from Shopify/fix-parsing-float-with-leading-point v5.6.2 Michael Go 2025-01-13 17:17:15 -04:00
  • 0639a094a8 bump version to 5.6.2 #1886 fix-parsing-float-with-leading-point Michael Go 2025-01-13 17:16:33 -04:00
  • 58777bcd93 float has to start with a digit Michael Go 2025-01-13 17:13:27 -04:00
  • 323951b36f
    Merge pull request #1844 from Shopify/fast-expression-parse v5.6.1 Michael Go 2025-01-10 15:34:06 -04:00
  • 1a9f8ae64b
    Merge 9a4350bd9533fecf2da91a7e7fc6fdfb9a489534 into a5b91e83ae116e7dc8210b21f795d0a5e9f89ec0 #1870 Michael Go 2025-01-10 15:30:15 -04:00
  • a5b91e83ae
    Update README.md with default environment (#1879) Benjamin Stein 2025-01-10 11:28:46 -08:00
  • 10114b333e minor version bump #1844 fast-expression-parse Michael Go 2025-01-10 15:28:02 -04:00
  • a07ae90523 use Ruby Hash as default expression cache Michael Go 2025-01-10 15:07:57 -04:00
  • 2e236b0a0e fix expression cache to be compatible with Ruby Hash and LruCache Michael Go 2025-01-10 14:58:23 -04:00
  • bd05dfbd1c use lru_redux getset for simplicity Michael Go 2025-01-10 14:41:35 -04:00
  • 2a5ecf068f remove lru_redux from Gemfile Michael Go 2025-01-10 14:38:50 -04:00
  • 0b8e30b819 update unit test to be compatible with new source_location format Michael Go 2025-01-10 14:37:54 -04:00
  • 97cada61f9 remove Expression2 strscan workaround Michael Go 2025-01-10 14:21:57 -04:00
  • 7c9b77e8cf remove StringScanner version check in Lexer and Tokenizer Michael Go 2025-01-07 14:51:29 -04:00
  • 9a4350bd95 bump version to 5.6.1 #1870 ignore-comment-node Michael Go 2025-01-07 14:13:32 -04:00
  • db64a0f0c2 optionally remove empty nodes from AST Michael Go 2025-01-07 14:01:36 -04:00
  • d48708ae46 skip expression caching with Expression1 Michael Go 2024-11-26 14:28:52 -04:00
  • 42d822bda9 users can provide optional expression cache Michael Go 2024-11-25 17:01:49 -04:00
  • 2c7d686690 adding caching to context variable lookup Michael Go 2024-11-25 16:09:33 -04:00
  • 313d01706a code styling Michael Go 2024-11-25 15:56:22 -04:00
  • e9f86724f6 code styling Michael Go 2024-11-25 15:40:41 -04:00
  • 0a17c15289 freeze '-' VariableLookup in Expression Michael Go 2024-11-25 15:39:48 -04:00
  • 04bd9dbe90 refactor Lexer to only take StringScanner Michael Go 2024-11-25 15:35:39 -04:00
  • 253ec81b56 don't add a breaking change to Parser constructor Michael Go 2024-11-25 15:28:45 -04:00
  • e05719fb82 use Kernel Integer parsing for simple Integer expression Michael Go 2024-11-25 15:22:53 -04:00
  • ac374a208f freeze Expression2 parse results Michael Go 2024-11-25 15:19:42 -04:00
  • 91be3dd75e keep the expression parse caching per document parsing Michael Go 2024-11-21 22:01:07 -04:00
  • 40191022e8 initialize StringScanner with input for default Michael Go 2024-11-21 21:30:37 -04:00
  • 71506ad54e avoid setting up StringScanner for parsing simple numbers Michael Go 2024-11-18 20:12:10 -04:00
  • cef64e277e early match number expressions with Regex Michael Go 2024-11-18 19:53:43 -04:00
  • 7c592c1c00 store StringScanner in ParseContext and reuse it through parsing Michael Go 2024-11-17 23:36:10 -04:00
  • 002e4caea7 refactor Lexer to be static class function Michael Go 2024-11-17 16:50:59 -04:00
  • 3c16c27ee1 add StringScannerPool for thread safety Michael Go 2024-11-17 16:36:04 -04:00
  • eff5c5de8e code clean up Michael Go 2024-11-15 17:24:52 -04:00
  • 19adfbd863 don't force strscan 3.1 Michael Go 2024-11-15 17:24:48 -04:00
  • a672f3836c don't cache literals for Expression parser Michael Go 2024-11-14 17:50:46 -04:00
  • 92fa334192 don't cache string expressions to be more perfomant Michael Go 2024-11-14 16:51:45 -04:00
  • 7c8a269b4d fix cycle tag not resetting Michael Go 2024-11-14 15:26:43 -04:00
  • 0b1dc295ff fix quirky negative sign expression markup parsing Michael Go 2024-11-14 00:59:01 -04:00
  • 1de6025362 decrease the size of Expression2 LRU cache to store 5 themes Michael Go 2024-11-14 00:39:05 -04:00
  • 8ecb703d4d use StringScanner to improve Expression Parsing and Tokenizer Michael Go 2024-11-13 16:09:42 -04:00
  • 879ec3e288 don't add comment node to the nodelist Michael Go 2024-12-13 16:23:56 -04:00
  • 0942a76924
    Merge 68271c8c4d1525ace7f813849a7ac4ea0962b6f8 into b4667adadff0b648b33678d5db958e59b59c7f80 #1860 Michael Nikitochkin 2025-01-07 11:07:20 -04:00
  • fc3e383f8f
    5.6.0 breaking change #1878 Espen Antonsen 2024-12-21 12:37:11 +08:00
  • 08d895c759 add bigdecimal to gemspec for ruby 3.4 #1882 Mathieu Bruyen 2024-12-27 11:10:02 +01:00
  • b1eded9986
    Update README.md with default environment #1879 Benjamin Stein 2024-12-23 16:56:48 -08:00
  • b4667adadf
    Bump to v5.6.0 (#1876) v5.6.0 Ian Ker-Seymer 2024-12-19 15:01:16 -05:00
  • 28fee14537
    Bump to v5.6.0 #1876 Ian Ker-Seymer 2024-12-19 14:56:14 -05:00
  • 94e02d765f
    Merge pull request #1874 from Shopify/bp/bump-version v5.6.0.rc3 Bahar Pourazar 2024-12-17 17:39:35 -05:00
  • 60701f865d Bump version patch #1874 bp/bump-version Bahar Pourazar 2024-12-17 16:51:26 +00:00