Releases: oschwald/maxmind-db-rust-ruby
Releases · oschwald/maxmind-db-rust-ruby
0.1.4
0.1.3
Added
- Pre-compiled native gems for multiple platforms, eliminating the need to compile Rust during installation:
x86_64-linux(Linux x86_64)aarch64-linux(Linux ARM64)x86_64-darwin(macOS Intel)arm64-darwin(macOS Apple Silicon)x64-mingw-ucrt(Windows)x86_64-linux-musl(Alpine Linux)
- Source gem as fallback for platforms without pre-compiled binaries
0.1.2
Added
- Automated release script (
dev-bin/release.sh) that validates changelog dates, updates gemspec version, runs tests, and creates GitHub releases
Changed
- Updated actions/checkout from v4 to v5 in GitHub workflows
Fixed
- Release workflow no longer runs twice (removed redundant triggers)
Removed
- Unused test/maxmind-db-reader-ruby git submodule (documentation now references upstream repository by URL)
v0.1.1
Initial release
Added
- Initial release
- Reader class with
get(),get_with_prefix_length(),metadata(),close(), andclosed()methods - Metadata class with all standard MaxMind DB metadata attributes
- Support for MODE_AUTO, MODE_MEMORY, and MODE_MMAP modes
- Iterator support via
eachmethod (Enumerable interface)- Iterate over all networks in database
- Network-scoped iteration with optional CIDR parameter (String or IPAddr)
- InvalidDatabaseError exception for corrupt databases
- Thread-safe implementation using Rust Arc and RwLock
- Support for both String and IPAddr IP address inputs
- High-performance Rust implementation using maxminddb crate
- Comprehensive API documentation
Not Implemented
- MODE_FILE support (use MODE_MMAP instead)
- File descriptor support in constructor