Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump versions & write CHANGELOGs #379

Merged
merged 1 commit into from
Dec 6, 2023
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
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.25"
version = "0.1.26"
description = "WNFS Benchmarks"
publish = false
edition = "2021"
Expand Down
9 changes: 9 additions & 0 deletions wnfs-common/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.1.26 (2023-12-06)

* Removed `AsyncSerialize` and `RemembersCid` traits.
* Added `Storable`, `StoreIpld` and `LoadIpld` traits.
* Removed `BlockStore::store_async_serializable`. Use `Storable::store` instead.

These traits allow the `Link` type to be used with data that doesn't necessarily encode as `dag-cbor`, such as `UnixFS` files, which encode as `dag-pb`.
For details see [#378](https://github.com/wnfs-wg/rs-wnfs/pull/378).

## 0.1.25 (2023-09-04)

* Small documentation improvements
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.25"
version = "0.1.26"
description = "Common types for the Webnative Filesystem"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down
7 changes: 5 additions & 2 deletions wnfs-hamt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Changelog

## Unreleased
## 0.1.26 (2023-12-06)

* Remove `TryFrom<Ipld>` instances for `Hamt`, `Node` and `Pointer` and instead refactor handling of serialization internally.
* Refactored the API to use a `Storable` trait instead of `AsyncSerialize` ([#378](https://github.com/wnfs-wg/rs-wnfs/pull/378))
This enables writing non-dag-cbor data, such as UnixFS files to WNFS, which powers the new file writing features.
As part of that `TryFrom<Ipld>` instances were removed for `Hamt`, `Node` and `Pointer` and instead these use `Storable` and `HamtSerializable`, `NodeSerializable` and `PointerSerializable` structs.
This also enables using `Node` in a nested way such as `Node<String, Node<String, String>>`.

## 0.1.25 (2023-09-04)

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.25"
version = "0.1.26"
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.25" }
wnfs-common = { path = "../wnfs-common", version = "=0.1.26" }

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

## 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)).
Every type now has a `<B: Big>` type parameter, where `Big` is a trait that abstracts over integer operations.
By default `B` is set to the `DefaultBig` backend, which is based on either `num-bigint-dig` (enabled by default) or `rug` (enabled with the `rug` feature).
* Modified all use of integer serialization to use big-endian, to reduce room for error and match specification plans (see [#76](https://github.com/wnfs-wg/spec/pull/76) in the spec).

## [0.1.25](https://github.com/wnfs-wg/rs-wnfs/compare/wnfs-nameaccumulator-v0.1.24...wnfs-nameaccumulator-v0.1.25) (2023-08-30)


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.25"
version = "0.1.26"
description = "Cryptographic accumulators for the Webnative Filesystem"
keywords = ["wnfs", "webnative", "ipfs", "decentralisation"]
categories = [
Expand Down Expand Up @@ -30,7 +30,7 @@ rug = { version = "1.22", 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.25" }
wnfs-common = { path = "../wnfs-common", version = "=0.1.26" }
zeroize = "1.6"

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

## 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.25"
version = "0.1.1"
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.25" }
wnfs-common = { path = "../wnfs-common", version = "=0.1.26" }

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

## 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))

## 0.1.26 (2023-09-10)

* Bumped wnfs dependency from 0.1.25 to 0.1.26
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.27"
version = "0.1.28"
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.26" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.1.25" }
wnfs = { path = "../wnfs", version = "=0.1.27" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.1.26" }

[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.27",
"version": "0.1.28",
"license": "Apache-2.0",
"homepage": "https://fission.codes",
"repository": {
Expand Down
11 changes: 11 additions & 0 deletions wnfs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 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))
For any `wasm32` target, this still falls back to `Rc` via conditional compilation.
* `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))
This supports chunking huge files, streaming files without needing to have the file in-memory all at once and reading files at offsets.
* Refactored the API to use a `Storable` trait instead of `AsyncSerialize` ([#378](https://github.com/wnfs-wg/rs-wnfs/pull/378))
This enables writing non-dag-cbor data, such as UnixFS files to WNFS, which powers the new file writing features.
* WNFS can now make use of a new integer math backend based on `rug`, which is based on GMP ([#373](https://github.com/wnfs-wg/rs-wnfs/pull/373))
This backend is ~2x faster for pure nameaccumulator operations, but only available in native code, not in Wasm.

## 0.1.26 (2023-09-04)

* Added `PrivateForestContent` API for storing encrypted data in private file metadata
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.26"
version = "0.1.27"
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.25" }
wnfs-hamt = { path = "../wnfs-hamt", version = "=0.1.25" }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.1.25" }
wnfs-unixfs-file = { path = "../wnfs-unixfs-file", version = "=0.1.25" }
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" }

[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.25", default-features = false, features = ["rug"] }
wnfs-nameaccumulator = { path = "../wnfs-nameaccumulator", version = "=0.1.26", default-features = false, features = ["rug"] }

[lib]
name = "wnfs"
Expand Down
Loading