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

Update to MongoDB 6.4 #160

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ const transport = pino.transport({
pino(transport)
```

The `mongoOptions` is provided to the the standard mongodb client. All the available options are described on [its official documentation](https://mongodb.github.io/node-mongodb-native/4.1/interfaces/MongoClientOptions.html).
The `mongoOptions` is provided to the the standard mongodb client. All the available options are described on [its official documentation](https://mongodb.github.io/node-mongodb-native/6.4/interfaces/MongoClientOptions.html)

Note that you may encouter missing logs in special cases: it dependes on data and mongo's version. Please checkout the [mongodb limitation](https://docs.mongodb.com/manual/reference/limits/) official documentation.
For example on MongoDB 4:
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -36,7 +36,7 @@
"dependencies": {
"carrier": "^0.3",
"commander": "^10.0",
"mongodb": "^4.7",
"mongodb": "^6.4",
"muri": "^1.3",
"pino-abstract-transport": "^1.0.0"
},
2 changes: 1 addition & 1 deletion trial/assert.js
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ const t = require('assert').strict

async function main () {
const url = process.argv.slice(2, 3)[0]
const conn = await MongoClient.connect(url, { useUnifiedTopology: true })
const conn = await MongoClient.connect(url)
const db = conn.db('admin')
const logs = db.collection('logs')

Loading