Skip to content

Commit

Permalink
chore: Release version 0.2.0 (#403)
Browse files Browse the repository at this point in the history
* chore: Run CI with our MSRV

* chore: Write CHANGELOGs and bump to 0.2.0
  • Loading branch information
matheus23 authored Feb 15, 2024
1 parent 3eaee3c commit 4914e8f
Show file tree
Hide file tree
Showing 15 changed files with 72 additions and 21 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
fail-fast: false
matrix:
rust-toolchain:
- stable
- 1.75
- nightly
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
fail-fast: false
matrix:
rust-toolchain:
- stable
- 1.75
- nightly
steps:
- name: Checkout Repository
Expand All @@ -91,7 +91,7 @@ jobs:
fail-fast: false
matrix:
rust-toolchain:
- stable
- 1.75
- nightly

runs-on: macos-latest
Expand Down
2 changes: 1 addition & 1 deletion wnfs-bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-bench"
version = "0.1.26"
version = "0.2.0"
description = "WNFS Benchmarks"
publish = false
edition = "2021"
Expand Down
13 changes: 13 additions & 0 deletions wnfs-common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 0.2.0 (2024-02-15)

* Bumped minimal supported rust version to 1.75
* Moved all traits to use the new ["return position impl trait in trait" feature](https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html)
* Added two functions to `BlockStore` trait:
- `has_block` for finding out if a blockstore has a block available locally
- `put_block_keyed` for adding a block to the blockstore with a pre-computed CID
* Added a default implementation for `BlockStore::put_block` utilizing `put_block_keyed` and `create_cid`
* Removed `put_serializable` and `get_serializable` functions from `BlockStore`. Use `Storable::store` and `Storable::load` instead.
* Made all `Result`s in `BlockStore` use `BlockStoreError` as error type instead of `anyhow::Error`
* Expose a blanket implementation of `BlockStore` for any `&impl BlockStore` or `Box<impl BlockStore>`
* Evolve `BlockStore` trait ([#402](https://github.com/wnfs-wg/rs-wnfs/pull/402))

## 0.1.26 (2023-12-06)

* Removed `AsyncSerialize` and `RemembersCid` traits.
Expand Down
2 changes: 1 addition & 1 deletion wnfs-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-common"
version = "0.1.26"
version = "0.2.0"
description = "Common types for the Webnative Filesystem"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down
7 changes: 7 additions & 0 deletions wnfs-hamt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.2.0 (2024-02-15)

* Bumped minimal supported rust version to 1.75
* Moved all traits to use the new ["return position impl trait in trait" feature](https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html)
* Update to new `BlockStore` trait from wnfs-common
* Evolve `BlockStore` trait ([#402](https://github.com/wnfs-wg/rs-wnfs/pull/402))

## 0.1.26 (2023-12-06)

* Refactored the API to use a `Storable` trait instead of `AsyncSerialize` ([#378](https://github.com/wnfs-wg/rs-wnfs/pull/378))
Expand Down
4 changes: 2 additions & 2 deletions wnfs-hamt/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-hamt"
version = "0.1.26"
version = "0.2.0"
description = "IPLD HAMT implementation for Webnative Filesystem"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down Expand Up @@ -40,7 +40,7 @@ serde_bytes = "0.11.12"
serde_ipld_dagcbor = "0.4.2"
testresult = "0.3.0"
thiserror = "1.0"
wnfs-common = { path = "../wnfs-common", version = "=0.1.26" }
wnfs-common = { path = "../wnfs-common", version = "=0.2.0" }

[dev-dependencies]
async-std = { version = "1.11", features = ["attributes"] }
Expand Down
8 changes: 8 additions & 0 deletions wnfs-nameaccumulator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.2.0 (2024-02-15)

* Bumped minimal supported rust version to 1.75
* Moved all traits to use the new ["return position impl trait in trait" feature](https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html)
* Update to new wnfs-common `BlockStore` trait
* Update rug version to `1.24` and make encoding big integers more efficient
* Evolve `BlockStore` trait ([#402](https://github.com/wnfs-wg/rs-wnfs/pull/402))

## 0.1.26 (2023-12-06)

* Abstracted out the integer library used to support multiple backends ([#373](https://github.com/wnfs-wg/rs-wnfs/pull/373)).
Expand Down
4 changes: 2 additions & 2 deletions wnfs-nameaccumulator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-nameaccumulator"
version = "0.1.26"
version = "0.2.0"
description = "Cryptographic accumulators for the Webnative Filesystem"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down Expand Up @@ -29,7 +29,7 @@ rug = { version = "1.24", optional = true, default-features = false, features =
serde = { version = "1.0", features = ["rc"] }
serde_bytes = "0.11.9"
thiserror = "1.0"
wnfs-common = { path = "../wnfs-common", version = "=0.1.26" }
wnfs-common = { path = "../wnfs-common", version = "=0.2.0" }
zeroize = "1.6"

[dev-dependencies]
Expand Down
7 changes: 7 additions & 0 deletions wnfs-unixfs-file/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.2.0 (2024-02-15)

* Bumped minimal supported rust version to 1.75
* Moved all traits to use the new ["return position impl trait in trait" feature](https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html)
* Update to new `BlockStore` trait from wnfs-common
* Evolve `BlockStore` trait ([#402](https://github.com/wnfs-wg/rs-wnfs/pull/402))

## 0.1.27 (2023-12-06)

* Initial version
4 changes: 2 additions & 2 deletions wnfs-unixfs-file/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-unixfs-file"
version = "0.1.1"
version = "0.2.0"
description = "IPLD UnixFS File implementation for Webnative Filesystem"
keywords = ["wnfs", "unixfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down Expand Up @@ -29,7 +29,7 @@ prost = "0.12"
rand_core = "0.6"
testresult = "0.3"
tokio = { version = "1.34", features = ["io-util"] }
wnfs-common = { path = "../wnfs-common", version = "=0.1.26" }
wnfs-common = { path = "../wnfs-common", version = "=0.2.0" }

[dev-dependencies]
async-std = { version = "1.11", features = ["attributes"] }
Expand Down
9 changes: 9 additions & 0 deletions wnfs-wasm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.2.0 (2024-02-15)

* Bumped minimal supported rust version to 1.75
* Updated the typescript type for the `BlockStore` interface to match the new wnfs-common trait
* Evolve `BlockStore` trait ([#402](https://github.com/wnfs-wg/rs-wnfs/pull/402))
* Expose wasm bindings for `Name` ser/de ([#383](https://github.com/wnfs-wg/rs-wnfs/pull/383))
* Match the public and private APIs for content reading ([#386](https://github.com/wnfs-wg/rs-wnfs/pull/386))
* add `get_raw_content_cid` ([#385](https://github.com/wnfs-wg/rs-wnfs/pull/385))

## 0.1.28 (2023-12-06)

* `PublicDirectory` and `PublicFile` now support writing byte-arrays as file contents instead of just CIDs. ([#375](https://github.com/wnfs-wg/rs-wnfs/pull/375) and [#376](https://github.com/wnfs-wg/rs-wnfs/pull/376))
Expand Down
6 changes: 3 additions & 3 deletions wnfs-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs-wasm"
version = "0.1.28"
version = "0.2.0"
description = "WebNative Filesystem API (WebAssembly)"
keywords = ["wnfs", "wasm", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down Expand Up @@ -30,8 +30,8 @@ rand_core = "0.6"
wasm-bindgen = { version = "0.2.87", optional = true, features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4", optional = true }
web-sys = { version = "0.3", optional = true }
wnfs = { path = "../wnfs", version = "=0.1.27" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.1.26" }
wnfs = { path = "../wnfs", version = "=0.2.0" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.2.0" }

[dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down
2 changes: 1 addition & 1 deletion wnfs-wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"The Fission Authors"
],
"description": "WebNative Filesystem API (WebAssembly)",
"version": "0.1.28",
"version": "0.2.0",
"license": "Apache-2.0",
"homepage": "https://fission.codes",
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions wnfs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.2.0 (2024-02-15)

* Bumped minimal supported rust version to 1.75
* Moved all traits to use the new ["return position impl trait in trait" feature](https://blog.rust-lang.org/2023/12/21/async-fn-rpit-in-traits.html)
* Evolve `BlockStore` trait ([#402](https://github.com/wnfs-wg/rs-wnfs/pull/402))
* Match the public and private APIs for content reading ([#386](https://github.com/wnfs-wg/rs-wnfs/pull/386))

## 0.1.27 (2023-12-06)

* Switched from `Rc` to `Arc` and generally enabled rs-wnfs APIs to work in multithreaded contexts ([#366](https://github.com/wnfs-wg/rs-wnfs/pull/366) and #[#372](https://github.com/wnfs-wg/rs-wnfs/pull/372))
Expand Down
12 changes: 6 additions & 6 deletions wnfs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wnfs"
version = "0.1.27"
version = "0.2.0"
description = "WebNative filesystem core implementation"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down Expand Up @@ -45,10 +45,10 @@ skip_ratchet = { version = "0.3", features = ["serde"] }
thiserror = "1.0"
tokio = { version = "1.34", features = ["io-util"] }
tokio-util = { version = "0.7.10", features = ["compat"] }
wnfs-common = { path = "../wnfs-common", version = "=0.1.26" }
wnfs-hamt = { path = "../wnfs-hamt", version = "=0.1.26" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.1.26" }
wnfs-unixfs-file = { path = "../wnfs-unixfs-file", version = "=0.1.1" }
wnfs-common = { path = "../wnfs-common", version = "=0.2.0" }
wnfs-hamt = { path = "../wnfs-hamt", version = "=0.2.0" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.2.0" }
wnfs-unixfs-file = { path = "../wnfs-unixfs-file", version = "=0.2.0" }

[dev-dependencies]
async-std = { version = "1.11", features = ["attributes"] }
Expand All @@ -67,7 +67,7 @@ test-strategy = "0.3"
testresult = "0.3.0"
tiny-bip39 = "1.0"
wnfs-common = { path = "../wnfs-common", features = ["test_utils"] }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.1.26", default-features = false, features = ["rug"] }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", default-features = false, features = ["rug"] }

[lib]
name = "wnfs"
Expand Down

0 comments on commit 4914e8f

Please sign in to comment.