baoyachi / odbc-bridge

Extension based on odbc-api
Apache License 2.0
5 stars 5 forks source link

Update odbc-api requirement from =0.52.0 to =0.52.2 #47

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on odbc-api to permit the latest version.

Changelog

Sourced from odbc-api's changelog.

0.52.2

  • Introduced associated method Item::buffer_desc to replace Item::BUFFER_KIND.

0.52.1

  • BufferKind and BufferDescription are now unified to BufferDesc.
  • Renamed RowSetCursor into BlockCursor.
  • Fix: ColumnarBulkInserter::new now resets all parameters on the statement handle in case it fails. This prevents accessing the bound parameters on a borrowed statement handle after the constructor failed, at which point their valididty is no longer guaranteed.

0.52.0

  • sys::Timestamp is now directly supported with get_data.
  • InputParameter is now implying the new CElement trait.

0.51.0

  • Removed ColumnProjection trait.
  • ColumnBuffer now has generic associated type View instead of inheriting from ColumnProjection.
  • WithDataType can now also be used to annotate the Relational type on Timestamp.
  • WithDataType<Timestamp> now implements OutputParameter.
  • Minimum Rust version is 1.65.0

0.50.3

  • Fix: There has been an issue with fetching text values using get_text from a db2 System. db2 is not part of the test suite (yet?), so not entirely sure that it is truly gone yet, but chances are its fixed.
  • Implement ColumnarBuffer for Vec<T>.

0.50.2

  • TextBufferRowSet::for_cursor now applies the upper bound column size limits also to buffers if the metadata indicates a size of 0. This allows e.g. fetching values from Microsoft SQL Server columns with type VARCHAR(max).

0.50.1

  • Updated documentation for BufferDescription and DataType.

0.50.0

  • Fetching diagnostic records now starts with a message buffer size of 512 instead of 0 in order to recduce calls to SQLGetDiagRec.

Breaking

  • SqlResult has now new variants SqlResult::NoData and SqlResult::NeedData.
  • SqlResult::into_result_with_trunaction_check has been replaced by SqlResult::into_result_with.
  • handles::Environment::driver_connect now returns SqlResult<()> instead of SqlResult<bool>.
  • handles::Environment::drivers_buffer_fill now returns SqlResult<()> instead of SqlResult<bool>.
  • handles::Environment::drivers_buffer_len now returns SqlResult<(i16, i16)> instead of SqlResult<Option<(i16, i16)>>.
  • handles::Environment::data_source_buffer_len now returns SqlResult<(i16, i16)> instead of SqlResult<Option<(i16, i16)>>.
  • handles::Connection::execute now returns now returns SqlResult<()> instead of SqlResult<bool>.
  • handles::Connection::exec_direct now returns now returns SqlResult<()> instead of SqlResult<bool>.

... (truncated)

Commits


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)
dependabot[bot] commented 1 year ago

The following labels could not be found: 📦 dependencies.

baoyachi commented 1 year ago

@dependabot do not auto update odbc-api latest version

dependabot[bot] commented 1 year ago

Looks like odbc-api is no longer updatable, so this is no longer needed.