Skip to content

Releases: sunng87/pgwire

v0.18.0

23 Dec 13:34
7f4a073
Compare
Choose a tag to compare

Changelog

What's Changed

  • fix: fix panic when downcasting UInt8Array, UInt16Array and UInt64Array by @xhwhis in #137
  • chore(deps): update datafusion requirement from 33 to 34 by @dependabot in #141
  • refactor: move portal store to client by @sunng87 in #140

Full Changelog: v0.17.0...v0.18.0

v0.17.0

07 Dec 06:40
2b7edde
Compare
Choose a tag to compare

Changelog

What's Changed

  • chore(deps): update ring requirement from 0.16 to 0.17 by @dependabot in #114
  • fix: there is no SSLRequest in frontend messages by @elmaxxo in #116
  • feat: add SslResponse message by @elmaxxo in #117
  • chore(deps): update datafusion requirement from 31 to 32 by @dependabot in #115
  • chore(deps): update sqlparser requirement from 0.38 to 0.39 by @dependabot in #118
  • chore(deps): update x509-certificate requirement from 0.21 to 0.22 by @dependabot in #120
  • chore(deps): update x509-certificate requirement from 0.22 to 0.23 by @dependabot in #122
  • chore(deps): update derive-new requirement from 0.5 to 0.6 by @dependabot in #123
  • chore(deps): update rusqlite requirement from 0.29.0 to 0.30.0 by @dependabot in #124
  • chore(deps): update datafusion requirement from 32 to 33 by @dependabot in #125
  • use feed instread of send by @yuyang-ok in #128
  • chore(deps): update sqlparser requirement from 0.39 to 0.40 by @dependabot in #129
  • feat: support array by @xhwhis in #130
  • feat: allow sending custom message from high level handler api by @sunng87 in #133
  • feat: add notificationresponse message by @sunng87 in #136
  • feat: update tokio-rustls by @sunng87 in #135

New Contributors

Full Changelog: v0.16.1...v0.17.0

v0.16.0

04 Aug 02:06
e837737
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update sqlparser requirement from 0.34 to 0.35 by @dependabot in #98
  • feat: improve server parameter apis by @sunng87 in #97
  • chore(deps): update datafusion requirement from 26 to 27 by @dependabot in #100
  • chore(deps): update sqlparser requirement from 0.35 to 0.36 by @dependabot in #102
  • chore(deps): update x509-certificate requirement from 0.20 to 0.21 by @dependabot in #103
  • chore(deps): update datafusion requirement from 27 to 28 by @dependabot in #104
  • feat!: allow server inferenced type for portal by @sunng87 in #106

Full Changelog: v0.15.0...v0.16.0

v0.15.0

23 Jun 05:04
fad2134
Compare
Choose a tag to compare

What's Changed

  • feat: Copy messages by @sunng87 in #91
  • chore(deps): update x509-certificate requirement from 0.19 to 0.20 by @dependabot in #92
  • chore(deps): update datafusion requirement from 25 to 26 by @dependabot in #93
  • refactor: make QueryParser async by @sunng87 in #96

Full Changelog: v0.14.1...v0.15.0

v0.14.1

01 Jun 03:34
9d00ff4
Compare
Choose a tag to compare

What's Changed

  • chore(deps): update datafusion requirement from 23 to 24 by @dependabot in #85
  • chore(deps): update sqlparser requirement from 0.33 to 0.34 by @dependabot in #87
  • chore(deps): update datafusion requirement from 24 to 25 by @dependabot in #88
  • fix: correct how we handle ready_for_query and sync by @sunng87 in #90

Full Changelog: v0.14.0...v0.14.1

v0.14.0

17 May 06:02
65367d4
Compare
Choose a tag to compare

#[0.14.0] - 2023-05-04

Added

  • Exposed send_describe_response and send_execution_response as helper functions for custom ExtendedQueryHandler implementation.

Changed

  • tcp_nodelay is turned on by default within pgwire for performance consideration.
  • Changed getters of QueryResponse to return owned data.

v0.13.0

09 Apr 12:42
aaa0bef
Compare
Choose a tag to compare

[0.13.0] - 2023-04-08

Added

  • Message NoData that sends from backend when Describe sent on an empty
    query.
  • Add EmptyQuery to Response enum to represent response for empty query.
  • Add no_data constructor to DescribeResponse for empty query.

Changed

  • Improved empty query check for SimpleQueryHandler. #75

v0.12.0

26 Mar 07:50
b823cba
Compare
Choose a tag to compare

[0.12.0] - 2023-03-26

Added

  • ToSqlText trait and default implementation for some types. This trait is
    similar to ToSql from postgres-types package. It provide text format
    encoding while ToSql are binary by default.

Changed

  • Updated DataRowEncoder encode API with unified encode_field for both
    binary and text encoding. DataRowEncoder::new now accepts
    Arc<Vec<FieldInfo>> instead of column count. The encoder now has type and
    format information for each column. encode_field no longer requires Type
    and FieldFormat. A new encode_field_with_type_and_format is provided for
    custom use-case.
  • Updated do_describe API from ExtendedQueryHandler to include full
    information about requested Statement or Portal.
  • query_response function is replaced by QueryResponse::new

v0.11.1

26 Feb 13:12
834611c
Compare
Choose a tag to compare

Further improve extended query support. Now the server can respond statement
describe correctly.

Added

  • Add some docs.
  • Add integer_datetimes parameter on startup so clients like jdbc will parse
    time types as integer.
  • DescribeResponse that contains information for both ParameterDescription
    and RowDescription.

Changed

  • Update do_describe of ExtendedQueryHandler. Add new bool argument
    inference_parameters to check if parameter types from statement is required
    to return.
  • Updated resultset Response::QueryResponse lifetime from 'static to portal
    or query string, this allows reference of portal in stream.

Fixed

  • The default implementation of ExtendedQueryHandler now correctly responds
    Close message with CloseComplete
  • Correct SCRAM mechanism name in plain connection

v0.9.0

01 Feb 09:13
3c7a43b
Compare
Choose a tag to compare

[0.9.0] - 2023-02-01

Changed

  • Updated QueryParser API to provide parameter types for implementation.
  • Updated Portal API, it now holds Arc reference to related
    StoredStatement.
  • Updated ExtendedQueryHandler::do_describe arguments, it now takes a borrowed
    StoredStatement. Compared to previews API, parameter types are provided as
    well.
  • Renamed StoredStatement::type_oids() to parameter_types()