Major Release - Breaking Changes
This is a major release with significant architectural changes.
Breaking Changes
- Requires OTP 27+: Uses the built-in
jsonmodule instead of jsx/jiffy - Requires hackney 2.0.1+: Uses hackney's new process-per-connection model
- Documents are native Erlang maps: All documents use binary keys
- Connection handles are now PIDs: Changed from references
New Features
- Comprehensive integration tests (29 new tests covering views, changes, replication, Mango queries, etc.)
- Streaming attachment support with
stream_attachment/3 - Improved changes feed and view streaming with low memory overhead
- Mango query support (
couchbeam:find/3)
Improvements
- Simplified architecture using hackney's process-per-connection model
- Removed supervisor trees in favor of direct process management
- CI tests on OTP 27.3, 28.0 across Linux, macOS, and FreeBSD
- Integration tests with real CouchDB in GitHub Actions
Installation
{deps, [
{couchbeam, "2.0.0"}
]}.See CHANGELOG.md for full details.
See Migration Guide for upgrading from 1.x.