All notable changes to the "azure-cosmosdb" extension will be documented in this file.
- API support for integration with App Service extension
- Multiple documents, collections, or stored procedures can be viewed/edited at once (thanks @tec-goblin)
- Refresh button doesn't refresh attached accounts #904
- Some scrapbook parse errors were causing an error alert #959
- Downgrade event-stream version due to event-stream#116
- Mongo
- Support for ObjectId, ISODate and regular expression (/pattern/flag) syntax in the scrapbook
- Support for method chaining.
- Ability to change timeout for commands in scrapbook
- Support importing documents into CosmosDB and Mongo databases.
- Support for soveriegn clouds
- Support creation of fixed collections and graphs #295 and #504
- Collections having two documents of the same id will render properly #588 and #892
- Some UI fixes #576 and #873
- Additional bugs fixed
A big thank you to the following contributors that helped make the extension even better!
- Nicolas Kyriazopuolos-Panagiotopoulos @tec-goblin:
- Nguyen Long Nhat @torn4dom4n, for updating our tasks PR#887
- Improved scrapbook experience with better error handling. We now highlight errors on the scrapbook as you type!
- See your stored procedures for graph accounts too!
- Document labels in the tree view are now more descriptive.
- Scrapbook: can now parse commands with single quotes or no quotes. Examples from the mongo docs should now work when directly pasted.
- Fewer timeout errors on running commands in the emulator.
- We correctly parse collection names with dots
- Invalid database accounts will not prevent the tree from loading
- Additional bugs fixed
- Support DNS Seedlist Connection Format for mongo connection strings (mongodb+srv://). Thanks @plusn-nuri!
- Support for Extended JSON in scrapbook queries
- Updating mongo documents without an ObjectID in the ID field
- Log of fixed bugs
- Fixed error "Unexpected Experience Value" when retrieving database accounts
-
Mongo
- CodeLens support for scrapbook
- Execute all commands in a scrapbook, allowing you to use scrapbooks as scripts
- Support for ObjectIDs, ISODate, and extended JSON data types in document views
-
SQL
- View, open, edit and update Stored Procedures
-
Miscellaneous
- Error messages are now modal
- Open newly created docs in editor
- Moved Azure CosmosDB Explorer to new Azure view container instead of file explorer
- Better error messages for connection strings
- Don't throw errors on dropping non-existent collections
- Errors no longer written to output in the middle of writing a scrapbook command
- Additional bugs fixed
-
Mongo
- mongo.shell.path setting no longer required if shell is in system path
- Allow mongo.shell.path to be specified in workspace settings as well as user settings
- No longer asking for an id for new documents
- Connected database is now persisted between sessions
- Improvements to scrapbook setup and error handling
-
Azure subscriptions
- New "filter" button on subscription nodes
- New "Open in Portal" menu item for subscriptions
-
Miscellaneous
- New "Report an Issue" button on error dialogs
- Allow access to multi-tenant mongo server
- Can only run the first command in a Mongo Scrapbook on Windows
- Projections Not Working In Mongo Scrapbooks
- Additional bugs fixed
- DocumentDB and Mongo
- Allow updating documents and collections re-opened from a previous VS Code session
- Mongo
- Delete databases
- Attach to Cosmos DB emulator
- Run commands from the command palette
- Attach Cosmos DB accounts by connection string
- Graph:
- Customize the color and display text of vertices through VS Code settings
- By default display vertex IDs and labels and choose vertex color based on label
- Honor current VS Code theme
- View, edit, and persist a Mongo collection
- Edit and persist the result of a Mongo command
- Graph bugs fixed
- Source to target arrows are backwards
- Side effects from executing a Gremlin query can occur twice
- Duplicate vertices can show up in graph viewer
- Query performance improved for large graphs
- Graph:
- View/Create/Delete databases and graphs
- Click on a graph to visualize data
- Query graph using Gremlin
- DocumentDB:
- View/Create/Delete databases, collections, and documents
- Mongo
- View documents in the explorer
- DocumentDB and Mongo:
- Click on a document to open in the editor
- Edit a document and persist changes to the cloud
- View Mongo documents in 'result.json' by clicking on a collection in the explorer
- Edit and persist the result of a Mongo scrapbook command
- Correctly set version to preview
- Cosmos DB UI component (sash)
- Connect to local MongoDB
- Create Cosmos DB (with MongoDB adaptor)
- Connect to Cosmos DB via MongoDB adaptor
- Command to launch the
mongo
shell - Rich MongoDB intellisense in scrapbooks