Skip to content

Commit a9c0e85

Browse files
committed
v0.5.4
1 parent 054d0fe commit a9c0e85

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ The format is based on [Keep a Changelog].
44

55
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
66

7-
## [Unreleased]
7+
## [v0.5.4] - 2024-07-12
8+
9+
- Add commit_changes_bytes() method to Db [`#248`](https://github.com/paritytech/parity-db/pull/248)
10+
11+
## [v0.5.3] - 2024-07-12
812

913
- Add `Db::commit_changes_shared` that passes values as `Arc<Vec<u8>>`, potentially without an extra copy.
1014

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "parity-db"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
authors = ["Parity Technologies <[email protected]>"]
55
edition = "2021"
66
license = "MIT OR Apache-2.0"

src/db.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,7 @@ impl Db {
16091609
///
16101610
/// This method passes values as `Arc<Vec<u8>>` potentially eliminating an extra copy.
16111611
#[cfg(feature = "arc")]
1612+
#[deprecated(note = "This method will be removed in future versions. Use `commit_changes_bytes` instead")]
16121613
pub fn commit_changes_shared<I>(&self, tx: I) -> Result<()>
16131614
where
16141615
I: IntoIterator<Item = (ColId, Operation<Vec<u8>, Arc<Vec<u8>>>)>,

0 commit comments

Comments
 (0)