File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Release notes for the Secret Toolkit
2
2
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 ) .
4
20
5
21
## secret-toolkit-incubator v0.3.1
6
22
* Fixed compilation issue with Rust v1.61 (#46 , #48 )
You can’t perform that action at this time.
0 commit comments