Skip to content

Commit 762fec6

Browse files
authored
Merge pull request #34 from wangfenjin/v0.3.2
upgrade to 0.3.2
2 parents 861d519 + b7ccc9f commit 762fec6

13 files changed

+70446
-41761
lines changed

.github/workflows/rust.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- run: cargo fmt --all -- --check
3939
- name: Download DuckDB
4040
run: |
41-
wget https://github.com/duckdb/duckdb/releases/download/v0.3.1/libduckdb-linux-amd64.zip -O libduckdb.zip
41+
wget https://github.com/duckdb/duckdb/releases/download/v0.3.2/libduckdb-linux-amd64.zip -O libduckdb.zip
4242
unzip libduckdb.zip -d libduckdb
4343
# - run: cargo clippy --all-targets --workspace --features bundled --features modern-full -- -D warnings -A clippy::redundant-closure
4444
- run: cargo clippy --all-targets --workspace --features buildtime_bindgen --features modern-full -- -D warnings -A clippy::redundant-closure

CONTRIBUTING.md

+12
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,15 @@ Detect memory leaks:
8484
cd ~/github/duckdb-rs
8585
ASAN_OPTIONS=detect_leaks=1 ASAN_SYMBOLIZER_PATH=/usr/local/opt/llvm/bin/llvm-symbolizer cargo test --features bundled -- --nocapture
8686
```
87+
88+
### Update to new version
89+
90+
Everytime duckdb release to a new version, we also need to release a new version.
91+
92+
We can use the scripts to do the upgrades:
93+
```shell
94+
./upgrade.sh
95+
```
96+
Which use sed to update the version number and then call `./libduckdb-sys/upgrade.sh` to generated new bindings.
97+
98+
We may need to fix any error as duckdb's c-api may have breaking changes occasionally.

Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "duckdb"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
authors = ["wangfenjin <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
description = "Ergonomic wrapper for DuckDB"
77
repository = "https://github.com/wangfenjin/duckdb-rs"
88
homepage = "https://github.com/wangfenjin/duckdb-rs"
@@ -68,7 +68,7 @@ tempdir = "0.3.7"
6868

6969
[dependencies.libduckdb-sys]
7070
path = "libduckdb-sys"
71-
version = "0.3.1"
71+
version = "0.3.2"
7272

7373
[package.metadata.docs.rs]
7474
features = []

libduckdb-sys/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "libduckdb-sys"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
authors = ["wangfenjin <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
build = "build.rs"
77
license = "MIT"
88
repository = "https://github.com/wangfenjin/duckdb-rs"

0 commit comments

Comments
 (0)