Skip to content

Commit

Permalink
upgrade to 0.3.2
Browse files Browse the repository at this point in the history
Change-Id: I39f0cb4db7982e0c1e0d7c5812c0f955a7929f46
  • Loading branch information
wangfenjin committed Feb 8, 2022
1 parent 861d519 commit b7ccc9f
Show file tree
Hide file tree
Showing 13 changed files with 70,446 additions and 41,761 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- run: cargo fmt --all -- --check
- name: Download DuckDB
run: |
wget https://github.com/duckdb/duckdb/releases/download/v0.3.1/libduckdb-linux-amd64.zip -O libduckdb.zip
wget https://github.com/duckdb/duckdb/releases/download/v0.3.2/libduckdb-linux-amd64.zip -O libduckdb.zip
unzip libduckdb.zip -d libduckdb
# - run: cargo clippy --all-targets --workspace --features bundled --features modern-full -- -D warnings -A clippy::redundant-closure
- run: cargo clippy --all-targets --workspace --features buildtime_bindgen --features modern-full -- -D warnings -A clippy::redundant-closure
Expand Down
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,15 @@ Detect memory leaks:
cd ~/github/duckdb-rs
ASAN_OPTIONS=detect_leaks=1 ASAN_SYMBOLIZER_PATH=/usr/local/opt/llvm/bin/llvm-symbolizer cargo test --features bundled -- --nocapture
```

### Update to new version

Everytime duckdb release to a new version, we also need to release a new version.

We can use the scripts to do the upgrades:
```shell
./upgrade.sh
```
Which use sed to update the version number and then call `./libduckdb-sys/upgrade.sh` to generated new bindings.

We may need to fix any error as duckdb's c-api may have breaking changes occasionally.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "duckdb"
version = "0.3.1"
version = "0.3.2"
authors = ["wangfenjin <[email protected]>"]
edition = "2018"
edition = "2021"
description = "Ergonomic wrapper for DuckDB"
repository = "https://github.com/wangfenjin/duckdb-rs"
homepage = "https://github.com/wangfenjin/duckdb-rs"
Expand Down Expand Up @@ -68,7 +68,7 @@ tempdir = "0.3.7"

[dependencies.libduckdb-sys]
path = "libduckdb-sys"
version = "0.3.1"
version = "0.3.2"

[package.metadata.docs.rs]
features = []
Expand Down
4 changes: 2 additions & 2 deletions libduckdb-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "libduckdb-sys"
version = "0.3.1"
version = "0.3.2"
authors = ["wangfenjin <[email protected]>"]
edition = "2018"
edition = "2021"
build = "build.rs"
license = "MIT"
repository = "https://github.com/wangfenjin/duckdb-rs"
Expand Down
Loading

0 comments on commit b7ccc9f

Please sign in to comment.