From 8089b4e8ff0dfe9cd9d82e02dd889c2f8d061b65 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:16:52 -0300 Subject: [PATCH 1/8] feat: unify changelogs, move them to repository root this should make all changes appear in the same changelog --- release-please-config.json | 68 +++++++++++++++++++++++--------------- 1 file changed, 42 insertions(+), 26 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index 00693c8b..d68ebe4a 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,29 +1,45 @@ { - "last-release-sha": "7236ed62c37fb57c3feac23b416fc6d9d153dd68", - "packages": { - "src/realtime": { - "changelog-path": "CHANGELOG.md", - "release-type": "python" - }, - "src/auth": { - "changelog-path": "CHANGELOG.md", - "release-type": "python" - }, - "src/functions": { - "changelog-path": "CHANGELOG.md", - "release-type": "python" - }, - "src/storage": { - "changelog-path": "CHANGELOG.md", - "release-type": "python" - }, - "src/postgrest": { - "changelog-path": "CHANGELOG.md", - "release-type": "python" - }, - "src/supabase": { - "changelog-path": "CHANGELOG.md", - "release-type": "python" + "last-release-sha": "7236ed62c37fb57c3feac23b416fc6d9d153dd68", + "packages": { + ".": { + "changelog-path": "CHANGELOG.md", + "separate-pull-requests": false, + "extra-files": [ { + "type": "generic", + "path": "src/supabase/src/supabase/version.py", + }, { + "type": "toml", + "path": "src/supabase/pyproject.toml", + "jsonpath": "$.project.version" + }, { + "type": "generic", + "path": "src/auth/src/supabase_auth/version.py", + }, { + "type": "toml", + "path": "src/auth/pyproject.toml", + "jsonpath": "$.project.version" + }, { + "type": "generic", + "path": "src/functions/src/supabase_functions/version.py", + }, { + "type": "toml", + "path": "src/functions/pyproject.toml", + "jsonpath": "$.project.version" + }, { + "type": "generic", + "path": "src/postgrest/src/postgrest/version.py", + }, { + "type": "toml", + "path": "src/postgrest/pyproject.toml", + "jsonpath": "$.project.version" + }, { + "type": "generic", + "path": "src/storage/src/storage3/version.py", + }, { + "type": "toml", + "path": "src/storage/pyproject.toml", + "jsonpath": "$.project.version" + }] + } } - } } From ea6a0d14fd3a3ba08e3949898c0a39792fa8d166 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:20:02 -0300 Subject: [PATCH 2/8] chore: fix version in release please manifest --- .release-please-manifest.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7ef5135d..cd831143 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,8 +1,3 @@ { - "src/supabase": "2.20.0", - "src/realtime": "2.20.0", - "src/functions": "2.20.0", - "src/storage": "2.20.0", - "src/postgrest": "2.20.0", - "src/auth": "2.20.0" + ".": "2.20.0" } From b6762b2b7c6fb1fe768de9f9f527d5e868d66582 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:21:46 -0300 Subject: [PATCH 3/8] chore: fix formatting --- release-please-config.json | 93 +++++++++++++++++++++----------------- 1 file changed, 52 insertions(+), 41 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index d68ebe4a..f6304947 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,45 +1,56 @@ { - "last-release-sha": "7236ed62c37fb57c3feac23b416fc6d9d153dd68", - "packages": { - ".": { - "changelog-path": "CHANGELOG.md", - "separate-pull-requests": false, - "extra-files": [ { - "type": "generic", - "path": "src/supabase/src/supabase/version.py", - }, { - "type": "toml", - "path": "src/supabase/pyproject.toml", - "jsonpath": "$.project.version" - }, { - "type": "generic", - "path": "src/auth/src/supabase_auth/version.py", - }, { - "type": "toml", - "path": "src/auth/pyproject.toml", - "jsonpath": "$.project.version" - }, { - "type": "generic", - "path": "src/functions/src/supabase_functions/version.py", - }, { - "type": "toml", - "path": "src/functions/pyproject.toml", - "jsonpath": "$.project.version" - }, { - "type": "generic", - "path": "src/postgrest/src/postgrest/version.py", - }, { - "type": "toml", - "path": "src/postgrest/pyproject.toml", - "jsonpath": "$.project.version" - }, { - "type": "generic", - "path": "src/storage/src/storage3/version.py", - }, { - "type": "toml", - "path": "src/storage/pyproject.toml", - "jsonpath": "$.project.version" - }] + "last-release-sha": "7236ed62c37fb57c3feac23b416fc6d9d153dd68", + "packages": { + ".": { + "changelog-path": "CHANGELOG.md", + "separate-pull-requests": false, + "extra-files": [ + { + "type": "generic", + "path": "src/supabase/src/supabase/version.py" + }, + { + "type": "toml", + "path": "src/supabase/pyproject.toml", + "jsonpath": "$.project.version" + }, + { + "type": "generic", + "path": "src/auth/src/supabase_auth/version.py" + }, + { + "type": "toml", + "path": "src/auth/pyproject.toml", + "jsonpath": "$.project.version" + }, + { + "type": "generic", + "path": "src/functions/src/supabase_functions/version.py" + }, + { + "type": "toml", + "path": "src/functions/pyproject.toml", + "jsonpath": "$.project.version" + }, + { + "type": "generic", + "path": "src/postgrest/src/postgrest/version.py" + }, + { + "type": "toml", + "path": "src/postgrest/pyproject.toml", + "jsonpath": "$.project.version" + }, + { + "type": "generic", + "path": "src/storage/src/storage3/version.py" + }, + { + "type": "toml", + "path": "src/storage/pyproject.toml", + "jsonpath": "$.project.version" } + ] } + } } From 41c9b8414599d9edcff981b7dbfd141c1b5f2953 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:32:41 -0300 Subject: [PATCH 4/8] fix: add python type --- release-please-config.json | 1 + 1 file changed, 1 insertion(+) diff --git a/release-please-config.json b/release-please-config.json index f6304947..8da2a73c 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -4,6 +4,7 @@ ".": { "changelog-path": "CHANGELOG.md", "separate-pull-requests": false, + "type": "python", "extra-files": [ { "type": "generic", From 62be4235b2e69d9cdf82869abda0e16fdd3b7de4 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:33:34 -0300 Subject: [PATCH 5/8] fix: release-type instead of type --- release-please-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-please-config.json b/release-please-config.json index 8da2a73c..6141a99f 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -4,7 +4,7 @@ ".": { "changelog-path": "CHANGELOG.md", "separate-pull-requests": false, - "type": "python", + "release-type": "python", "extra-files": [ { "type": "generic", From c05154c6ba82ee3d108cdc1b9812ca448f818e10 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:37:51 -0300 Subject: [PATCH 6/8] fix: add changelogs links to the same root changelog to all projects --- src/auth/pyproject.toml | 1 + src/functions/pyproject.toml | 1 + src/postgrest/pyproject.toml | 1 + src/realtime/pyproject.toml | 1 + src/storage/pyproject.toml | 1 + src/supabase/pyproject.toml | 1 + 6 files changed, 6 insertions(+) diff --git a/src/auth/pyproject.toml b/src/auth/pyproject.toml index 1e79aee6..c0364166 100644 --- a/src/auth/pyproject.toml +++ b/src/auth/pyproject.toml @@ -26,6 +26,7 @@ dependencies = [ homepage = "https://github.com/supabase/supabase-py/tree/main/src/auth" repository = "https://github.com/supabase/supabase-py" documentation = "https://github.com/supabase/supabase-py/tree/main/src/auth" +changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md" # [project.scripts] # gh-download = "scripts.gh-download:main" diff --git a/src/functions/pyproject.toml b/src/functions/pyproject.toml index 67b63151..fe6829d7 100644 --- a/src/functions/pyproject.toml +++ b/src/functions/pyproject.toml @@ -21,6 +21,7 @@ dependencies = [ [project.urls] repository = "https://github.com/supabase/supabase-py" homepage = "https://github.com/supabase/supabase/tree/main/src/functions" +changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md" [dependency-groups] tests = [ diff --git a/src/postgrest/pyproject.toml b/src/postgrest/pyproject.toml index 235d5e33..54b42d92 100644 --- a/src/postgrest/pyproject.toml +++ b/src/postgrest/pyproject.toml @@ -31,6 +31,7 @@ dependencies = [ homepage = "https://github.com/supabase/supabase/tree/main/src/postgrest" repository = "https://github.com/supabase/supabase-py" documentation = "https://postgrest-py.rtfd.io" +changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md" [dependency-groups] test = [ diff --git a/src/realtime/pyproject.toml b/src/realtime/pyproject.toml index 9b00a169..fd572079 100644 --- a/src/realtime/pyproject.toml +++ b/src/realtime/pyproject.toml @@ -23,6 +23,7 @@ dependencies = [ homepage = "https://github.com/supabase/supabase/tree/main/src/realime" repository = "https://github.com/supabase/supabase-py" documentation = "https://github.com/supabase/supabase/tree/main/src/realime" +changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md" [dependency-groups] tests = [ diff --git a/src/storage/pyproject.toml b/src/storage/pyproject.toml index 235bc2c4..02a447a3 100644 --- a/src/storage/pyproject.toml +++ b/src/storage/pyproject.toml @@ -31,6 +31,7 @@ dependencies = [ documentation = "https://supabase.github.io/storage-py" homepage = "https://supabase.github.io/storage-py" repository = "https://github.com/supabase/supabase-py" +changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md" [dependency-groups] lints = [ diff --git a/src/supabase/pyproject.toml b/src/supabase/pyproject.toml index 2ee88b2c..01d962eb 100644 --- a/src/supabase/pyproject.toml +++ b/src/supabase/pyproject.toml @@ -34,6 +34,7 @@ dependencies = [ homepage = "https://github.com/supabase/supabase-py" repository = "https://github.com/supabase/supabase-py" documentation = "https://github.com/supabase/supabase-py/src/supabase" +changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md" [dependency-groups] dev = [ From 73efbbcd92e1816fccfbe7bc6a12fa046533abe4 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:46:35 -0300 Subject: [PATCH 7/8] chore: add base CHANGELOG into root with warning --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..c20910e1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# CHANGELOG + +## v.2.20.0 (and lower) + +Since version 2.21.0, the changelogs for all subpackages have been unified into this single file, for their versions are released in lockstep. + +For version 2.20.0 or lower, please consult `src/{package}/CHANGELOG.md` for the changes. From 5e660a11a42986f909afbc33361cb6d08be46644 Mon Sep 17 00:00:00 2001 From: Leonardo Santiago Date: Thu, 2 Oct 2025 17:53:42 -0300 Subject: [PATCH 8/8] fix: formatting --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c20910e1..86316c4c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,4 @@ ## v.2.20.0 (and lower) -Since version 2.21.0, the changelogs for all subpackages have been unified into this single file, for their versions are released in lockstep. - -For version 2.20.0 or lower, please consult `src/{package}/CHANGELOG.md` for the changes. +For version 2.20.0 or lower, please consult `src/{package}/CHANGELOG.md` for individual packages changes. Since version 2.21.0, the changelogs for all subpackages have been unified into this single file, for their versions are unified into a single one.