hazo_connect 4.3.1 → 4.3.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/CHANGE_LOG.md +17 -0
- package/package.json +4 -4
package/CHANGE_LOG.md
CHANGED
|
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## 4.3.2 — 2026-10-05
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **`HazoConnectAdapter.rawQuery`'s public type didn't match any concrete
|
|
13
|
+
adapter's real signature.** It declared `rawQuery(endpoint: string,
|
|
14
|
+
options?: RequestInit)`, but the SQLite adapter (`sqlite-adapter.ts`) and
|
|
15
|
+
the migration runner (`migrations/runner.ts`) both already implement/expect
|
|
16
|
+
`rawQuery(sql, options?: RequestInit & { params?: unknown[] })` — a
|
|
17
|
+
consumer calling `rawQuery(sql, { params })` against the public type got a
|
|
18
|
+
TS excess-property error on `params`, forcing an `as unknown as ...` cast
|
|
19
|
+
or a local structural-subset type to work around it (found via a GoTimer
|
|
20
|
+
consumer that had done exactly that). Widened the public type to match
|
|
21
|
+
what the adapters already declare — non-breaking, since `params` is
|
|
22
|
+
optional and every REST adapter's usage (`rawQuery(endpoint, requestInit)`)
|
|
23
|
+
is still valid.
|
|
24
|
+
|
|
8
25
|
## 4.3.1 — 2026-09-29
|
|
9
26
|
|
|
10
27
|
### Fixed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hazo_connect",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.2",
|
|
4
4
|
"description": "Module to connect to the data store (postgres via postgrest, supabase, etc)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
"peerDependencies": {
|
|
103
103
|
"hazo_config": "^2.6.0",
|
|
104
104
|
"hazo_core": "^2.4.0",
|
|
105
|
-
"hazo_i18n": "^0.
|
|
106
|
-
"hazo_ui": "^6.
|
|
105
|
+
"hazo_i18n": "^0.9.0",
|
|
106
|
+
"hazo_ui": "^6.14.0",
|
|
107
107
|
"lucide-react": "^0.553.0",
|
|
108
108
|
"next": "^14.0.0 || ^16.0.0",
|
|
109
109
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"hazo_logs": "^2.3.0",
|
|
167
167
|
"ioredis": "^5.3.2",
|
|
168
168
|
"neo4j-driver": "^5.14.0",
|
|
169
|
-
"hazo_ui": "^6.
|
|
169
|
+
"hazo_ui": "^6.14.0",
|
|
170
170
|
"jest": "^30.2.0",
|
|
171
171
|
"jest-environment-node": "^30.2.0",
|
|
172
172
|
"lucide-react": "^0.553.0",
|