Skip to content

Commit d1209df

Browse files
Merge branch 'main' into uri-validate-less
2 parents 1059175 + 643a875 commit d1209df

File tree

1,188 files changed

+37118
-266205
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,188 files changed

+37118
-266205
lines changed

.evergreen/ci_matrix_constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2', '4.0', '3.6'];
1+
const MONGODB_VERSIONS = ['latest', 'rapid', '8.0', '7.0', '6.0', '5.0', '4.4', '4.2', '4.0'];
22
const versions = [
33
{ codeName: 'gallium', versionNumber: 16, npmVersion: 9 },
44
{ codeName: 'hydrogen', versionNumber: 18, npmVersion: 'latest' },

.evergreen/config.yml

Lines changed: 0 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -1760,57 +1760,6 @@ tasks:
17601760
- func: bootstrap mongo-orchestration
17611761
- func: bootstrap kms servers
17621762
- func: run tests
1763-
- name: test-3.6-server
1764-
tags:
1765-
- '3.6'
1766-
- server
1767-
commands:
1768-
- command: expansions.update
1769-
type: setup
1770-
params:
1771-
updates:
1772-
- {key: NPM_VERSION, value: '9'}
1773-
- {key: VERSION, value: '3.6'}
1774-
- {key: TOPOLOGY, value: server}
1775-
- {key: AUTH, value: auth}
1776-
- func: install dependencies
1777-
- func: bootstrap mongo-orchestration
1778-
- func: bootstrap kms servers
1779-
- func: run tests
1780-
- name: test-3.6-replica_set
1781-
tags:
1782-
- '3.6'
1783-
- replica_set
1784-
commands:
1785-
- command: expansions.update
1786-
type: setup
1787-
params:
1788-
updates:
1789-
- {key: NPM_VERSION, value: '9'}
1790-
- {key: VERSION, value: '3.6'}
1791-
- {key: TOPOLOGY, value: replica_set}
1792-
- {key: AUTH, value: auth}
1793-
- func: install dependencies
1794-
- func: bootstrap mongo-orchestration
1795-
- func: bootstrap kms servers
1796-
- func: run tests
1797-
- name: test-3.6-sharded_cluster
1798-
tags:
1799-
- '3.6'
1800-
- sharded_cluster
1801-
commands:
1802-
- command: expansions.update
1803-
type: setup
1804-
params:
1805-
updates:
1806-
- {key: NPM_VERSION, value: '9'}
1807-
- {key: VERSION, value: '3.6'}
1808-
- {key: TOPOLOGY, value: sharded_cluster}
1809-
- {key: AUTH, value: auth}
1810-
- func: install dependencies
1811-
- func: bootstrap mongo-orchestration
1812-
- func: bootstrap kms servers
1813-
- func: run tests
18141763
- name: test-latest-server-v1-api
18151764
tags:
18161765
- latest
@@ -4178,60 +4127,6 @@ tasks:
41784127
- func: bootstrap mongo-orchestration
41794128
- func: bootstrap kms servers
41804129
- func: run tests
4181-
- name: test-3.6-server-noauth
4182-
tags:
4183-
- '3.6'
4184-
- server
4185-
- noauth
4186-
commands:
4187-
- command: expansions.update
4188-
type: setup
4189-
params:
4190-
updates:
4191-
- {key: NPM_VERSION, value: '9'}
4192-
- {key: VERSION, value: '3.6'}
4193-
- {key: TOPOLOGY, value: server}
4194-
- {key: AUTH, value: noauth}
4195-
- func: install dependencies
4196-
- func: bootstrap mongo-orchestration
4197-
- func: bootstrap kms servers
4198-
- func: run tests
4199-
- name: test-3.6-replica_set-noauth
4200-
tags:
4201-
- '3.6'
4202-
- replica_set
4203-
- noauth
4204-
commands:
4205-
- command: expansions.update
4206-
type: setup
4207-
params:
4208-
updates:
4209-
- {key: NPM_VERSION, value: '9'}
4210-
- {key: VERSION, value: '3.6'}
4211-
- {key: TOPOLOGY, value: replica_set}
4212-
- {key: AUTH, value: noauth}
4213-
- func: install dependencies
4214-
- func: bootstrap mongo-orchestration
4215-
- func: bootstrap kms servers
4216-
- func: run tests
4217-
- name: test-3.6-sharded_cluster-noauth
4218-
tags:
4219-
- '3.6'
4220-
- sharded_cluster
4221-
- noauth
4222-
commands:
4223-
- command: expansions.update
4224-
type: setup
4225-
params:
4226-
updates:
4227-
- {key: NPM_VERSION, value: '9'}
4228-
- {key: VERSION, value: '3.6'}
4229-
- {key: TOPOLOGY, value: sharded_cluster}
4230-
- {key: AUTH, value: noauth}
4231-
- func: install dependencies
4232-
- func: bootstrap mongo-orchestration
4233-
- func: bootstrap kms servers
4234-
- func: run tests
42354130
- name: test-lambda-example
42364131
tags:
42374132
- latest
@@ -4676,9 +4571,6 @@ buildvariants:
46764571
- test-4.0-server
46774572
- test-4.0-replica_set
46784573
- test-4.0-sharded_cluster
4679-
- test-3.6-server
4680-
- test-3.6-replica_set
4681-
- test-3.6-sharded_cluster
46824574
- test-latest-server-v1-api
46834575
- test-x509-authentication
46844576
- test-atlas-connectivity
@@ -4735,9 +4627,6 @@ buildvariants:
47354627
- test-4.0-server
47364628
- test-4.0-replica_set
47374629
- test-4.0-sharded_cluster
4738-
- test-3.6-server
4739-
- test-3.6-replica_set
4740-
- test-3.6-sharded_cluster
47414630
- test-latest-server-v1-api
47424631
- test-x509-authentication
47434632
- test-atlas-connectivity
@@ -4794,9 +4683,6 @@ buildvariants:
47944683
- test-4.0-server
47954684
- test-4.0-replica_set
47964685
- test-4.0-sharded_cluster
4797-
- test-3.6-server
4798-
- test-3.6-replica_set
4799-
- test-3.6-sharded_cluster
48004686
- test-latest-server-v1-api
48014687
- test-x509-authentication
48024688
- test-atlas-connectivity
@@ -4852,9 +4738,6 @@ buildvariants:
48524738
- test-4.0-server
48534739
- test-4.0-replica_set
48544740
- test-4.0-sharded_cluster
4855-
- test-3.6-server
4856-
- test-3.6-replica_set
4857-
- test-3.6-sharded_cluster
48584741
- test-latest-server-v1-api
48594742
- test-x509-authentication
48604743
- test-atlas-connectivity
@@ -4910,9 +4793,6 @@ buildvariants:
49104793
- test-4.0-server
49114794
- test-4.0-replica_set
49124795
- test-4.0-sharded_cluster
4913-
- test-3.6-server
4914-
- test-3.6-replica_set
4915-
- test-3.6-sharded_cluster
49164796
- test-latest-server-v1-api
49174797
- test-socks5
49184798
- test-socks5-tls
@@ -4957,9 +4837,6 @@ buildvariants:
49574837
- test-4.0-server
49584838
- test-4.0-replica_set
49594839
- test-4.0-sharded_cluster
4960-
- test-3.6-server
4961-
- test-3.6-replica_set
4962-
- test-3.6-sharded_cluster
49634840
- test-latest-server-v1-api
49644841
- test-socks5
49654842
- test-socks5-tls
@@ -5004,9 +4881,6 @@ buildvariants:
50044881
- test-4.0-server
50054882
- test-4.0-replica_set
50064883
- test-4.0-sharded_cluster
5007-
- test-3.6-server
5008-
- test-3.6-replica_set
5009-
- test-3.6-sharded_cluster
50104884
- test-latest-server-v1-api
50114885
- test-socks5
50124886
- test-socks5-tls
@@ -5254,9 +5128,6 @@ buildvariants:
52545128
- test-4.0-server-noauth
52555129
- test-4.0-replica_set-noauth
52565130
- test-4.0-sharded_cluster-noauth
5257-
- test-3.6-server-noauth
5258-
- test-3.6-replica_set-noauth
5259-
- test-3.6-sharded_cluster-noauth
52605131
- name: rhel8-test-lambda
52615132
display_name: AWS Lambda handler tests
52625133
run_on: rhel80-large

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "6.8.0"
2+
".": "6.9.0"
33
}

HISTORY.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,40 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [6.9.0](https://github.com/mongodb/node-mongodb-native/compare/v6.8.0...v6.9.0) (2024-09-12)
6+
7+
8+
### Features
9+
10+
* **NODE-5459:** add durations to connection pool events ([#4166](https://github.com/mongodb/node-mongodb-native/issues/4166)) ([7295695](https://github.com/mongodb/node-mongodb-native/commit/729569527e353a942200533f6150e748454c798d))
11+
* **NODE-5614:** add support for explicit resource management ([#4177](https://github.com/mongodb/node-mongodb-native/issues/4177)) ([b3f3987](https://github.com/mongodb/node-mongodb-native/commit/b3f3987041ddf0aae86044f3fdd1364eecd26d46))
12+
* **NODE-5754:** allow auto select family options ([#4185](https://github.com/mongodb/node-mongodb-native/issues/4185)) ([54efb7d](https://github.com/mongodb/node-mongodb-native/commit/54efb7d497f8efb9953f5d315267e299ed4cf5af))
13+
* **NODE-5908:** support range v2 ([#4141](https://github.com/mongodb/node-mongodb-native/issues/4141)) ([de253a7](https://github.com/mongodb/node-mongodb-native/commit/de253a749f1dd1194b6fbc30c36e88f906981bd3))
14+
* **NODE-6225:** add property ownership check before referencing `mongocryptdSpawnPath` and `mongocryptdSpawnArgs` ([#4151](https://github.com/mongodb/node-mongodb-native/issues/4151)) ([f48f8d3](https://github.com/mongodb/node-mongodb-native/commit/f48f8d36cf96c25ebf656e359e97b61dbfe7c4ed))
15+
* **NODE-6244:** Bump max supported wire version and server version ([#4163](https://github.com/mongodb/node-mongodb-native/issues/4163)) ([45bc098](https://github.com/mongodb/node-mongodb-native/commit/45bc0982f0f00e1811baf2a613989a808783b8b1))
16+
* **NODE-6252:** insertMany and bulkWrite permit readonly arrays ([#4175](https://github.com/mongodb/node-mongodb-native/issues/4175)) ([4b219d3](https://github.com/mongodb/node-mongodb-native/commit/4b219d361b6309dcec480c2bc7e54f548201c15b))
17+
* **NODE-6278:** deprecate 3.6 servers ([#4178](https://github.com/mongodb/node-mongodb-native/issues/4178)) ([35d8840](https://github.com/mongodb/node-mongodb-native/commit/35d88404aad343dfbff502fd350bb22a241fed2a))
18+
* **NODE-6309:** Mark range API as stable ([#4190](https://github.com/mongodb/node-mongodb-native/issues/4190)) ([f53e9d9](https://github.com/mongodb/node-mongodb-native/commit/f53e9d9cebdfaac5edd0e46ee46f1c2eb5b7f8ae))
19+
* **NODE-6327:** new client bulk write types and builders ([#4205](https://github.com/mongodb/node-mongodb-native/issues/4205)) ([6d65ae7](https://github.com/mongodb/node-mongodb-native/commit/6d65ae77835cf144b540a5a344e1f10bb1988bc5))
20+
* **NODE-6365:** pass through `allowPartialTrustChain` TLS flag ([#4228](https://github.com/mongodb/node-mongodb-native/issues/4228)) ([d6c147d](https://github.com/mongodb/node-mongodb-native/commit/d6c147d62a9aa96f0807e190190a06ed880df07f))
21+
22+
23+
### Bug Fixes
24+
25+
* **NODE-5720:** on pre-4.4 sharded servers, the node driver uses `error.writeConcern.code` to determine retryability ([#4155](https://github.com/mongodb/node-mongodb-native/issues/4155)) ([b26c328](https://github.com/mongodb/node-mongodb-native/commit/b26c32800ecb2658a0d9c779bdb741aa06a629d0))
26+
* **NODE-6241:** allow Binary as local kms provider key for auto encryption ([#4165](https://github.com/mongodb/node-mongodb-native/issues/4165)) ([d85f827](https://github.com/mongodb/node-mongodb-native/commit/d85f827aca56603b5d7b64f853c190473be81b6f))
27+
* **NODE-6259:** replace dynamically assigned length property with a static getter ([#4173](https://github.com/mongodb/node-mongodb-native/issues/4173)) ([320dde0](https://github.com/mongodb/node-mongodb-native/commit/320dde04aa1547dd838e7c790bb3432e2ca2bc19))
28+
* **NODE-6276:** preserve top level error code MongoWriteConcernError ([#4183](https://github.com/mongodb/node-mongodb-native/issues/4183)) ([e902584](https://github.com/mongodb/node-mongodb-native/commit/e9025843e43bedb2326675184b6ce49b103e3c77))
29+
* **NODE-6284:** make sparsity and trimFactor optional ([#4189](https://github.com/mongodb/node-mongodb-native/issues/4189)) ([8622545](https://github.com/mongodb/node-mongodb-native/commit/8622545c18d321ae17184cd43207652e454170fc))
30+
* **NODE-6355:** respect utf8 validation options when iterating cursors ([#4214](https://github.com/mongodb/node-mongodb-native/issues/4214)) ([8bfe187](https://github.com/mongodb/node-mongodb-native/commit/8bfe18716197f58c025520da5d771b520e1b1350))
31+
* **NODE-6362:** cache cursor deserialization options across deserialize calls ([#4221](https://github.com/mongodb/node-mongodb-native/issues/4221)) ([833eaa4](https://github.com/mongodb/node-mongodb-native/commit/833eaa41c5f379268be46408282b0c97323ea1bc))
32+
* **NODE-6367:** enable mixed use of iteration APIs ([#4231](https://github.com/mongodb/node-mongodb-native/issues/4231)) ([08912c8](https://github.com/mongodb/node-mongodb-native/commit/08912c8a191937bdef921b4e9a4581b12ebf8b59))
33+
34+
35+
### Performance Improvements
36+
37+
* **NODE-5906:** optimize toArray to use batches ([#4171](https://github.com/mongodb/node-mongodb-native/issues/4171)) ([5565d50](https://github.com/mongodb/node-mongodb-native/commit/5565d5008812f03e9ff86a7b6326447ac5916244))
38+
539
## [6.8.0](https://github.com/mongodb/node-mongodb-native/compare/v6.7.0...v6.8.0) (2024-06-27)
640

741

docs/404.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
</head>
2222

2323
<body>
24-
24+
2525
<header id="header-db" class="row" role="navigation">
2626
<div class="header-content">
27-
27+
2828
<div class="logo pull-left">
29-
<a href="/node-mongodb-native">
29+
<a href="/node-mongodb-native/">
3030
<img src="/node-mongodb-native/s/img/logo-mongodb-header-slate.png", alt="MongoDB.org" />
3131
</a>
3232
</div>
33-
33+
3434
<div>
3535
<div class="nav-items pull-right hidden-xs">
3636
<a href="https://university.mongodb.com" data-toggle="tooltip" data-placement="bottom" title="Free Online Classes">MongoDB University</a>
@@ -44,7 +44,7 @@
4444
</div>
4545
</header>
4646

47-
47+
4848

4949
<div id="promo" class="jumbotron">
5050
<div class="container">
@@ -61,7 +61,7 @@ <h1>404: Page not found</h1>
6161
</div>
6262

6363

64-
64+
6565
<div class="container">
6666
<div class="row">
6767
<div class="col-md-12">
@@ -77,7 +77,7 @@ <h1>404: Page not found</h1>
7777
</div>
7878
</div>
7979
</div>
80-
80+
8181

8282

8383

docs/6.9/.nojekyll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.

0 commit comments

Comments
 (0)