{"shas":[["b73646b2f7ef0c6baf1e77742ab491c017ab38d7","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","put http request functions in their own module.","benoitc"],["5eecf57cec6be2e293b864a38b20b283262514c3","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","We now parse the json by chunks instead of using our try catch over ejson:decode_json . More efficient. While I'm here add support for changes loop monitoring in gen_changes and restart connection if it's stopped.\n\nNew api is now in couchbeam_changes module:\n\n- fetch/1, fetch/2\n- stream/2, stream/3\n\nOld functions in couchbeam module has been deprecated (changes, changes_wait, changes_wait_once).","benoitc"],["8c2359cedf4bee45a8a7a63081191120cedf6da2","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","use 0.7 version in user agent.","benoitc"],["e05897d64b5c1c62bdbe75ba23f786e251bedc07","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","new view api. It now support view results streaming (more efficient for\nbig views).\n\nAdded:\n\n- couchbeam_view:fetch/1, couchbeam_view:fetch/2, couchbeam_view:fetch/3\n- couchbeam_view:stream/2, couchbeam_view:stream/3,\n  couchbeam_view:stream/4\n- couchbeam_count/1, couchbeam_count/2, couchbeam_count/3\n- couchbeam_first/1, couchbeam_first/2, couchbeam_first/3\n\nFunctions are now more \"erlangish\" and options have been changes to\nview_options():\n\n-type view_option() :: {key, binary()} | {start_docid, binary()}\n    | {end_docid, binary()} | {start_key, binary()}\n    | {end_key, binary()} | {limit, integer()}\n    | {stale, stale()}\n    | descending\n    | {skip, integer()}\n    | group | {group_level, exact | integer()}\n    | inclusive_end | reduce | include_docs | conflicts\n    | {list, binary()}\n    | {keys, list(binary())}.\n\n-type view_options() :: list(view_option()).\n\nold versions functions of couchbeam_view have been renamed and marked deprecated:\n\nfetch->fetch1, fold -> fold1, count -> count1, first -> first1,\nforeach->foreach1\n\nALso couchbeam:view is now depreacted and renamed to couchbeam:view1\n(the same for couchbeam:all_docs that have been renamed\ncouchbeam:all_docs/1).","benoitc"],["86132aae2220e32c12b4c3fa791d9fe36179ef9f","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","fix issue #50. Thanks","benoitc"],["b102a11d5ae3ad877b9cd964bb56044384d4fb27","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","move old view api to couchbeam_oldview module (easier to port old code\ndoing like this rather than using renamed functions).\n\nMark couchbeam:all_docs and couchbeam:view functions deprecated.","benoitc"],["c98dd969fa6aab5a112d5ad660bc35190f6f34e0","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","add shorcut functions to get all docs.","benoitc"],["73d13ccc1b069abb8c4ad917b76a41514aabeefa","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","export parse_view_options/1 and document it.","benoitc"],["7f546ad4437a00097dc418d7b3de0e0acd673caa","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","add couchbeam_view:fold/4 and couchbeam_view:fold/5 method\n\n1> couchbeam:start(),\n1> S = couchbeam:server_connection(),\n1> {ok, Db} = couchbeam:open_db(S, \"testdb\"),\n1>\n1> couchbeam_view:fold(fun(Row, Acc) -> [Row|Acc] end, [], Db,\n'all_docs').\n[{[{<<\"id\">>,<<\"29dcfaf8df8a321f18378254b5bb9138\">>},\n       {<<\"key\">>,<<\"29dcfaf8df8a321f18378254b5bb9138\">>},\n       {<<\"value\">>,\n        {[{<<\"rev\">>,<<\"1-967a00dff5e02add41819138abb3284d\">>}]}}]},\n     {[{<<\"id\">>,<<\"236ecb86e51d7b9697403d75c0000d80\">>},\n       {<<\"key\">>,<<\"236ecb86e51d7b9697403d75c0000d80\">>},\n       {<<\"value\">>,\n        {[{<<\"rev\">>,\n           <<\"1-967a00dff5e02add41819138abb3284d\">>}]}}]}]","benoitc"],["8a93b98374f05ccc6243c6cde96b13c0a6634113","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","add couchbeam_view:fetch/3 & couchbeam_view:fetch/4 functions.","benoitc"],["5398d2429e34e8935b390dd3e552d9c56b106201","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","just return","benoitc"],["0e2fc4e3e36d91692df5e6a97b79ee8aa108a14d","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","add NEWS","benoitc"],["00ec66d9e764b2b31d22070dc9cb33239e79e363","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","typo","benoitc"],["4293b60328a68622cbe527aaf486731451acfba0","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","add link to NEWS in overview.","benoitc"],["87f3dad7ccb5a870eb4997c630107ac19b2ba993","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","typo","benoitc"],["3a60c87a076d867f6a5d50d05af88a4893fadffe","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","bump version","benoitc"],["31759f664650f46eb50546d5f668031e3428e829","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","instead of integrating some code from mochiweb just use it as a\ndependance.","benoitc"],["d299bc9a879d4ac57443bf850883415aedb167b6","0690e85bf7e0b43d9aa0c6b760d045c5a876bc43@gmail.com","forgot to update readme","benoitc"],["7849dd01fc4c56df28d6b8192cba909be05158a9","ffb4761cba839470133bee36aeb139f58d7dbaa9@opscode.com","Merge branch 'master' of git://github.com/benoitc/couchbeam","Kevin Smith"]],"ref":"refs/heads/master","size":19,"head":"7849dd01fc4c56df28d6b8192cba909be05158a9","push_id":37555679}