diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c28687..e733c62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v0.9.1 - 2024-08-19 + +- Fixed a bug where bit arrays could bind to the incorrect SQLite type. + ## v0.9.0 - 2023-11-06 - Updated for v0.32.0. diff --git a/gleam.toml b/gleam.toml index 3d32630..462b640 100644 --- a/gleam.toml +++ b/gleam.toml @@ -1,5 +1,5 @@ name = "sqlight" -version = "0.9.0" +version = "0.9.1" licences = ["Apache-2.0"] description = "Use SQLite from Gleam!" diff --git a/manifest.toml b/manifest.toml index 2e072aa..e54da36 100644 --- a/manifest.toml +++ b/manifest.toml @@ -2,9 +2,9 @@ # You typically do not need to edit this file packages = [ - { name = "esqlite", version = "0.8.6", build_tools = ["rebar3"], requirements = [], otp_app = "esqlite", source = "hex", outer_checksum = "607E45F4DA42601D8F530979417F57A4CD629AB49085891849302057E68EA188" }, - { name = "gleam_stdlib", version = "0.32.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "07D64C26D014CF570F8ACADCE602761EA2E74C842D26F2FD49B0D61973D9966F" }, - { name = "gleeunit", version = "1.0.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "D3682ED8C5F9CAE1C928F2506DE91625588CC752495988CBE0F5653A42A6F334" }, + { name = "esqlite", version = "0.8.8", build_tools = ["rebar3"], requirements = [], otp_app = "esqlite", source = "hex", outer_checksum = "374902457C7D94DC9409C98D3BDD1CA0D50A60DC9F3BDF1FD8EB74C0DCDF02D6" }, + { name = "gleam_stdlib", version = "0.39.0", build_tools = ["gleam"], requirements = [], otp_app = "gleam_stdlib", source = "hex", outer_checksum = "2D7DE885A6EA7F1D5015D1698920C9BAF7241102836CE0C3837A4F160128A9C4" }, + { name = "gleeunit", version = "1.2.0", build_tools = ["gleam"], requirements = ["gleam_stdlib"], otp_app = "gleeunit", source = "hex", outer_checksum = "F7A7228925D3EE7D0813C922E062BFD6D7E9310F0BEE585D3A42F3307E3CFD13" }, ] [requirements] diff --git a/test/sqlight_test.gleam b/test/sqlight_test.gleam index 25db6e7..9db4628 100644 --- a/test/sqlight_test.gleam +++ b/test/sqlight_test.gleam @@ -1,9 +1,9 @@ -import sqlight.{SqlightError} -import gleeunit -import gleeunit/should import gleam/dynamic -import gleam/option import gleam/list +import gleam/option +import gleeunit +import gleeunit/should +import sqlight.{SqlightError} pub fn main() { gleeunit.main() @@ -39,7 +39,6 @@ pub fn open_test() { Ok(Nil) = sqlight.close(conn) } -@target(erlang) pub fn open_fail_test() { let assert Error(SqlightError(sqlight.Cantopen, "", -1)) = sqlight.open("tmp") } @@ -101,9 +100,6 @@ pub fn bind_text_test() { ) } -// TODO: enable this for JS once Gleam v0.26 is out - -@target(erlang) pub fn bind_blob_test() { use conn <- connect() let assert Ok([#(<<123, 0>>, "blob")]) =