pinojs / pino-mongodb

:evergreen_tree: Insert JSON from stdin into MongoDB
MIT License
54 stars 18 forks source link

Update to MongoDB 6.4 #160

Open santuman opened 7 months ago

santuman commented 7 months ago

Updated MongoDB to version 6.4, adjusted MongoClient connection options, and revised README to match. Addresses the punycode deprecation warning and ensures up-to-date compatibility.

Fixes #159

mcollina commented 7 months ago

Can you please add Node.js v20 to the test matrix?

santuman commented 7 months ago

@mcollina Added v20 to the test matrix

mcollina commented 7 months ago

This seems to break some Node v14 tests. Can you check it?

mcollina commented 7 months ago

We might need to drop v14 and v16.

santuman commented 7 months ago

The MongoDB v6.4 driver lacks compatibility with Node.js versions beyond v16.x.x Refer to https://www.mongodb.com/docs/drivers/node/current/compatibility/ for details

We might have to just drop only v14. Test on v16 is getting cancelled

mcollina commented 7 months ago

Let's be future proof and drop both.

santuman commented 7 months ago

The end-to-end test experienced significant delays and was eventually cancelled

mcollina commented 7 months ago

Can you debug what's the problem and fix them?