diff --git a/config/bolt/config.yaml b/config/bolt/config.yaml index bbe187332..ffe19e6d3 100644 --- a/config/bolt/config.yaml +++ b/config/bolt/config.yaml @@ -30,7 +30,7 @@ caching: backend_menu: ~ files_index: ~ list_format: false # Run `bin/console cache:list-format; bin/console bolt:update-list-format` to clear and rebuild these - + # The theme to use. # # Dont edit the provided templates directly, because they _will_ get updated @@ -65,7 +65,7 @@ headers: # canonical, so its clear which is the primary address of the site. # # If you include `https://`, it will be included in the canonical urls. -canonical: https://example.org +#canonical: https://example.org # If you want to override the canonical template, from the theme: #canonical_template: 'partials/_canonical.html.twig' diff --git a/yaml-migrations/m_2022-03-23-doctrine.yaml b/yaml-migrations/m_2022-03-23-doctrine.yaml new file mode 100644 index 000000000..a0c82188f --- /dev/null +++ b/yaml-migrations/m_2022-03-23-doctrine.yaml @@ -0,0 +1,12 @@ +# Adding JSON_VALUE, see https://github.com/bolt/core/pull/3135 +# From: https://github.com/bolt/core/issues/2088#issuecomment-1076232230 + +file: packages/doctrine.yaml +since: 5.1.6 + +add: + doctrine: + orm: + dql: + string_functions: + JSON_VALUE: Bolt\Doctrine\Functions\JsonValue diff --git a/yaml-migrations/m_2023-10-26-prod-doctrine.yaml b/yaml-migrations/m_2023-10-26-prod-doctrine.yaml new file mode 100644 index 000000000..8586f4da2 --- /dev/null +++ b/yaml-migrations/m_2023-10-26-prod-doctrine.yaml @@ -0,0 +1,11 @@ +# See: https://github.com/bolt/project/commit/f33248d487b5b6a09a38224f890d259f9ea07003#diff-79c1dc283ac8f8d1d02991db661137a22a20b13cd277962eae1d0dbfb2d96467 + +file: packages/prod/doctrine.yaml +since: 5.2.0 + +add: + framework: + cache: + pools: + doctrine.system_cache_pool: + adapter: cache.app diff --git a/yaml-migrations/m_2023-10-26-services_bolt.yaml b/yaml-migrations/m_2023-10-26-services_bolt.yaml new file mode 100644 index 000000000..a86d007b6 --- /dev/null +++ b/yaml-migrations/m_2023-10-26-services_bolt.yaml @@ -0,0 +1,10 @@ +# Add `bind` +# See: https://github.com/bolt/core/commit/a5ffe5df95cac71faa76a95eca1a7720c40532ed + +file: services_bolt.yaml +since: 5.2.0 + +add: + services: + _defaults: + bind: { }