Releases: sunng87/pgwire
Releases · sunng87/pgwire
v0.18.0
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
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
- @yuyang-ok made their first contribution in #128
- @xhwhis made their first contribution in #130
Full Changelog: v0.16.1...v0.17.0
v0.16.0
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
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
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
#[0.14.0] - 2023-05-04
Added
- Exposed
send_describe_response
andsend_execution_response
as helper functions for customExtendedQueryHandler
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
[0.13.0] - 2023-04-08
Added
- Message
NoData
that sends from backend whenDescribe
sent on an empty
query. - Add
EmptyQuery
toResponse
enum to represent response for empty query. - Add
no_data
constructor toDescribeResponse
for empty query.
Changed
- Improved empty query check for
SimpleQueryHandler
. #75
v0.12.0
[0.12.0] - 2023-03-26
Added
ToSqlText
trait and default implementation for some types. This trait is
similar toToSql
frompostgres-types
package. It provide text format
encoding whileToSql
are binary by default.
Changed
- Updated
DataRowEncoder
encode API with unifiedencode_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 requiresType
andFieldFormat
. A newencode_field_with_type_and_format
is provided for
custom use-case. - Updated
do_describe
API fromExtendedQueryHandler
to include full
information about requestedStatement
orPortal
. query_response
function is replaced byQueryResponse::new
v0.11.1
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 bothParameterDescription
andRowDescription
.
Changed
- Update
do_describe
ofExtendedQueryHandler
. 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 withCloseComplete
- Correct SCRAM mechanism name in plain connection
v0.9.0
[0.9.0] - 2023-02-01
Changed
- Updated
QueryParser
API to provide parameter types for implementation. - Updated
Portal
API, it now holdsArc
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()
toparameter_types()