@supacloud/lite 0.9.0 → 0.9.2

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
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.2](https://github.com/vibeunion/supacloud/compare/supacloud-lite-v0.9.1...supacloud-lite-v0.9.2) (2026-08-29)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **deps:** upgrade workspace dependencies and svadmin ([#1067](https://github.com/vibeunion/supacloud/issues/1067)) ([9cd8ed6](https://github.com/vibeunion/supacloud/commit/9cd8ed6e81f11da1b26bf491ca745b5599115cc0))
9
+
10
+ ## [0.9.1](https://github.com/vibeunion/supacloud/compare/supacloud-lite-v0.9.0...supacloud-lite-v0.9.1) (2026-08-23)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **runtime:** upgrade Bun to 1.4.0 ([a1e4178](https://github.com/vibeunion/supacloud/commit/a1e4178c6a02127e4b71b0976d0f34a5a7940061))
16
+
3
17
  ## [0.9.0](https://github.com/vibeunion/supacloud/compare/supacloud-lite-v0.8.5...supacloud-lite-v0.9.0) (2026-08-20)
4
18
 
5
19
 
@@ -7,17 +7,17 @@ Bun itself is MIT-licensed.
7
7
 
8
8
  ## JavaScriptCore
9
9
 
10
- Bun statically links JavaScriptCore (and WebKit) which is LGPL-2 licensed. WebCore files from WebKit are also licensed under LGPL2. Per LGPL2:
10
+ Bun statically links JavaScriptCore (and WebKit), which is LGPL-2 licensed. WebCore files from WebKit are also licensed under LGPL-2. Per LGPL-2:
11
11
 
12
12
  > (1) If you statically link against an LGPL'd library, you must also provide your application in an object (not necessarily source) format, so that a user has the opportunity to modify the library and relink the application.
13
13
 
14
- You can find the patched version of WebKit used by Bun here: https://github.com/oven-sh/webkit. If you would like to relink Bun with changes:
14
+ Bun's patched version of WebKit lives at https://github.com/oven-sh/webkit. To relink Bun with changes:
15
15
 
16
- - `git submodule update --init --recursive`
17
- - `make jsc`
18
- - `zig build`
16
+ - `git clone https://github.com/oven-sh/WebKit vendor/WebKit`
17
+ - `bun sync-webkit-source` (checks out the version pinned in `WEBKIT_VERSION` in `scripts/build/deps/webkit.ts`)
18
+ - `bun run build:local`
19
19
 
20
- This compiles JavaScriptCore, compiles Bun's `.cpp` bindings for JavaScriptCore (which are the object files using JavaScriptCore) and outputs a new `bun` binary with your changes.
20
+ `bun run build:local` compiles JavaScriptCore, compiles Bun's `.cpp` bindings for JavaScriptCore (the object files that use JavaScriptCore), and outputs a new `bun` binary with your changes.
21
21
 
22
22
  ## Linked libraries
23
23
 
@@ -29,6 +29,9 @@ Bun statically links these libraries:
29
29
  | [`brotli`](https://github.com/google/brotli) | MIT |
30
30
  | [`libarchive`](https://github.com/libarchive/libarchive) | [several licenses](https://github.com/libarchive/libarchive/blob/master/COPYING) |
31
31
  | [`lol-html`](https://github.com/cloudflare/lol-html/tree/master/c-api) | BSD 3-Clause |
32
+ | [`ls-hpack`](https://github.com/litespeedtech/ls-hpack) | MIT (bundled xxhash is BSD 2-Clause) |
33
+ | [`ls-qpack`](https://github.com/litespeedtech/ls-qpack) | MIT |
34
+ | [`lsquic`](https://github.com/litespeedtech/lsquic) | MIT (portions derived from Chromium proto-quic, BSD 3-Clause) |
32
35
  | [`mimalloc`](https://github.com/microsoft/mimalloc) | MIT |
33
36
  | [`picohttp`](https://github.com/h2o/picohttpparser) | dual-licensed under the Perl License or the MIT License |
34
37
  | [`zstd`](https://github.com/facebook/zstd) | dual-licensed under the BSD License or GPLv2 license |
@@ -37,19 +40,27 @@ Bun statically links these libraries:
37
40
  | [`uSockets`](https://github.com/uNetworking/uSockets) | Apache 2.0 |
38
41
  | [`zlib-ng`](https://github.com/zlib-ng/zlib-ng) | zlib |
39
42
  | [`c-ares`](https://github.com/c-ares/c-ares) | MIT licensed |
40
- | [`libicu`](https://github.com/unicode-org/icu) 72 | [license here](https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE) |
43
+ | [`libicu`](https://github.com/unicode-org/icu) 78 | [ICU license](https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE) |
41
44
  | [`libbase64`](https://github.com/aklomp/base64/blob/master/LICENSE) | BSD 2-Clause |
42
45
  | [`libuv`](https://github.com/libuv/libuv) (on Windows) | MIT |
43
46
  | [`libdeflate`](https://github.com/ebiggers/libdeflate) | MIT |
47
+ | [`libjpeg-turbo`](https://github.com/libjpeg-turbo/libjpeg-turbo) | BSD 3-Clause / IJG / zlib |
48
+ | [`libspng`](https://github.com/randy408/libspng) | BSD 2-Clause (portions derived from libpng, PNG Reference Library License v2) |
49
+ | [`libwebp`](https://github.com/webmproject/libwebp) | BSD 3-Clause |
50
+ | [`highway`](https://github.com/google/highway) | Apache 2.0 |
51
+ | [`HdrHistogram_c`](https://github.com/HdrHistogram/HdrHistogram_c) | dual-licensed under CC0 1.0 or the BSD 2-Clause License |
52
+ | [`sqlite`](https://sqlite.org) (on Linux and Windows) | [public domain](https://sqlite.org/copyright.html) |
44
53
  | A fork of [`uWebsockets`](https://github.com/jarred-sumner/uwebsockets) | Apache 2.0 licensed |
45
54
  | Parts of [Tigerbeetle's IO code](https://github.com/tigerbeetle/tigerbeetle/blob/532c8b70b9142c17e07737ab6d3da68d7500cbca/src/io/windows.zig#L1) | Apache 2.0 licensed |
46
55
 
47
56
  ## Polyfills
48
57
 
49
- For compatibility reasons, the following packages are embedded into Bun's binary and injected if imported.
58
+ For compatibility, Bun embeds the following packages into its binary and injects them if imported.
50
59
 
51
60
  | Package | License |
52
61
  | ------------------------------------------------------------------------ | ------- |
62
+ | [`acorn`](https://github.com/acornjs/acorn) | MIT |
63
+ | [`acorn-walk`](https://github.com/acornjs/acorn) | MIT |
53
64
  | [`assert`](https://npmjs.com/package/assert) | MIT |
54
65
  | [`browserify-zlib`](https://npmjs.com/package/browserify-zlib) | MIT |
55
66
  | [`buffer`](https://npmjs.com/package/buffer) | MIT |
@@ -74,5 +85,6 @@ For compatibility reasons, the following packages are embedded into Bun's binary
74
85
 
75
86
  ## Additional credits
76
87
 
77
- - Bun's JS transpiler, CSS lexer, and Node.js module resolver source code is a Zig port of [@evanw](https://github.com/evanw)’s [esbuild](https://github.com/evanw/esbuild) project.
78
- - Credit to [@kipply](https://github.com/kipply) for the name "Bun"!
88
+ - Bun's JS transpiler and Node.js module resolver source code is a port of [@evanw](https://github.com/evanw)’s [esbuild](https://github.com/evanw/esbuild) project.
89
+ - Bun's CSS parser source code is derived from the [Lightning CSS](https://github.com/parcel-bundler/lightningcss) and [Servo](https://github.com/servo/servo) projects.
90
+ - Credit to [@kipply](https://github.com/kipply) for the name "Bun".
@@ -56,15 +56,15 @@ SupaCloud Lite 使用 `tar` 作为跨平台流式快照归档依赖,避免把
56
56
 
57
57
  ## Bun runtime
58
58
 
59
- SupaCloud Lite 单二进制由 Bun 1.3.14 编译并内嵌 Bun runtime,最终用户无需另外安装 Bun、Node.js 或 npm。
59
+ SupaCloud Lite 单二进制由 Bun 1.4.0 编译并内嵌 Bun runtime,最终用户无需另外安装 Bun、Node.js 或 npm。
60
60
 
61
- - Version: 1.3.14
61
+ - Version: 1.4.0
62
62
  - Bun license: MIT
63
63
  - Upstream: `https://github.com/oven-sh/bun`
64
- - Local runtime notice: `LICENSES/BUN-1.3.14-RUNTIME-NOTICES.txt`
65
- - Notice source: Bun 1.3.14 `docs/project/license.mdx` 的逐字副本
66
- - Linked-library coverage: JavaScriptCore/WebKit、`boringssl`、`brotli`、`libarchive`、`lol-html`、`mimalloc`、`picohttp`、`zstd`、`simdutf`、`tinycc`、`uSockets`、`zlib-ng`、`c-ares`、`libicu` 72、`libbase64`、Windows 上的 `libuv`、`libdeflate`、uWebSockets fork 和 Tigerbeetle IO 代码
67
- - Polyfill coverage: `assert`、`browserify-zlib`、`buffer`、`constants-browserify`、`crypto-browserify`、`domain-browser`、`events`、`https-browserify`、`os-browserify`、`path-browserify`、`process`、`punycode`、`querystring-es3`、`stream-browserify`、`stream-http`、`string_decoder`、`timers-browserify`、`tty-browserify`、`url`、`util`、`vm-browserify`
64
+ - Local runtime notice: `LICENSES/BUN-1.4.0-RUNTIME-NOTICES.txt`
65
+ - Notice source: Bun 1.4.0 `docs/project/license.mdx` 的逐字副本
66
+ - Linked-library coverage: JavaScriptCore/WebKit、`boringssl`、`brotli`、`libarchive`、`lol-html`、`ls-hpack`、`ls-qpack`、`lsquic`、`mimalloc`、`picohttp`、`zstd`、`simdutf`、`tinycc`、`uSockets`、`zlib-ng`、`c-ares`、`libicu` 78、`libbase64`、Windows 上的 `libuv`、`libdeflate`、`libjpeg-turbo`、`libspng`、`libwebp`、`highway`、`HdrHistogram_c`、Linux/Windows 上的 `sqlite`、uWebSockets fork 和 Tigerbeetle IO 代码
67
+ - Polyfill coverage: `acorn`、`acorn-walk`、`assert`、`browserify-zlib`、`buffer`、`constants-browserify`、`crypto-browserify`、`domain-browser`、`events`、`https-browserify`、`os-browserify`、`path-browserify`、`process`、`punycode`、`querystring-es3`、`stream-browserify`、`stream-http`、`string_decoder`、`timers-browserify`、`tty-browserify`、`url`、`util`、`vm-browserify`
68
68
 
69
69
  Bun runtime notice 包含 JavaScriptCore/WebKit 的 LGPL-2 说明、静态链接库许可证链接及内嵌 polyfill 许可证清单;发布资产按原文分发,不以本摘要替代。
70
70
 
package/dist/cli.js CHANGED
@@ -9,7 +9,7 @@ import { dirname as dirname7, join as join10, resolve as resolve5 } from "path";
9
9
  // package.json
10
10
  var package_default = {
11
11
  name: "@supacloud/lite",
12
- version: "0.9.0",
12
+ version: "0.9.2",
13
13
  description: "Bun-native, single-project Supabase-compatible backend powered by PGlite or native PostgreSQL",
14
14
  type: "module",
15
15
  license: "Apache-2.0",
@@ -58,16 +58,16 @@ var package_default = {
58
58
  typecheck: "bun x tsc --noEmit -p tsconfig.json"
59
59
  },
60
60
  dependencies: {
61
- "@electric-sql/pglite": "0.5.4",
61
+ "@electric-sql/pglite": "0.5.8",
62
62
  tar: "^7.5.22"
63
63
  },
64
64
  devDependencies: {
65
- "@supabase/supabase-js": "^2.112.2",
66
- "@types/bun": "^1.3.14",
65
+ "@supabase/supabase-js": "^2.112.4",
66
+ "@types/bun": "^1.4.0",
67
67
  typescript: "^7.0.2"
68
68
  },
69
69
  engines: {
70
- bun: ">=1.3.14"
70
+ bun: ">=1.4.0"
71
71
  },
72
72
  publishConfig: {
73
73
  access: "public",
@@ -14231,7 +14231,6 @@ function formatDatabaseEngine(engine, dataDir) {
14231
14231
  const label = engine === "native" ? "Native PostgreSQL" : "PGlite";
14232
14232
  return dataDir ? `${label} (${dataDir})` : `${label} (memory)`;
14233
14233
  }
14234
- var windowsLifecycleRef = process.platform === "win32" ? setInterval(() => {}, 1000) : null;
14235
14234
  var exitCode = 0;
14236
14235
  try {
14237
14236
  await main();
@@ -14239,8 +14238,5 @@ try {
14239
14238
  await writeStandardError(`${error instanceof Error ? error.message : String(error)}
14240
14239
  `);
14241
14240
  exitCode = 1;
14242
- } finally {
14243
- if (windowsLifecycleRef !== null)
14244
- clearInterval(windowsLifecycleRef);
14245
14241
  }
14246
14242
  process.exit(exitCode);
package/dist/index.js CHANGED
@@ -85,7 +85,7 @@ function randomToken(bytes = 32) {
85
85
  // package.json
86
86
  var package_default = {
87
87
  name: "@supacloud/lite",
88
- version: "0.9.0",
88
+ version: "0.9.2",
89
89
  description: "Bun-native, single-project Supabase-compatible backend powered by PGlite or native PostgreSQL",
90
90
  type: "module",
91
91
  license: "Apache-2.0",
@@ -134,16 +134,16 @@ var package_default = {
134
134
  typecheck: "bun x tsc --noEmit -p tsconfig.json"
135
135
  },
136
136
  dependencies: {
137
- "@electric-sql/pglite": "0.5.4",
137
+ "@electric-sql/pglite": "0.5.8",
138
138
  tar: "^7.5.22"
139
139
  },
140
140
  devDependencies: {
141
- "@supabase/supabase-js": "^2.112.2",
142
- "@types/bun": "^1.3.14",
141
+ "@supabase/supabase-js": "^2.112.4",
142
+ "@types/bun": "^1.4.0",
143
143
  typescript: "^7.0.2"
144
144
  },
145
145
  engines: {
146
- bun: ">=1.3.14"
146
+ bun: ">=1.4.0"
147
147
  },
148
148
  publishConfig: {
149
149
  access: "public",
@@ -13341,37 +13341,37 @@ function pathsOverlap(left, right) {
13341
13341
  return normalizedLeft === normalizedRight || isWithin(normalizedLeft, normalizedRight) || isWithin(normalizedRight, normalizedLeft);
13342
13342
  }
13343
13343
  export {
13344
- writePowerSyncHba,
13345
- verifyJwt,
13346
- validatePowerSyncReplicationOptions,
13347
- startProjectServer,
13348
- signJwt,
13349
- serveBun,
13350
- restoreSnapshot,
13351
- resolveStorageBackend,
13352
- resolveProjectPaths,
13353
- resolveNativeReplicationOptions,
13354
- resolveDatabaseEngine,
13355
- mintProjectKeys,
13356
- liteCapabilities,
13357
- isNativeEngineSupported,
13358
- inspectPowerSyncReadiness,
13359
- inspectDb,
13360
- generateTypes,
13361
- ensureProjectSecrets,
13362
- ensurePowerSyncReplicationCatalog,
13363
- ensurePostgres,
13364
- decodeJwt,
13365
- createSnapshot,
13366
- createProjectBackend,
13367
- createPgliteEngine,
13368
- createNativeEngine,
13369
- createBackend as createLiteBackend,
13370
- buildPowerSyncPostgresArgs,
13371
- SUPACLOUD_LITE_VERSION,
13372
- S3StorageDriver,
13373
- POWERSYNC_REPLICATION_ROLE,
13374
- POWERSYNC_PUBLICATION,
13344
+ FsStorageDriver,
13375
13345
  MemoryStorageDriver,
13376
- FsStorageDriver
13346
+ POWERSYNC_PUBLICATION,
13347
+ POWERSYNC_REPLICATION_ROLE,
13348
+ S3StorageDriver,
13349
+ SUPACLOUD_LITE_VERSION,
13350
+ buildPowerSyncPostgresArgs,
13351
+ createBackend as createLiteBackend,
13352
+ createNativeEngine,
13353
+ createPgliteEngine,
13354
+ createProjectBackend,
13355
+ createSnapshot,
13356
+ decodeJwt,
13357
+ ensurePostgres,
13358
+ ensurePowerSyncReplicationCatalog,
13359
+ ensureProjectSecrets,
13360
+ generateTypes,
13361
+ inspectDb,
13362
+ inspectPowerSyncReadiness,
13363
+ isNativeEngineSupported,
13364
+ liteCapabilities,
13365
+ mintProjectKeys,
13366
+ resolveDatabaseEngine,
13367
+ resolveNativeReplicationOptions,
13368
+ resolveProjectPaths,
13369
+ resolveStorageBackend,
13370
+ restoreSnapshot,
13371
+ serveBun,
13372
+ signJwt,
13373
+ startProjectServer,
13374
+ validatePowerSyncReplicationOptions,
13375
+ verifyJwt,
13376
+ writePowerSyncHba
13377
13377
  };
package/dist/launcher.cjs CHANGED
@@ -21,7 +21,7 @@ process.once('SIGTERM', forwardSigterm)
21
21
 
22
22
  bunProcess.once('error', (error) => {
23
23
  if (error.code === 'ENOENT') {
24
- console.error('Bun executable not found on PATH. Install Bun 1.3.14 or newer, then retry.')
24
+ console.error('Bun executable not found on PATH. Install Bun 1.4.0 or newer, then retry.')
25
25
  } else {
26
26
  console.error(`Unable to start Bun: ${error.message}`)
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/lite",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "Bun-native, single-project Supabase-compatible backend powered by PGlite or native PostgreSQL",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -49,16 +49,16 @@
49
49
  "typecheck": "bun x tsc --noEmit -p tsconfig.json"
50
50
  },
51
51
  "dependencies": {
52
- "@electric-sql/pglite": "0.5.4",
52
+ "@electric-sql/pglite": "0.5.8",
53
53
  "tar": "^7.5.22"
54
54
  },
55
55
  "devDependencies": {
56
- "@supabase/supabase-js": "^2.112.2",
57
- "@types/bun": "^1.3.14",
56
+ "@supabase/supabase-js": "^2.112.4",
57
+ "@types/bun": "^1.4.0",
58
58
  "typescript": "^7.0.2"
59
59
  },
60
60
  "engines": {
61
- "bun": ">=1.3.14"
61
+ "bun": ">=1.4.0"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public",