Skip to content

Deprecation warning for listening on Db class events #7345

Closed
@Moumouls

Description

@Moumouls

New Issue Checklist

Issue Description

Lot of warning from mongodb package after upgrade from #7322

Steps to reproduce

Install parse from master
Run parse server

At each server start parse server log.

(node:13319) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.

Actual Outcome

Too many logs from mongodb pkg

(node:13319) DeprecationWarning: Listening to events on the Db class has been deprecated and will be removed in the next major version.

Expected Outcome

No logs

Failing Test Case / Pull Request

  • 🤩 I submitted a PR with a fix and a test case.
  • 🧐 I submitted a PR with a failing test case.

Environment

Server

  • Parse Server version: current master
  • Operating system: macOS
  • Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc): local

Database

  • System (MongoDB or Postgres): Mongo
  • Database version: 4.4.X
  • Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc): local

Client

  • SDK (iOS, Android, JavaScript, PHP, Unity, etc): none
  • SDK version: node

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bounty:$5Bounty applies for fixing this issue (Parse Bounty Program)type:bugImpaired feature or lacking behavior that is likely assumed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions