diff --git a/CHANGELOG.md b/CHANGELOG.md index acd52cc4..17c648ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # ØKP4 contracts +## [3.0.0](https://github.com/okp4/contracts/compare/v2.1.0...v3.0.0) (2023-09-28) + + +### ⚠ BREAKING CHANGES + +* **cognitarium:** make delete triples optional and enforce where clause + +### Features + +* **cognitarium:** implement DeleteData message ([758c172](https://github.com/okp4/contracts/commit/758c172f6cb4c1cb88e5b73f6d37ee4c5b9d98dd)) +* **cognitarium:** specify construction query ([111a73c](https://github.com/okp4/contracts/commit/111a73c9039572ebf78b6b0d88535625c777a03c)) +* **cognitarium:** support 'delete where {}' form ([3f2f9a0](https://github.com/okp4/contracts/commit/3f2f9a05c9526778da0ce552fd370a6f2ada5528)) +* **docs:** use fadroma-schema to generate docs ([ae792e0](https://github.com/okp4/contracts/commit/ae792e02957da0cefbade4aa4e6565b1c602b860)) +* **objectarium:** add lzma compression algorithm ([b3392f7](https://github.com/okp4/contracts/commit/b3392f7f1dfd1f73969f765e02248dab8e1cbd4c)) + + +### Bug Fixes + +* **cognitarium:** decrease the store byte size upon deletion ([74c9461](https://github.com/okp4/contracts/commit/74c9461b25f1125b6384df8a3e3a142ce31c1d68)) +* **cognitarium:** do not count existing triples on insert ([b490f23](https://github.com/okp4/contracts/commit/b490f23342e7e71b5271b5d26e505842ed208ea3)) +* **cognitarium:** fix compilation issue ([296c61a](https://github.com/okp4/contracts/commit/296c61ae600cc561aa4b0dbedcc508f09100e170)) +* **cognitarium:** fix incorrect variable resolution on delete ([76abfcd](https://github.com/okp4/contracts/commit/76abfcd964106ef33c2cc90c4e418ca97c6a0ac5)) +* **cognitarium:** make successive store engine calls safe ([0fe529b](https://github.com/okp4/contracts/commit/0fe529b92d6aa1a640c2e50f2a701c62a85a3275)) +* **cognitarium:** update ns ref count on triple deletion ([8ad0144](https://github.com/okp4/contracts/commit/8ad01447288c7a827fd70a6e959d3e542b8c55c3)) +* **docs:** use fixed version of fadroma/schema ([bda29c7](https://github.com/okp4/contracts/commit/bda29c762b43604ad3e15930803473fa541d0568)) + + +### Code Refactoring + +* **cognitarium:** make delete triples optional and enforce where clause ([5ce531b](https://github.com/okp4/contracts/commit/5ce531b66dc6f14c594dfdf551b65360e5b6f700)) + ## [2.1.0](https://github.com/okp4/contracts/compare/v2.0.0...v2.1.0) (2023-06-27) diff --git a/Cargo.lock b/Cargo.lock index 21e218a9..d624c80d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -719,7 +719,7 @@ checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" [[package]] name = "okp4-cognitarium" -version = "2.1.0" +version = "3.0.0" dependencies = [ "base64", "blake3", @@ -740,7 +740,7 @@ dependencies = [ [[package]] name = "okp4-law-stone" -version = "2.1.0" +version = "3.0.0" dependencies = [ "cosmwasm-schema", "cosmwasm-std", @@ -761,7 +761,7 @@ dependencies = [ [[package]] name = "okp4-logic-bindings" -version = "2.1.0" +version = "3.0.0" dependencies = [ "cosmwasm-std", "form_urlencoded", @@ -774,7 +774,7 @@ dependencies = [ [[package]] name = "okp4-objectarium" -version = "2.1.0" +version = "3.0.0" dependencies = [ "base16ct", "base64", @@ -799,7 +799,7 @@ dependencies = [ [[package]] name = "okp4-objectarium-client" -version = "2.1.0" +version = "3.0.0" dependencies = [ "cosmwasm-std", "okp4-logic-bindings", diff --git a/contracts/okp4-cognitarium/Cargo.toml b/contracts/okp4-cognitarium/Cargo.toml index 2060c2bf..22a6bb20 100644 --- a/contracts/okp4-cognitarium/Cargo.toml +++ b/contracts/okp4-cognitarium/Cargo.toml @@ -3,7 +3,7 @@ authors = ["OKP4"] edition = "2021" name = "okp4-cognitarium" rust-version = "1.69" -version = "2.1.0" +version = "3.0.0" exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. diff --git a/contracts/okp4-law-stone/Cargo.toml b/contracts/okp4-law-stone/Cargo.toml index 8c2f778f..883f4eb4 100644 --- a/contracts/okp4-law-stone/Cargo.toml +++ b/contracts/okp4-law-stone/Cargo.toml @@ -3,7 +3,7 @@ authors = ["OKP4"] edition = "2021" name = "okp4-law-stone" rust-version = "1.69" -version = "2.1.0" +version = "3.0.0" exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. diff --git a/contracts/okp4-objectarium/Cargo.toml b/contracts/okp4-objectarium/Cargo.toml index 2bcff6db..aa381da5 100644 --- a/contracts/okp4-objectarium/Cargo.toml +++ b/contracts/okp4-objectarium/Cargo.toml @@ -3,7 +3,7 @@ authors = ["OKP4"] edition = "2021" name = "okp4-objectarium" rust-version = "1.69" -version = "2.1.0" +version = "3.0.0" exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. diff --git a/docs/okp4-cognitarium.md b/docs/okp4-cognitarium.md index 9915ffbe..31d762dc 100644 --- a/docs/okp4-cognitarium.md +++ b/docs/okp4-cognitarium.md @@ -478,4 +478,4 @@ Represents a condition in a [WhereClause]. --- -*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-cognitarium.json` (`f3c6fe24ffc06133`)* \ No newline at end of file +*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-cognitarium.json` (`0b746186a6e8df78`)* \ No newline at end of file diff --git a/docs/okp4-law-stone.md b/docs/okp4-law-stone.md index 085b88f5..d1a628a8 100644 --- a/docs/okp4-law-stone.md +++ b/docs/okp4-law-stone.md @@ -126,4 +126,4 @@ A string containing Base64-encoded data. --- -*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-law-stone.json` (`d2b5da624dff3dad`)* \ No newline at end of file +*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-law-stone.json` (`023b72150b485c6b`)* \ No newline at end of file diff --git a/docs/okp4-objectarium.md b/docs/okp4-objectarium.md index c64eceb6..afd8b3e3 100644 --- a/docs/okp4-objectarium.md +++ b/docs/okp4-objectarium.md @@ -516,4 +516,4 @@ A string containing a 128-bit integer in decimal representation. --- -*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-objectarium.json` (`c9bbaeefb8b85833`)* \ No newline at end of file +*Rendered by [Fadroma](https://fadroma.tech) ([@fadroma/schema 1.1.0](https://www.npmjs.com/package/@fadroma/schema)) from `okp4-objectarium.json` (`51f0131cd7a4ebf9`)* \ No newline at end of file diff --git a/packages/okp4-logic-bindings/Cargo.toml b/packages/okp4-logic-bindings/Cargo.toml index 61326a4d..7ad900dc 100644 --- a/packages/okp4-logic-bindings/Cargo.toml +++ b/packages/okp4-logic-bindings/Cargo.toml @@ -2,7 +2,7 @@ authors = ["OKP4"] edition = "2021" name = "okp4-logic-bindings" -version = "2.1.0" +version = "3.0.0" [dependencies] cosmwasm-std.workspace = true diff --git a/packages/okp4-objectarium-client/Cargo.toml b/packages/okp4-objectarium-client/Cargo.toml index db353556..162a658f 100644 --- a/packages/okp4-objectarium-client/Cargo.toml +++ b/packages/okp4-objectarium-client/Cargo.toml @@ -2,7 +2,7 @@ authors = ["OKP4"] edition = "2021" name = "okp4-objectarium-client" -version = "2.1.0" +version = "3.0.0" [dependencies] cosmwasm-std.workspace = true