Skip to content

Commit d992590

Browse files
Merge branch 'main' into NODE-7313
2 parents c342496 + 22c6031 commit d992590

1,053 files changed

Lines changed: 38526 additions & 2463 deletions

File tree

Some content is hidden

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

.eslintrc.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@
186186
{
187187
"patterns": [
188188
"**/../lib/**",
189+
"**/../src/**",
189190
"mongodb-mock-server"
190191
]
191192
}
@@ -224,7 +225,8 @@
224225
{
225226
"patterns": [
226227
"**/../lib/**",
227-
"mongodb-mock-server"
228+
"mongodb-mock-server",
229+
"**/../src/**"
228230
]
229231
}
230232
]
@@ -276,7 +278,8 @@
276278
"patterns": [
277279
"**/../lib/**",
278280
"mongodb-mock-server",
279-
"node:*"
281+
"node:*",
282+
"os"
280283
],
281284
"paths": [
282285
{
@@ -285,6 +288,13 @@
285288
}
286289
]
287290
}
291+
],
292+
"no-restricted-globals": [
293+
"error",
294+
{
295+
"name": "Buffer",
296+
"message": "Use Uint8Array instead"
297+
}
288298
]
289299
}
290300
},
@@ -323,8 +333,17 @@
323333
"disallowTypeAnnotations": false,
324334
"fixStyle": "separate-type-imports"
325335
}
336+
],
337+
"no-restricted-imports": [
338+
"error",
339+
{
340+
"patterns": [
341+
"**/../lib/**",
342+
"**/../src/**"
343+
]
344+
}
326345
]
327346
}
328347
}
329348
]
330-
}
349+
}

.evergreen/config.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3968,11 +3968,6 @@ buildvariants:
39683968
- testk8soidc_task_group_eks
39693969
- testk8soidc_task_group_gke
39703970
- testk8soidc_task_group_aks
3971-
- name: rhel8-test-atlas
3972-
display_name: Atlas Cluster Tests
3973-
run_on: rhel80-large
3974-
tasks:
3975-
- test_atlas_task_group
39763971
- name: rhel8-no-auth-tests
39773972
display_name: No Auth Tests
39783973
run_on: rhel80-large

.evergreen/generate_evergreen_tasks.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -766,12 +766,13 @@ BUILD_VARIANTS.push({
766766
]
767767
});
768768

769-
BUILD_VARIANTS.push({
770-
name: 'rhel8-test-atlas',
771-
display_name: 'Atlas Cluster Tests',
772-
run_on: DEFAULT_OS,
773-
tasks: ['test_atlas_task_group']
774-
});
769+
// TODO(NODE-7425): fix aws lambda test setup
770+
// BUILD_VARIANTS.push({
771+
// name: 'rhel8-test-atlas',
772+
// display_name: 'Atlas Cluster Tests',
773+
// run_on: DEFAULT_OS,
774+
// tasks: ['test_atlas_task_group']
775+
// });
775776

776777
BUILD_VARIANTS.push({
777778
name: 'rhel8-no-auth-tests',

.evergreen/run-mongodb-aws-test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ source .evergreen/setup-mongodb-aws-auth-tests.sh
99
# load node.js environment
1010
source $DRIVERS_TOOLS/.evergreen/init-node-and-npm-env.sh
1111

12+
# clear AWS_PROFILE, so it doesn't interfere with env-creds
13+
unset AWS_PROFILE
14+
1215
npm run check:aws

.release-please-manifest.json

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

HISTORY.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
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+
## [7.1.0](https://github.com/mongodb/node-mongodb-native/compare/v7.0.0...v7.1.0) (2026-02-02)
6+
7+
8+
### Features
9+
10+
* **NODE-5393:** aws4 no longer required for AWS authentication ([#4824](https://github.com/mongodb/node-mongodb-native/issues/4824)) ([0f46db8](https://github.com/mongodb/node-mongodb-native/commit/0f46db8a6135178dbe2806bb1289870e8973f382))
11+
* **NODE-7121:** prevent connection churn on backpressure errors when establishing connections ([#4800](https://github.com/mongodb/node-mongodb-native/issues/4800)) ([4cb2b87](https://github.com/mongodb/node-mongodb-native/commit/4cb2b87537536461dc2f5cd9f0a8a56ad193cb13))
12+
* **NODE-7122:** exponential backoff between retries in convenient transaction API ([#4765](https://github.com/mongodb/node-mongodb-native/issues/4765)) ([e70fdc9](https://github.com/mongodb/node-mongodb-native/commit/e70fdc981dc2bdc0d3c12515b2eecc214d8f3ce4))
13+
* **NODE-7304:** remove usages in src of promisify ([#4799](https://github.com/mongodb/node-mongodb-native/issues/4799)) ([761b9bf](https://github.com/mongodb/node-mongodb-native/commit/761b9bfab8dfc8e3e7e311731d7a5cda1285bc6c))
14+
* **NODE-7306:** Replace global process with import node:process ([#4820](https://github.com/mongodb/node-mongodb-native/issues/4820)) ([cc503cb](https://github.com/mongodb/node-mongodb-native/commit/cc503cb9810e2dbde0862fd8c8daa8ee613ef7b1))
15+
* **NODE-7310:** Replace process.arch with os.arch() ([#4823](https://github.com/mongodb/node-mongodb-native/issues/4823)) ([f0af829](https://github.com/mongodb/node-mongodb-native/commit/f0af829f1a6fdf8cc0b070a327682f6299b747f1))
16+
* **NODE-7311:** Replace process.platform with os.platform() ([#4822](https://github.com/mongodb/node-mongodb-native/issues/4822)) ([c58ca1f](https://github.com/mongodb/node-mongodb-native/commit/c58ca1f9d6a177470e58098ca1874174607c35c8))
17+
* **NODE-7317:** use BSON.NumberUtils to determine endianness ([#4808](https://github.com/mongodb/node-mongodb-native/issues/4808)) ([4e9467e](https://github.com/mongodb/node-mongodb-native/commit/4e9467e8ab9ccbcf6eb47156d84ac538c5e3f6ea))
18+
* **NODE-7319:** update allowed hosts list with *.mongo.com ([#4802](https://github.com/mongodb/node-mongodb-native/issues/4802)) ([bfb7160](https://github.com/mongodb/node-mongodb-native/commit/bfb71603fdfaaaebf418a3064f293d2c95697865))
19+
* **NODE-7330:** deprecate RenameCollectionOptions.new_collection ([#4815](https://github.com/mongodb/node-mongodb-native/issues/4815)) ([a96fa26](https://github.com/mongodb/node-mongodb-native/commit/a96fa26dea3060828af747f0f2974229018de730))
20+
* **NODE-7333:** add support for deprioritized servers to all topologies ([#4821](https://github.com/mongodb/node-mongodb-native/issues/4821)) ([a4211e7](https://github.com/mongodb/node-mongodb-native/commit/a4211e77a30450ca8b162cbe3eec9f3759d3f517))
21+
22+
23+
### Bug Fixes
24+
25+
* **NODE-7290:** use valueof for error code check ([#4791](https://github.com/mongodb/node-mongodb-native/issues/4791)) ([1cc3d1c](https://github.com/mongodb/node-mongodb-native/commit/1cc3d1c952274b2fc18ffd4898978af97f76b554))
26+
* **NODE-7298:** ensure commonWireVersion is computed from server maxWireVersion ([#4805](https://github.com/mongodb/node-mongodb-native/issues/4805)) ([2b2366d](https://github.com/mongodb/node-mongodb-native/commit/2b2366dd18a76bd9e0b36b9911af6a0a317926c3))
27+
* **NODE-7307:** Replace node:process.hrtime() with performance.now() ([#4816](https://github.com/mongodb/node-mongodb-native/issues/4816)) ([ae2e037](https://github.com/mongodb/node-mongodb-native/commit/ae2e037e896fbc673061da49a7c45743ae145651))
28+
* **NODE-7308:** replace process.nextTick with queueMicrotask ([#4817](https://github.com/mongodb/node-mongodb-native/issues/4817)) ([b1b6e81](https://github.com/mongodb/node-mongodb-native/commit/b1b6e81168a2cb6a2cc089d8c3cb83df1405931f))
29+
530
## [7.0.0](https://github.com/mongodb/node-mongodb-native/compare/v6.20.0...v7.0.0) (2025-11-06)
631

732

docs/7.1/.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.

docs/7.1/assets/highlight.css

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
:root {
2+
--light-hl-0: #795E26;
3+
--dark-hl-0: #DCDCAA;
4+
--light-hl-1: #000000;
5+
--dark-hl-1: #D4D4D4;
6+
--light-hl-2: #0000FF;
7+
--dark-hl-2: #569CD6;
8+
--light-hl-3: #A31515;
9+
--dark-hl-3: #CE9178;
10+
--light-hl-4: #0070C1;
11+
--dark-hl-4: #4FC1FF;
12+
--light-hl-5: #008000;
13+
--dark-hl-5: #6A9955;
14+
--light-hl-6: #001080;
15+
--dark-hl-6: #9CDCFE;
16+
--light-hl-7: #AF00DB;
17+
--dark-hl-7: #C586C0;
18+
--light-hl-8: #098658;
19+
--dark-hl-8: #B5CEA8;
20+
--light-hl-9: #267F99;
21+
--dark-hl-9: #4EC9B0;
22+
--light-hl-10: #000000;
23+
--dark-hl-10: #C8C8C8;
24+
--light-hl-11: #811F3F;
25+
--dark-hl-11: #D16969;
26+
--light-hl-12: #000000FF;
27+
--dark-hl-12: #D4D4D4;
28+
--light-hl-13: #EE0000;
29+
--dark-hl-13: #D7BA7D;
30+
--light-code-background: #FFFFFF;
31+
--dark-code-background: #1E1E1E;
32+
}
33+
34+
@media (prefers-color-scheme: light) { :root {
35+
--hl-0: var(--light-hl-0);
36+
--hl-1: var(--light-hl-1);
37+
--hl-2: var(--light-hl-2);
38+
--hl-3: var(--light-hl-3);
39+
--hl-4: var(--light-hl-4);
40+
--hl-5: var(--light-hl-5);
41+
--hl-6: var(--light-hl-6);
42+
--hl-7: var(--light-hl-7);
43+
--hl-8: var(--light-hl-8);
44+
--hl-9: var(--light-hl-9);
45+
--hl-10: var(--light-hl-10);
46+
--hl-11: var(--light-hl-11);
47+
--hl-12: var(--light-hl-12);
48+
--hl-13: var(--light-hl-13);
49+
--code-background: var(--light-code-background);
50+
} }
51+
52+
@media (prefers-color-scheme: dark) { :root {
53+
--hl-0: var(--dark-hl-0);
54+
--hl-1: var(--dark-hl-1);
55+
--hl-2: var(--dark-hl-2);
56+
--hl-3: var(--dark-hl-3);
57+
--hl-4: var(--dark-hl-4);
58+
--hl-5: var(--dark-hl-5);
59+
--hl-6: var(--dark-hl-6);
60+
--hl-7: var(--dark-hl-7);
61+
--hl-8: var(--dark-hl-8);
62+
--hl-9: var(--dark-hl-9);
63+
--hl-10: var(--dark-hl-10);
64+
--hl-11: var(--dark-hl-11);
65+
--hl-12: var(--dark-hl-12);
66+
--hl-13: var(--dark-hl-13);
67+
--code-background: var(--dark-code-background);
68+
} }
69+
70+
:root[data-theme='light'] {
71+
--hl-0: var(--light-hl-0);
72+
--hl-1: var(--light-hl-1);
73+
--hl-2: var(--light-hl-2);
74+
--hl-3: var(--light-hl-3);
75+
--hl-4: var(--light-hl-4);
76+
--hl-5: var(--light-hl-5);
77+
--hl-6: var(--light-hl-6);
78+
--hl-7: var(--light-hl-7);
79+
--hl-8: var(--light-hl-8);
80+
--hl-9: var(--light-hl-9);
81+
--hl-10: var(--light-hl-10);
82+
--hl-11: var(--light-hl-11);
83+
--hl-12: var(--light-hl-12);
84+
--hl-13: var(--light-hl-13);
85+
--code-background: var(--light-code-background);
86+
}
87+
88+
:root[data-theme='dark'] {
89+
--hl-0: var(--dark-hl-0);
90+
--hl-1: var(--dark-hl-1);
91+
--hl-2: var(--dark-hl-2);
92+
--hl-3: var(--dark-hl-3);
93+
--hl-4: var(--dark-hl-4);
94+
--hl-5: var(--dark-hl-5);
95+
--hl-6: var(--dark-hl-6);
96+
--hl-7: var(--dark-hl-7);
97+
--hl-8: var(--dark-hl-8);
98+
--hl-9: var(--dark-hl-9);
99+
--hl-10: var(--dark-hl-10);
100+
--hl-11: var(--dark-hl-11);
101+
--hl-12: var(--dark-hl-12);
102+
--hl-13: var(--dark-hl-13);
103+
--code-background: var(--dark-code-background);
104+
}
105+
106+
.hl-0 { color: var(--hl-0); }
107+
.hl-1 { color: var(--hl-1); }
108+
.hl-2 { color: var(--hl-2); }
109+
.hl-3 { color: var(--hl-3); }
110+
.hl-4 { color: var(--hl-4); }
111+
.hl-5 { color: var(--hl-5); }
112+
.hl-6 { color: var(--hl-6); }
113+
.hl-7 { color: var(--hl-7); }
114+
.hl-8 { color: var(--hl-8); }
115+
.hl-9 { color: var(--hl-9); }
116+
.hl-10 { color: var(--hl-10); }
117+
.hl-11 { color: var(--hl-11); }
118+
.hl-12 { color: var(--hl-12); }
119+
.hl-13 { color: var(--hl-13); }
120+
pre, code { background: var(--code-background); }

0 commit comments

Comments
 (0)