Couchbeam 2.0.0 released

couchbeam 2.0.0 has been released! This is the first stable release of the 2.x series.

couchbeam is a simple, idiomatic Erlang client for Apache CouchDB and Barrel. Version 2.0 is a major update
built on hackney 2.0’s process-per-connection architecture, using OTP 27’s native JSON module.

Key Features

  • Native Erlang maps - Documents are now maps with binary keys instead of proplists
  • OTP 27 JSON module - No external JSON library needed (jsx/jiffy removed)
  • Process-per-connection - Built on hackney 2.0’s clean connection model
  • Streaming views - Low memory overhead with couchbeam_view:stream/3
  • Streaming changes feed - Continuous, longpoll, and heartbeat support
  • Streaming attachments - Efficient large file upload/download
  • Mango queries - Full support for find with selectors, fields, sort, pagination

New in 2.0.0

  • Integration tests (29 new tests)
  • View streaming with foreach/4 and show/4
  • Simplified architecture - removed supervisor trees
  • Updated CI for OTP 27.3, 28.0 across Linux, macOS, FreeBSD
  • Modernized documentation with usage examples

Requirements

Erlang/OTP 27+

Links

Feedback welcome!

8 Likes