Skip to content

Commit 62a1bdc

Browse files
burmeciasamrose
andauthored
chore: bump wrappers version 0.6.0 (#2067)
* chore: bump wrappers version 0.6.0 * update hash to reflect changes * chore: fix hash with new version * chore: upgrade ansible vers * tests: suffix for testing * chore: release bump --------- Co-authored-by: Sam Rose <samuel@supabase.io>
1 parent 7791906 commit 62a1bdc

4 files changed

Lines changed: 35 additions & 9 deletions

File tree

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.6.0.053-orioledb"
14-
postgres17: "17.6.1.096"
15-
postgres15: "15.14.1.096"
13+
postgresorioledb-17: "17.6.0.054-orioledb"
14+
postgres17: "17.6.1.097"
15+
postgres15: "15.14.1.097"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.25.1

nix/docs/updating-pgrx-extensions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ Use this when the extension has a new release but uses the same pgrx and Rust ve
9595
4. **Build to get the hash**:
9696

9797
```bash
98-
nix build .#psql_17.exts.wrappers-all -L
98+
nix build .#psql_17.exts.wrappers -L
9999
```
100100

101101
The build will fail and print the correct hash. Copy it to `versions.json`.
102102

103103
5. **Rebuild to verify**:
104104

105105
```bash
106-
nix build .#psql_17.exts.wrappers-all -L
106+
nix build .#psql_17.exts.wrappers -L
107107
```
108108

109109
---
@@ -178,7 +178,7 @@ Use this when the extension requires a newer pgrx version.
178178

179179
```bash
180180
git add .
181-
nix build .#psql_17.exts.wrappers-all -L
181+
nix build .#psql_17.exts.wrappers -L
182182
```
183183

184184
You'll need to run this multiple times, updating hashes as they're calculated:
@@ -291,11 +291,11 @@ For faster iteration, test just your extension before running full checks:
291291

292292
```bash
293293
# Build for one PostgreSQL version
294-
nix build .#psql_17.exts.wrappers-all -L
294+
nix build .#psql_17.exts.wrappers -L
295295

296296
# Build for all PostgreSQL versions
297-
nix build .#psql_15.exts.wrappers-all -L
298-
nix build .#psql_17.exts.wrappers-all -L
297+
nix build .#psql_15.exts.wrappers -L
298+
nix build .#psql_17.exts.wrappers -L
299299
```
300300

301301
---

nix/ext/versions.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,16 @@
706706
"hash": "sha256-B46ie4qlfD1Wxd7QRv1fIuRmmSrb5s5A7KpQVwadazo=",
707707
"pgrx": "0.16.1",
708708
"rust": "1.88.0"
709+
},
710+
"0.6.0": {
711+
"postgresql": [
712+
"15",
713+
"17",
714+
"orioledb-17"
715+
],
716+
"hash": "sha256-z4mtEn//qMwPOIpPcUdeHuwmJP5IgVuGCaXJve/f3cg=",
717+
"pgrx": "0.16.1",
718+
"rust": "1.88.0"
709719
}
710720
},
711721
"pg_hashids": {

nix/ext/wrappers/default.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ let
9797
"clickhouse-rs-1.1.0-alpha.1" = "sha256-nKiGzdsAgJej8NgyVOqHaD1sZLrNF1RPfEhu2pRwZ6o=";
9898
"iceberg-catalog-s3tables-0.6.0" = "sha256-AUK7B0wMqQZwJho91woLs8uOC4k1RdUEEN5Khw2OoqQ=";
9999
}
100+
else if builtins.compareVersions "0.6.0" version == 0 then
101+
{
102+
"clickhouse-rs-1.1.0-alpha.1" = "sha256-nKiGzdsAgJej8NgyVOqHaD1sZLrNF1RPfEhu2pRwZ6o=";
103+
"iceberg-catalog-s3tables-0.6.0" = "sha256-AUK7B0wMqQZwJho91woLs8uOC4k1RdUEEN5Khw2OoqQ=";
104+
}
100105
else
101106
{
102107
"clickhouse-rs-1.1.0-alpha.1" = "sha256-nKiGzdsAgJej8NgyVOqHaD1sZLrNF1RPfEhu2pRwZ6o=";
@@ -178,6 +183,17 @@ let
178183
);
179184
# All versions that were previously packaged (historical list)
180185
allPreviouslyPackagedVersions = [
186+
"0.5.7"
187+
"0.5.6"
188+
"0.5.5"
189+
"0.5.4"
190+
"0.5.3"
191+
"0.5.2"
192+
"0.5.1"
193+
"0.5.0"
194+
"0.4.6"
195+
"0.4.5"
196+
"0.4.4"
181197
"0.4.3"
182198
"0.4.2"
183199
"0.4.1"

0 commit comments

Comments
 (0)