Skip to content

Releases: silviucpp/erlcass

v3.1

07 Jun 07:19
Compare
Choose a tag to compare
  • Update cpp-driver to 2.8.1
  • write_bytes_high_watermark and write_bytes_low_watermark options were removed
  • pending_requests_high_watermark and pending_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

11 Oct 09:44
Compare
Choose a tag to compare
  • 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

12 Jun 09:07
Compare
Choose a tag to compare
  • 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 and query_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.
  • 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

22 May 12:56
Compare
Choose a tag to compare
  • 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 or async_execute_statement/3.

v2.7

23 Oct 09:06
Compare
Choose a tag to compare
  • 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, and set_log_function/1
  • Proper restarting erlcass process in case dies and also reprepare all statements again

v2.6

28 Sep 07:34
Compare
Choose a tag to compare
  • Improved performances for gen_time/0, gen_random/0 and gen_from_ts/1 from erlcass_uuid
  • Small internal refactoring for constants

v2.5

26 Sep 13:31
Compare
Choose a tag to compare
  • Updated cpp-driver to 2.4.3 (require c++ 11)
  • Compatible with both rebar and rebar3

v2.4

27 Jul 11:40
Compare
Choose a tag to compare
  • Updated cpp-driver to 2.4.2
  • Improved the native code build speed
  • Add support for setting serial consistency level

v2.3

06 Apr 12:46
Compare
Choose a tag to compare
  • 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 with uuid_* and date_from_epoch/1, time_from_epoch/1, date_time_to_epoch/2. Instead this functions you can use the one from erlcass_uuid and erlcass_time modules.
  • Updated cpp-driver to 2.3.0
  • Internal code refactoring

v2.2

30 Oct 21:55
Compare
Choose a tag to compare
  • Changed the default consistency from CASS_CONSISTENCY_ONE to CASS_CONSISTENCY_LOCAL_QUORUM
  • Updated the cpp-driver to 2.2.0