- fix pattern matching
- fix: handle condition that may cause persistent CLOSE-WAIT sockets
- use hackney 2.20
- fix compatibility with couchdb 3
- fix compatibility with Erlang >= 23
- maintainance update
- maintainance update.
- fix: accept 202 status in
couchbeam:save_doc/4
function (#144) - fix: spec syntax to build with Erlang 19 (#145)
- add
couchbeam:all_dbs/2
- add
couchbeam:view_cleanup/1
- add
couchbeam:design_info/2
- add
post_decode
function to view stream - add Elixir mix support
- fix: handle http errors in view stream (#140)
- fix: build with latest rebar3
- also support hackney 1.4.4 for rebar2.
- fix hex.pm release to really use 1.4.4
- move to eunit for tests.
- hex.pm support
- mix & rebar3 build tools support
- bump hackney to 1.4.4
- bump jsx to 2.2.8
erlang-oauth is now optionnal and won't be installed by default.
- use latest stable branch of hackney
- bump hackney to 1.1.0
- fix
Conten-Type
header ehen posting doc IDS in changes #126 - fix documentation
- fix
included_applications
(#122)
- improvement: do not force connections options to nodelay
- update to Hackney 1.0.4 fix #120
- fix: retry fecthing UUIDS on error (#121)
- update to Hackney 1.0.1: more SSL certificate authority handling.
- fix: changes stream
- update to Hackney 1.0.0
- remove spurious prints
- update to hackney 0.15.0, improving performances and concurrency
- fix
couchbeam:doc_exists/2
(#116) - fix `couchbeam:reply_att/1 (#114)
- update to hackney 0.14.3
- fix memory leaks
- correctly close sockets
- fix streaming issue: don't wait the stream timeout to report the initial error.
- update JSX dependency to version 2.1.1
- bump to hackney 0.13.0
- bump to hackney 0.12.1
- improve connections with HTTP proxies
- improve content-types detection of attachments
- improve URL encoding normalzation, useful when connecting to an international domain/URI
- URL resolving is faster
- bump to hackney 0.12.0
- remove spurious print
- add support for the
new_edits
option in bulk doc API. - improvement: send a doc as multipart that already contains attachments
- bump hackney to 0.11.2
- fix path encoding
- fix: send a doc as multipart that already contains attachments
- fix connection reusing in changes and view streams
- bump hackney version to 0.10.1
First stable release. This is a supported release.
- send a doc and its attachments efficiently using the multipart API.
- add
couchbeam:get_config/{1,2,3}
,couchbeam:set_config/{4,5}
andcouchbeam:delete_config/{3,4}
to use the config API. - add
couchbeam_uuids:random/0
andcouchbeam_uuids:utc_random/0
to generate UUIDS in your app instead of reusing the UUID generated on the node. By default couchbeam is fetching from the node, which is - add
{error, forbidden}
and{error, unauthenticated}
as possible results of a reply. better if you want to use UUID based on the node time. - fix accept header handling
- add
couchbeam:copy_doc/{2,3}
to support the COPY API - add
couchbeam:get_missing_revs/2
to get the list of missing revisions - add support of the multipart
API when fetching a doc: This change make
couchbeam:open_doc/3
return a multipart response{ok, {multipart, Stream}}
when using the settingattachments=true
option. A new option {accept. <<"multipart/mixed">>}" can also be used with the options
open_revsor
revs` to fetch the response as a multipart. - bump the hackney version to 0.9.1 .
With this change you can now efficiently retrieve a doc with all of its attachments or a doc wit all its revisions. master
- fix: `couchbeam:open_or_create_db/2'
- bump hackney version to 0.8.3
- fix design docid encoding
This is a major release pre-1.0. API is now frozen and won't change much until the version 1.0.
- replaced the use of
ibrowse
byhackney
to handle HTTP connections - new streaming API in view
- breaking change: remobe
- breaking change: remove deprecated view API. Everything is now managed in the couch_view module.
- replace
couchbeam_changes:stream
andcouchbeam_changes:fetch
functions bycouchbeam_changes/follow
andcouchbeam_changes:follow_once
. - breaking change: new attachment API
- new: JSX a pure erlang JSON encoder/decoder is now the default. Jiffy
can be set at the compilation by defining
WITH_JIFFY
in the Erlang options. - removed mochiweb dependency.
This release contains backwards incompatible changes.
- New and more efficient couchbeam_changes API, we now parse json stream instead of the try catch steps we used before.
- New and more efficient couchbeam_view API. we now parse json stream instead of getting all results. New couchbeam_view:stream and couchbeam_view fetch functions have been added. We also don't use any more a view record in other functions
- HTTP functions have been moved to couchbeam_httpc modules
- gen_changes behaviour has been updated to use the couchbeam_changes API. It's also abble to restart a lost connection for longpoll and continuous feeds.
Breaking Changes:
- couchbeam:view and couchbeam:all_docs have been deprecated. Old views functions using the #view{} record from these functions have been moved in couchbeam_oldview module.
- couchbeam:wait_changes, couchbeam:wait_changes_once, couchbeam:changes functions have been deprecated and are now replaced by couchbeam_changes:stream and couchbeam_changes:fetch functions.