Releases: mongodb-js/compass
1.7.1
1.7.0
The Compass Team is proud to announce our latest release on the Stable channel, 1.7.0
. This release is now generally available from the MongoDB Download Center for macOS and Windows, Ubuntu and Red Hat Enterprise Linux.
Featured
[COMPASS-608][COMPASS-608]: Database and Collections Table Click-Affordance ([#739][pr-739])
Nothing mind blowing. Don't love, don't hate.
thoughts @Sean-Oh ?
- Renamed instances of .btn-link to .btn-borderless to better reflect its current use
- Created new class for .btn-link to create a .btn with blue link text
- Created a .btn-case-sensitive helper class to allow for database and collection name case sensitivity. Bumped the font-size slightly for legibility and reduced the padding on .btn-xs on case-sensitive versions to match uppercase versions in height.
COMPASS-515: View Real-Time Server Stats when connected to a mongos ([#747][pr-747])
This pull request improves the behavior of Real-Time Server Stats when connected to a deployment that has sharding enabled. Instead of just showing an error with no data at all, we gracefully degrade what charts are available in Real-Time Server Stats using the isMongos()
check that was recently added to the data-service
.
cc @davidjlutz, @aherlihy, @durran
[COMPASS-668][COMPASS-668] - RTSS Error / Warnings Placement ([#760][pr-760])
RTSS view changes:
- Moved MongoS / secondary warnings beneath play/pause action-bar
- Moved errors up into the controls-container (i.e. above the drop-shadow area, actually completed in COMPASS-616)
- Removed styling on RTSS errors and used status-row component
Status-row component changes:
- Tweaked the style of errors slightly to be more muted. There is some thinking behind this: errors and warnings occurring in the communication between compass and your DB should not feel AS critical as errors and warnings occurring in the user actions which may affect your data. Therefore, the super bold red with white text should be reserved for things like "hey, you're going to delete this." or "hey, your data has been deleted."
Explain plan view changes:
- Create a new variable to handle the warnings separate from the content, so that warnings can be rendered within the controls-container (i.e. above the drop-shadow) where previously it was beneath the drop-shadow.
[COMPASS-588][COMPASS-588] & COMPASS-683: Custom Scrollbars + Collapsed Sidebar Update ([#763][pr-763])
Custom Scrollbars
- White in content area
- Dark on sidebar and in RTSS areas
Collapsed Sidebar Update
Also, bundling changes to COMPASS-683 in this PR as well: https://jira.mongodb.org/browse/COMPASS-683
- Simplified usage of grays
- Clicking anywhere on the collapsed sidebar will now expand the sidebar. Further, clicking any of the three icons in the collapsed sidebar will both expand the sidebar as well as perform that icons functionality. (i.e. home icon expands + navigates to the databases table; refresh icon expands + refresh collection/db list; search icon expands + focuses on the filter input)
- Flexbox layout for accurate scrolling, adjustments to version and ssh info in instance area.
RTSS layout update
- Flexbox lets the layout fluidly fill the screen when expanding, and fit in default window size better.
[COMPASS-630][COMPASS-630] + COMPASS-631 advanced query bar ([#754][pr-754])
This PR adds the new advanced query bar which allows users to enter not just a filter, but also project
, sort
, skip
and limit
.
Schema view
The mongodb-collection-sample module now supports project
limit
is capped at 1000 documents, but lower values can be entered.
Explain view
data-service explain currently does not pass options to the find command, therefore only filter
is exposed (as before). Once the change in data-service is made, we can expose all other query options.
Code Review Notes
This is a big PR, so I'll summarize the major changes here.
- New QueryStore, renaming
query
tofilter
and addingproject
,sort
,skip
andlimit
. - New QueryBar component, which is expandable/collapsible and hosts the new query options. They are validated individually and the label turns red if an input is invalid.
- Schema, Documents and Explain required changes so they support the new query options. Not all options are supported yet, see above.
TODO
- Tests for the advanced query options (sort, projection, skip, limit)
- make query option bubbles red when the input is not valid
add info sprinkles into the query option bubbles(need documentation update first)
[COMPASS-722][COMPASS-722]: BEM Buttons + Death to Mongostrap ([#776][pr-776])
Introduction
In this PR, I aim to:
- Remove mongostrap as a dependency since Compass barely uses it
- Update Compass's button CSS to match @colinkeany's styles located in this Invision
In doing so, I've:
- Introduced a new
button.less
file, where we should make all core button changes going forward. - Commented out links to
mongostrap.less
and bootstrap'sbutton.less
file so we can avoid unnecessary overrides - Made some small style edits here and there
Screenshots
Drop database / collection buttons are now red!
Space between refresh and apply buttons
- Clean up the
button.less
file a bit more and maybe tidy up the visuals - Fix issues in CRUD / Validation footer buttons
- Add CSS for dropdown menus
- Define best practices (BEM, react parameters, etc) to keep the codebase consistent
cc: @fredtruman
[COMPASS-431][COMPASS-431] - Move explain plan view switcher into action bar ([#772][pr-772])
The goal of this PR is to change the explain plan view in a couple ways:
- move the view switcher controls UP into a "controls-container" area to match the pattern on all the other collection views.
- move the nicely l...
1.7.0-beta.1
The Compass Team is proud to announce our latest release on the Beta channel, 1.7.0-beta.1
. This release is now generally available from the MongoDB Download Center for macOS, Windows, Ubuntu and RedHat.
What's New?
1.7.0-beta.1
contains a single bug fix, COMPASS-890, which prevented a small number of Atlas customers from viewing schemas in Compass on larger collections.
Reminder Compass users with auto-update enabled on macOS and Windows running the previous Beta channel release will be prompted to update to 1.7.0-beta.1
over the next four hours or the next time the app is started. To update Compass on Linux, please install the latest Ubuntu or RedHat assets. Any existing settings and preferences will be retained from the previous installation.
1.6.2
- COMPASS-879: Add back scrollbars to 1.6 release
- COMPASS-736: Fix Hidden Tabs
1.6.1
- COMPASS 881: Extract delete document fix and backport to 1.6-releases
- COMPASS 856: Backport COMPASS 466: Properly remove clipboard detection
- COMPASS 854: Backport COMPASS 745 ⬆️ [email protected] & [email protected]
- COMPASS 745 ⬆️ [email protected]
- COMPASS 745 ⬆️ [email protected]
- COMPASS-850: Backport COMPASS 832 - Return to avoid running the success case on error of insert document
1.7.0-beta.0
TODO (imlucas) Auto generate this.
1.6.0
1.6.0-beta.0
The Compass Team is proud to announce our latest release 1.6.0-beta.0
. This release is now generally available from the MongoDB Download Center for macOS and Windows. For the first time, Compass installers are also now available for Linux, Ubuntu and Red Hat 🎉 .
Linux
Customers can now install and use Compass on Linux. Our officially supported Linux platforms are Ubuntu 14.04+ and Red Hat Enterprise Linux 7+.
Installing Compass on Ubuntu 14.04+
wget https://downloads.mongodb.com/compass/beta/mongodb-compass-beta_1.6.0~beta.0_amd64.deb;
sudo dpkg -i mongodb-compass-beta_1.6.0~beta.0_amd64.deb;
DEBUG=* mongodb-compass-beta;
Installing Compass on Red Hat Enterprise Linux 7+
wget https://downloads.mongodb.com/compass/beta/mongodb-compass-beta-1.6.0.x86_64.rpm;
sudo yum install mongodb-compass-beta-1.6.0.x86_64.rpm;
sudo DEBUG=* mongodb-compass-beta;
Show OS notification for unexpected errors
Zoom-In/Zoom-Out
What's New
- COMPASS-395 Wrap strings inputs in quotes (#660)
- COMPASS-453 Hotkey to insert document (#661)
- COMPASS-341 Hide intercom widget when feedback disabled (#656)
- COMPASS-503 ⬆️ [email protected] && [email protected] (#666)
- COMPASS-521 Collection List hangs after applying a query (#668)
- COMPASS-313 Guard against dropped file with no path (#672)
- COMPASS-388 Don't fetch instance before set in store (#673)
- COMPASS-419 Expand all/collapse all in document (#663)
- COMPASS-458 Decoupling and improving no collections visible message (#679)
- COMPASS-387 Handle no global lock data (#681)
- COMPASS-542 Build installers for Ubuntu and Redhat (#682)
- COMPASS-458 Add enzyme tests, fix regression detected by them (#687)
- COMPASS-522 Validation style pass (#683)
- COMPASS-469 unique charts with long type (#690)
- COMPASS-557 Generate correct id on document deletion (#692)
- COMPASS-373 Filtering out MongoErrors/Fix CRUD pagination with filter. (#693)
- COMPASS-528 reactify home (#675)
- COMPASS-445 Adding refresh to document list (#697)
- COMPASS-564 Indexes Tab order gets reversed on create and delete index (#695)
- COMPASS-550 Better error checking for RTSS charts (#696)
- COMPASS-385 Check data exists before modifying overlays for RTSS tables (#700)
- COMPASS-468 schema shows undefined (#689)
- COMPASS-543 adding icon for linux (#704)
- COMPASS-375 Add OS notification for unexpected non-MongoError errors. (#702)
- COMPASS-479 Run check not tests in evergreen to avoid runner (#707)
- COMPASS-546 Include Compass URL and email in Linux installers (#706)
- COMPASS-548 Add links in and out of databases and collection views (#705)
- COMPASS-579 "Breadcrumb" Style Pass (#711)
- COMPASS-545 Evergreen integration for Linux (#708)
- COMPASS-247 added web-kit-user-select text style to values (#709)
- COMPASS-247 allow field name to be selectable (#716)
- COMPASS-541 Filter applies on insert document (#720)
- COMPASS-584 hide system.* collections from table + refactoring (#714)
- COMPASS-392 Connect window sidebar styles (#713)
- COMPASS-64 Provide Line Number Menus in CRUD for More Explicity Addition Actions (#722)
- COMPASS-568 Set deleting to false when document deletion is successful (#729)
- COMPASS-497 Better indication of type change (#731)
- COMPASS-463 action buttons disable secondary (#717)
- COMPASS-360 cancel empty validation rule (#732)
- COMPASS-587 Improve the about Compass dialog (#733)
- COMPASS-470 Add zoom in & out (#741)
- COMPASS-394 Collapse sidebar by default (#740)
- COMPASS-533 Escape key closes modal (#737)
- COMPASS-646 line-number.jsx: return component instead of plain object for bson types (#743)
- COMPASS-319 Added RTSS README (#746)
- COMPASS-544 Linux installers (#742)
Other Changes
60 other changes
1.5.1
1.5.1 is a stability release that includes fixes for the following issues:
1.5.0
The Compass Team is proud to announce our latest release on the Stable channel, 1.5.0
.
This release is now generally available from the MongoDB Download Center.
- COMPASS-100 Fix undefined users error: (#509)
- COMPASS-100 Read preference not used by index model
- COMPASS-101 Update hadron-build and pin electron (#514)
- COMPASS-102 Don't show scrollbars in RTSS (#526)
- COMPASS-103 Add reset action for RTSS stores (#508)
- COMPASS-104 Fix RTSS chart errors by turning off interpolation (#515)
- COMPASS-104 Fix sleeping behavior for RTSS charts. (#519)
- COMPASS-122 Drop Index (#513)
- COMPASS-127 Remove serverStats feature flag (#531)
- COMPASS-132 Fix Intercom email can't be blank error (#534)
- COMPASS-134 Use uuids for document list keys (#583)
- COMPASS-137 Read-only view support in coll stats
- COMPASS-140 ⬆️ [email protected] (#570)
- COMPASS-142 Showing error message on index drop error (#556)
- COMPASS-143 Don't show DDL ops on secondaries (#562)
- COMPASS-144 Call stopPropagation() when cancel auto-update clicked (#565)
- COMPASS-145 Create index (#516)
- COMPASS-146 Decimal128 support in schema view (#527)
- COMPASS-147 SSH Tunnel Refactoring (#563)
- COMPASS-156 Range Component - queryToParams (#546)
- COMPASS-160 Fix connect window focus regression (#521)
- COMPASS-171 ⬆️ [email protected] (#628)
- COMPASS-175 Some Design Tweaks (#541)
- COMPASS-178 Placeholder for query input (#547)
- COMPASS-179 Updated dmg background image (#595)
- COMPASS-185 Collation in index view
- COMPASS-188 Double scroll bars on index view fix; scrollbar on hostname fix; (#560)
- COMPASS-189 Tweaks to the progress / loading view when switching between collections (#603)
- COMPASS-190 Some style changes for create index, making cursors pointers (#557)
- COMPASS-191 Extended JSON Syntax Helper Icon (#598)
- COMPASS-191 Turn info sprinkle red when syntax error (#599)
- COMPASS-195 Add "System CA / Atlas Deployment" ssl option (#549)
- COMPASS-199 validation json editable (#559)
- COMPASS-203 Create Collection (#555)
- COMPASS-204 Drop Collection (#561)
- COMPASS-205/COMPASS-206 Create Database/Drop Database (#553)
- COMPASS-212 Add min-height and overflow:scroll to dropdown in validation page (#572)
- COMPASS-213 Disable CRUD actions when collection is read-only view
- COMPASS-213 Guard against execution on read-only views
- COMPASS-213 Read-only View: doc validation
- COMPASS-213 Read-only View: explain plan
- COMPASS-213 Read-only View: indexes
- COMPASS-215 Support multiple nullable (#545)
- COMPASS-221 DDL: Update Create Index Modal to Match new Designs (#558)
- COMPASS-224 bump [email protected]. (#568)
- COMPASS-226 Hide decimal128 option if server < 3.4 (#567)
- COMPASS-235 Document Validation: Full range component (#551)
- COMPASS-251/COMPASS-252/COMPASS-253 Guarding Write Operations (#581)
- COMPASS-275 Document Validation: Remove Array type validation (#606)
- COMPASS-277 ⬆️ [email protected] (#596)
- COMPASS-277 ⬆️ [email protected] (#597)
- COMPASS-287 Distinct numeric types (#584)
- COMPASS-289 Styles for tabs, databases view, collections view, action bar across the app (#618)
- COMPASS-291 Explain only executes on apply press, otherwise remains z… (#614)
- COMPASS-291 Only call setState once in apply/reset (#616)
- COMPASS-292 Explain: zero state (#617)
- COMPASS-298 Make all collection headers fixed position (#577)
- COMPASS-301 Hide validation tab for servers < 3.2 (#615)
- COMPASS-308 Fix uncaught exception for
ismaster
on mongos (#576) - COMPASS-315 Don't auto-cast numeric types (#623)
- COMPASS-317 Disable validation builder (#631)
- COMPASS-324 Document View not updating after query build via Schema (#602)
- COMPASS-331 Update hadron-document (#608)
- COMPASS-334 active sidebar (#637)
- COMPASS-340 privacy modal connect (#632)
- COMPASS-396 Show SSH Tunnel (#604)
- COMPASS-396 fix test. (#605)
- [COMPASS-397](https://jira.mongodb.org/browse/COM...