Skip to content

Commit aebff92

Browse files
authored
Merge branch 'main' into atlas-ai-service-get-mock-data-schema
2 parents a3d3f98 + 1d36e9c commit aebff92

39 files changed

+2328
-628
lines changed
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
name: Update dependencies
2+
3+
# Runs nightly and manually
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
group_name:
8+
description: 'Package group to update'
9+
type: choice
10+
default: 'all'
11+
options:
12+
- electron
13+
- eslint
14+
- typescript
15+
- mongosh
16+
- all
17+
required: true
18+
schedule:
19+
- cron: '0 0 * * *'
20+
21+
permissions:
22+
contents: none # We use the github app token to push the changes
23+
24+
jobs:
25+
configure_matrix:
26+
name: Configure matrix
27+
runs-on: ubuntu-latest
28+
outputs:
29+
group_name: ${{ steps.define_groups.outputs.group_name }}
30+
steps:
31+
- id: define_groups
32+
name: Define groups to update
33+
env:
34+
SHOULD_INCLUDE_ALL_GROUPS: ${{ inputs.group_name == '' || inputs.group_name == 'all' }}
35+
run: |
36+
echo "Configuring matrix (inputs.group_name=${{ inputs.group_name }})"
37+
if [[ "$SHOULD_INCLUDE_ALL_GROUPS" = "true" ]]; then
38+
# When adding new group, don't forget to update the `workflow_dispatch`
39+
echo 'group_name=["electron","eslint","typescript","mongosh"]' >> "$GITHUB_OUTPUT"
40+
else
41+
echo 'group_name=["${{ inputs.group_name }}"]' >> "$GITHUB_OUTPUT"
42+
fi
43+
update_dependencies_group:
44+
name: Update ${{ matrix.group_name }} to latest
45+
runs-on: ubuntu-latest
46+
needs: configure_matrix
47+
strategy:
48+
matrix:
49+
group_name: ${{ fromJSON(needs.configure_matrix.outputs.group_name) }}
50+
steps:
51+
- name: Create Github App Token
52+
uses: mongodb-js/devtools-shared/actions/setup-bot-token@main
53+
id: app-token
54+
with:
55+
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
56+
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
57+
58+
- uses: actions/checkout@v4
59+
with:
60+
# don't checkout a detatched HEAD
61+
ref: ${{ github.head_ref || github.ref_name }}
62+
token: ${{ steps.app-token.outputs.token }}
63+
64+
- uses: actions/setup-node@v4
65+
with:
66+
node-version: 22.15.1
67+
cache: 'npm'
68+
69+
- name: Install [email protected]
70+
run: |
71+
npm install -g [email protected]
72+
73+
- name: Install dependencies
74+
run: |
75+
npm ci
76+
77+
- name: Run "update dependencies" script
78+
run: npx compass-scripts update-dependencies preset-${{ matrix.group_name }}
79+
80+
- name: Create Pull Request
81+
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # 7.0.5
82+
with:
83+
token: ${{ steps.app-token.outputs.token }}
84+
commit-message: 'chore(deps): update ${{ matrix.group_name }} to latest'
85+
branch: ci/update-${{ matrix.group_name }}
86+
title: 'chore(deps): update ${{ matrix.group_name }} to latest'
87+
labels: no-title-validation
88+
author: '${{ steps.app-token.outputs.app-slug}}[bot] <${{ steps.app-token.outputs.app-email }}>'
89+
body: |
90+
<p>This PR is automatically generated and updates the versions of
91+
the dependency group ${{ matrix.group_name }} to latest version.</p>
92+
93+
<p>If CI is green on this patch you should feel free to merge it at
94+
your convenience.</p>
95+
96+
<p>If CI is red and you think that failures are related to the
97+
version updates, you should raise an issue, so that it can be
98+
manually resolved and we can continue to update the package group to
99+
latest.</p>

.github/workflows/update-electron.yaml

Lines changed: 0 additions & 55 deletions
This file was deleted.

.github/workflows/update-eslint.yaml

Lines changed: 0 additions & 56 deletions
This file was deleted.

THIRD-PARTY-NOTICES.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
The following third-party software is used by and included in **Mongodb Compass**.
2-
This document was automatically generated on Tue Aug 26 2025.
2+
This document was automatically generated on Wed Aug 27 2025.
33

44
## List of dependencies
55

66
| Package | Version | License |
77
| --------------------------------------------------------------------------------------------------------------------------- | ------------ | ----------------------------------- |
8-
| **[@ai-sdk/gateway](#dedde9c57453760ad8fb2d234aa068465cd48d5923379182182214f5e35c38c0)** | 1.0.4 | Apache-2.0 |
8+
| **[@ai-sdk/gateway](#09ca86326b5c76b94e8727e8b4f61207bf7d7d94a96531097e55189a4d832160)** | 1.0.15 | Apache-2.0 |
99
| **[@ai-sdk/openai](#62dfccf79363c00232ecc413ce2f140157c65fa5d3dabdb3b28255822e02980d)** | 2.0.10 | Apache-2.0 |
1010
| **[@ai-sdk/provider-utils](#fccce1e2baf2ba9c9eeeb15769aa9fc8bdf173331610b40bba38220545e3c2ee)** | 3.0.1 | Apache-2.0 |
11+
| **[@ai-sdk/provider-utils](#ba1f89553d7b425256aa92d6979eff26ba987e78de7deb4ff7ae4696175d3817)** | 3.0.7 | Apache-2.0 |
1112
| **[@ai-sdk/provider](#0eb711869119af46815e4033a67147af0ebaf127414e7307b9d309a231404a88)** | 2.0.0 | Apache-2.0 |
1213
| **[@ampproject/remapping](#0dc8b6568eb743fd551ce2cf2f54be9d0f94b12167f7c34a997c864bcc7e128d)** | 2.2.0 | Apache-2.0 |
1314
| **[@aws-sdk/client-cognito-identity](#e53c9e4ae2415f2ef7d8d0c28bea785787b037bfd95121f62d630dec352972a3)** | 3.713.0 | Apache-2.0 |
@@ -180,7 +181,7 @@ This document was automatically generated on Tue Aug 26 2025.
180181
| **[ag-grid-community](#f3a0879bf804a8156c501942869cb2b3f5c2770fe5ae768eacebf9c4856a3e6e)** | 20.2.0 | MIT |
181182
| **[ag-grid-react](#266b3ad41f62fe9d8b3388c7e3e56532f1081dfc35c8b513d746105d0f7ef2d5)** | 20.2.0 | MIT |
182183
| **[agent-base](#10202012ce77e7c6013605c6e813d5020905b1ae895084d48ca047fcfc47cdcb)** | 7.1.3 | MIT |
183-
| **[ai](#3b86edae3c57710eea5b5354b528e9b65d8a43a4c6cd07da19a6e08eb56ff857)** | 5.0.10 | Apache-2.0 |
184+
| **[ai](#20aabe99e81246f5345e1d2641ad8055664783f2695b9d2608fb241c7ed671ec)** | 5.0.26 | Apache-2.0 |
184185
| **[ampersand-class-extend](#e80e071b7daf67567df2ed06a0912550d865bb42f740c56f3ee13e4c9ada947b)** | 2.0.0 | MIT |
185186
| **[ampersand-collection](#7ae90475872c8fb68869e0d81db8e343084b47fd30ab156865b4b22ae3578a37)** | 2.0.2 | MIT |
186187
| **[ampersand-events](#5aa8f29a56511aafd27953d01cb603faa9aa7e2f92847c72f879c42646e7f3fa)** | 2.0.2 | MIT |
@@ -271,7 +272,7 @@ This document was automatically generated on Tue Aug 26 2025.
271272
| **[etag](#dfcb09916bd8554b4d5ec250d985c02174ddfe92cb0efaa97df51b903ce0adf8)** | 1.8.1 | MIT |
272273
| **[eventemitter3](#2845c3d706e174e51442028b5aada4c274955de08db3fc13005df746b5d6b3e6)** | 1.2.0 | MIT |
273274
| **[eventemitter3](#344ac4a1404cf0768bccce4529868ee2081bb2d49637269457647deab073e298)** | 4.0.7 | MIT |
274-
| **[eventsource-parser](#281375faf4d13389d64912425110ea2f07106aa80b2727f2ef5fe339c8129f79)** | 3.0.3 | MIT |
275+
| **[eventsource-parser](#95b8ee489ea7fa4281ed9f635744dcbec2d37098fadab80ff9a5cd877d66a40c)** | 3.0.5 | MIT |
275276
| **[expand-template](#46d3e73ca0d4a8c14e99252386f0a5c1a4fd8b2747331373d7b4da97105c15bb)** | 2.0.3 | (MIT OR WTFPL) |
276277
| **[express](#afeb24a0ac769e633044c640647fa8724f0a41d811e1802a0967bcb13c48a423)** | 5.1.0 | MIT |
277278
| **[ext-list](#84470edae99e3ac5a9fdf9da513cd9a1ea7e479ca5fca13b6abecbb4c522f97c)** | 2.2.2 | MIT |
@@ -579,9 +580,9 @@ This document was automatically generated on Tue Aug 26 2025.
579580

580581
## Package details
581582

582-
<a id="dedde9c57453760ad8fb2d234aa068465cd48d5923379182182214f5e35c38c0"></a>
583+
<a id="09ca86326b5c76b94e8727e8b4f61207bf7d7d94a96531097e55189a4d832160"></a>
583584

584-
### [@ai-sdk/gateway](https://www.npmjs.com/package/@ai-sdk/gateway) (version 1.0.4)
585+
### [@ai-sdk/gateway](https://www.npmjs.com/package/@ai-sdk/gateway) (version 1.0.15)
585586

586587
License tags: Apache-2.0
587588

@@ -635,6 +636,30 @@ License tags: Apache-2.0
635636

636637
License files:
637638

639+
- LICENSE:
640+
641+
Copyright 2023 Vercel, Inc.
642+
643+
Licensed under the Apache License, Version 2.0 (the "License");
644+
you may not use this file except in compliance with the License.
645+
You may obtain a copy of the License at
646+
647+
http://www.apache.org/licenses/LICENSE-2.0
648+
649+
Unless required by applicable law or agreed to in writing, software
650+
distributed under the License is distributed on an "AS IS" BASIS,
651+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
652+
See the License for the specific language governing permissions and
653+
limitations under the License.
654+
655+
<a id="ba1f89553d7b425256aa92d6979eff26ba987e78de7deb4ff7ae4696175d3817"></a>
656+
657+
### [@ai-sdk/provider-utils](https://www.npmjs.com/package/@ai-sdk/provider-utils) (version 3.0.7)
658+
659+
License tags: Apache-2.0
660+
661+
License files:
662+
638663
- LICENSE:
639664

640665
Copyright 2023 Vercel, Inc.
@@ -19781,9 +19806,9 @@ License files:
1978119806
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
1978219807
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1978319808

19784-
<a id="3b86edae3c57710eea5b5354b528e9b65d8a43a4c6cd07da19a6e08eb56ff857"></a>
19809+
<a id="20aabe99e81246f5345e1d2641ad8055664783f2695b9d2608fb241c7ed671ec"></a>
1978519810

19786-
### [ai](https://www.npmjs.com/package/ai) (version 5.0.10)
19811+
### [ai](https://www.npmjs.com/package/ai) (version 5.0.26)
1978719812

1978819813
License tags: Apache-2.0
1978919814

@@ -22902,9 +22927,9 @@ License files:
2290222927
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2290322928
SOFTWARE.
2290422929

22905-
<a id="281375faf4d13389d64912425110ea2f07106aa80b2727f2ef5fe339c8129f79"></a>
22930+
<a id="95b8ee489ea7fa4281ed9f635744dcbec2d37098fadab80ff9a5cd877d66a40c"></a>
2290622931

22907-
### [eventsource-parser](https://www.npmjs.com/package/eventsource-parser) (version 3.0.3)
22932+
### [eventsource-parser](https://www.npmjs.com/package/eventsource-parser) (version 3.0.5)
2290822933

2290922934
License tags: MIT
2291022935

docs/tracking-plan.md

Lines changed: 1 addition & 1 deletion
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 Tue, Aug 26, 2025
9+
Generated on Wed, Aug 27, 2025
1010

1111
## Table of Contents
1212

0 commit comments

Comments
 (0)