Skip to content

Commit 5690a72

Browse files
committed
updated Releases.md for v0.4.0
1 parent 047e2b7 commit 5690a72

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

Releases.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
# Release notes for the Secret Toolkit
22

3-
## Next Release
3+
## v0.4.0
4+
This release mostly includes the work of @srdtrk in #53. Thanks Srdtrk!
5+
6+
It revamps the `secret-toolkit-storage` package to make it more similar to `cw-storage-plus` and much easier
7+
to use. It also removes the `Cashmap` type from the incubator in favor of `KeyMap` in `secret-toolkit-storage`.
8+
9+
This is a summary of the changes and additions in this release:
10+
* Minimum Rust version is bumped to the latest v1.63. This is because we want to use `Mutex::new` in a `const fn`.
11+
* No more distinction between `Readonly*` and `*Mut` types. Instead, methods take references or mutable references to the storage every time.
12+
* Usage of `PrefixedStore` is made mostly unnecessary.
13+
* Storage type's constructors are const functions, which means they can be initialized as global static variables.
14+
* Added `secret-toolkit::storage::Item` which is similar to `Item` from `cw-storage-plus` or `TypedStore` from `cosmwasm_storage` v0.10.
15+
* Added `secret-toolkit::storage::KeyMap` which is similar to `Cashmap`.
16+
* `Cashmap` is completely removed.
17+
18+
A full guide to using the new `storage` types can be found
19+
[in the package's readme file](https://github.com/srdtrk/secret-toolkit/blob/3725530aebe149d14f7f3f1662844340eb27e015/packages/storage/Readme.md).
420

521
## secret-toolkit-incubator v0.3.1
622
* Fixed compilation issue with Rust v1.61 (#46, #48)

0 commit comments

Comments
 (0)