From a22ecbcda2ef5cb6011106b1c9e9fd840b26a8e3 Mon Sep 17 00:00:00 2001 From: Markus Klein Date: Thu, 14 Sep 2023 22:55:48 +0200 Subject: [PATCH] bump version to 1.0.0 --- Cargo.lock | 2 +- Changelog.md | 3 ++- odbc-api/Cargo.toml | 2 +- odbcsv/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4ad56148..8601ebad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -881,7 +881,7 @@ dependencies = [ [[package]] name = "odbc-api" -version = "0.57.1" +version = "1.0.0" dependencies = [ "anyhow", "criterion", diff --git a/Changelog.md b/Changelog.md index be728565..7c17b993 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,7 +1,8 @@ # Changelog -## (next) +## 1.0.0 +* Introduced `CursorRow::get_wide_text` in order to fetch large UTF-16 values into a buffer. * The `IntoParameter` implementation for `str` slices and `Strings` will now be converting them to `VarWCharBox` if the `narrow` compile time feature is **not** activated. This has been done in order to allow for easier writing of portable code between Windows and non-Windows platforms. Usually you would like to activate the `narrow` feature on non-windows platform there a UTF-8 default locale can be assumed. On Windows you want utilize UTF-16 encoding since it is the only reliable way to to transfer non ASCII characters independent from the systems locale. With this change on both platforms one can now simply write: ```rust diff --git a/odbc-api/Cargo.toml b/odbc-api/Cargo.toml index a9b9775b..ecc20b55 100644 --- a/odbc-api/Cargo.toml +++ b/odbc-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "odbc-api" -version = "0.57.1" +version = "1.0.0" authors = ["Markus Klein"] edition = "2021" license = "MIT" diff --git a/odbcsv/Cargo.toml b/odbcsv/Cargo.toml index 326caf29..1041a344 100644 --- a/odbcsv/Cargo.toml +++ b/odbcsv/Cargo.toml @@ -29,7 +29,7 @@ readme = "Readme.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -odbc-api = { version = "0.57.0", path = "../odbc-api" } +odbc-api = { version = "1.0.0", path = "../odbc-api" } csv = "1.2.2" anyhow = "1.0.75" stderrlog = "0.5.4"