- added: Ability to set an authorizer with
set_authorizer/2. - changed: Update sqlite to
3.51.3.
- fix: potential connection use after database closer by other process in parallel
- changed: Update sqlite to
3.51.2.
- fixed: Do not force journal mode unless specified.
- changed: Update sqlite to
3.51.1.
- added: Allow SunOS builds in Makefile
- changed: Update sqlite to
3.50.3. - changed: Implement
upgradeto no-op when erl init is called.
- fixed: Compiler optimizations when cross compiling for Linux.
- added: Added named params support
- added: Custom type extensions. See:
Exqlite.TypeExtensions. - changed: Update sqlite to
3.50.1.
- changed: Update sqlite to
3.50.0.
- changed: Make precompile linux image use
ubuntu-22.04instead ofubuntu-latest.
- fixed: Remove excess target triplets.
- changed: Update sqlite to
3.49.1.
- changed: Removed
Exqlite.bind/3, please usebind/2instead. - changed: Improved multi-threaded access to underlying sqlite resource.
- changed: Document issue with calling
close/1immediately after callinginterrupt/1. If you encounter the issue where the entire BEAM crashes, put a short sleep between the call tointerrupt/1andclose/1.
- changed: Update sqlite to
3.48.0. - fixed: Debug build to not fail assert due to passing
module_strto enif function.
- changed: Update sqlite to
3.47.1.
- changed: Add ability to set
default_transaction_modefor the connection configuration.
- changed: Update sqlite to
3.47.0. - changed: Pre-define atoms in NIF.
- changed: Adds ability to set individual binds and re-implements
bind/3using the newbind_*functions. And also deprecatesbind/3in favor ofbind/2since we don't need conn reference anymore. - fixed: Pre-compilation steps for ARM.
- fixed: Handle binding large 64 bit integers better for ARM systems.
- fixed: Raise
Exqlite.BindErrorwhen an argument fails to be bound.
- fixed: Add
SQLITE_ENABLE_DBSTAT_VTABto windows build.
- fixed: Pre-compile images for Apple and Windows
- changed: Update sqlite to
3.46.1. - fixed: Return
:invalid_flagsinstead of:"invalid flags". - fixed: Allow accent characters to be used for opening files.
- changed: update sqlite to
3.46.0.
- changed: update sqlite to
3.45.3.
- added:
Exqlite.Sqlite3.interrupt/1to interrupt long running queries in the background.
- changed: update sqlite3 to
3.45.2. - changed: use single nif version.
- changed: use Erlang/OTP 24 (NIF 2.16) for macOS.
- changed: updated to elixir_make
v0.8.2.
- changed: Dropped support for Elixir v1.13.
- changed: Updated readme documentation.
- changed: Updated locked dependencies.
- added: Ability to specify build parameters programatically.
- changed: Updated sqlite3 to
3.44.2.
- changed: Updaetd sqlite3 to
3.44.0. - added:
:before_disconnecthook.
- fixed: Precompile support for Windows.
- fixed: Precompiled binaries for OTP 26. Windows precompiled binaries should work now.
- added:
set_log_hook. - removed:
utf8.has it is not necessary.
- added:
set_update_hook. - fixed: sqlite extension alignment problem by utilizing
size_t. - changed: Drop support for Elixir
1.12. - changed: Drop support for OTP 23.
- changed: Updated sqlite3 to
3.43.2.
- changed: Updated sqlite3 to
3.43.1.
- fixed: allow gnu compiled binaries to be included on the checksum update step.
- fixed: do not bind atoms that are prefixed with
nilasNULL. #258
- fixed: OTP26 and Elixir 1.15 compilation issues.
- fixed: Check for
nullsqlite db connection.
- changed: Updated sqlite3 to
3.42.0.
- fixed: Wrap include directory with string so it works with the compiler.
- added: Ability to specify
:load_extensionsfor custom sqlite extensions. - changed: Updated sqlite3 to
3.41.2.
- fixed: Do not free mutex if it is not set.
- fixed: Handle SEGFAULT when trying to open a database that the application does not have permissions to open.
- added: precompilation support for musl based libc.
- changed: Updated sqlite to
3.41.1.
- fixed: Error responses from sqlite NIF come back as an atom, the
messagefield inExqlite.Erroris expected to be a string.
- changed: Allow
:force_buildto be specified in application configration to allow projects to force build the application rather than use precompiled binaries.
- changed: Updated sqlite3 to
3.41.0.
- added: precompilation support.
- fixed:
-O2flag was not being set when compiling binaries in non windows environment.
- added:
SQLITE_ENABLE_DBSTAT_VTAB=1. - changed: Allow
EXQLITE_SYSTEM_CFLAGSto be appended to theCFLAGSregardless.
- removed: Remove support for Elixir 1.11
- added: Support for custom pragmas to be set.
- changed: Updated sqlite3 to 3.40.1
- changed: Use
multi_stepforRepo.streamcalls. - added: Ability to use URI for a database path. See sqlite docs. Example:
file:/tmp/database.db?mode=ro.
- fixed:
step/2typespec was specified incorrectly.
- changed: Updated sqlite3 to 3.40.0
- fixed: Segfault issue when database connections would time out.
- changed: Updated sqlite3 to 3.39.4
- changed: Updated sqlite3 to 3.39.3
- changed: Use
sqlite3_open_v2. - changed: Expose
:mode. - changed: Removed old macro hack for erlang nifs.
- changed: Updated sqlite3 to 3.39.2
- changed: Fix incorrect ordering due to
Enum.reverse/1.
- changed: Updated sqlite3 to 3.38.5
- added: top level interface for
Exqlitesimilar toPostgrex's interface. - added: optional table protocol support for results.
- fixed: Improved
fetch_all/4call speed.
- changed: Updated sqlite3 to 3.38.
- revert: change made to Visual Studio 2022 vcvars64.bat
- fix: path to Visual Studio 2022 vcvars64.bat
- added: Custom memory allocator for sqlite to leverage erlang's
enif_allocfunctionality. This allows the memory usage to be tracked with the erlang vm usage stats.
- fixed:
SIGSEGVissue when a long running query is timed out.
- added: Ability to set
:journal_size_limitin bytes. - added: Ability to set
:soft_heap_limitin bytes. - added: Ability to set
:hard_heap_limitin bytes.
- added: Documentation about compiling with system install sqlite3.
- fixed: Debug output during
mix compileprocess.
- added: Allow setting
:keyoptionPRAGMAbefore all other pragmas to allow for use of encrypted sqlite databases.
- added: Ability to compile exqlite using the system sqlite3 installation as opposed to building from source.
- changed: Compile SQLite3 with
-DHAVE_USLEEP=1to allow for more performant concurrent use.
- fixed: Improved typespecs.
- changed: Compilation output to be less verbose. If more verbosity is desired
V=1 mix compilewill remedy that. - changed: When the path to the database does not exist,
mkdir_pis invoked.
- fixed: unicode handling when preparing sql statements.
- fixed: unicode handling when executing sql statements.
- changed: Debug build opt in, instead of opt out.
export DEBUG=yesbefore compilation and it will add a-gto the compilation process.
- added: support for static erlang compilation.
- added: support for android compilation.
- fixed: segfault on double closing an sqlite connection.
- added:
Exqlite.Basicfor a simplified interface to utilizing sqlite3. - added: ability to load sqlite extension.
- changed: Updated SQLite from 3.35.5 to 3.36.0
- fixed: perceived memory leak for prepared statements not being cleaned up in a timely manner. This would be an issue for systems under a heavy load.
- changed: Handle only UTC datetime and convert them to iso form without offset.
- fixed: compilation issue on windows.
- added:
Exqlite.Sqlite3.serialize/2to serialize the contents of the database to a binary. - added:
Exqlite.Sqlite3.deserialize/3to load a previously serialized database from a binary.
- changed: add the relevant sql statement to the Error exception message
- changed: update SQLite3 amalgamation to 3.35.5
- fixed: issue with update returning nil rows for empty returning result.
- fixed:
maybe_set_pragmawas comparing upper case and lower case values when it should not matter.
- changed: Setting the pragma for
Exqlite.Connectionis now a two step process to check what the value is and then set it to the desired value if it is not already the desired value.
- added:
Exqlite.Errornow has the statement that failed that the error occurred on.
- changed: Update SQLite3 amalgamation to 3.35.4
- fixed: SQLite3 amalgamation in 0.5.5 being incorrectly downgraded to 3.34.1. Amalgamation is now correctly 3.35.3.
- changed: Update SQLite3 amalgamation to version 3.35.3
- fixed: incorrect passing of
chunk_sizetofetch_all/4
- fixed:
:invalid_chunk_sizebeing emitted by theDBConnection.execute
- added: Guide for Windows users.
- added:
Exqlite.Sqlite3.multi_step/3to step through results chunks at a time. - added:
default_chunk_sizeconfiguration.
- changed: Bumped SQLite3 amalgamation to version 3.35.2
- changed: Replaced old references of github.com/warmwaffles
- removed:
Ecto.Adapters.Exqlite. Replaced with Ecto Sqlite3 library.