Releases: silviucpp/erlcass
Releases · silviucpp/erlcass
v3.1
- Update cpp-driver to 2.8.1
write_bytes_high_watermark
andwrite_bytes_low_watermark
options were removedpending_requests_high_watermark
andpending_requests_low_watermark
options were removed- the following stats are removed:
available_connections
,exceeded_pending_requests_water_mark
,exceeded_write_bytes_water_mark
v3.0
- Update cpp-driver to 2.7.1
- Add support for Schema metadata api
- Return column names and types along with results (breaks compatibility with previous versions)
- Add support for retry policy settings
Compatibility changes: This versions breaks the API. All query results will return in case of success:
ok
instead{ok, []}
for all DDL and DML queries (because they never returns any column or row){ok, Columns, Rows}
instead{ok, Rows}
, where also each row is encoded as a list not as a tuple as was before.
v2.9
- Updated cpp-driver to 2.7.0
- Updated lager to 3.4.2
- Fix for segmentation fault when we try to bind more arguments than we specified (#14).
- API breaking changes:
- non prepared statements are executed now using
query/1
,query_async/1
andquery_new_statement/1
(used when should run inside a batch) - the following methods are removed:
async_execute_statement/1
,async_execute_statement/3
,execute_statement/1
- removed support for binding non prepared statements.
- non prepared statements are executed now using
- Add support for user-defined type (UDT): decode as proplist.
- Major code refactoring in the way the nif terms are bind in native cass statements
v2.8
- Updated cpp-driver to 2.5.0
- Updated lager to 3.2.4
- Fix several bugs in compiling scripts
- Don't throw exception in case of bad arguments. Return {error, badarg} instead
- Add more descriptive errors in case of bad options
- Add versions for
async_execute
where caller can specify the process that's going to receive the response and the tag used to match
the request with the response. - Add support for fire and forget async requests (response is never sent back, it's only logged in case fails). Use
ReceiverPid
= null in
async_execute/5
orasync_execute_statement/3
.
v2.7
- Integrated
lager
as dependency - Improved logging system. In case the logging process it's crashing it's restarted
- Removed support for the following methods:
set_cluster_options/1
,create_session/1,
andset_log_function/1
- Proper restarting
erlcass
process in case dies and also reprepare all statements again
v2.6
v2.5
v2.4
v2.3
- Removed the necessity of
gen_server
calls for prepared statements. Observed this as being a bottleneck under heavy load. - Removed from
erlcass
module all methods starting withuuid_*
anddate_from_epoch/1
,time_from_epoch/1
,date_time_to_epoch/2
. Instead this functions you can use the one fromerlcass_uuid
anderlcass_time
modules. - Updated cpp-driver to 2.3.0
- Internal code refactoring