data-api-client 2.1.4 → 2.2.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/README.md +1 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -919,7 +919,7 @@ await data.query('INSERT INTO products (tags) VALUES (ARRAY[:tag1, :tag2, :tag3]
|
|
|
919
919
|
})
|
|
920
920
|
```
|
|
921
921
|
|
|
922
|
-
Despite these input limitations, **all array results are automatically converted to native JavaScript arrays**, making it easy to work with PostgreSQL array data in your application.
|
|
922
|
+
Despite these input limitations, **all array results are automatically converted to native JavaScript arrays**, making it easy to work with PostgreSQL array data in your application. `NULL` elements inside arrays round-trip correctly — e.g. `'{1,NULL,3}'::int[]` deserializes to `[1, null, 3]`.
|
|
923
923
|
|
|
924
924
|
## PostgreSQL Data Type Support
|
|
925
925
|
|
|
@@ -1090,7 +1090,6 @@ Despite parameter limitations, array **results** work great! The Data API Client
|
|
|
1090
1090
|
|
|
1091
1091
|
- **MACADDR**: Not supported by the Data API
|
|
1092
1092
|
- **Multidimensional Arrays**: Limited support for arrays with more than one dimension
|
|
1093
|
-
- **NULL values in arrays**: May not work correctly in all cases
|
|
1094
1093
|
- **Some Range Types**: INT8RANGE, DATERANGE, TSRANGE have casting issues
|
|
1095
1094
|
|
|
1096
1095
|
### Batch operations have limited feedback
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "data-api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "A lightweight wrapper that simplifies working with the Amazon Aurora Serverless Data API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"#fixtures/*": "./fixtures/*"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@aws-sdk/client-rds-data": "^3.
|
|
77
|
+
"@aws-sdk/client-rds-data": "^3.1048.0",
|
|
78
78
|
"@types/node": "^24.6.2",
|
|
79
79
|
"@types/pg": "^8.15.5",
|
|
80
80
|
"@types/sqlstring": "^2.3.2",
|
|
81
81
|
"@typescript-eslint/eslint-plugin": "^8.45.0",
|
|
82
82
|
"@typescript-eslint/parser": "^8.45.0",
|
|
83
83
|
"@vitest/ui": "^3.2.4",
|
|
84
|
-
"drizzle-orm": "^0.
|
|
84
|
+
"drizzle-orm": "^0.45.2",
|
|
85
85
|
"eslint": "^8.12.0",
|
|
86
86
|
"eslint-config-prettier": "^8.5.0",
|
|
87
87
|
"knex": "^3.1.0",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"sqlstring": "^2.3.2"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"@aws-sdk/client-rds-data": "^3.
|
|
99
|
+
"@aws-sdk/client-rds-data": "^3.1048.0"
|
|
100
100
|
},
|
|
101
101
|
"peerDependenciesMeta": {
|
|
102
102
|
"@aws-sdk/client-rds-data": {
|