Skip to content

Commit 33038ba

Browse files
authored
fix: unify changelogs (#1241)
1 parent f7a3804 commit 33038ba

File tree

9 files changed

+62
-28
lines changed

9 files changed

+62
-28
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
{
2-
"src/supabase": "2.20.0",
3-
"src/realtime": "2.20.0",
4-
"src/functions": "2.20.0",
5-
"src/storage": "2.20.0",
6-
"src/postgrest": "2.20.0",
7-
"src/auth": "2.20.0"
2+
".": "2.20.0"
83
}

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CHANGELOG
2+
3+
## v.2.20.0 (and lower)
4+
5+
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.

release-please-config.json

Lines changed: 50 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,57 @@
11
{
22
"last-release-sha": "7236ed62c37fb57c3feac23b416fc6d9d153dd68",
33
"packages": {
4-
"src/realtime": {
4+
".": {
55
"changelog-path": "CHANGELOG.md",
6-
"release-type": "python"
7-
},
8-
"src/auth": {
9-
"changelog-path": "CHANGELOG.md",
10-
"release-type": "python"
11-
},
12-
"src/functions": {
13-
"changelog-path": "CHANGELOG.md",
14-
"release-type": "python"
15-
},
16-
"src/storage": {
17-
"changelog-path": "CHANGELOG.md",
18-
"release-type": "python"
19-
},
20-
"src/postgrest": {
21-
"changelog-path": "CHANGELOG.md",
22-
"release-type": "python"
23-
},
24-
"src/supabase": {
25-
"changelog-path": "CHANGELOG.md",
26-
"release-type": "python"
6+
"separate-pull-requests": false,
7+
"release-type": "python",
8+
"extra-files": [
9+
{
10+
"type": "generic",
11+
"path": "src/supabase/src/supabase/version.py"
12+
},
13+
{
14+
"type": "toml",
15+
"path": "src/supabase/pyproject.toml",
16+
"jsonpath": "$.project.version"
17+
},
18+
{
19+
"type": "generic",
20+
"path": "src/auth/src/supabase_auth/version.py"
21+
},
22+
{
23+
"type": "toml",
24+
"path": "src/auth/pyproject.toml",
25+
"jsonpath": "$.project.version"
26+
},
27+
{
28+
"type": "generic",
29+
"path": "src/functions/src/supabase_functions/version.py"
30+
},
31+
{
32+
"type": "toml",
33+
"path": "src/functions/pyproject.toml",
34+
"jsonpath": "$.project.version"
35+
},
36+
{
37+
"type": "generic",
38+
"path": "src/postgrest/src/postgrest/version.py"
39+
},
40+
{
41+
"type": "toml",
42+
"path": "src/postgrest/pyproject.toml",
43+
"jsonpath": "$.project.version"
44+
},
45+
{
46+
"type": "generic",
47+
"path": "src/storage/src/storage3/version.py"
48+
},
49+
{
50+
"type": "toml",
51+
"path": "src/storage/pyproject.toml",
52+
"jsonpath": "$.project.version"
53+
}
54+
]
2755
}
2856
}
2957
}

src/auth/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ dependencies = [
2626
homepage = "https://github.com/supabase/supabase-py/tree/main/src/auth"
2727
repository = "https://github.com/supabase/supabase-py"
2828
documentation = "https://github.com/supabase/supabase-py/tree/main/src/auth"
29+
changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md"
2930

3031
# [project.scripts]
3132
# gh-download = "scripts.gh-download:main"

src/functions/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ dependencies = [
2121
[project.urls]
2222
repository = "https://github.com/supabase/supabase-py"
2323
homepage = "https://github.com/supabase/supabase/tree/main/src/functions"
24+
changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md"
2425

2526
[dependency-groups]
2627
tests = [

src/postgrest/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependencies = [
3131
homepage = "https://github.com/supabase/supabase/tree/main/src/postgrest"
3232
repository = "https://github.com/supabase/supabase-py"
3333
documentation = "https://postgrest-py.rtfd.io"
34+
changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md"
3435

3536
[dependency-groups]
3637
test = [

src/realtime/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dependencies = [
2323
homepage = "https://github.com/supabase/supabase/tree/main/src/realime"
2424
repository = "https://github.com/supabase/supabase-py"
2525
documentation = "https://github.com/supabase/supabase/tree/main/src/realime"
26+
changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md"
2627

2728
[dependency-groups]
2829
tests = [

src/storage/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependencies = [
3131
documentation = "https://supabase.github.io/storage-py"
3232
homepage = "https://supabase.github.io/storage-py"
3333
repository = "https://github.com/supabase/supabase-py"
34+
changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md"
3435

3536
[dependency-groups]
3637
lints = [

src/supabase/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ dependencies = [
3434
homepage = "https://github.com/supabase/supabase-py"
3535
repository = "https://github.com/supabase/supabase-py"
3636
documentation = "https://github.com/supabase/supabase-py/src/supabase"
37+
changelog = "https://github.com/supabase/supabase-py/CHANGELOG.md"
3738

3839
[dependency-groups]
3940
dev = [

0 commit comments

Comments
 (0)