mixmaxhq / mongo-cursor-pagination

Cursor-based pagination for Mongo
https://www.mixmax.com/careers
MIT License
229 stars 72 forks source link

feat: add native driver mongodb v3 and v4 support #357

Closed gusth-sa closed 3 months ago

gusth-sa commented 1 year ago

📚 Context/Description Behind The Change

Aiming the compatibilities improvement with both Mongo and Node versions

Was added changes to support the newer mongodb driver versions (v3 and v4) keeping the backward compatibility with v2

🚨 Potential Risks & What To Monitor After Deployment

Choosing the driver version needs to take into account the database version and vice versa, to ensure the best compatibility between both.

🧑‍🔬 How Has This Been Tested?

Tests were replicated for all driver versions

🚚 Release Plan

Minor update