Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mongodb from 3.7.3 to 4.2.0 in /ui-service #112

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 24, 2021

Bumps mongodb from 3.7.3 to 4.2.0.

Release notes

Sourced from mongodb's releases.

v4.2.0

Release Highlights

This release includes a number of features we’re happy to announce. You can now run aggregation pipelines that write write to a MongoDB collection using $out and $merge stages on secondaries! We’ve added an option to limit the number of hosts the driver will connect to when using SRV DNS lookups to manage your host addresses. And lastly, the authorizedCollection option is now usable on the db.listCollections() function.

Additionally, in this release, we’ve marked collection.mapReduce() as deprecated. The same functionality can be replicated in the much more flexible aggregation pipeline. Visit Map-Reduce to Aggregation Pipeline to learn more.

The minimum supported MongoDB version is 3.6. Attempts to connect to a MongoDB server older than 3.6 will result in an error. Please take note of the MongoDB Software Lifecycle Schedules for timeframes of supported server versions.

Features

  • NODE-3083: support aggregate writes on secondaries (#3022) (f696909)
  • NODE-3446: deprecate mapReduce command (#3036) (b6c73bf)
  • NODE-3467: implement srvMaxHosts, srvServiceName options (#3031) (1f8b539)
  • NODE-3469,NODE-3615,NODE-3507: update min and max wire versions (#3014) (2a78d5a)
  • NODE-3691: make time series options granularity type strict (#3005) (98017f9)
  • NODE-3692: make change stream events typing more generic (#3034) (d5ae78e)
  • NODE-3728: Allow to pass authorizedCollections option to the db.listCollections method (#3021) (e1234a7)
  • NODE-3729: add withId to default return type for collection.find and collection.findOne (#3039) (52520aa)

Bug Fixes

  • NODE-3116: reschedule unreliable async interval first (#3006) (33886a7)
  • NODE-3344: allow setting defaultTransactionOptions with POJO rather than ReadConcern instance (#3032) (53b3164)
  • NODE-3515: do proper opTime merging in bulk results (#3012) (43300c3)
  • NODE-3668: compile error with OptionalId on TS 4.5 beta (#3004) (ee7f095)
  • NODE-3726: add optional option overloads of Db's createCollection function (#3019) (c3149e1)
  • NODE-3727: add overloads for BulkOperationBase's execute function (#3018) (216d194)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

v4.1.4

Release Highlights

This release includes a couple of bug fixes as noted below:

Bug Fixes

  • NODE-3515: do proper opTime merging in bulk results (#3012) (43300c3)
  • NODE-3668: compile error with OptionalId on TS 4.5 beta (#3004) (ee7f095)

Documentation

... (truncated)

Changelog

Sourced from mongodb's changelog.

Changes in 4.x (and how to migrate!)

Hello dear reader, thank you for adopting version 4.x of the MongoDB Node.js driver, from the bottom of our developer hearts we thank you so much for taking the time to upgrade to our latest and greatest offering of a stunning database experience. We hope you enjoy your upgrade experience and this guide gives you all the answers you are searching for. If anything, and we mean anything, hinders your upgrade experience please let us know via JIRA. We know breaking changes are hard but they are sometimes for the best. Anyway, enjoy the guide, see you at the end!

Key Changes

Typescript

We've migrated the driver to Typescript! Users can now harness the power of type hinting and intellisense in editors that support it to develop their MongoDB applications. Even pure JavaScript projects can benefit from the type definitions with the right linting setup. Along with the type hinting there's consistent and helpful docs formatting that editors should be able to display while developing. Recently we migrated our BSON library to TypeScript as well, this version of the driver pulls in that change.

Community Types users (@​types/mongodb)

If you are a user of the community types (@​types/mongodb) there will likely be compilation errors while adopting the types from our codebase. Unfortunately we could not achieve a one to one match in types due to the details of writing the codebase in Typescript vs definitions for the user layer API along with the breaking changes of this major version. Please let us know if there's anything that is a blocker to upgrading on JIRA.

Node.js Version

We now require node 12.9 or greater for version 4 of the driver. If that's outside your support matrix at this time, that's okay! Bug fix support for our 3.x branch will not be ending until summer 2022, which has support going back as far as Node.js v4!

CRUD results

Our CRUD operations now return the drivers-wide spec-compliant results which are defined here:

For example, insertOne() used to return an object that was shaped like:

interface LegacyInsertOneResult {
    insertedCount: number;
    ops: InsertedDocument[];
    insertedId: ObjectId;
    connection: Connection;
    result: { ok: number; n: number };
}

and now returns:

</tr></table> 

... (truncated)

Commits
  • a766f1c chore(release): 4.2.0
  • 52520aa feat(NODE-3729): add withId to default return type for collection.find and co...
  • 1f8b539 feat(NODE-3467): implement srvMaxHosts, srvServiceName options (#3031)
  • 0709ef2 chore(NODE-3754): bump mongodb-connection-string-url to v2.2.0 (#3038)
  • d9c519e chore: add our shared vscode settings (#3037)
  • 5757fcd refactor(NODE-3273): remove undefined error param from topology open event (#...
  • b6c73bf feat(NODE-3446): deprecate mapReduce command (#3036)
  • d5ae78e feat(NODE-3692): make change stream events typing more generic (#3034)
  • 53b3164 fix(NODE-3344): allow setting defaultTransactionOptions with POJO rather th...
  • 526beb7 docs(NODE-3751): clarify contributing guidelines (#3029)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.7.3 to 4.2.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/docs/CHANGES_4.0.0.md)
- [Commits](mongodb/node-mongodb-native@v3.7.3...v4.2.0)

---
updated-dependencies:
- dependency-name: mongodb
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 24, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 6, 2021

Superseded by #144.

@dependabot dependabot bot closed this Dec 6, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ui-service/mongodb-4.2.0 branch December 6, 2021 08:14
gitbook-com bot pushed a commit that referenced this pull request Jun 28, 2022
anvabr added a commit that referenced this pull request Jul 20, 2022
* fix

* fix

* fix tests

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#81] Updating Policy Definition section

* GitBook: [#82] Added Publish Policy sentence in Demos

* fix undo\redo

* GitBook: [#83] Adding TrustChain APIs in API Demo

* GitBook: [#84] Adding Events information

* publish all refs

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* 931: fix validate

* get filters

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix filter addons

* fix

* GitBook: [#85] Changes in Events

* fix RA Schema

* fix: trust-chain api get broken

Signed-off-by: Truong Nguyen <samuraitruong@hotmail.com>

* publish system schema

* update system schema

* revocation functionality

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix package-lock.json

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* test

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* refactoring

* fix import policy

* update system schema

* fix

* GitBook: [#86] Adding FAQs

* data diffs

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix lint

* update swager

* fix

* remove revocation from rejected documents

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* add log

* fix

* added creation of new rejected documents

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* small fix

* update package.json and package-lock.json

* update postman_collection

* GitBook: [#87] Added System Schemas APIs

* fix

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* 967 Renaming Root Authority

* update yarn plugins

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* change version to current

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* 965 Units of measure

* fix

* fix

* feat: publish message to nats for external handle

Signed-off-by: Truong Nguyen <samuraitruong@hotmail.com>

* feat: publish message to nats for external handle

Signed-off-by: Truong Nguyen <samuraitruong@hotmail.com>

* feat:  merge logger-help to common

Signed-off-by: Truong Nguyen <samuraitruong@hotmail.com>

* fix trustchain

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* rejected dialogs

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fixes

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fixes

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix tests

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update unit

* fix

* fix gitignore

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* Add files via upload

* Delete iRec Application Details.zip

* Update readme.md

* fix import schemas

* Update readme.md

* Update readme.md

* Add files via upload

* Delete Verra REDD 2.zip

* fix docker build

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* Update readme.md

* GitBook: [#88] Changed the Filenames in the Demos

* GitBook: [#89] Updating new registration screen in both the demos, changing the URL of the new IREC Policy file

* GitBook: [#90] updated the image in Irec 2

* GitBook: [#91] Added Schema and Policy sections

* fix

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* GitBook: [#92] Updated Timestamps of iREC and Verra Redd Policies

* add transaction-logger
add hedera net config

* fix

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* add application state

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* remove max fee

* GitBook: [#93] Added new Blocks : Set Relationships, Button, Revoke Document, updated IREC and Verra Timestamps

* GitBook: [#94] Corrected errors of the Blocks

* GitBook: [#95] Corrected errors in buttonBlock

* fix

* fix

* stack trace of logs

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update doc

* update doc

* update doc

* fix import

* update doc

* detailed status information

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* update logs

* GitBook: [#96] corrections in the docs

* fix doc

* GitBook: [#97] Policy Demo Steps 1

* disable tabs while loading

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* #803 Hello Message

* fix

* fix

* GitBook: [#98] Policy Demo

* GitBook: [#99] Schema Demo

* fix order of document source block

Signed-off-by: artembuslaev <buslaew.ar@mail.ru>

* fix error logs

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#101] Added two fields in DocumentSourceAddOn

* GitBook: [#102] No subject

* extended logs

* Updated to include stabilizations stage

Added stabilization stage for the release sprint, and adjusted the process accordingly.

* Update RELEASE-MANAGEMENT-PLAN.md

* fix validate policy

* fix configuration errors in logs

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix catch errors

* change schema and policy mime types

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* increase proxy read timeout

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* update artifacts

* bump version

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* add prerelease tag

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix load policy

* add error logs

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix Dockerfile.ci

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#104] Added .env parameters

* fix style

* fix style

* GitBook: [#105] Added User Balance API

* GitBook: [#106] Updated iREC Demo Screenshots

* GitBook: [#107] Updating iREC 3 New Images

* add rules

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix code

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#108] No subject

* add comment necessary rules

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix filename

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#109] new Verra Redd Screenshots added

* GitBook: [#110] Added more screenshots of Verra Redd

* GitBook: [#111] Added Field types of Schema

* fix: add queue to asupport horizontal scale (#1037)

Signed-off-by: Truong Nguyen <samuraitruong@hotmail.com>

* GitBook: [#112] corrected API_Docs URL

* add rules

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix code

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* add comment necessary rules

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix filename

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* refactoring

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* refactoring

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* refactor api gateway

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* refactor api interfaces

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* refactor common module

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* policy engine blocks refactor

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#113] Adding Standard Registry Balance Parameter in .env table

* update websockets

* fix

* fix

* fix tokens

* refactor

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#114] Added Architecture Diagrams

* guardian service linting

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* auth service linting

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* ipfs-client linting

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* logger-service linting

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix test

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix test

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* impl import new policy as a version

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* Better version of policy candidate choice.

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* remove trailing whitespace

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* Fix swagger.yaml

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* GitBook: [#115] Added documentValidatorBlock

* GitBook: [#116] Corrected Updated Schema API

* feat: add nats event before upload/after read ipfs file

Signed-off-by: Truong Nguyen <samuraitruong@hotmail.com>

* #1068 Token actions

* implement winston.js logger

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix build

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* Impl. of save dialog before publish unsaved policy

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* Update README.md

Added proper spacings and numberings

* GitBook: [#117] Added Units of Measure Schema Types

* GitBook: [#118] Updated Policy Glossary, Removed Hedera SDK from Framework list

* Impl. reading of net setting from backend

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* Fix swagger

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* Fix trailing whitespace

Signed-off-by: StanYFed <stan.fedorov@envisionblockchain.com>

* add hedera account field in schemas

* fix lint

* custom account

* confirm block

* fix lint

* update block

* localnode .env

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix

* add demo policy

* fix lint

* fix function name

* GitBook: [#119] Added Token Authenticity, Standard Registry Init Message details

* fix environment.ts

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* fix localnode configuration

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

* GitBook: [#120] Corrected Token Authenticity steps

* GitBook: [#121] Token Authenticity correction

* GitBook: [#122] Added tokenActionBlock, tokenConfirmationBlock,mintDocumentBlock

* GitBook: [#124] Updating mintDocumentBlock

* bump version

Signed-off-by: simvalery <valeriy.simonov@envisionblockchain.com>

Co-authored-by: Stepan Kiryakov <stepan.kiryakov@envisionblockchain.com>
Co-authored-by: Stepan Kirjakov <84465157+Stepan-Kirjakov@users.noreply.github.com>
Co-authored-by: prernaa.agarwal <prernaa.agarwal@envisionblockchain.com>
Co-authored-by: Truong Nguyen <samuraitruong@hotmail.com>
Co-authored-by: artembuslaev <68849616+artembuslaev@users.noreply.github.com>
Co-authored-by: artembuslaev <buslaew.ar@mail.ru>
Co-authored-by: prernaadev01 <79293833+prernaadev01@users.noreply.github.com>
Co-authored-by: daniel.norkin <daniel.norkin@envisionblockchain.com>
Co-authored-by: stepankirjakov <Stepan.Kirjakov@waveaccess.ru>
Co-authored-by: anvabr <32775532+anvabr@users.noreply.github.com>
Co-authored-by: StanYFed <stan.fedorov@envisionblockchain.com>
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants