@supacloud/lite 0.26.0 → 0.27.0
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 +7 -0
- package/LICENSES/BUN-1.4.3-RUNTIME-NOTICES.txt +90 -0
- package/README.md +2 -2
- package/THIRD_PARTY_NOTICES.md +4 -4
- package/dist/cli.js +3 -3
- package/dist/index.js +3 -3
- package/dist/launcher.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.27.0](https://github.com/vibeunion/supacloud/compare/supacloud-lite-v0.26.0...supacloud-lite-v0.27.0) (2026-10-14)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **compiler:** enforce vibecoding defaults ([886c82f](https://github.com/vibeunion/supacloud/commit/886c82f1462261e10c490586cc9446cb447a21ae))
|
|
9
|
+
|
|
3
10
|
## [0.26.0](https://github.com/vibeunion/supacloud/compare/supacloud-lite-v0.25.1...supacloud-lite-v0.26.0) (2026-10-12)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: License
|
|
3
|
+
description: License for Bun
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Bun itself is MIT-licensed.
|
|
7
|
+
|
|
8
|
+
## JavaScriptCore
|
|
9
|
+
|
|
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
|
+
|
|
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
|
+
|
|
14
|
+
Bun's patched version of WebKit lives at https://github.com/oven-sh/webkit. To relink Bun with changes:
|
|
15
|
+
|
|
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
|
+
|
|
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
|
+
|
|
22
|
+
## Linked libraries
|
|
23
|
+
|
|
24
|
+
Bun statically links these libraries:
|
|
25
|
+
|
|
26
|
+
| Library | License |
|
|
27
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------- |
|
|
28
|
+
| [`boringssl`](https://boringssl.googlesource.com/boringssl/) | [several licenses](https://boringssl.googlesource.com/boringssl/+/refs/heads/master/LICENSE) |
|
|
29
|
+
| [`brotli`](https://github.com/google/brotli) | MIT |
|
|
30
|
+
| [`libarchive`](https://github.com/libarchive/libarchive) | [several licenses](https://github.com/libarchive/libarchive/blob/master/COPYING) |
|
|
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) |
|
|
35
|
+
| [`mimalloc`](https://github.com/microsoft/mimalloc) | MIT |
|
|
36
|
+
| [`picohttp`](https://github.com/h2o/picohttpparser) | dual-licensed under the Perl License or the MIT License |
|
|
37
|
+
| [`zstd`](https://github.com/facebook/zstd) | dual-licensed under the BSD License or GPLv2 license |
|
|
38
|
+
| [`simdutf`](https://github.com/simdutf/simdutf) | Apache 2.0 |
|
|
39
|
+
| [`tinycc`](https://github.com/tinycc/tinycc) | LGPL v2.1 |
|
|
40
|
+
| [`uSockets`](https://github.com/uNetworking/uSockets) | Apache 2.0 |
|
|
41
|
+
| [`zlib-ng`](https://github.com/zlib-ng/zlib-ng) | zlib |
|
|
42
|
+
| [`c-ares`](https://github.com/c-ares/c-ares) | MIT licensed |
|
|
43
|
+
| [`libicu`](https://github.com/unicode-org/icu) 78 | [ICU license](https://github.com/unicode-org/icu/blob/main/icu4c/LICENSE) |
|
|
44
|
+
| [`libbase64`](https://github.com/aklomp/base64/blob/master/LICENSE) | BSD 2-Clause |
|
|
45
|
+
| [`libuv`](https://github.com/libuv/libuv) (on Windows) | MIT |
|
|
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) |
|
|
53
|
+
| A fork of [`uWebsockets`](https://github.com/jarred-sumner/uwebsockets) | Apache 2.0 licensed |
|
|
54
|
+
| Parts of [Tigerbeetle's IO code](https://github.com/tigerbeetle/tigerbeetle/blob/532c8b70b9142c17e07737ab6d3da68d7500cbca/src/io/windows.zig#L1) | Apache 2.0 licensed |
|
|
55
|
+
|
|
56
|
+
## Polyfills
|
|
57
|
+
|
|
58
|
+
For compatibility, Bun embeds the following packages into its binary and injects them if imported.
|
|
59
|
+
|
|
60
|
+
| Package | License |
|
|
61
|
+
| ------------------------------------------------------------------------ | ------- |
|
|
62
|
+
| [`acorn`](https://github.com/acornjs/acorn) | MIT |
|
|
63
|
+
| [`acorn-walk`](https://github.com/acornjs/acorn) | MIT |
|
|
64
|
+
| [`assert`](https://npmjs.com/package/assert) | MIT |
|
|
65
|
+
| [`browserify-zlib`](https://npmjs.com/package/browserify-zlib) | MIT |
|
|
66
|
+
| [`buffer`](https://npmjs.com/package/buffer) | MIT |
|
|
67
|
+
| [`constants-browserify`](https://npmjs.com/package/constants-browserify) | MIT |
|
|
68
|
+
| [`crypto-browserify`](https://npmjs.com/package/crypto-browserify) | MIT |
|
|
69
|
+
| [`domain-browser`](https://npmjs.com/package/domain-browser) | MIT |
|
|
70
|
+
| [`events`](https://npmjs.com/package/events) | MIT |
|
|
71
|
+
| [`https-browserify`](https://npmjs.com/package/https-browserify) | MIT |
|
|
72
|
+
| [`os-browserify`](https://npmjs.com/package/os-browserify) | MIT |
|
|
73
|
+
| [`path-browserify`](https://npmjs.com/package/path-browserify) | MIT |
|
|
74
|
+
| [`process`](https://npmjs.com/package/process) | MIT |
|
|
75
|
+
| [`punycode`](https://npmjs.com/package/punycode) | MIT |
|
|
76
|
+
| [`querystring-es3`](https://npmjs.com/package/querystring-es3) | MIT |
|
|
77
|
+
| [`stream-browserify`](https://npmjs.com/package/stream-browserify) | MIT |
|
|
78
|
+
| [`stream-http`](https://npmjs.com/package/stream-http) | MIT |
|
|
79
|
+
| [`string_decoder`](https://npmjs.com/package/string_decoder) | MIT |
|
|
80
|
+
| [`timers-browserify`](https://npmjs.com/package/timers-browserify) | MIT |
|
|
81
|
+
| [`tty-browserify`](https://npmjs.com/package/tty-browserify) | MIT |
|
|
82
|
+
| [`url`](https://npmjs.com/package/url) | MIT |
|
|
83
|
+
| [`util`](https://npmjs.com/package/util) | MIT |
|
|
84
|
+
| [`vm-browserify`](https://npmjs.com/package/vm-browserify) | MIT |
|
|
85
|
+
|
|
86
|
+
## Additional credits
|
|
87
|
+
|
|
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".
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ V1 的目标不是复刻完整 Supabase 平台控制面,而是让现有应用
|
|
|
12
12
|
|
|
13
13
|
### 状态
|
|
14
14
|
|
|
15
|
-
- 运行时:npm 包需要 Bun 1.4.
|
|
15
|
+
- 运行时:npm 包需要 Bun 1.4.3+;单二进制发行版已内嵌 Bun 和 PGlite 资源
|
|
16
16
|
- 数据库:PGlite 0.5.8,或 native PostgreSQL
|
|
17
17
|
- 项目模型:单进程、单项目,内部 project ref 固定为 `local`
|
|
18
18
|
- 客户端:直接使用官方 `@supabase/supabase-js`
|
|
@@ -513,7 +513,7 @@ The goal of V1 is not to replicate the full Supabase platform control plane, but
|
|
|
513
513
|
|
|
514
514
|
### Status
|
|
515
515
|
|
|
516
|
-
- Runtime: the npm package requires Bun 1.4.
|
|
516
|
+
- Runtime: the npm package requires Bun 1.4.3+; the single-binary release embeds Bun and PGlite assets
|
|
517
517
|
- Database: PGlite 0.5.8, or native PostgreSQL
|
|
518
518
|
- Project model: single process, single project, with an internal project ref fixed as `local`
|
|
519
519
|
- Client: uses the official `@supabase/supabase-js` directly
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -66,13 +66,13 @@ SupaCloud Lite 使用 `tar` 作为跨平台流式快照归档依赖,避免把
|
|
|
66
66
|
|
|
67
67
|
## Bun runtime
|
|
68
68
|
|
|
69
|
-
SupaCloud Lite 单二进制由 Bun 1.4.
|
|
69
|
+
SupaCloud Lite 单二进制由 Bun 1.4.3 编译并内嵌 Bun runtime,最终用户无需另外安装 Bun、Node.js 或 npm。
|
|
70
70
|
|
|
71
|
-
- Version: 1.4.
|
|
71
|
+
- Version: 1.4.3
|
|
72
72
|
- Bun license: MIT
|
|
73
73
|
- Upstream: `https://github.com/oven-sh/bun`
|
|
74
|
-
- Local runtime notice: `LICENSES/BUN-1.4.
|
|
75
|
-
- Notice source: Bun 1.4.
|
|
74
|
+
- Local runtime notice: `LICENSES/BUN-1.4.3-RUNTIME-NOTICES.txt`
|
|
75
|
+
- Notice source: Bun 1.4.3 `docs/project/license.mdx` 的逐字副本
|
|
76
76
|
- 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 代码
|
|
77
77
|
- 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`
|
|
78
78
|
|
package/dist/cli.js
CHANGED
|
@@ -8,7 +8,7 @@ import { dirname as dirname8, join as join10, resolve as resolve6 } from "path";
|
|
|
8
8
|
// package.json
|
|
9
9
|
var package_default = {
|
|
10
10
|
name: "@supacloud/lite",
|
|
11
|
-
version: "0.
|
|
11
|
+
version: "0.27.0",
|
|
12
12
|
description: "Bun-native, single-project Supabase-compatible backend powered by PGlite or native PostgreSQL",
|
|
13
13
|
type: "module",
|
|
14
14
|
license: "Apache-2.0",
|
|
@@ -77,7 +77,7 @@ var package_default = {
|
|
|
77
77
|
"@supacloud/compiler": "file:../compiler",
|
|
78
78
|
"@supacloud/elysia": "file:../elysia",
|
|
79
79
|
"@supabase/supabase-js": "^2.117.3",
|
|
80
|
-
"@types/bun": "^1.4.
|
|
80
|
+
"@types/bun": "^1.4.3",
|
|
81
81
|
effect: "4.0.2",
|
|
82
82
|
elysia: "2.0.0-beta.21",
|
|
83
83
|
jose: "^6.2.12",
|
|
@@ -94,7 +94,7 @@ var package_default = {
|
|
|
94
94
|
"@graphql-tools/utils": "^12.0.3"
|
|
95
95
|
},
|
|
96
96
|
engines: {
|
|
97
|
-
bun: ">=1.4.
|
|
97
|
+
bun: ">=1.4.3"
|
|
98
98
|
},
|
|
99
99
|
publishConfig: {
|
|
100
100
|
access: "public",
|
package/dist/index.js
CHANGED
|
@@ -88,7 +88,7 @@ function randomToken(bytes = 32) {
|
|
|
88
88
|
// package.json
|
|
89
89
|
var package_default = {
|
|
90
90
|
name: "@supacloud/lite",
|
|
91
|
-
version: "0.
|
|
91
|
+
version: "0.27.0",
|
|
92
92
|
description: "Bun-native, single-project Supabase-compatible backend powered by PGlite or native PostgreSQL",
|
|
93
93
|
type: "module",
|
|
94
94
|
license: "Apache-2.0",
|
|
@@ -157,7 +157,7 @@ var package_default = {
|
|
|
157
157
|
"@supacloud/compiler": "file:../compiler",
|
|
158
158
|
"@supacloud/elysia": "file:../elysia",
|
|
159
159
|
"@supabase/supabase-js": "^2.117.3",
|
|
160
|
-
"@types/bun": "^1.4.
|
|
160
|
+
"@types/bun": "^1.4.3",
|
|
161
161
|
effect: "4.0.2",
|
|
162
162
|
elysia: "2.0.0-beta.21",
|
|
163
163
|
jose: "^6.2.12",
|
|
@@ -174,7 +174,7 @@ var package_default = {
|
|
|
174
174
|
"@graphql-tools/utils": "^12.0.3"
|
|
175
175
|
},
|
|
176
176
|
engines: {
|
|
177
|
-
bun: ">=1.4.
|
|
177
|
+
bun: ">=1.4.3"
|
|
178
178
|
},
|
|
179
179
|
publishConfig: {
|
|
180
180
|
access: "public",
|
package/dist/launcher.mjs
CHANGED
|
@@ -25,7 +25,7 @@ function cleanup() {
|
|
|
25
25
|
bunProcess.once('error', (error) => {
|
|
26
26
|
cleanup()
|
|
27
27
|
if (error.code === 'ENOENT') {
|
|
28
|
-
console.error('Bun executable not found on PATH. Install Bun 1.4.
|
|
28
|
+
console.error('Bun executable not found on PATH. Install Bun 1.4.3 or newer, then retry.')
|
|
29
29
|
} else {
|
|
30
30
|
console.error(`Unable to start Bun: ${error.message}`)
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supacloud/lite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
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",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"@supacloud/compiler": "file:../compiler",
|
|
70
70
|
"@supacloud/elysia": "file:../elysia",
|
|
71
71
|
"@supabase/supabase-js": "^2.117.3",
|
|
72
|
-
"@types/bun": "^1.4.
|
|
72
|
+
"@types/bun": "^1.4.3",
|
|
73
73
|
"effect": "4.0.2",
|
|
74
74
|
"elysia": "2.0.0-beta.21",
|
|
75
75
|
"jose": "^6.2.12",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@graphql-tools/utils": "^12.0.3"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
89
|
-
"bun": ">=1.4.
|
|
89
|
+
"bun": ">=1.4.3"
|
|
90
90
|
},
|
|
91
91
|
"publishConfig": {
|
|
92
92
|
"access": "public",
|