The MongoDB Node.js team is pleased to announce version 6.5.0 of the mongodb package!
Release Notes
Bulk Write Operations Generate Ids using pkFactory
When performing inserts, the driver automatically generates _ids for each document if there is no _id present. By default, the driver generates ObjectIds. An option, pkFactory, can be used to configure the driver to generate _ids that are not object ids.
For a long time, only Collection.insert and Collection.insertMany actually used the pkFactory, if configured. Notably, Collection.bulkWrite(), Collection.initializeOrderedBulkOp() and Collection.initializeOrderedBulkOp()always generated ObjectIds, regardless of what was configured on collection.
The driver always generates _ids for inserted documents using the pkFactory.
[!CAUTION]
If you are using a pkFactory and performing bulk writes, you may have inserted data into your database that does not have _ids generated by the pkFactory.
Fixed applying read preference to commands depending on topology
When connecting to a secondary in a replica set with a direct connection, if a read operation is performed, the driver attaches a read preference of primaryPreferred to the command.
Fixed memory leak in Connection layer
The Connection class has recently been refactored to operate on our socket operations using promises. An oversight how we made async network operations interruptible made new promises for every operation. We've simplified the approach and corrected the leak.
Query SRV and TXT records in parallel
When connecting using a convenient SRV connection string (mongodb+srv://) hostnames are obtained from an SRV dns lookup and some configuration options are obtained from a TXT dns query. Those DNS operations are now performed in parallel to reduce first-time connection latency.
Container and Kubernetes Awareness
The Node.js driver now keeps track of container metadata in the client.env.container field of the handshake document.
If space allows, the following metadata will be included in client.env.container:
env?: {
container?: {
orchestrator?: 'kubernetes' // if process.env.KUBERNETES_SERVICE_HOST is set
runtime?: 'docker' // if the '/.dockerenv' file exists
}
}
Note: If neither Kubernetes nor Docker is present, client.env will not have the container property.
Add property errorResponse to MongoServerError
The MongoServer error maps keys from the error document returned by the server on to itself. There are some use cases where the original error document is desirable to obtain in isolation. So now, the mongoServerError.errorResponse property stores a reference to the error document returned by the server.
Library has been converted to Typescript. The behavior is identical, but there could be subtle breaking changes due to class names changing or other small inconsistencies introduced by the conversion.
node-oracledb v6.4.0 is now available. See the release announcement and release notes for details.
This release contains improved OSON and LOB Support, introduces asynchronous iteration for SODA document cursors, and provides multiple bug fixes for the previous 6.x.x releases, including the patches provided for the issues raised by our users. Thank you for reporting the issues promptly!
Pre-built binaries are available for Node.js 14.6 or later.
Windows 64-bit (x64) (built with VS 2017)
macOS 64-bit (Intel x64)
Linux 64-bit (x86-64) (built on Oracle Linux 7)
Linux ARM 64-bit
For other environments, refer to INSTALL on building from source code.
node-oracledb v6.3.0 Release Notes
node-oracledb v6.3.0 is now available. See the release announcement and release notes for details.
This release contains support for Oracle Database Success with Info warnings, enhanced XMLType data fetching capabilities in Thin mode, new attributes, and bug fixes for the previous 6.x.x releases, including the patches provided for the issues raised by our users. Thank you for reporting the issues promptly!
Pre-built binaries are available for Node.js 14.6 or later.
Windows 64-bit (x64) (built with VS 2017)
macOS 64-bit (Intel x64)
Linux 64-bit (x86-64) (built on Oracle Linux 7)
Linux ARM 64-bit
For other environments, refer to INSTALL on building from source code.
node-oracledb v6.2.0 Release Notes
node-oracledb v6.2.0 is now available. See the release announcement and CHANGELOG for details.
This release contains SODA enhancements, new attributes, and bug fixes for the previous 6.x.x releases, including the patches provided for the issues raised by our users. Thank you for reporting the issues promptly!
Pre-built binaries are available for Node.js 14.6 or later.
Windows 64-bit (x64) (built with VS 2017)
macOS 64-bit (Intel x64)
Linux 64-bit (x86-64) (built on Oracle Linux 7)
Linux ARM 64-bit
For other environments, refer to INSTALL on building from source code.
node-oracledb v6.1.0 Release Notes
node-oracledb v6.1.0 is now available. See the release announcement and CHANGELOG for details.
This release contains AQ enhancements, new attributes and bug fixes for the previous 6.0.x releases, including the patches provided for the issues raised by our users. Thank you for reporting the issues promptly!
Pre-built binaries are available for Node.js 14.6 or later.
Windows 64-bit (x64) (built with VS 2017)
macOS 64-bit (Intel x64)
Linux 64-bit (x86-64) (built on Oracle Linux 7)
Linux ARM 64-bit
[change] Upgrade tedious to v16 (#1547)
[removed] Removed NodeJS 14 support (#1547)
v9.3.2 (2023-09-06)
[fix] Fix bug with msnodesqlv8 connection strings ((#1525)[https://redirect.github.com/tediousjs/node-mssql/pull/1525])
v9.3.1 (2023-09-05)
Revoked - contained breaking changes
v9.3.0 (2023-09-04)
[new] Add AAD connection support to connection strings ((#1461)[https://redirect.github.com/tediousjs/node-mssql/pull/1461])
v9.2.1 (2023-09-05)
[fix] Fix bug with msnodesqlv8 connection strings ((#1525)[https://redirect.github.com/tediousjs/node-mssql/pull/1525])
v9.2.0 (2023-08-28)
[new] Use @tediousjs/connection-string library to build msnodesqlv8 connection strings ((#1525)[https://redirect.github.com/tediousjs/node-mssql/pull/1525])
v9.1.3 (2023-08-08)
[fix] Escape values that are added to the msnodesqlv8 connection string that we construct ((#1479)[https://redirect.github.com/tediousjs/node-mssql/pull/1479])
v9.1.2 (2023-08-01)
[fix] Support more named instance formats (#1520)
[refactor] Stop using deprecated regex symbols (#1520)
v9.1.1 (2023-01-19)
[revert] Add support for AAD authentication via connection string ((#1436)[https://redirect.github.com/tediousjs/node-mssql/pull/1436])
v9.1.0 (2023-01-17)
[new] Add support for AAD authentication via connection string ((#1436)[https://redirect.github.com/tediousjs/node-mssql/pull/1436])
[docs] Update express example ((#1433)[https://redirect.github.com/tediousjs/node-mssql/pull/1433])
v9.0.1 (2022-08-18)
[fix] fix regression in requestTimout option not accepting 0 as a value (#1421)
Bumps the typeorm group in /generators/node-server/resources with 10 updates:
7.1.4
10.0.2
6.2.0
6.5.0
2.2.5
3.9.3
8.4.2
8.11.5
5.0.0
6.4.0
6.2.3
10.0.2
6.9.2
9.1.8
5.1.6
5.1.7
0.2.45
0.3.20
0.5.6
0.8.0
Updates
@nestjs/typeorm
from 7.1.4 to 10.0.2Release notes
Sourced from
@nestjs/typeorm
's releases.... (truncated)
Commits
eaca93c
chore(): release v10.0.2bb8fde8
Merge pull request #1839 from nestjs/renovate/reflect-metadata-0.x3f96c18
chore(deps): update dependency reflect-metadata to v0.2.17d29e89
Merge pull request #1901 from nestjs/renovate/nest-monorepob98cca9
chore(deps): update nest monorepo to v10.3.224fa80b
Merge pull request #1802 from nestjs/renovate/cimg-node-21.xfc8c697
chore(deps): update typescript-eslint monorepo to v6.21.0af287d6
chore(deps): update dependency lint-staged to v15.2.26331626
chore(deps): update dependency prettier to v3.2.5226a494
chore(deps): update dependency husky to v9.0.10Updates
mongodb
from 6.2.0 to 6.5.0Release notes
Sourced from mongodb's releases.
... (truncated)
Changelog
Sourced from mongodb's changelog.
... (truncated)
Commits
c9e32ad
chore(main): release 6.5.0 [skip-ci] (#4013)f6cd8d9
feat(NODE-6008): deprecate CloseOptions interface (#4030)36fa752
refactor(NODE-5915): topology close logic to be synchronous (#4021)937c9c8
fix(NODE-5981): read preference not applied to commands properly (#4010)31f1eed
test(NODE-5969): convert CSFLE corpus test #6 to TS, async/await and add writ...fbb5059
fix(NODE-5636): generate _ids using pkFactory in bulk write operations (#4025)2348548
test(DRIVERS-2812): sdam load balancer tests in serverless (#4026)c023242
feat(NODE-5988): Provide access to raw results doc on MongoServerError (#4016)69de253
fix(NODE-5993): memory leak in theConnection
class (#4022)28b7040
feat(NODE-5968): container and Kubernetes awareness in client metadata (#4005)Updates
mysql2
from 2.2.5 to 3.9.3Release notes
Sourced from mysql2's releases.
... (truncated)
Changelog
Sourced from mysql2's changelog.
... (truncated)
Commits
f813a65
chore(master): release 3.9.3 (#2529)b603cae
ci: drop Node.js 14 and 16 from matrix (#2531)bd30872
ci: fix test file name (#2530)0d54b0c
fix(cache): improve cache key serialization (#2424)d9dccfd
Update Amazon RDS SSL CA cert (#2131)bd41800
build(deps): bump express from 4.18.2 to 4.19.2 in /website (#2527)3787363
build(deps): bump lucide-react from 0.362.0 to 0.363.0 in /website (#2524)592cbb1
build(deps-dev): bump poku from 1.9.2 to 1.9.3 in /website (#2525)250fc5c
build(deps-dev): bump poku from 1.9.2 to 1.9.3 (#2526)50b6552
build(deps): bump webpack-dev-middleware from 5.3.3 to 5.3.4 in /website (#2523)Updates
pg
from 8.4.2 to 8.11.5Changelog
Sourced from pg's changelog.
... (truncated)
Commits
a37a93b
Publishb03c071
Publish5807a00
Remove unused protocol-related dependencies from pg (#3181)2ab6f36
query: remove unused prop: isPreparedStatement (#3177)b400d33
query: remove unused prop: _promise (#3178)a717c00
chore (ci): add node v20 to build matrix (#3148)81c287a
Serialize arrays of Uint8Array objects as hex escape sequences (#2930)16322c2
Fix eslint violations (#3078)b1a8947
Fail gracefully when connecting to other database (#3026)da0f5c5
Remove 1 loop on rowDescription event (#3056)Updates
oracledb
from 5.0.0 to 6.4.0Release notes
Sourced from oracledb's releases.
... (truncated)
Commits
97b7a1f
Update ODPI-C to 5.284ba363
Update the release date and version to 6.43284edf
Final set of test and document updates for all the new featuresed8c0ac
Prepare for 6.4 releasefd9f7d6
Enhanced lob.getData() method to accept offset and amount arguments (Issue #1...4baf7e1
Add release note for vector datatypes available with limited availability Ora...0857d18
Add support for async iteration of SODA document cursors9859ebc
Change outconverter for isOson formatted columns to return JSON object5c292fa
Latest test updates and new examples addedeb80b7a
Minor bug fixes for vector datatypeMaintainer changes
This version was pushed to npm by sharadchan87, a new releaser for oracledb since your current version.
Updates
mssql
from 6.2.3 to 10.0.2Release notes
Sourced from mssql's releases.
... (truncated)
Changelog
Sourced from mssql's changelog.
... (truncated)
Commits
f09c23d
Merge pull request #1592 from bombjackit/patch-acquire1d8a2f4
Merge pull request #1596 from tediousjs/dependabot/npm_and_yarn/release-tools...bf7819a
chore(deps-dev): bump the release-tools group with 2 updates55f5a9f
fix: from now _acquire return always a promise to avoid uncatchable exception34bd686
Merge pull request #1593 from tediousjs/dependabot/npm_and_yarn/release-tools...77143e6
chore(deps-dev): bump the release-tools group with 1 update48c9c1f
Merge pull request #1590 from tediousjs/dependabot/npm_and_yarn/release-tools...b45598a
chore(deps-dev): bump the release-tools group with 1 updateac350e4
Merge pull request #1588 from tediousjs/dependabot/npm_and_yarn/release-tools...cc52fb0
chore(deps-dev): bump the release-tools group with 3 updatesUpdates
mongodb-memory-server
from 6.9.2 to 9.1.8Release notes
Sourced from mongodb-memory-server's releases.
... (truncated)
Changelog
Sourced from mongodb-memory-server's changelog.
... (truncated)
Commits
ea7e391
release: v9.1.894b3bd7
release: v9.1.7dadf2fa
release: v9.1.69042eb2
release: v9.1.51a5df99
release: v9.1.4e9b9c53
release: v9.1.344ade25
release: v9.1.266294ff
release: v9.1.129ecba6
release: v9.1.0c13cc02
release: v9.1.0-beta.5Updates
sqlite3
from 5.1.6 to 5.1.7Release notes
Sourced from sqlite3's releases.
Commits
ba4ba07
v5.1.7d04c1fb
Removed Node version from matrix title03d6e75
v5.1.7-rc.08398daa
Fixed uploading assets from Docker8b86e41
Fixed uploading release assets on WindowsSuperseded by #462.