Skip to content

Commit

Permalink
Merge pull request #676 from CosmWasm/clarify-storage-plus-readme
Browse files Browse the repository at this point in the history
Clarify the stability of cw-storage-plus, no longer Experimental
  • Loading branch information
ethanfrey authored Mar 10, 2022
2 parents 2fe1f9d + bd11077 commit 5c871af
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/storage-plus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "cw-storage-plus"
version = "0.13.0"
authors = ["Ethan Frey <ethanfrey@users.noreply.github.com>"]
edition = "2018"
description = "Enhanced/experimental storage engines"
description = "Enhanced storage engines"
license = "Apache-2.0"
repository = "https://github.com/CosmWasm/cw-plus"
homepage = "https://cosmwasm.com"
Expand Down
25 changes: 18 additions & 7 deletions packages/storage-plus/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
# CW-Storage-Plus: Enhanced/experimental storage engines for CosmWasm
# CW-Storage-Plus: Enhanced storage engines for CosmWasm

The ideas in here are based on the `cosmwasm-storage` crate. However,
after much usage, we decided a complete rewrite could allow us to add
more powerful and easy to use interfaces. Here are those interfaces.
After building `cosmwasm-storage`, we realized many of the design decisions were
limiting us and producing a lot of needless boilerplate. The decision was made to leave
those APIs stable for anyone wanting a very basic abstraction on the KV-store and to
build a much more powerful and complex ORM layer that can provide powerful accessors
using complex key types, which are transparently turned into bytes.

This led to a number of breaking API changes in this package of the course of several
releases as we updated this with lots of experience, user feedback, and deep dives to harness
the full power of generics.

**Status: beta**

This has been heavily used in many production-quality contracts and
heavily refined. The code has demonstrated itself to be stable and powerful.
Please feel free to use it in your contracts.
As of `cw-storage-plus` `v0.12` the API should be quite stable.
There are no major API breaking issues pending, and all API changes will be documented
in [`MIGRATING.md`](../../MIGRATING.md).

This has been heavily used in many production-quality contracts.
The code has demonstrated itself to be stable and powerful.
It has not been audited, and Confio assumes no liability, but we consider it mature enough
to be the **standard storage layer** for your contracts.

## Usage Overview

Expand Down

0 comments on commit 5c871af

Please sign in to comment.