Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 40 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,69 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- insertion marker -->
## [v0.4.0](https://github.com/datafuselabs/opensrv/releases/tag/v0.4.0) - 2023-04-09

<small>[Compare with v0.3.0](https://github.com/datafuselabs/opensrv/compare/v0.3.0...v0.4.0)</small>

### Features

- add marashal/unmarshal support for large size integer types. (#45) ([a97d750](https://github.com/datafuselabs/opensrv/commit/a97d75058baf4fc20031b1c9668ff94e7e4e542e) by RinChanNOW).
- make version() return &str to String ([a6d29b1](https://github.com/datafuselabs/opensrv/commit/a6d29b1cd3c6b43f6c0eef10fd2e9ad30635ec51) by arthur-zhang).
- add option to reject connection when dbname absence in login (#38) ([b44c9d1](https://github.com/datafuselabs/opensrv/commit/b44c9d1360da297b305abf33aecfa94888e1554c) by Ning Sun).
- packet reader reduce bytes resize times ([32af58d](https://github.com/datafuselabs/opensrv/commit/32af58dd9fd9be66c39dd0728142d78e831f6fb6) by baishen).

### Bug Fixes

- corrupt tls handshake caused by buffer over read (#39) ([4f6400c](https://github.com/datafuselabs/opensrv/commit/4f6400cab379bce3b0b35b6753e7cdc6a8d50a8b) by Ning Sun).
- make clippy happy (#41) ([564e62e](https://github.com/datafuselabs/opensrv/commit/564e62e34cd4b06a7c75a47cac271c17637401b0) by Chojan Shang).

## [v0.3.0](https://github.com/datafuselabs/opensrv/releases/tag/v0.3.0) - 2022-11-26

<small>[Compare with v0.2.0](https://github.com/datafuselabs/opensrv/compare/v0.2.0...v0.3.0)</small>

### Features
- Add tls support for opensrv-mysql (#34) ([3a984ec](https://github.com/datafuselabs/opensrv/commit/3a984ec1b4046d9b2b8da58abfe5d8921715ddeb) by SSebo).
- Bump main deps (#33) ([1b3e11d](https://github.com/datafuselabs/opensrv/commit/1b3e11d73bd5f0fcad1401df1620b3bbb5b7a0f6) by Chojan Shang).
- Bump version to 0.2.1 ([0f488d0](https://github.com/datafuselabs/opensrv/commit/0f488d0041f4979f88ace93b3ce41b72713f93f0) by sundyli).
- Remove unused clippy ([161b5a9](https://github.com/datafuselabs/opensrv/commit/161b5a97e435aefecd2877c894e20e422aa39de9) by sundyli).
- Add orderfloat ([c875ddd](https://github.com/datafuselabs/opensrv/commit/c875ddd29051c3a62462a96caba3eb9792335149) by sundyli).

- add tls support for opensrv-mysql (#34) ([3a984ec](https://github.com/datafuselabs/opensrv/commit/3a984ec1b4046d9b2b8da58abfe5d8921715ddeb) by SSebo).
- bump main deps (#33) ([1b3e11d](https://github.com/datafuselabs/opensrv/commit/1b3e11d73bd5f0fcad1401df1620b3bbb5b7a0f6) by Chojan Shang).
- bump version to 0.2.1 ([0f488d0](https://github.com/datafuselabs/opensrv/commit/0f488d0041f4979f88ace93b3ce41b72713f93f0) by sundyli).
- remove unused clippy ([161b5a9](https://github.com/datafuselabs/opensrv/commit/161b5a97e435aefecd2877c894e20e422aa39de9) by sundyli).
- add orderfloat ([c875ddd](https://github.com/datafuselabs/opensrv/commit/c875ddd29051c3a62462a96caba3eb9792335149) by sundyli).

## [v0.2.0](https://github.com/datafuselabs/opensrv/releases/tag/v0.2.0) - 2022-08-17

<small>[Compare with v0.1.0](https://github.com/datafuselabs/opensrv/compare/v0.1.0...v0.2.0)</small>

### Code Refactoring
- Write mysql resultset in a streaming way (#27) ([1287c32](https://github.com/datafuselabs/opensrv/commit/1287c32cec4242fa2a440e1a9b7ffeab63ea76a8) by dantengsky).

### Features
- Implement proposal simplify clickhousesession (#26) ([a757e28](https://github.com/datafuselabs/opensrv/commit/a757e286f49ca3653ff3b972615842fb34f98297) by Xuanwo).

- Implement proposal Simplify ClickHouseSession (#26) ([a757e28](https://github.com/datafuselabs/opensrv/commit/a757e286f49ca3653ff3b972615842fb34f98297) by Xuanwo).

### Code Refactoring

- write mysql resultset in a streaming way (#27) ([1287c32](https://github.com/datafuselabs/opensrv/commit/1287c32cec4242fa2a440e1a9b7ffeab63ea76a8) by dantengsky).

## [v0.1.0](https://github.com/datafuselabs/opensrv/releases/tag/v0.1.0) - 2022-06-14

<small>[Compare with first commit](https://github.com/datafuselabs/opensrv/compare/eff4ec6872504b271b93b1c61a223f9386a29e47...v0.1.0)</small>

### Features

- add a new marshal mod from databend's common-io (#20) ([d29655a](https://github.com/datafuselabs/opensrv/commit/d29655a73ed26d94733861de83fa764e29ad2f78) by Chojan Shang).
- datafuse-extras/msql-srv -> opensrv-mysql (#3) ([86d1be8](https://github.com/datafuselabs/opensrv/commit/86d1be8bf56dcc5be18d49340041b4c57de3a29f) by Chojan Shang).
- common/clickhouse-srv -> opensrv-clickhouse (#1) ([183b728](https://github.com/datafuselabs/opensrv/commit/183b7281ca014033d70616ecab1046df5000fa9c) by Chojan Shang).

### Bug Fixes
- Spawn to fix sync tests (#17) ([54638ee](https://github.com/datafuselabs/opensrv/commit/54638ee8b5abb12aa8c0f63469ce78a900223c0a) by Chojan Shang).
- Pass federated query ([967477f](https://github.com/datafuselabs/opensrv/commit/967477f1f7005f8911a7d6c38cefbba4edd755ad) by zhang2014).
- Add init schema handle on handshake (#11) ([e744427](https://github.com/datafuselabs/opensrv/commit/e744427ebce9271289e47d655f1223790aae7482) by Jun).
- Make authenticate async to fix hang issue (#10) ([9690be9](https://github.com/datafuselabs/opensrv/commit/9690be9ff965c0e86e1ff599897c2019b0a379bd) by Chojan Shang).

### Code Refactoring
- Make auth_plugin_for_username async (#15) ([4e447f8](https://github.com/datafuselabs/opensrv/commit/4e447f8e64619b78c84c2c10f87574b1ae64a5ca) by Yang Xiufeng).
- spawn to fix sync tests (#17) ([54638ee](https://github.com/datafuselabs/opensrv/commit/54638ee8b5abb12aa8c0f63469ce78a900223c0a) by Chojan Shang).
- pass federated query ([967477f](https://github.com/datafuselabs/opensrv/commit/967477f1f7005f8911a7d6c38cefbba4edd755ad) by zhang2014).
- add init schema handle on handshake (#11) ([e744427](https://github.com/datafuselabs/opensrv/commit/e744427ebce9271289e47d655f1223790aae7482) by Jun).
- make authenticate async to fix hang issue (#10) ([9690be9](https://github.com/datafuselabs/opensrv/commit/9690be9ff965c0e86e1ff599897c2019b0a379bd) by Chojan Shang).

### Features
- Add a new marshal mod from databend's common-io (#20) ([d29655a](https://github.com/datafuselabs/opensrv/commit/d29655a73ed26d94733861de83fa764e29ad2f78) by Chojan Shang).
- Datafuse-extras/msql-srv -> opensrv-mysql (#3) ([86d1be8](https://github.com/datafuselabs/opensrv/commit/86d1be8bf56dcc5be18d49340041b4c57de3a29f) by Chojan Shang).
- Common/clickhouse-srv -> opensrv-clickhouse (#1) ([183b728](https://github.com/datafuselabs/opensrv/commit/183b7281ca014033d70616ecab1046df5000fa9c) by Chojan Shang).
### Code Refactoring

- make auth_plugin_for_username async (#15) ([4e447f8](https://github.com/datafuselabs/opensrv/commit/4e447f8e64619b78c84c2c10f87574b1ae64a5ca) by Yang Xiufeng).

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ For changelog:

```
pip install git-changelog
git-changelog -o CHANGELOG.md -s angular -t keepachangelog .
git-changelog -o CHANGELOG.md -c angular -t keepachangelog .
```
4 changes: 2 additions & 2 deletions clickhouse/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opensrv-clickhouse"
version = "0.3.0"
version = "0.4.0"
authors = ["Databend Authors <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -26,7 +26,7 @@ chrono-tz = "0.8.0"
combine = "4.6.3"
hostname = "0.3.1"
lz4 = "1.23.2"
micromarshal = { version = "0.3.0" , path = "../components/micromarshal"}
micromarshal = { version = "0.4.0", path = "../components/micromarshal" }
naive-cityhash = "0.2.0"
once_cell = "1.9.0"
thiserror = "1.0.30"
Expand Down
3 changes: 1 addition & 2 deletions components/micromarshal/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "micromarshal"
version = "0.3.0"
version = "0.4.0"
authors = ["Databend Authors <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -15,7 +15,6 @@ keywords = ["marshal", "read", "decode"]
[lib]
doctest = false


[dependencies]
ordered-float = "3.1.0"
ethnum = "1.3"
Expand Down
4 changes: 2 additions & 2 deletions mysql/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "opensrv-mysql"
version = "0.3.0"
version = "0.4.0"
authors = ["Databend Authors <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand All @@ -21,7 +21,7 @@ tls = ["tokio-rustls", "pin-project-lite"]
async-trait = "0.1.52"
byteorder = "1.4.3"
chrono = "0.4.20"
mysql_common = { version = "0.29.0", features = ["chrono"] }
mysql_common = { version = "0.30.0", features = ["chrono"] }
nom = "7.1.0"
tokio = { version = "1.17.0", features = ["io-util", "io-std"] }
tokio-rustls = { version = "0.24", optional = true }
Expand Down