@supacloud/lite 0.7.3 → 0.8.1

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.
Files changed (40) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/LICENSES/POSTGRESQL-17-COPYRIGHT.txt +23 -0
  3. package/LICENSES/THESEUS-POSTGRESQL-LICENSE.txt +7 -0
  4. package/THIRD_PARTY_NOTICES.md +11 -1
  5. package/dist/cli.js +2674 -375
  6. package/dist/index.d.ts +3 -2
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +2537 -305
  9. package/dist/project-runtime.d.ts +5 -0
  10. package/dist/project-runtime.d.ts.map +1 -1
  11. package/dist/runtime/auth/handler.d.ts +5 -2
  12. package/dist/runtime/auth/handler.d.ts.map +1 -1
  13. package/dist/runtime/db/data-dir-lock.d.ts +2 -0
  14. package/dist/runtime/db/data-dir-lock.d.ts.map +1 -1
  15. package/dist/runtime/db/database.d.ts.map +1 -1
  16. package/dist/runtime/db/emulated.d.ts +2 -1
  17. package/dist/runtime/db/emulated.d.ts.map +1 -1
  18. package/dist/runtime/db/pglite-engine.d.ts.map +1 -1
  19. package/dist/runtime/node/fs-driver.d.ts +2 -0
  20. package/dist/runtime/node/fs-driver.d.ts.map +1 -1
  21. package/dist/runtime/node/native/engine.d.ts +23 -0
  22. package/dist/runtime/node/native/engine.d.ts.map +1 -0
  23. package/dist/runtime/node/native/wire-engine.d.ts +9 -0
  24. package/dist/runtime/node/native/wire-engine.d.ts.map +1 -0
  25. package/dist/runtime/node/native/wire.d.ts +56 -0
  26. package/dist/runtime/node/native/wire.d.ts.map +1 -0
  27. package/dist/runtime/rest/handler.d.ts.map +1 -1
  28. package/dist/runtime/storage/handler.d.ts +5 -0
  29. package/dist/runtime/storage/handler.d.ts.map +1 -1
  30. package/dist/runtime/storage/image-transform-cache.d.ts +13 -0
  31. package/dist/runtime/storage/image-transform-cache.d.ts.map +1 -0
  32. package/dist/runtime/storage/image-transform.d.ts +1 -1
  33. package/dist/runtime/storage/image-transform.d.ts.map +1 -1
  34. package/dist/runtime/storage/s3-driver.d.ts +2 -0
  35. package/dist/runtime/storage/s3-driver.d.ts.map +1 -1
  36. package/dist/runtime/types.d.ts +2 -0
  37. package/dist/runtime/types.d.ts.map +1 -1
  38. package/dist/snapshot.d.ts +5 -1
  39. package/dist/snapshot.d.ts.map +1 -1
  40. package/package.json +6 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.1](https://github.com/zuohuadong/supacloud/compare/supacloud-lite-v0.8.0...supacloud-lite-v0.8.1) (2026-08-15)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **lite:** complete extended auth compatibility ([#912](https://github.com/zuohuadong/supacloud/issues/912)) ([dd657f5](https://github.com/zuohuadong/supacloud/commit/dd657f5b52f2f3d65c0178f76fd78d027c153c5a))
9
+
10
+ ## [0.8.0](https://github.com/zuohuadong/supacloud/compare/supacloud-lite-v0.7.3...supacloud-lite-v0.8.0) (2026-08-15)
11
+
12
+
13
+ ### Features
14
+
15
+ * add project-scoped durable workflows ([#901](https://github.com/zuohuadong/supacloud/issues/901)) ([af4fbc2](https://github.com/zuohuadong/supacloud/commit/af4fbc257f18431f1ba68854ac8bdde03ec3af96))
16
+ * **lite:** add native engine and image transform caching ([#909](https://github.com/zuohuadong/supacloud/issues/909)) ([631f575](https://github.com/zuohuadong/supacloud/commit/631f5758c7bb6649678465a62d229f0a0e0528dd))
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+ * **lite:** keep inspection commands read-only ([#900](https://github.com/zuohuadong/supacloud/issues/900)) ([9437b80](https://github.com/zuohuadong/supacloud/commit/9437b808cd8a376f779d2391da25661f938047f2))
22
+
3
23
  ## [0.7.3](https://github.com/zuohuadong/supacloud/compare/supacloud-lite-v0.7.2...supacloud-lite-v0.7.3) (2026-08-14)
4
24
 
5
25
 
@@ -0,0 +1,23 @@
1
+ PostgreSQL Database Management System
2
+ (also known as Postgres, formerly known as Postgres95)
3
+
4
+ Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
5
+
6
+ Portions Copyright (c) 1994, The Regents of the University of California
7
+
8
+ Permission to use, copy, modify, and distribute this software and its
9
+ documentation for any purpose, without fee, and without a written agreement
10
+ is hereby granted, provided that the above copyright notice and this
11
+ paragraph and the following two paragraphs appear in all copies.
12
+
13
+ IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
14
+ DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
15
+ LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
16
+ DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
17
+ POSSIBILITY OF SUCH DAMAGE.
18
+
19
+ THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
20
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
21
+ AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
22
+ ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
23
+ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
@@ -0,0 +1,7 @@
1
+ Copyright (c) 2024, Theseus
2
+
3
+ Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies.
4
+
5
+ IN NO EVENT SHALL Theseus BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF Theseus HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
6
+
7
+ Theseus SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN “AS IS” BASIS, AND Theseus HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
@@ -8,7 +8,7 @@ SupaCloud Lite 的 Supabase 兼容协议实现包含从一个 MIT 许可的上
8
8
  - License: MIT
9
9
  - Local license copy: `LICENSES/UPSTREAM-PROTOCOL-MIT.txt`
10
10
 
11
- 主要修改包括:删除 Admin UI、Node HTTP server、native PostgreSQL 和 pg-mem 路径;固定为单项目 PGlite;改用 Bun.serve 和 Bun.build;增加 SupaCloud Lite 密钥、CLI、测试、文档和发布集成。
11
+ 主要修改包括:删除 Admin UI、Node HTTP server 和 pg-mem 路径;默认使用单项目 PGlite,并提供可选 native PostgreSQL 引擎;改用 Bun.serve 和 Bun.build;增加 SupaCloud Lite 密钥、CLI、测试、文档和发布集成。
12
12
 
13
13
  ## PGlite
14
14
 
@@ -18,6 +18,16 @@ SupaCloud Lite 使用 ElectricSQL PGlite 作为嵌入式 PostgreSQL 引擎。
18
18
  - Upstream: `https://github.com/electric-sql/pglite`
19
19
  - Local license copy: `LICENSES/PGLITE-APACHE-2.0.txt`
20
20
 
21
+ ## Native PostgreSQL binaries
22
+
23
+ Linux/macOS 上的可选 native 引擎会按需下载 Theseus 发布的 PostgreSQL 17.7.0 预编译包;该二进制不会内嵌到 npm 包或 Lite 单文件发布物中。
24
+
25
+ - PostgreSQL license: PostgreSQL License
26
+ - Binary source: `https://github.com/theseus-rs/postgresql-binaries`
27
+ - PostgreSQL copyright copy: `LICENSES/POSTGRESQL-17-COPYRIGHT.txt`
28
+ - Theseus distribution license copy: `LICENSES/THESEUS-POSTGRESQL-LICENSE.txt`
29
+ - Integrity: Lite 对默认版本的四个平台归档使用内置 SHA-256 固定校验和
30
+
21
31
  ## Supabase JavaScript SDK
22
32
 
23
33
  `@supabase/supabase-js` 仅作为开发和兼容性测试依赖使用,没有 vendored 到发布产物中。