The MongoDB Node.js team is pleased to announce version 6.3.0 of the mongodb package!
Release Notes
New client option serverMonitoringMode
For users that want to control the behaviour of the monitoring connection between each node in the topology, a new option, serverMonitoringMode, has been added. This defaults to auto but can be forced into a specific mode by providing a value of poll or stream. When the setting is auto the monitoring mode will be determined by the environment the driver is running in, specifically, FaaS environments prefer "polling" mode and all others prefer "streaming".
A polling monitor periodically issues a hello command to the node at an interval of heartbeatFrequencyMS. A streaming monitor sends an initial hello and then will automatically get a response from the Node when a change in server configuration occurs or at a maximum time of heartbeatFrequencyMS. The value of that option defaults to 10000 milliseconds.
This new option can be provided in the connection string or as an option to the MongoClient.
// In the connection string.
new MongoClient('mongodb://127.0.0.1:27017/?serverMonitoringMode=stream');
// In the options
new MongoClient('mongodb://127.0.0.1:27017/', { serverMonitoringMode: 'stream' });
Fix connection leak when serverApi is enabled
When enabling serverApi the driver's RTT measurement logic (used to determine the closest node) still sent the legacy hello command "isMaster" causing the server to return an error. Unfortunately, the error handling logic did not correctly destroy the socket which would cause a leak.
Both sending the correct hello command and the error handling connection clean-up logic are fixed in this change.
GridFS fields deprecated
The GridFS contentType and aliases options are deprecated. According to the GridFS spec, applications wishing to store contentType and aliases should add a corresponding field to the metadata document instead.
Remove deprecation warning about punycode
The mongodb-connection-string-url package which parses connection strings relied on Node's punycode module, the package now imports the community package removing the deprecation warning on Node.js 20+.
Features
NODE-3881: require hello command + OP_MSG when 'loadBalanced=True' (#3907) (fd58eec)
NODE-5197: add server monitoring mode (#3899) (ae4c94a)
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.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.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
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
For other environments, refer to INSTALL on building from source code.
node-oracledb v6.0.3 Release Notes
node-oracledb v6.0.3 is available. See the CHANGELOG for details.
This release contains 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
For other environments, refer to INSTALL on building from source code.
node-oracledb v6.0.2 Release Notes
node-oracledb v6.0.2 is available. See the CHANGELOG for details.
This release contains bug fixes for the 6.0.0 and 6.0.1 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 9 updates:
7.1.4
10.0.1
6.2.0
6.3.0
2.2.5
3.6.3
8.4.2
8.11.3
5.0.0
6.2.0
6.2.3
10.0.1
6.9.2
9.1.1
0.2.45
0.3.17
0.5.6
0.8.0
Updates
@nestjs/typeorm
from 7.1.4 to 10.0.1Release notes
Sourced from
@nestjs/typeorm
's releases.... (truncated)
Commits
5e437d8
chore(): release v10.0.12a3e0aa
Merge pull request #1782 from nestjs/renovate/cimg-node-21.x41e97e7
Merge pull request #1800 from nestjs/renovate/postgres-16.x6d11377
chore(deps): update postgres docker tag to v16.196bd691
chore(deps): update typescript-eslint monorepo to v6.11.07ac612b
chore(deps): update dependency prettier to v3.1.08dc04bc
chore(deps): update dependency@commitlint/cli
to v18.4.1bb81dc8
chore(deps): update dependency lint-staged to v15.1.048a2b81
chore(deps): update dependency release-it to v17fdf115a
chore(deps): update commitlint monorepo to v18.4.0Updates
mongodb
from 6.2.0 to 6.3.0Release notes
Sourced from mongodb's releases.
... (truncated)
Changelog
Sourced from mongodb's changelog.
Commits
a837036
chore(main): release 6.3.0 [skip-ci] (#3904)ebbfb8a
fix(NODE-5749): RTTPinger always sends legacy hello (#3921)ae4c94a
feat(NODE-5197): add server monitoring mode (#3899)08c9fb4
fix(NODE-4863): do not use RetryableWriteError for non-server errors (#3914)54adc9f
feat(NODE-4878): Add remaining log configurable client options (#3908)c0506b1
docs(NODE-5730): update load balancer docs (#3910)b602162
refactor(NODE-5696): add async-iterator based socket helpers (#3896)89cb092
test(NODE-5732): update data lake test scripts (#3913)fd58eec
feat(NODE-3881): require hello command + OP_MSG when 'loadBalanced=True' (#3907)bb5fa43
feat(NODE-5452): Logging Cosmos Document DB Info Message (#3902)Updates
mysql2
from 2.2.5 to 3.6.3Release notes
Sourced from mysql2's releases.
... (truncated)
Changelog
Sourced from mysql2's changelog.
... (truncated)
Commits
f7cffd0
chore(master): release 3.6.3 (#2267)6444f99
fix: correctly pass values when used with sql-template-strings library (#2266)fa47d0b
build(deps-dev): bump lint-staged from 14.0.1 to 15.0.1 (#2243)a09e384
build(deps-dev): bump@types/node
from 20.8.4 to 20.8.6 (#2244)ab02079
chore(master): release 3.6.2 (#2241)f2efe5a
fix: sql-template-strings/tag compatibility (#2238)6bc830e
build(deps-dev): bump@types/node
from 20.8.3 to 20.8.4 (#2236)26dd7d7
build(deps-dev): bump eslint from 8.50.0 to 8.51.0 (#2233)bfa2761
build(deps-dev): bump@types/node
from 20.8.0 to 20.8.3 (#2232)697f799
chore: fix typo from "paramaters" to "parameters" (#2220)Updates
pg
from 8.4.2 to 8.11.3Changelog
Sourced from pg's changelog.
... (truncated)
Commits
a84ebb3
Publishb5c5e52
Option to use pre-shaped result rows; fixes #3042 (#3043)a2a355a
Publish3644730
Remove early return for non commonjs environments (#3033)eaafac3
Publishd59cd15
fix stack traces of query() to include the async context (#1762) (#2983)dee3ae5
feat: add connection parameter nativeConnectionString (#2941)3039f1d
Revert "Update utils.js (#2981)"522e2dc
Update utils.js (#2981)14b840e
PublishUpdates
oracledb
from 5.0.0 to 6.2.0Release notes
Sourced from oracledb's releases.
... (truncated)
Commits
39db941
Change to 6.2.0 releasec19ff75
Update documentation and readthedocs config file to build successfully due to...89331a5
Update release notes and test cases85792da
Optimization with Easy Connect String processingef885dc
Close cursors for repeated SQL queries that return NJS errors61d42a8
Internal code changes, example and test case additionsb175843
Fixed bug that prevented getting the value of a RAW attribute in a DbObject t...e4d7044
Test case updates86b1c61
Documentation and Test case updates for the latest code changesd045f4c
Code refactoring + bug fixes for cursor leaks and SODA lock settingMaintainer 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.1Release notes
Sourced from mssql's releases.
... (truncated)
Changelog
Sourced from mssql's changelog.
... (truncated)
Commits
c4544be
Merge pull request #1551 from Fdawgs/ref/regex2e33052
Merge pull request #1550 from Fdawgs/perf/builtins0e5ed36
Merge pull request #1549 from Fdawgs/chore/package9a240ac
refactor: remove unused regex capture groupsfe6aa3a
refactor: remove redundant parenthesis around regex145d562
perf: usenode:
prefix to bypass require.cache call for builtinsad2ad8f
chore(package): bump min node version from 10 to 14c4996a2
Merge pull request #1548 from tediousjs/dependabot/npm_and_yarn/release-tools...a59610b
chore(deps-dev): bump the release-tools group with 1 update4688d61
Merge pull request #1547 from dhensby/pulls/tedious-upgradeUpdates
mongodb-memory-server
from 6.9.2 to 9.1.1Release notes
Sourced from mongodb-memory-server's releases.
... (truncated)
Changelog
Sourced from mongodb-memory-server's changelog.
... (truncated)
Commits
66294ff
release: v9.1.129ecba6
release: v9.1.0c13cc02
release: v9.1.0-beta.56abf047
release: v9.1.0-beta.473691c8
release: v9.1.0-beta.3ed420e8
release: v9.1.0-beta.29288cf0
release: v9.1.0-beta.18ed1bbd
release: v9.0.1fa2eb87
release: v9.0.0b433916
release: v9.0.0-beta.4Updates
typeorm
from 0.2.45 to 0.3.17Release notes
Sourced from typeorm's releases.