Support U16Str and Option<U16Str> as input parameter via IntoParameter trait.
0.56.1
Fix: Statement::complete_async is now annotated to be only available in ODBC version 3.8. This missing annotation prevented compilation then specifying ODBC version 3.5.
0.56.0
CursorRow::get_variadic is now private as it was always intended to be a private implemenatation detail.
Statement::set_num_rows_fetched has been split into Statement::set_num_rows_fetched and Statement::unset_num_rows_fetched in order to reduce the amount of unsafe code a bit.
Adds Cursor::more_results to support statements which return multiple result sets.
0.55.0
Added support for login timeout, i.e. the user can now explicitly specify a time in seconds after which a login attempt to a datasource should fail. This triggered two breaking changes:
Environment::connect_with_connection_string now takes an additional argument ConnectionOptions.
Environment::connect now takes an additional argument ConnectionOptions.
Migration is trivial, by supplying ConnectionsOptions::default() as the last argument.
0.54.3
Added catalog function foreign_keys to Connection and Preallocated.
0.54.2
CursorRow::get_text or Cursor::get_binary now panics if the SQLGetData implementation of the ODBC driver reports inconsistent indicator for the same cell. Previously it could have looped forever.
0.54.1
Introduced common implementation VarCell for VarBinary and VarChar.
0.54.0
Changed checking of truncated values after fetch. The new method checks the indicator buffer, rather than relying on diagnostics. This means Error::TooManyDiagnostics can no longer occurr.
0.53.0
Better error messages if checking for truncation fails due to too many diagnostics
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on odbc-api to permit the latest version.
Changelog
Sourced from odbc-api's changelog.
... (truncated)
Commits
a381749
bump version to 0.57.0dcfac6c
Bump assert_cmd from 2.0.10 to 2.0.11b17cedf
increased support for Wide character params0a86a5d
working prototype IntoParameter UStringcdc5c7c
replace WideTextBytes with WideTextab9947a
implement CData for WideText VarCellsfe5351b
introduce VarKind WideText65d7c93
introduce VarKind BufferElement9ec4cde
clarify test intent3ee615c
support for U16Str as parameterDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)