From 2b4268e5680e1e003773106c1916fada84f94f32 Mon Sep 17 00:00:00 2001 From: "tryghost-renovate[bot]" <269725441+tryghost-renovate[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 08:12:47 -0500 Subject: [PATCH 1/3] Update tinybirdco/tinybird-local:latest Docker digest to 49f65a4 (#28334) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | tinybirdco/tinybird-local | service | digest | `e9f78aa` → `49f65a4` | | tinybirdco/tinybird-local | | digest | `e9f78aa` → `49f65a4` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/28155) for more information. --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - Only on Sunday and Saturday (`* * * * 0,6`) - Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`) - Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * * 1-6`) - Automerge - Only on Sunday and Saturday (`* * * * 0,6`) - Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`) - Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * * 1-6`) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://redirect.github.com/renovatebot/renovate). Co-authored-by: tryghost-renovate[bot] <269725441+tryghost-renovate[bot]@users.noreply.github.com> Co-authored-by: Steve Larson <9larsons@gmail.com> --- .github/workflows/ci.yml | 2 +- compose.dev.analytics.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4d75ad03cc..cb620ad84d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -727,7 +727,7 @@ jobs: working-directory: ghost/core/core/server/data/tinybird services: tinybird: - image: tinybirdco/tinybird-local:latest@sha256:e9f78aab41aed68bbbd376b9abb58ea28b167288186ce81bb11b9d154a01040f + image: tinybirdco/tinybird-local:latest@sha256:49f65a4197ae7ff4aa923ec53e969c03220fbc1ddc38fba5edfe6832aacbb5db ports: - 7181:7181 steps: diff --git a/compose.dev.analytics.yaml b/compose.dev.analytics.yaml index e217d8f49cf..d8b836094df 100644 --- a/compose.dev.analytics.yaml +++ b/compose.dev.analytics.yaml @@ -29,7 +29,7 @@ services: condition: service_completed_successfully tinybird-local: - image: tinybirdco/tinybird-local:latest@sha256:e9f78aab41aed68bbbd376b9abb58ea28b167288186ce81bb11b9d154a01040f + image: tinybirdco/tinybird-local:latest@sha256:49f65a4197ae7ff4aa923ec53e969c03220fbc1ddc38fba5edfe6832aacbb5db container_name: ghost-dev-tinybird platform: linux/amd64 stop_grace_period: 2s From ad862707442e9e7ffd9fe34db104e45807258de3 Mon Sep 17 00:00:00 2001 From: "tryghost-renovate[bot]" <269725441+tryghost-renovate[bot]@users.noreply.github.com> Date: Sat, 6 Jun 2026 08:12:58 -0500 Subject: [PATCH 2/3] Update stripe/stripe-cli:latest Docker digest to 91f8f26 (#28333) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Update | Change | |---|---|---| | stripe/stripe-cli | digest | `49adc22` → `91f8f26` | --- > [!WARNING] > Some dependencies could not be looked up. Check the [Dependency Dashboard](../issues/28155) for more information. --- ### Configuration 📅 **Schedule**: (in timezone Etc/UTC) - Branch creation - Only on Sunday and Saturday (`* * * * 0,6`) - Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`) - Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * * 1-6`) - Automerge - Only on Sunday and Saturday (`* * * * 0,6`) - Between 11:00 PM and 11:59 PM, Monday through Friday (`* 23 * * 1-5`) - Between 12:00 AM and 04:59 AM, Monday through Saturday (`* 0-4 * * 1-6`) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://redirect.github.com/renovatebot/renovate). Co-authored-by: tryghost-renovate[bot] <269725441+tryghost-renovate[bot]@users.noreply.github.com> Co-authored-by: Steve Larson <9larsons@gmail.com> --- compose.dev.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.dev.yaml b/compose.dev.yaml index 04e8d04255e..d6d22388896 100644 --- a/compose.dev.yaml +++ b/compose.dev.yaml @@ -127,7 +127,7 @@ services: condition: service_healthy stripe: - image: stripe/stripe-cli:latest@sha256:49adc22954b07ace90944d0c2816cd8d4c08f527548f150785aff7c4d1109d42 + image: stripe/stripe-cli:latest@sha256:91f8f262453f9ab3690bd4aaa3ba27e6902b5b8fb62a635bad20246e414fbadc container_name: ghost-dev-stripe entrypoint: ["/entrypoint.sh"] profiles: ["stripe"] From 4ba667038f90037d713f6405cefe4983a98e0676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20=C3=87orlu?= <127687+muratcorlu@users.noreply.github.com> Date: Sat, 6 Jun 2026 15:43:57 +0200 Subject: [PATCH 3/3] Fixed duplicate size segment being added to icon URLs in embed code generator (#27546) no ref Ghost site icons are stored with a size segment in their URL (e.g. `/content/images/size/w256h256/icon.png`). The embed code generator was blindly prepending `/size/w192h192/` by replacing the first occurrence of `/content/images/`, which produced a doubly-nested size path: `/content/images/size/w192h192/size/w256h256/icon.png`. This generates redundant paths in size folder for the image Fix: use a regex that matches `/content/images/` followed by zero or more existing `size//` segments, replacing the whole match with the desired `/content/images/size/w192h192/`. This normalises any pre-sized icon URL to the single correct size. --- apps/admin-x-settings/src/utils/generate-embed-code.ts | 2 +- .../test/unit/utils/generate-embed-code.test.ts | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/apps/admin-x-settings/src/utils/generate-embed-code.ts b/apps/admin-x-settings/src/utils/generate-embed-code.ts index 0e1515bf377..be5c8d4673b 100644 --- a/apps/admin-x-settings/src/utils/generate-embed-code.ts +++ b/apps/admin-x-settings/src/utils/generate-embed-code.ts @@ -55,7 +55,7 @@ export const generateCode = ({ if (layout === 'all-in-one') { if (settings.icon && settings.icon !== '') { - options.icon = settings.icon.replace(/\/content\/images\//, '/content/images/size/w192h192/'); + options.icon = settings.icon.replace(/\/content\/images\/(?:size\/[^/]+\/)*/, '/content/images/size/w192h192/'); } options.title = settings.title; options.description = settings.description; diff --git a/apps/admin-x-settings/test/unit/utils/generate-embed-code.test.ts b/apps/admin-x-settings/test/unit/utils/generate-embed-code.test.ts index d3fedcf6fe0..0d52bf4e577 100644 --- a/apps/admin-x-settings/test/unit/utils/generate-embed-code.test.ts +++ b/apps/admin-x-settings/test/unit/utils/generate-embed-code.test.ts @@ -33,10 +33,16 @@ describe('generateCode', function () { assert.equal(generateCode(genOptions), '
'); }); - it('generated an embed with an icon', function () { + it('generated an embed with an icon that has no size segment', function () { + genOptions.settings.icon = 'https://example.com/content/images/2023/09/snoopy.png'; + genOptions.layout = 'all-in-one'; + assert.equal(generateCode(genOptions), '
'); + }); + + it('generated an embed with an icon that already has a size segment', function () { genOptions.settings.icon = 'https://example.com/content/images/size/w256h256/2023/09/snoopy.png'; genOptions.layout = 'all-in-one'; - assert.equal(generateCode(genOptions), '
'); + assert.equal(generateCode(genOptions), '
'); }); it('renders a full preview', function () {