pgserve 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to `pgserve` are documented here. The format follows
4
4
  [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres
5
5
  to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## 2.0.8
8
+
9
+ ### Changed
10
+
11
+ - Bumped embedded postgres binaries from `18.2.0-beta.16` to
12
+ `18.3.0-beta.17` for all four platforms (linux-x64, darwin-arm64,
13
+ darwin-x64, windows-x64). Picks up upstream PostgreSQL 18.3 fixes
14
+ and the matching `@embedded-postgres` package revision.
15
+ - The hardcoded `pkgVersion` in `src/postgres.js` (used when binaries
16
+ are not yet cached and pgserve fetches them from npm) was updated
17
+ in lockstep with `package.json`.
18
+
7
19
  ## 2.0.7
8
20
 
9
21
  ### Fixed
package/bun.lock CHANGED
@@ -16,21 +16,21 @@
16
16
  "pg": "^8.16.3",
17
17
  },
18
18
  "optionalDependencies": {
19
- "@embedded-postgres/darwin-arm64": "18.2.0-beta.16",
20
- "@embedded-postgres/darwin-x64": "18.2.0-beta.16",
21
- "@embedded-postgres/linux-x64": "18.2.0-beta.16",
22
- "@embedded-postgres/windows-x64": "18.2.0-beta.16",
19
+ "@embedded-postgres/darwin-arm64": "18.3.0-beta.17",
20
+ "@embedded-postgres/darwin-x64": "18.3.0-beta.17",
21
+ "@embedded-postgres/linux-x64": "18.3.0-beta.17",
22
+ "@embedded-postgres/windows-x64": "18.3.0-beta.17",
23
23
  },
24
24
  },
25
25
  },
26
26
  "packages": {
27
- "@embedded-postgres/darwin-arm64": ["@embedded-postgres/darwin-arm64@18.2.0-beta.16", "", { "os": "darwin", "cpu": "arm64" }, "sha512-wnswaF+uDvGeitqajJ8v8xOG4ttFrzixElwKNe2MIxBXSLWPV3xhi6tBY0Sjw8Lmiu6UG9vNLFZSjHPrIeokBg=="],
27
+ "@embedded-postgres/darwin-arm64": ["@embedded-postgres/darwin-arm64@18.3.0-beta.17", "", { "os": "darwin", "cpu": "arm64" }, "sha512-Pvrej3Xz5flfyVc9mchVfekrKoTJyvPtM3U0vjuXamZkRKmi+inP2zRmnmzYecIVbr7Zhu82xbsCENMXrwMp9Q=="],
28
28
 
29
- "@embedded-postgres/darwin-x64": ["@embedded-postgres/darwin-x64@18.2.0-beta.16", "", { "os": "darwin", "cpu": "x64" }, "sha512-u9WtTPxRuO0uOny5IniXHSDaLmtOujwzDoExIV/jFT0Fu8SzpX7wdoPbsSPBLgyQWdr/nPA77K9QI4r6P1/fKA=="],
29
+ "@embedded-postgres/darwin-x64": ["@embedded-postgres/darwin-x64@18.3.0-beta.17", "", { "os": "darwin", "cpu": "x64" }, "sha512-MVWe+C47pPoMD9LlIWGQkvZ5Xsu3IBo54CYqnIps/Z1byMIUBNc7y/dZ3mfqEwiCbVDVqirG0CU462xnrSEfKA=="],
30
30
 
31
- "@embedded-postgres/linux-x64": ["@embedded-postgres/linux-x64@18.2.0-beta.16", "", { "os": "linux", "cpu": "x64" }, "sha512-BIt485ioL8/AwDgw37IcdraOfRgHNDOtGM6Hh63vnNaUAG4Z0qtJd5zXS5fr2wZTEsYHyC5PC60k7zkCRZXSzg=="],
31
+ "@embedded-postgres/linux-x64": ["@embedded-postgres/linux-x64@18.3.0-beta.17", "", { "os": "linux", "cpu": "x64" }, "sha512-8orSD6NNopSLtjqir4dWQBrj+g8j1eJjWd9mB60A3xbWMzIBIPQpzT7XzbacW9YFSl/DejOLnRXfff+Wr13Tgw=="],
32
32
 
33
- "@embedded-postgres/windows-x64": ["@embedded-postgres/windows-x64@18.2.0-beta.16", "", { "os": "win32", "cpu": "x64" }, "sha512-Sj6GhCZrvtMwchATEtWuEmexEBWpRNMHPTUHsqPuyDrHX/XgKfpIxz2/AMHa4sp7SZ0JOHGouH8AFIVsWQrQsQ=="],
33
+ "@embedded-postgres/windows-x64": ["@embedded-postgres/windows-x64@18.3.0-beta.17", "", { "os": "win32", "cpu": "x64" }, "sha512-kDC5aBsmhWDjeQjj2V4g+Bk+pMeDU27b7l0rBbaKgtt2gsNmCB34ULg/5cqs2kqUKSk/tiGMHKCNE+zQZ+s4rg=="],
34
34
 
35
35
  "@emnapi/core": ["@emnapi/core@1.7.1", "", { "dependencies": { "@emnapi/wasi-threads": "1.1.0", "tslib": "^2.4.0" } }, "sha512-o1uhUASyo921r2XtHYOHy7gdkGLge8ghBEQHMWmyJFoXlpU58kIrhhN3w26lpQb6dspetweapMn2CSNwQ8I4wg=="],
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgserve",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Embedded PostgreSQL server with true concurrent connections - zero config, auto-provision databases",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -42,10 +42,10 @@
42
42
  },
43
43
  "homepage": "https://github.com/namastexlabs/pgserve#readme",
44
44
  "optionalDependencies": {
45
- "@embedded-postgres/darwin-arm64": "18.2.0-beta.16",
46
- "@embedded-postgres/darwin-x64": "18.2.0-beta.16",
47
- "@embedded-postgres/linux-x64": "18.2.0-beta.16",
48
- "@embedded-postgres/windows-x64": "18.2.0-beta.16"
45
+ "@embedded-postgres/darwin-arm64": "18.3.0-beta.17",
46
+ "@embedded-postgres/darwin-x64": "18.3.0-beta.17",
47
+ "@embedded-postgres/linux-x64": "18.3.0-beta.17",
48
+ "@embedded-postgres/windows-x64": "18.3.0-beta.17"
49
49
  },
50
50
  "devDependencies": {
51
51
  "eslint": "^9.39.1",
package/src/postgres.js CHANGED
@@ -67,7 +67,7 @@ async function downloadPostgresBinaries() {
67
67
 
68
68
  const platformKey = getPlatformKey();
69
69
  const pkgName = `@embedded-postgres/${platformKey}`;
70
- const pkgVersion = '18.2.0-beta.16';
70
+ const pkgVersion = '18.3.0-beta.17';
71
71
 
72
72
  console.log(`[pgserve] PostgreSQL binaries not found.`);
73
73
  console.log(`[pgserve] Downloading ${pkgName}@${pkgVersion}...`);