Aurora DSQL Connector for node-postgres v0.1.7
Note: This release was originally published on Dec 30, 2025 by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector.
This release fixes a bundling issue where pg-connection-string was being inlined into the built artifact, causing import.meta.url errors in certain bundler environments (#158). The library is now correctly treated as an external dependency, reducing ESM bundle size from 12.25kB to 6.20kB.
Dependencies
To prevent further bundling issues, the package.json file was updated to include explicit dependencies for packages which were previously used transitively.
- Added
pg-connection-stringas explicit peer dependency. This is provided bypg, but we reference it directly. - Added
@smithy/typesto dependencies. This is provided by the AWS SDK, but we reference it directly.
What's Changed
- Standardize folder structure and format by @amaksimo in awslabs/aurora-dsql-nodejs-connector#156
- Update node-postgres example to use 0.1.6 by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector#155
- Convert node-postgres examples from TypeScript to JavaScript by @amaksimo in awslabs/aurora-dsql-nodejs-connector#157
- Add explicit pg-connection-string dep to fix bundling issue by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector#159
- Add node-postgres dependency check for source code during CI by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector#161
- Add node-postgres publint check for built artifact by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector#160
- Add node-postgres attw check for built artifact by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector#162
- Add node-postgres eslint-plugin-import-x plugin check by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector#167
- Bump package versions by @danielfrankcom in awslabs/aurora-dsql-nodejs-connector#168
New Contributors
- @amaksimo made their first contribution in awslabs/aurora-dsql-nodejs-connector#156
Full Changelog: node/node-postgres/v0.1.6...node/node-postgres/v0.1.7