Skip to content

Commit 073a5a0

Browse files
Merge remote-tracking branch 'origin/main' into beta-releases
2 parents 35598b7 + 305f949 commit 073a5a0

File tree

236 files changed

+3304
-2546
lines changed

Some content is hidden

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

236 files changed

+3304
-2546
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ Kyle Lai <[email protected]>
120120
carolynmcca <[email protected]>
121121
Case Kramer <[email protected]>
122122
Jose Lopez <[email protected]>
123+
Simon Zhu <[email protected]>

THIRD-PARTY-NOTICES.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The following third-party software is used by and included in **Mongodb Compass**.
2-
This document was automatically generated on Sun Nov 30 2025.
2+
This document was automatically generated on Wed Dec 03 2025.
33

44
## List of dependencies
55

@@ -251,7 +251,7 @@ This document was automatically generated on Sun Nov 30 2025.
251251
| **[dunder-proto](#390fd69f2035b583e461890d5b0a3230f4adb33b042e6f0d1472dd911bc1de98)** | 1.0.1 | MIT |
252252
| **[ee-first](#e2746902c758ae8a6f91ffb9618cd53717f936cb33c6323e65b6b7b24f7ebefe)** | 1.1.1 | MIT |
253253
| **[electron-dl](#e97e034c7b93c63e7a433d75f6f1de3e0668764225ebbd61dbde8d1b55d6f3b7)** | 3.5.0 | MIT |
254-
| **[electron](#1519d76394f8d229410679d87c34b7d320204491f764f4c95daa7af2460e9f4e)** | 37.8.0 | MIT |
254+
| **[electron](#7ec155e7cc5adbd548e0fdfc925b31d424896fdb0d99f943037527108df3b82d)** | 37.10.3 | MIT |
255255
| **[encodeurl](#177948a319ae0aeebbd65742c53c62b37c75ec1d021afa5a188d10a7ceae6623)** | 2.0.0 | MIT |
256256
| **[end-of-stream](#fadc10994f5fa767d06fb25cfff35fb17a895daf3bc3477c782907668ed16563)** | 1.4.4 | MIT |
257257
| **[ensure-error](#3b1eba5276d89414cef21a1007e85c4f1d6749bf57b300e082ab23975a41dbc9)** | 3.0.1 | MIT |
@@ -404,7 +404,7 @@ This document was automatically generated on Sun Nov 30 2025.
404404
| **[native-machine-id](#906056a6d58d5df99105901c8c819d7534e7035561494eadf8ab0b48d4e0c418)** | 0.1.2 | Apache-2.0 |
405405
| **[negotiator](#617fa350c7c0fe851efe2301be0dfe1e0a38808562f7dbd2e655d30b17730ccc)** | 1.0.0 | MIT |
406406
| **[netmask](#2bd5b8ff7fab9adace6c38d3fd32e7328484939fdd07836635b0155d0afc35b2)** | 2.0.2 | MIT |
407-
| **[node-abi](#6d66f9c75cb4632567b3a4171ac5f385a1661363352324e5a0a805406e6d417e)** | 4.17.0 | MIT |
407+
| **[node-abi](#8439498b871b0967513772928c8dcf9a61a3eda72f10609e7d521a6996ea0726)** | 4.24.0 | MIT |
408408
| **[node-addon-api](#75c2a47526765afc024a6641ec7b1b37935dc672a211ebdd9773d74bc43a95b4)** | 6.1.0 | MIT |
409409
| **[node-cache](#7facc0b98aa570bf195800a761cbe85a8d5b639a49d16be0162f589f86ab6f4e)** | 5.1.2 | MIT |
410410
| **[node-domexception](#3c25065fd2bc1b6b56856e30ac5b8f34ddae33ca87b225854f8d855b0ccabfbe)** | 1.0.0 | MIT |
@@ -22199,9 +22199,9 @@ License files:
2219922199

2220022200
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2220122201

22202-
<a id="1519d76394f8d229410679d87c34b7d320204491f764f4c95daa7af2460e9f4e"></a>
22202+
<a id="7ec155e7cc5adbd548e0fdfc925b31d424896fdb0d99f943037527108df3b82d"></a>
2220322203

22204-
### [electron](https://www.npmjs.com/package/electron) (version 37.8.0)
22204+
### [electron](https://www.npmjs.com/package/electron) (version 37.10.3)
2220522205

2220622206
License tags: MIT
2220722207

@@ -29140,9 +29140,9 @@ License files:
2914029140

2914129141
License tags: MIT
2914229142

29143-
<a id="6d66f9c75cb4632567b3a4171ac5f385a1661363352324e5a0a805406e6d417e"></a>
29143+
<a id="8439498b871b0967513772928c8dcf9a61a3eda72f10609e7d521a6996ea0726"></a>
2914429144

29145-
### [node-abi](https://www.npmjs.com/package/node-abi) (version 4.17.0)
29145+
### [node-abi](https://www.npmjs.com/package/node-abi) (version 4.24.0)
2914629146

2914729147
License tags: MIT
2914829148

configs/eslint-config-compass/index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,6 @@ const chaiFriendly = require('eslint-plugin-chai-friendly');
77

88
// TODO(COMPASS-9459): disabling a bunch of new rules to unblock automatic updates
99
const tempNewEslintRulesDisabled = {
10-
'react-hooks/immutability': 'off',
11-
'react-hooks/refs': 'off',
12-
'react-hooks/set-state-in-effect': 'off',
13-
'react-hooks/preserve-manual-memoization': 'off',
14-
'react-hooks/globals': 'off',
15-
'react-hooks/static-components': 'off',
16-
'react-hooks/purity': 'off',
17-
'@typescript-eslint/no-redundant-type-constituents': 'off',
18-
'@typescript-eslint/await-thenable': 'off',
1910
'@typescript-eslint/no-unsafe-enum-comparison': 'off',
2011
};
2112

configs/eslint-config-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"@babel/eslint-parser": "^7.14.3",
1919
"@mongodb-js/eslint-config-devtools": "^0.9.9",
2020
"@mongodb-js/eslint-plugin-compass": "^1.2.17",
21-
"@typescript-eslint/eslint-plugin": "^8.48.0",
22-
"@typescript-eslint/parser": "^8.48.0",
21+
"@typescript-eslint/eslint-plugin": "^8.48.1",
22+
"@typescript-eslint/parser": "^8.48.1",
2323
"eslint": "^8.57.1",
2424
"eslint-config-prettier": "^8.3.0",
2525
"eslint-plugin-chai-friendly": "^1.1.0",

configs/testing-library-compass/src/index.tsx

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ export class MockDataService
127127
| 'instance'
128128
>
129129
{
130-
constructor(private connectionOptions: ConnectionInfo['connectionOptions']) {
130+
private connectionOptions: ConnectionInfo['connectionOptions'];
131+
constructor(connectionOptions: ConnectionInfo['connectionOptions']) {
131132
super();
133+
this.connectionOptions = connectionOptions;
132134
this.setMaxListeners(0);
133135
}
134136
getConnectionString() {
@@ -340,8 +342,13 @@ function createWrapper(
340342
const StoreGetter: React.FunctionComponent = ({ children }) => {
341343
const store = useStore();
342344
const actions = useConnectionActions();
343-
wrapperState.connectionsStore.getState = store.getState.bind(store);
344-
wrapperState.connectionsStore.actions = actions;
345+
// We're breaking the rules of hooks on purpose here to expose the values
346+
// outside of the render for testing purposes
347+
// eslint-disable-next-line react-hooks/immutability
348+
Object.assign(wrapperState.connectionsStore, {
349+
getState: store.getState.bind(store),
350+
actions,
351+
});
345352
return <>{children}</>;
346353
};
347354
const logger = {
@@ -618,6 +625,9 @@ function createPluginWrapper<
618625
) {
619626
const ref: { current: PluginContext } = { current: {} as any };
620627
function ComponentWithProvider({ children, ...props }: any) {
628+
// We're breaking the rules of hooks on purpose here to expose the ref
629+
// outside of the render
630+
// eslint-disable-next-line react-hooks/immutability
621631
const plugin = (ref.current = Plugin.useActivate(
622632
initialPluginProps ?? ({} as any)
623633
));

configs/tsconfig-compass/tsconfig.common.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compilerOptions": {
44
"removeComments": false,
55
"moduleResolution": "node16",
6-
"module": "node16"
6+
"module": "node16",
7+
"erasableSyntaxOnly": true
78
}
89
}

configs/tsconfig-compass/tsconfig.react.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compilerOptions": {
44
"removeComments": false,
55
"moduleResolution": "node16",
6-
"module": "node16"
6+
"module": "node16",
7+
"erasableSyntaxOnly": true
78
}
89
}

configs/webpack-config-compass/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,12 @@
6565
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
6666
"babel-loader": "^8.2.5",
6767
"babel-plugin-istanbul": "^5.2.0",
68-
"browserslist": "^4.27.0",
68+
"browserslist": "^4.28.0",
6969
"chalk": "^4.1.2",
7070
"cli-progress": "^3.9.1",
7171
"core-js": "^3.17.3",
7272
"css-loader": "^4.3.0",
73-
"electron": "^37.8.0",
73+
"electron": "^37.10.3",
7474
"html-webpack-plugin": "^5.6.0",
7575
"less": "^3.13.1",
7676
"less-loader": "^10.0.1",

docs/tracking-plan.md

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
> the tracking plan for the specific Compass version you can use the following
77
> URL: `https://github.com/mongodb-js/compass/blob/<compass version>/docs/tracking-plan.md`
88
9-
Generated on Sun, Nov 30, 2025
9+
Generated on Wed, Dec 3, 2025
1010

1111
## Table of Contents
1212

@@ -165,6 +165,8 @@ Generated on Sun, Nov 30, 2025
165165

166166
### Indexes
167167

168+
- [Atlas Search Indexes for View Link Clicked](#event--AtlasSearchIndexesForViewLinkClickedEvent)
169+
- [Create Search Index for View Clicked](#event--CreateSearchIndexForViewClickedEvent)
168170
- [Index Created](#event--IndexCreatedEvent)
169171
- [Index Create Failed](#event--IndexCreateFailedEvent)
170172
- [Index Create Opened](#event--IndexCreateOpenedEvent)
@@ -1875,6 +1877,30 @@ This event is fired when user opens the import dialog.
18751877

18761878
## Indexes
18771879

1880+
<a name="event--AtlasSearchIndexesForViewLinkClickedEvent"></a>
1881+
1882+
### Atlas Search Indexes for View Link Clicked
1883+
1884+
This event is fired when a user clicks the link to Atlas Search in the Indexes tab for a view.
1885+
1886+
**Properties**:
1887+
1888+
- **context** (required): `"Indexes Tab"`
1889+
- The context/screen from which the link was clicked.
1890+
- **is_compass_web** (optional): `true | undefined`
1891+
1892+
<a name="event--CreateSearchIndexForViewClickedEvent"></a>
1893+
1894+
### Create Search Index for View Clicked
1895+
1896+
This event is fired when a user clicks the button to create a search index for a view.
1897+
1898+
**Properties**:
1899+
1900+
- **context** (required): `"Indexes Tab"`
1901+
- The context/screen from which the link was clicked.
1902+
- **is_compass_web** (optional): `true | undefined`
1903+
18781904
<a name="event--IndexCreatedEvent"></a>
18791905

18801906
### Index Created
@@ -2193,7 +2219,7 @@ This event is fired when a user clicks the Atlas Skills CTA banner.
21932219

21942220
**Properties**:
21952221

2196-
- **context** (required): `"Documents Tab" | "Aggregation Tab" | "Indexes Tab" | "Schema Tab"`
2222+
- **context** (required): `"Indexes Tab" | "Documents Tab" | "Aggregation Tab" | "Schema Tab"`
21972223
- The context/screen from which the Atlas Skills CTA was dismissed.
21982224
- **is_compass_web** (optional): `true | undefined`
21992225

@@ -2205,7 +2231,7 @@ This event is fired when a user dismisses the Atlas Skills CTA banner.
22052231

22062232
**Properties**:
22072233

2208-
- **context** (required): `"Documents Tab" | "Aggregation Tab" | "Indexes Tab" | "Schema Tab"`
2234+
- **context** (required): `"Indexes Tab" | "Documents Tab" | "Aggregation Tab" | "Schema Tab"`
22092235
- The context/screen from which the Atlas Skills CTA was dismissed.
22102236
- **is_compass_web** (optional): `true | undefined`
22112237

0 commit comments

Comments
 (0)