Repository navigation
Migrate mongodb crate to 3.9 and fix SRV DNS on macOS - #37
Merged
Merged
Conversation
Claude Code now falls back to AGENTS.md when no CLAUDE.md exists, so drop CLAUDE.md and make the AGENTS.md header agent-neutral. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Remove references to the nonexistent CLI crate, add the crates/ table, fix the tab label path, and correct stale module names. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Switch to the 3.x fluent API: drop the trailing `None` options argument from CRUD, aggregate, run_command, list and watch calls, and chain `.limit()` on find instead of building FindOptions. The tokio-runtime feature no longer exists. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
macOS can list scoped IPv6 nameservers such as `fe80::1%en0`, which the driver's resolver rejects with "invalid IP address syntax". Parse URIs through a helper that retries SRV lookups via Cloudflare on failure. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
mongodbfrom 2.8.2 to 3.9.1 (andbsonto 3.x). Moves to the 3.x fluent API: no trailingNoneoptions args,find(...).limit(n)instead ofFindOptions, and the removedtokio-runtimefeature is dropped.mongodb+srv://connections failing on macOS with "failed to parse nameserver address: invalid IP address syntax". The system resolver config can contain scoped IPv6 nameservers (fe80::...%en0) that hickory can't parse.parse_client_optionsnow retries SRV lookups via Cloudflare when the system resolver fails.Notes
cargo check,cargo test --workspacepass; SRV resolution verified against a real Atlas host with a throwaway test (not committed).🤖 Generated with Claude Code