From 46c8018c59a59fbd0deb03b0d6a82265944838cb Mon Sep 17 00:00:00 2001 From: macintoshplus <814683+macintoshplus@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:48:13 +0200 Subject: [PATCH 1/2] ref #3551 use Bolt fork of weatherwidget --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 622c3e03b..46c428e54 100644 --- a/composer.json +++ b/composer.json @@ -97,7 +97,7 @@ "ext-pdo_sqlite": "*", "acmecorp/reference-extension": "^1.2", "bobdenotter/configuration-notices": "^1.2", - "bobdenotter/weatherwidget": "^1.1", + "bolt/weatherwidget": "^1.1", "bolt/newswidget": "^1.3", "dama/doctrine-test-bundle": "^6.0", "nyholm/psr7": "^1.4", From 83b5c47d03b833b51a32bca0e3554be988d2b6e1 Mon Sep 17 00:00:00 2001 From: Bob van de Vijver Date: Fri, 26 Sep 2025 21:06:46 +0200 Subject: [PATCH 2/2] Complete weatherwidget replacement --- CHANGELOG.md | 1 + composer.json | 2 +- ...er-weatherwidget.yaml => bolt-weatherwidget.yaml} | 0 config/services_bolt.yaml | 6 +++--- symfony.lock | 4 ++-- yaml-migrations/m_2025-09-26-services_bolt.yaml | 12 ++++++++++++ 6 files changed, 19 insertions(+), 6 deletions(-) rename config/extensions/{bobdenotter-weatherwidget.yaml => bolt-weatherwidget.yaml} (100%) create mode 100644 yaml-migrations/m_2025-09-26-services_bolt.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index 63b2789af..ac5417f00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Changelog - `master` branch has been renamed to the now more common `main`. - Bump `nesbot/carbon` from version 2 to version 3.8+. (macintoshplus, [#3551](https://github.com/bolt/core/issues/3551)) - Replaced `tightenco/collect` with `illuminate/collections`. The namespace has changed from `Tightenco\Collect\Support\*` to `Illuminate\Support\*`. (macintoshplus, [#3555](https://github.com/bolt/core/issues/3555)) +- Replaced `bobdenotter/weatherwidget` with `bolt/weatherwidget`. The namespace has changed from `BobdenOtter\WeatherWidget` to `Bolt\WeatherWidget`. Your configuration should be migrated automatically, but if you weren't using the weather widget you might need to remove the newly added configuration manually. (macintoshplus and bobvandevijver, [#3587](https://github.com/bolt/core/issues/3587)) ## 5.2.2 diff --git a/composer.json b/composer.json index 46c428e54..2c7a852b0 100644 --- a/composer.json +++ b/composer.json @@ -97,7 +97,7 @@ "ext-pdo_sqlite": "*", "acmecorp/reference-extension": "^1.2", "bobdenotter/configuration-notices": "^1.2", - "bolt/weatherwidget": "^1.1", + "bolt/weatherwidget": "^2.0", "bolt/newswidget": "^1.3", "dama/doctrine-test-bundle": "^6.0", "nyholm/psr7": "^1.4", diff --git a/config/extensions/bobdenotter-weatherwidget.yaml b/config/extensions/bolt-weatherwidget.yaml similarity index 100% rename from config/extensions/bobdenotter-weatherwidget.yaml rename to config/extensions/bolt-weatherwidget.yaml diff --git a/config/services_bolt.yaml b/config/services_bolt.yaml index 08ff36262..631124141 100644 --- a/config/services_bolt.yaml +++ b/config/services_bolt.yaml @@ -11,9 +11,9 @@ services: BobdenOtter\ConfigurationNotices\: resource: '../vendor/bobdenotter/configuration-notices/src/*' exclude: '../vendor/bobdenotter/configuration-notices/src/{Entity,Exception}' - BobdenOtter\WeatherWidget\: - resource: '../vendor/bobdenotter/weatherwidget/src/*' - exclude: '../vendor/bobdenotter/weatherwidget/src/{Entity,Exception}' + Bolt\WeatherWidget\: + resource: '../vendor/bolt/weatherwidget/src/*' + exclude: '../vendor/bolt/weatherwidget/src/{Entity,Exception}' Bolt\NewsWidget\: resource: '../vendor/bolt/newswidget/src/*' exclude: '../vendor/bolt/newswidget/src/{Entity,Exception}' diff --git a/symfony.lock b/symfony.lock index 2a496f262..7218b1265 100644 --- a/symfony.lock +++ b/symfony.lock @@ -25,8 +25,8 @@ "bobdenotter/configuration-notices": { "version": "1.0.2" }, - "bobdenotter/weatherwidget": { - "version": "1.1.1" + "bolt/weatherwidget": { + "version": "2.0.0" }, "bolt/common": { "version": "2.1.5" diff --git a/yaml-migrations/m_2025-09-26-services_bolt.yaml b/yaml-migrations/m_2025-09-26-services_bolt.yaml new file mode 100644 index 000000000..5d0b5e87b --- /dev/null +++ b/yaml-migrations/m_2025-09-26-services_bolt.yaml @@ -0,0 +1,12 @@ +file: services_bolt.yaml +since: 6.0.0 + +remove: + services: + BobdenOtter\WeatherWidget\: ~ + +add: + services: + Bolt\WeatherWidget\: + resource: '../vendor/bolt/weatherwidget/src/*' + exclude: '../vendor/bolt/weatherwidget/src/{Entity,Exception}'