firebird-wasm 0.10.0 → 0.10.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.
- package/CHANGELOG.md +40 -6
- package/dist/.tsbuildinfo.build +1 -1
- package/dist/browser/engine-transport.d.ts +19 -0
- package/dist/browser/engine-transport.d.ts.map +1 -1
- package/dist/browser/engine-transport.js +67 -0
- package/dist/browser/engine-transport.js.map +1 -1
- package/dist/browser/firebird-browser.d.ts +44 -1
- package/dist/browser/firebird-browser.d.ts.map +1 -1
- package/dist/browser/firebird-browser.js +123 -0
- package/dist/browser/firebird-browser.js.map +1 -1
- package/dist/browser/index.d.ts +1 -1
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/opfs-fs.d.ts.map +1 -1
- package/dist/browser/opfs-fs.js +18 -7
- package/dist/browser/opfs-fs.js.map +1 -1
- package/dist/browser/shared-transport.d.ts +3 -0
- package/dist/browser/shared-transport.d.ts.map +1 -1
- package/dist/browser/shared-transport.js +9 -0
- package/dist/browser/shared-transport.js.map +1 -1
- package/dist/browser/worker-protocol.d.ts +1 -1
- package/dist/browser/worker-protocol.d.ts.map +1 -1
- package/dist/browser/worker-transport.d.ts +3 -0
- package/dist/browser/worker-transport.d.ts.map +1 -1
- package/dist/browser/worker-transport.js +9 -0
- package/dist/browser/worker-transport.js.map +1 -1
- package/dist/drizzle/index.d.ts +170 -0
- package/dist/drizzle/index.d.ts.map +1 -0
- package/dist/drizzle/index.js +627 -0
- package/dist/drizzle/index.js.map +1 -0
- package/dist/electric/apply.d.ts +1 -0
- package/dist/electric/apply.d.ts.map +1 -1
- package/dist/electric/apply.js +28 -8
- package/dist/electric/apply.js.map +1 -1
- package/dist/electric/index.js +6 -1
- package/dist/electric/index.js.map +1 -1
- package/dist/electric/values.d.ts.map +1 -1
- package/dist/electric/values.js +5 -2
- package/dist/electric/values.js.map +1 -1
- package/dist/electric-server/catalog.d.ts.map +1 -1
- package/dist/electric-server/catalog.js +3 -2
- package/dist/electric-server/catalog.js.map +1 -1
- package/dist/electric-server/index.d.ts +19 -0
- package/dist/electric-server/index.d.ts.map +1 -1
- package/dist/electric-server/index.js +147 -14
- package/dist/electric-server/index.js.map +1 -1
- package/dist/firebird.d.ts +48 -9
- package/dist/firebird.d.ts.map +1 -1
- package/dist/firebird.js +927 -60
- package/dist/firebird.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/kysely/index.d.ts +197 -0
- package/dist/kysely/index.d.ts.map +1 -0
- package/dist/kysely/index.js +777 -0
- package/dist/kysely/index.js.map +1 -0
- package/dist/sql-tag.d.ts +5 -16
- package/dist/sql-tag.d.ts.map +1 -1
- package/dist/sql-tag.js +15 -0
- package/dist/sql-tag.js.map +1 -1
- package/dist/types.d.ts +24 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/wasm/firebird-embedded-st.js +1 -1
- package/dist/wasm/firebird-embedded-st.wasm +0 -0
- package/dist/wasm/firebird-embedded.js +1 -1
- package/dist/wasm/firebird-embedded.wasm +0 -0
- package/dist/wasm-loader.d.ts +16 -0
- package/dist/wasm-loader.d.ts.map +1 -1
- package/dist/wasm-loader.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,30 @@ All notable changes to `firebird-wasm`. This project follows
|
|
|
4
4
|
[semantic versioning](https://semver.org/); while the major version is 0 the
|
|
5
5
|
API may still move between minor releases.
|
|
6
6
|
|
|
7
|
+
## 0.10.1 — 2026-10-25
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **Rebuilt WASM binaries in the published npm tarball.** The `0.10.0` npm
|
|
12
|
+
package was packed before the local WASM rebuild ran and shipped the `0.9.0`
|
|
13
|
+
`dist/wasm/firebird-embedded.{js,wasm}` and
|
|
14
|
+
`dist/wasm/firebird-embedded-st.{js,wasm}` binaries (missing
|
|
15
|
+
`_fb_cursor_open` / `_fb_cursor_fetch` / `_fb_cursor_close` for
|
|
16
|
+
`queryStream()`, `DECFLOAT` decoding, and C bridge formatting fast paths).
|
|
17
|
+
`0.10.1` ships the rebuilt `0.10.x` WASM artifacts in both the npm package
|
|
18
|
+
and the GitHub release.
|
|
19
|
+
- **Multi-row `INSERT`s in Kysely and Drizzle now execute via `execBatch`.**
|
|
20
|
+
Multi-row `INSERT` statements without `RETURNING` in `firebird-wasm/kysely`
|
|
21
|
+
and `firebird-wasm/drizzle` now route through `db.execBatch('INSERT INTO …
|
|
22
|
+
VALUES (?, …)', rows)` instead of `INSERT INTO … SELECT ? FROM RDB$DATABASE
|
|
23
|
+
UNION ALL …`, avoiding Firebird SQL error `-804` (`Data type unknown`) on
|
|
24
|
+
untyped `?` parameter markers in `SELECT` projection lists.
|
|
25
|
+
- **WASM build script (`wasm/build.sh`) and CI fixes.** Passes `-C1` to
|
|
26
|
+
`git apply --reverse --check` when verifying already-applied patches, passes
|
|
27
|
+
`-DCMAKE_C_FLAGS="-std=gnu11 -Wno-implicit-int"` during the native host
|
|
28
|
+
bootstrap configure for GCC 15 compatibility, and pins Playwright CI jobs to
|
|
29
|
+
`ubuntu-24.04`.
|
|
30
|
+
|
|
7
31
|
## 0.10.0 — 2026-10-24
|
|
8
32
|
|
|
9
33
|
### Added
|
|
@@ -63,6 +87,14 @@ API may still move between minor releases.
|
|
|
63
87
|
- `DECFLOAT(16)` and `DECFLOAT(34)` (`SQL_DEC16 = 260`, `SQL_DEC34 = 262`)
|
|
64
88
|
are decoded in the C bridge, mapped in `firebird-wasm/electric-server`, and
|
|
65
89
|
accepted by `firebird-wasm/electric`.
|
|
90
|
+
- **Native `IBatch` in `FirebirdLite.execBatch` (`node-firebird-drivers#178`).**
|
|
91
|
+
When `statementHandle.createBatchAsync` is available on the native client
|
|
92
|
+
(merged upstream in [`asfernandes/node-firebird-drivers#178`](https://github.com/asfernandes/node-firebird-drivers/pull/178)),
|
|
93
|
+
`FirebirdLite.execBatch` and `FirebirdTransaction.execBatch` execute batches
|
|
94
|
+
through Firebird 4.0+'s `IBatch` API (including `addBlobAsync` with
|
|
95
|
+
`TAG_BLOB_POLICY = BLOB_ID_ENGINE` so `BLOB` parameters take no per-row round
|
|
96
|
+
trips), falling back automatically to `EXECUTE BLOCK` on older drivers or
|
|
97
|
+
Firebird 3.0 servers.
|
|
66
98
|
|
|
67
99
|
### Changed
|
|
68
100
|
|
|
@@ -75,12 +107,14 @@ API may still move between minor releases.
|
|
|
75
107
|
offset-based `SQL_TIME_TZ` and `SQL_TIMESTAMP_TZ` (`0..2878`) are decoded in
|
|
76
108
|
C without `IUtil`, and `appendScaledDecimal` writes directly into the JSON
|
|
77
109
|
buffer without temporary string shifts.
|
|
78
|
-
- **Incremental WASM rebuilds and CI verification.**
|
|
79
|
-
the timestamps of unchanged `autoconfig.h`,
|
|
80
|
-
`epp-generated` outputs across native bootstrap
|
|
81
|
-
|
|
82
|
-
`
|
|
83
|
-
`
|
|
110
|
+
- **Incremental WASM rebuilds, GCC 15 host bootstrap, and CI verification.**
|
|
111
|
+
`wasm/build.sh` preserves the timestamps of unchanged `autoconfig.h`,
|
|
112
|
+
`parse.h` / `parse.cpp`, and `epp-generated` outputs across native bootstrap
|
|
113
|
+
rebuilds, passes `-DCMAKE_C_FLAGS="-std=gnu11 -Wno-implicit-int"` so
|
|
114
|
+
Firebird's `Configure.cmake` checks succeed under GCC 15 (`-std=gnu23`),
|
|
115
|
+
checks already-applied patches with `-C1`, and `build-wasm.yml` runs an
|
|
116
|
+
incremental rebuild check after wiping `build-native-config` and
|
|
117
|
+
`.wasm-patches-applied` and touching `fb_wasm_api.cpp`.
|
|
84
118
|
|
|
85
119
|
## 0.9.0 — 2026-10-19
|
|
86
120
|
|