Skip to content

Commit

Permalink
crux_kv 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
StuartHarris committed May 17, 2024
1 parent 433d350 commit 435a4a5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 28 additions & 3 deletions crux_kv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,33 @@
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
and this project adheres to
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.4.0](https://github.com/redbadger/crux/compare/crux_kv-v0.3.0...crux_kv-v0.4.0) - 2024-05-17

### Breaking Changes

Introduces a `Value` enum, which can be `None` for a key that _doesn't_ exist,
or where there is no `previous_value`. See
https://github.com/redbadger/crux/pull/235.

### Other

- avoid clones of capability
- crux_kv take methods by move
- update API for crux_kv
- relax callback bounds in crux_kv

## [0.3.0](https://github.com/redbadger/crux/compare/crux_kv-v0.2.0...crux_kv-v0.3.0) - 2024-05-15

Hot on the heels of the last release, we've added a an [operation to list keys](https://github.com/redbadger/crux/pull/232), and [improved the app-facing API of crux_kv](https://github.com/redbadger/crux/pull/231). The latter means that there is now a much more idiomatic Rust API for interacting with the key-value store.
Hot on the heels of the last release, we've added a an
[operation to list keys](https://github.com/redbadger/crux/pull/232), and
[improved the app-facing API of crux_kv](https://github.com/redbadger/crux/pull/231).
The latter means that there is now a much more idiomatic Rust API for
interacting with the key-value store.

### Other

Expand All @@ -22,7 +42,12 @@ Hot on the heels of the last release, we've added a an [operation to list keys](

### Breaking Changes

This is a breaking change release. We've added `delete` and `exists` operations and renamed `read` to `get` and `write` to `set`, amongst other renames and type changes. We've also improved error handling and tests. See https://github.com/redbadger/crux/pull/227 for more information. However, there are sadly still no atomic or batch operations, which will follow in a future release.
This is a breaking change release. We've added `delete` and `exists` operations
and renamed `read` to `get` and `write` to `set`, amongst other renames and type
changes. We've also improved error handling and tests. See
https://github.com/redbadger/crux/pull/227 for more information. However, there
are sadly still no atomic or batch operations, which will follow in a future
release.

### Other

Expand Down
2 changes: 1 addition & 1 deletion crux_kv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "crux_kv"
description = "Key-Value capability for use with crux_core"
version = "0.3.0"
version = "0.4.0"
readme = "README.md"
authors.workspace = true
repository.workspace = true
Expand Down

0 comments on commit 435a4a5

Please sign in to comment.