Skip to content

Commit

Permalink
merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
Anemy committed Aug 7, 2024
2 parents 1c2f1cf + 03c360c commit cc97f93
Show file tree
Hide file tree
Showing 51 changed files with 11,512 additions and 10,299 deletions.
5 changes: 0 additions & 5 deletions .depcheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ ignores:
- "vscode"
- "webpack-cli"
- "@mongodb-js/oidc-plugin"
- css-loader
- less
- less-loader
- node-loader
- postcss-loader
- style-loader
- ts-loader
- mongodb-runner
1 change: 1 addition & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
version: 2
updates:
- package-ecosystem: npm
versioning-strategy: increase
directory: /
schedule:
interval: daily
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/actions/test-and-build/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,7 @@ runs:
if: ${{ runner.os != 'Windows' }}
shell: bash

- name: Set BROWSER_AUTH_COMMAND
run: |
BROWSER_AUTH_COMMAND=$(echo "$(which node) $(pwd)/src/test/fixture/curl.js")
echo "BROWSER_AUTH_COMMAND=$BROWSER_AUTH_COMMAND" >> $GITHUB_ENV
shell: bash

- name: Run Tests
env:
BROWSER_AUTH_COMMAND: ${{ env.BROWSER_AUTH_COMMAND }}
run: |
npm run test
shell: bash
Expand All @@ -97,13 +89,18 @@ runs:
- name: Sign .vsix
if: runner.os == 'Linux'
env:
ARTIFACTORY_HOST: ${{ inputs.ARTIFACTORY_HOST }}
ARTIFACTORY_PASSWORD: ${{ inputs.ARTIFACTORY_PASSWORD }}
ARTIFACTORY_USERNAME: ${{ inputs.ARTIFACTORY_USERNAME }}
GARASIGN_PASSWORD: ${{ inputs.GARASIGN_PASSWORD }}
GARASIGN_USERNAME: ${{ inputs.GARASIGN_USERNAME }}
run: |
bash scripts/sign-vsix.sh
set -e
FILE_TO_SIGN=$(find . -maxdepth 1 -name '*.vsix' -print -quit)
if [ -z "$FILE_TO_SIGN" ]; then
echo "Error: No .vsix file found in the current directory." >&2
exit 1
fi
node scripts/sign-vsix.js "${FILE_TO_SIGN}"
ls *.vsix.sig
shell: bash

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/rebuild-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
id: cpr
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update changelog
base: main
Expand Down
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.tabSize": 2,
// Insert spaces when pressing Tab.
Expand Down
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ webpack.test.config.js
playgrounds/**
resources
.sbom/**
CHANGELOG.md
115 changes: 56 additions & 59 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,61 @@
# Change Log

## [v1.7.0](https://github.com/mongodb-js/vscode/releases/tag/v1.7.0) - 2024-08-01

## What's Changed
* feat(telemetry): update connection telemetry VSCODE-560 by @alenakhineika in https://github.com/mongodb-js/vscode/pull/764
* refactor(telemetry): use resolved srv from topology VSCODE-563 by @alenakhineika in https://github.com/mongodb-js/vscode/pull/765

**Full Changelog**: https://github.com/mongodb-js/vscode/compare/v1.6.1...v1.7.0


## [v1.6.1](https://github.com/mongodb-js/vscode/releases/tag/v1.6.1) - 2024-07-15

## What's Changed
* fix: disconnect extension when server is closed VSCODE-536 by @alenakhineika in https://github.com/mongodb-js/vscode/pull/734
* chore(deps): bump mongosh VSCODE-548 by @mabaasit in https://github.com/mongodb-js/vscode/pull/752
* fix: remove changelog from the bundle VSCODE-551 by @alenakhineika in https://github.com/mongodb-js/vscode/pull/758

**Full Changelog**: https://github.com/mongodb-js/vscode/compare/v1.6.0...v1.6.1


## [v1.6.0](https://github.com/mongodb-js/vscode/releases/tag/v1.6.0) - 2024-04-23

## What's Changed
* feat: add export to Rust and PHP VSCODE-411 by @paula-stacho in https://github.com/mongodb-js/vscode/pull/676
* chore(ci): sign using package by @mabaasit in https://github.com/mongodb-js/vscode/pull/678
* fix: include export mode when retrieving import statements VSCODE-440 by @paula-stacho in https://github.com/mongodb-js/vscode/pull/677
* fix: remove userId COMPASS-7608 by @paula-stacho in https://github.com/mongodb-js/vscode/pull/690
* feat: add changeActiveConnection command to palette by @benjlevesque in https://github.com/mongodb-js/vscode/pull/700
* feat: show simpler uuid format VSCODE-470 by @paula-stacho in https://github.com/mongodb-js/vscode/pull/701
* feat(playground): add support local require VSCODE-468 by @mabaasit in https://github.com/mongodb-js/vscode/pull/718

## New Contributors
* @paula-stacho made their first contribution in https://github.com/mongodb-js/vscode/pull/676
* @benjlevesque made their first contribution in https://github.com/mongodb-js/vscode/pull/700

**Full Changelog**: https://github.com/mongodb-js/vscode/compare/v1.5.0...v1.6.0


## [v1.5.0](https://github.com/mongodb-js/vscode/releases/tag/v1.5.0) - 2024-01-24

## What's Changed
* VSCODE-505: stream support in UI by @shaketbaby in https://github.com/mongodb-js/vscode/pull/643
* feat(webview): use new connection form, remove old form VSCODE-491 by @Anemy in https://github.com/mongodb-js/vscode/pull/636
* fix: add explicit ordering for stream processor context menu actions by @pulkitkalra-mdb in https://github.com/mongodb-js/vscode/pull/654
* chore: close connection string input when opening form VSCODE-507 by @Anemy in https://github.com/mongodb-js/vscode/pull/656
* fix: ensure extension output populates ObjectIds in stream by @pulkitkalra-mdb in https://github.com/mongodb-js/vscode/pull/657
* feat(connect-form): add OIDC device auth flow with preference VSCODE-503 by @Anemy in https://github.com/mongodb-js/vscode/pull/658
* feat(connections): add edit connection context menu action VSCODE-406 by @Anemy in https://github.com/mongodb-js/vscode/pull/655
* chore(deps): update mongodb and devtools dependencies by @Anemy in https://github.com/mongodb-js/vscode/pull/662
* chore: cancel connection attempt when removing connection, update assert to expect in webview and connection controller tests by @Anemy in https://github.com/mongodb-js/vscode/pull/667

## New Contributors
* @pulkitkalra-mdb made their first contribution in https://github.com/mongodb-js/vscode/pull/654

**Full Changelog**: https://github.com/mongodb-js/vscode/compare/v1.4.0...v1.5.0


## [v1.4.0](https://github.com/mongodb-js/vscode/releases/tag/v1.4.0) - 2024-01-09

## What's Changed
Expand Down Expand Up @@ -390,62 +446,3 @@ To dig deeper please feel free to follow the links mentioned below:
- Added a tooltip to fields in a collection's schema to show types found in the sampling for that field [#179](https://github.com/mongodb-js/vscode/pull/179)


## [v0.2.0](https://github.com/mongodb-js/vscode/releases/tag/v0.2.0) - 2020-10-01

### Added
- Added a Playgrounds panel that displays `.mongodb` playground files in the current VSCode workspace
- Added a setting to configure which folders and files are excluded from the playgrounds panel file searching
- Added a help and resources panel to the explorer with links to documentation and feedback portals
- Added a button to the indexes folder in the tree view which creates a playground prefilled with an index creation script
### Changed
- Updated our mongosh dependency to 0.4.2 to bring more functionality to playgrounds
### Fixed
- Fixed indexes expanded state caching in the connection explorer panel tree view


## [v0.1.1](https://github.com/mongodb-js/vscode/releases/tag/v0.1.1) - 2020-08-10

### Added

- Added a search for documents playground shortcut in the tree explorer view
- Added a copy field name right click action in a collection's schema in the tree explorer view
- Added a document count for a collection in the tree view (with hover tooltip for the full count)
- Added the ability to change the current connection when in an open playground file by using the codelens on the first line of the playground

### Changed

- Allow connecting to a new connection while already connecting to another connection
- Allow removing a new connection while it is connecting


## [v0.1.0](https://github.com/mongodb-js/vscode/releases/tag/v0.1.0) - 2020-07-16

### Added

- Added the ability to run partial playgrounds
- Added indexes to the explorer tree view

### Fixed

- Fixed an issue with the launch shell command in powershell
- Fixed an issue with the tree explorer freezing when double clicking an open schema


## [v0.0.4](https://github.com/mongodb-js/vscode/releases/tag/v0.0.4) - 2020-06-17

### Added

- Added `Launch MongoDB Shell` right click action for the active connection in the tree view

### Fixed

- Fixed an issue with connecting to ssl with the launch shell command
- Fixed an issue with the launch shell command on windows
- Fixed playgrounds not being able to run in WSL environments
- Updated our connection model dependency to pull in a fix for connection strings with `readPreferenceTags`

### Changed

- Connections in the tree view are now alphabetically sorted


9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ Select queries and aggregations within your Playground files and translate them
* Python 3
* Ruby
* Go
* Rust
* PHP

![Export to language](resources/screenshots/export-to-language.gif)

Expand All @@ -69,6 +71,13 @@ If you use Terraform to manage your infrastructure, MongoDB for VS Code helps yo

![Terraform snippet](resources/screenshots/terraform.png)

### Atlas Stream Processing

Connect to Atlas Stream Processing instances and develop stream processors using playgrounds.

![Atlas Stream Processing Playground](resources/screenshots/atlas-stream-processing.png)


## Extension Settings

| Setting | Description | Default |
Expand Down
Loading

0 comments on commit cc97f93

Please sign in to comment.