[COMPASS-4903] Fix use of bson in Compass Created: 24/Jun/21  Updated: 29/Oct/23  Resolved: 12/Jul/21

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.28.1

Type: Task Priority: Major - P3
Reporter: Maurizio Casimirri Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-4893 Bump version of the driver to 4.0.0-b... Closed
Related
related to NODE-3376 Node.js BSON dist cannot serialize br... Closed
is related to COMPASS-4927 Remove mongodb-extended-json usage Closed
Documentation Changes: Not Needed
Sprint: Iteration Firenze, Iteration Geneva

 Description   

Bson is causing few issues in compass at the moment:

  • webpack tries to use the browserified version of Buffer and bumps into https://jira.mongodb.org/browse/NODE-3376
  • bson-transpilers fails with any bson > 4.1
  • ejson-shell-parser requires 4.2 or gives compilation issues

Also note that some of the components will have to work in browser and that data explorer is going to use the compass query bar soon: https://docs.google.com/document/d/1O8KLCkmnexddU62rDqqEWd2RMwqVksMJI9hwKQTzxPU/edit#



 Comments   
Comment by Githook User [ 21/Jul/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump bson to 4.4.1 COMPASS-4903 (#2330)

Comment by Githook User [ 12/Jul/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump bson to 4.4.1 COMPASS-4903 (#2330)

Comment by Githook User [ 12/Jul/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump bson to 4.4.1 COMPASS-4903 (#2330)

Comment by Githook User [ 07/Jul/21 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump bson to 4.4.1 COMPASS-4903
Branch: 4903-dev
https://github.com/mongodb-js/compass/commit/939bb4543ffa949edd07b0b3d6d802eeb0161660

Generated at Wed Feb 07 22:37:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.