From 4bbc1f92661be3f7723dbfb9ca790600c679d84e Mon Sep 17 00:00:00 2001 From: Maxim Fedorov Date: Mon, 20 Feb 2023 19:13:23 -0800 Subject: [PATCH] Prepare minor release 0.6 --- README.md | 11 +++++------ src/sqlite.app.src | 2 +- src/sqlite.erl | 18 +++++++++--------- test/sqlite_SUITE.erl | 12 ++++++------ 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 231098f..6aeb934 100644 --- a/README.md +++ b/README.md @@ -100,14 +100,13 @@ escript.exe rebar3 ct ``` ## Missing Features for 1.0 -* implement correct handling for sqlite BUSY and LOCKED return codes -* do "trylock" and then reschedule instead of dirty NIF from the beginning -* yielding busy handler (instead of consuming dirty I/O scheduler) -* asynchronous `query` and `execute` APIs (with message exchange on return) -* add diagnostic routines to enumerate prepared statements/statements running +* performance: use "trylock" and then reschedule instead of dirty NIF from the beginning +* performance: transparently handle BUSY and LOCKED instead of busy wait in dirty scheduler +* asynchronous APIs (using message exchange, e.g. for `query` and `execute`) +* diagnostic routines to enumerate prepared statements/statements running ## Features beyond 1.0 -These features did not make it into 1.0, but are useful and may be implemented +These features will not make it into 1.0, but are useful and may be implemented in the following releases: * non-experimental sqlite hooks support (commit, preupdate, rollback, update, wal) * sqlite snapshot, vfs, blob and serialization support diff --git a/src/sqlite.app.src b/src/sqlite.app.src index 09252fc..00e77ca 100644 --- a/src/sqlite.app.src +++ b/src/sqlite.app.src @@ -1,6 +1,6 @@ {application, sqlite, [{description, "sqlite: NIF bindings for Erlang"}, - {vsn, "0.5.0"}, + {vsn, "0.6.0"}, {registered, []}, {applications, [kernel, stdlib]}, {env, []}, diff --git a/src/sqlite.erl b/src/sqlite.erl index 3bf09c9..80f09e3 100644 --- a/src/sqlite.erl +++ b/src/sqlite.erl @@ -149,12 +149,6 @@ nif_stub_error(Line) -> -type prepared_statement() :: reference(). %% Prepared statement reference. --type column_type() :: integer | float | binary. -%% SQLite column type mapped to an Erlang type. - --type column_name() :: binary(). -%% Column name - -type parameter() :: integer() | float() | binary() | string() | iolist() | {binary, binary()} | undefined. %% Erlang type allowed to be used in SQLite bindings. @@ -223,7 +217,7 @@ nif_stub_error(Line) -> %% Backup options %% %%