Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 1.07 KB

2024-04-09-fix-snippet-search-for-long-snippets.md

File metadata and controls

16 lines (16 loc) · 1.07 KB
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Fix snippet search for very long snippets
issue: NEXT-34419
author: Altay Akkus
author_email: [email protected]
author_github: @AltayAkkus
---

Core

  • Changed Shopware\Core\System\Snippet\Filter\TermFilter and Shopware\Core\System\Snippet\Filter\NamespaceFilter so they can handle large snippets.
  • Deprecated Shopware\Core\System\Snippet\Exception\FilterNotFoundException, which will be removed in v6.7.0.0. Use Shopware\Core\System\Snippet\SnippetException::filterNotFound instead.
  • Deprecated Shopware\Core\System\Snippet\Exception\InvalidSnippetFileException, which will be removed in v6.7.0.0. Use Shopware\Core\System\Snippet\SnippetException::invalidSnippetFile instead.

Next Major Version Changes

Removal of deprecated exceptions

  • Removed Shopware\Core\System\Snippet\Exception\FilterNotFoundException. Use Shopware\Core\System\Snippet\SnippetException::filterNotFound instead.
  • Removed Shopware\Core\System\Snippet\Exception\InvalidSnippetFileException. Use Shopware\Core\System\Snippet\SnippetException::invalidSnippetFile instead.