Skip to content

Why mongoose 5.x is not compatible with 5.x mongodb server if mongoose is using compatible version of driver? #14149

@MikeKoval

Description

@MikeKoval

Prerequisites

  • I have written a descriptive issue title

Mongoose version

5.x.x

Node.js version

18.x

MongoDB version

5.x

Operating system

Linux

Operating system version (i.e. 20.04, 11.3, 10)

22

Issue

Hi! EoL of 4.4 mongo server is end of Feb.

Mongoose 5.x is using 3.7.4 mongodb driver
https://github.com/Automattic/mongoose/blob/5.x/package.json#L26
that is compatible with mongo server 5
https://www.mongodb.com/docs/drivers/node/current/compatibility/

App seems working fine also

why mongoose then states that 5.x mongoose is not compatible with mongo server 5 https://mongoosejs.com/docs/compatibility.html ?

Can you explain that statement and provide examples please and what risks we can have?

I know that the best option to update, we are in process, but not sure if can have that to the end of Feb when we have to switch to new mongo server version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    helpThis issue can likely be resolved in GitHub issues. No bug fixes, features, or docs necessaryhelp wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions