Skip to content

Latest commit

 

History

History
452 lines (370 loc) · 50.8 KB

CHANGELOG.md

File metadata and controls

452 lines (370 loc) · 50.8 KB

AXONE contracts

6.0.0 (2024-08-02)

⚠ BREAKING CHANGES

  • dataverse: change RdfFormat to RdfDatasetFormat
  • law-stone: ensure only the creator can break the stone (was admin)
  • renaming: rebrand from okp4 to axone
  • objectarium: avoid failing on already stored object

Features

  • cognitarium: do not allow funds on instantiate (035e8a6)
  • cognitarium: prevent contract execution with funds (9ea2c50)
  • dataverse: do not allow funds on instantiate (952e727)
  • dataverse: prevent contract execution with funds (b25ca2a)
  • law-stone: do not allow funds on instantiate (474823e)
  • law-stone: prevent contract execution with funds (116ff78)
  • objectarium: add check for pagination default_page_size cannot be zero (c993e22)
  • objectarium: add mora validation control for BucketLimits (fc3fd4a)
  • objectarium: add validation for accepted_compression_algorithms (ce89427)
  • objectarium: avoid failing on already stored object (7e56d22)
  • objectarium: do not allow funds on instantiate (d068844)
  • objectarium: include bucket statistics in bucket information query (8728049)
  • objectarium: include compressed_size, size and pinned attribute when store object (4a39965)
  • objectarium: prevent contract execution with funds (816a0e5)

Bug Fixes

  • law-stone: ensure only the creator can break the stone (was admin) (a5a4847)
  • objectarium: decrement total compression size when forgot object (#559) (2aaba9f)
  • objectarium: ensure pin on storing already exists object (4612b51)
  • renaming: denom used after chain-init (39f1810)
  • renaming: format import (08f7b01)
  • renaming: format linter issue (0b38aa8)
  • renaming: linter issues (a066df6)

Code Refactoring

  • dataverse: change RdfFormat to RdfDatasetFormat (d62c72e)
  • renaming: rebrand from okp4 to axone (3dcd870)

ØKP4 contracts

5.0.0 (2024-04-02)

⚠ BREAKING CHANGES

  • law-stone: return a prolog error when law is broken

Features

  • dataverse: support claim with named node hierarchy (2081625)

Bug Fixes

  • dataverse: avoid possible conflicts between nodes (73c65e7)
  • dataverse: prevent vc to contain reserved predicates (2917fdb)

Performance Improvements

  • rdf: make id issuer return references (64a227f)

Code Refactoring

  • law-stone: return a prolog error when law is broken (41f9de5)

4.1.0 (2024-03-17)

Features

  • dataverse: implements dataverse query (f93641d)

4.0.0 (2024-03-05)

⚠ BREAKING CHANGES

  • law-stone: match v7 logic module model
  • logic-bindings: match v7okp4d logic module model
  • cognitarium: rework construct clause based on template
  • cognitarium: use var or named node as msg pattern predicate
  • cognitarium: rework delete input to remove template bnodes
  • law-stone: update needed by new logic bindings

Features

  • cognitarium-client: add basic client (d4ab756)
  • cognitarium: add select mapping to msg on describe (a2010a7)
  • cognitarium: add select msg mapping layer (ef789f8)
  • cognitarium: allow delete without where clause (e22d9b9)
  • cognitarium: generate bnode identifiers on query (93acb93)
  • cognitarium: implement construct query (7a5490e)
  • cognitarium: introduce blank node id counter state (2e60a12)
  • cognitarium: issue new id for bnode provided in construct (f22eb81)
  • cognitarium: make construct rely on atoms iterator (6ebbf83)
  • cognitarium: make delete msg rely on triple iterator (1fdc691)
  • cognitarium: make describe msg rely on atom iterator (78648b4)
  • cognitarium: offer additional querier iterators (292ef7d)
  • cognitarium: reuse where clause in construct empty (61ff078)
  • cognitarium: rework construct clause based on template (f15d822)
  • cognitarium: rework delete input to remove template bnodes (7dfb48e)
  • cognitarium: update triple state model with u128 as bnode (1a492e7)
  • cognitarium: use only state model in querier (3e6d8af)
  • dataverse: add basic internal state (1c05850)
  • dataverse: add DataIntegrityProof vc support (a0d055d)
  • dataverse: add dedicated errors to credentials (4e8890e)
  • dataverse: add ecdsa secp 2019 vc proof support (46cd40c)
  • dataverse: add secp256k1 crypto support (47462be)
  • dataverse: add support of Ed25519Signature2018 proof (ede8320)
  • dataverse: add support to parse ed25519 2020 proofs (c6c5540)
  • dataverse: add triple store config to instantiate msg (0a129c5)
  • dataverse: allow no proof in vc parsing according to spec (6c56cd0)
  • dataverse: dissociate triple store msg limits struct (c142976)
  • dataverse: garantee claim storage format (b2f6d43)
  • dataverse: impl rdf serialization of dataverse cred (d4da31d)
  • dataverse: implement instantiate msg (f5fade2)
  • dataverse: implement vc proof parsing (bd826f9)
  • dataverse: implements claims registering in cognitarium (385426e)
  • dataverse: implements dummy submitclaims exec msg (948331f)
  • dataverse: implements proof verification (ae8f97e)
  • dataverse: implements VC rdf parsing (a972284)
  • dataverse: initialize blueprint smart contract (fde585b)
  • dataverse: introduce dataverse credential model (3347455)
  • dataverse: introduce subject ids for RDF resource designation (bc37b48)
  • dataverse: properly persists claims in related exec msg (6abb559)
  • dataverse: rework SubmitClaims msg doc (1489f95)
  • dataverse: specify AttachMetadata execute message (99684f5)
  • dataverse: specify contract instanciation (9168c68)
  • dataverse: specify DetachMetadata execute message (7666455)
  • dataverse: specify FoundZone execute message (2c38b6b)
  • dataverse: specify RegisterDataset execute message (7a2f935)
  • dataverse: specify RegisterService execute message (8faf0c1)
  • dataverse: specify ReviseMetadata execution message (6a0a67a)
  • dataverse: use a dedicated type predicate for cred storage (f74aa3b)
  • dataverse: use Addr type for triple store state address (89a55ee)
  • law-stone: implement program_code query (ef8255d)
  • law-stone: match v7 logic module model (c25128a)
  • law-stone: update needed by new logic bindings (dcaef7a)
  • logic-bindings: make Answer match logic module format (f1a809c)
  • logic-bindings: match v7 okp4d logic module model (32e114e)
  • rdf: add basic error management (58415de)
  • rdf: add nquads parsing to owned model (4b8a3e8)
  • rdf: add rdf dataset querying utils (1c6c456)
  • rdf: allow to get incremented raw id from issuer (96286f7)
  • rdf: implement owned quad model (c2acec0)
  • rdf: implements rdf canonicalization (60df2a6)

Bug Fixes

  • cognitarium: allow to reuse where as delete select (2e763ee)
  • cognitarium: avoir error on not found ns at plan building (18fe57b)
  • cognitarium: consider blank node query as special variables (e59616d)
  • cognitarium: ensure equality of same var values in a triple pattern (3c05fe8)
  • cognitarium: manage blank node variable as post state filters (870d0f3)
  • cognitarium: prevent predicate blank node filter (447bc72)
  • dataverse: consider proof options in signed message (4b1a058)
  • dataverse: correct some error messages in vc parsing (087c933)
  • dataverse: make ed25519 verification wasm friendly (da2e885)
  • dataverse: persists claim sender addr as literal (bd4a169)
  • dataverse: properly extract claims from VC (88141ba)
  • dataverse: remove graph name from proof opts doc (6c6dd60)
  • rdf: allow duplicate hash in n degree path list (7589054)
  • rdf: make quad pattern iter skip work (c14bf42)

Performance Improvements

  • cognitarium: use resolved variables to construct atoms (72766ff)
  • cognitarium: use resolved vars to contruct triples (e389931)
  • rdf: improve hash sortings (6b6e629)

Code Refactoring

  • cognitarium: use var or named node as msg pattern predicate (a194d1c)

3.0.0 (2023-09-28)

⚠ BREAKING CHANGES

  • cognitarium: make delete triples optional and enforce where clause

Features

  • cognitarium: implement DeleteData message (758c172)
  • cognitarium: specify construction query (111a73c)
  • cognitarium: support 'delete where {}' form (3f2f9a0)
  • docs: use fadroma-schema to generate docs (ae792e0)
  • objectarium: add lzma compression algorithm (b3392f7)

Bug Fixes

  • cognitarium: decrease the store byte size upon deletion (74c9461)
  • cognitarium: do not count existing triples on insert (b490f23)
  • cognitarium: fix compilation issue (296c61a)
  • cognitarium: fix incorrect variable resolution on delete (76abfcd)
  • cognitarium: make successive store engine calls safe (0fe529b)
  • cognitarium: update ns ref count on triple deletion (8ad0144)
  • docs: use fixed version of fadroma/schema (bda29c7)

Code Refactoring

  • cognitarium: make delete triples optional and enforce where clause (5ce531b)

2.1.0 (2023-06-27)

Features

  • cognitarium: add expand uri utility function (af26038)
  • cognitarium: add support for blank nodes in describe (8e736f1)
  • cognitarium: add support for triples serialization (2bf805f)
  • cognitarium: implement describe query (e21edc4)

Bug Fixes

  • cognitarium: ensure different object hash on named nodes (92656ae)
  • cognitarium: fix incorrect resource type for describe (5876c74)

2.0.0 (2023-06-13)

⚠ BREAKING CHANGES

  • objectarium: update objectarium sample according to api change

Features

  • cagnotarium: add nquads insert support (f963d21)
  • cognitarium: add dummy store query impl (e30e507)
  • cognitarium: add dummy triple pattern query iterator (ac6e42d)
  • cognitarium: add max_query_limit limit (b97835b)
  • cognitarium: add namespace state (2844aac)
  • cognitarium: add plan builder structure (9d374eb)
  • cognitarium: add query solutions iterator (4b5c0ac)
  • cognitarium: add rdf parsing related errors (7c25908)
  • cognitarium: add store limits related errors (9667847)
  • cognitarium: add store query (66c4579)
  • cognitarium: build query plan from basic graph pattern (0ef6f1f)
  • cognitarium: build query plan from where clause (b57e3a0)
  • cognitarium: define query engine structure (6a8d7b9)
  • cognitarium: design insert execute message (3994205)
  • cognitarium: design instantiate message (1edacf6)
  • cognitarium: design query select resources message (3934ddf)
  • cognitarium: design remove execute message (bb901da)
  • cognitarium: design triples state (a38aa79)
  • cognitarium: disallow select with no where clause (bf89eaa)
  • cognitarium: handle engine limit query node (9fa3b9d)
  • cognitarium: handle limit & skip at plan build (a96258f)
  • cognitarium: handle query engine for loop join (f9af316)
  • cognitarium: handle query engine skip node (65e09ee)
  • cognitarium: impl map query var to msg value (bc8ed42)
  • cognitarium: implement base insert logic (79dbc9b)
  • cognitarium: implement instantiate msg (05e6319)
  • cognitarium: implement rdf parsing (1f8c0d0)
  • cognitarium: implement store configuration state (8b4e10b)
  • cognitarium: implement store query msg (4f0b8fb)
  • cognitarium: implement triple mapping with rio api (c13f530)
  • cognitarium: implements building triple pattern query node (7f32451)
  • cognitarium: implements cosmwasm primary key serde for triple (4f19584)
  • cognitarium: implements query engine cartesian join (112d07f)
  • cognitarium: implements query engine main logic (ee8254b)
  • cognitarium: implements query resovled var mappings (6d589c7)
  • cognitarium: implements select query (bf8c45d)
  • cognitarium: implements triple pattern iterator (7c1c800)
  • cognitarium: introduce query plan model (3a074be)
  • cognitarium: maintain namespace counter in state (24e4c45)
  • cognitarium: make linter happy (b07861a)
  • cognitarium: manage insert error cases (c10cf6a)
  • cognitarium: perform authorization before insert (9c19cf3)
  • cognitarium: resolve query node bound variables (dd6953f)
  • cognitarium: rework querying interface (1213e38)
  • cognitarium: rework triples primary key storage (5409300)
  • cognitarium: separate iri namespaces from triples (a5066ea)
  • cognitarium: specify the sparql select query (b4ed270)
  • cognitarium: specify Describe query (158ed40)
  • cognitarium: specify max_byte_size limit (62c2f81)
  • cognitarium: specify max_insert_data_byte_size limit (5c46dd8)
  • cognitarium: specify max_insert_data_triple_count limit (47fd466)
  • cognitarium: specify max_triple_byte_size limit (a467889)
  • cognitarium: specify prefixes support for select query (4568e49)
  • cognitarium: specify rdf triple deletion (bc1e31e)
  • cognitarium: specify the max_query_variable_count limit (2b0231d)
  • cognitarium: update query limit msg type (eb3353b)
  • coqgnitarium: implement select at query engine level (5a85ef3)
  • logic-bindings: implements term value parser (888eaf9)
  • logic-bindings: prune mocking elements (49157aa)
  • logic: implements logic cosmwasm URI handling (c539bf5)
  • objectarium: add compression functions (partially) (5ace7a3)
  • objectarium: implement compression of objects (36c5068)
  • objectarium: implement MD5 hash algorithm (be4bb16)
  • objectarium: implement SHA-224 hash algorithm (3f8b938)
  • objectarium: implement SHA-384 hash algorithm (36e5e05)
  • objectarium: implement SHA-512 hash algorithm (550d87f)
  • objectarium: implement Snappy compression algorithm (2958730)
  • objectarium: specify compression support for objects (d84cc5e)
  • objectarium: update objectarium sample according to api change (db61108)
  • storage: implements storage object logic fs URI (42d709d)
  • storage: map object ref to cw-storage msgs (dfa6554)

Bug Fixes

  • cognitarium: avoid opening triple iter with wrong variables type (fbd8bc4)
  • cognitarium: ensure data input property naming (87e93d4)
  • cognitarium: extraction of prefix (9393523)
  • cognitarium: handle urn in explode iri (3837b8e)
  • cognitarium: make the query engine compile! (23536ae)
  • cognitarium: manage default values for store limits (148fdef)
  • cognitarium: manage non implemented messages (67fdc69)
  • cognitarium: properly chose join type (3ff77df)
  • cognitarium: properly format output json keys (c4de274)
  • cognitarium: return empty iter on not found triple iter load (757177d)
  • cognitarium: use binary representation of triple pk parts (30ae1f4)
  • cognitarium: use btree instead of hashmap for select results (01a052d)
  • docs: generate docs escaping invalid char (1f9f717)
  • objectarium: remove object data on forget_object (7ee621d)
  • set correct contract name for contracts (based on crate name) (f52db19)

1.0.0 (2023-03-24)

Features

  • add bucket query (4d9976d)
  • add cw-template (72d943e)
  • ci: add update draft doc trigger (8ee54dd)
  • cw-storage: add bucket limits (604086f)
  • cw-storage: add ObjectData query (a022a00)
  • cw-storage: specify contract (2080e5c)
  • docs: add documentations title on attribute (48cc0b9)
  • docs: add script to improve docs description (b26698c)
  • docs: change struct comment to be displayed on generated docs (7bdf548)
  • docs: check if jsonschema2md is present (70bc47b)
  • docs: fail generate docs if jsonschema2md is not installed (c22e902)
  • docs: generate documentation (a88941d)
  • docs: generate documentation with jsonschema2md (5b165e3)
  • docs: ignore docs folder from markdown linter (4c7011d)
  • docs: lint changed docs files (068a719)
  • docs: mulitple schema generation (958093b)
  • docs: only ignore json schema on contract folder (6a43254)
  • docs: publish docs (63c533b)
  • docs: remove schema folder from git (8eae25d)
  • docs: rm docs folder before generation (65ddb99)
  • docs: trigger the docs workflow to update documentation (e50e401)
  • gov: add query retrieving program location (7ab021f)
  • gov: design contract messages (bb54756)
  • law: add break stone exec signature (263e6db)
  • law: add broken flag in state (f82073f)
  • law: add Law state + tests (35e8e91)
  • law: add uri parser to Object (3ec96b2)
  • law: check if law is broken before ask (0cdf648)
  • law: create temporary context on instantiate (e9de097)
  • law: impl Ask query (af37eb7)
  • law: impl from on ObjectResponse (17e31d1)
  • law: impl into StdError on ContractError (d59b268)
  • law: implement instantiate (2adaa5b)
  • law: implement the program query (fe4b0da)
  • law: implements break stone exec msg (c28535f)
  • law: implements object to uri mapping (06df729)
  • law: implements source_files ask query (c27c2db)
  • law: instantiate with sub message store (8819c38)
  • law: update state with object and dependencies (314bf4a)
  • logic: add a sample logic query contract (8a67c8d)
  • logic: introduce logic module bindings (465a4fe)
  • remove main.rs (62090ca)
  • schema: generate schema not at workspace place (c1b1f28)
  • storage: add cursor bs58 encoding helpers (1e7c2bc)
  • storage: add execute PinObject (07f5e37)
  • storage: add pagination configuration (6eeb157)
  • storage: add pin count attribute on Object (04d8bff)
  • storage: add queries dummy impl (23f6de9)
  • storage: add sha256 hash computation util (ada8714)
  • storage: add the query to get bucket information (35b6184)
  • storage: add total size to bucket state (ce5d622)
  • storage: check if bucket name is not empty (eb193db)
  • storage: create bucket state (53e2b8c)
  • storage: define errors related to bucket limits (4c6587d)
  • storage: enhance error context (c7e33d8)
  • storage: implement the forget object execute message (52f1666)
  • storage: implement unpin object (94613c5)
  • storage: implements data state structure (0212af3)
  • storage: implements object data query (11267fa)
  • storage: implements object pins query (af9d04f)
  • storage: implements object query (5bccebd)
  • storage: implements objects query (4326b4c)
  • storage: implements objects state structure (cf67f3e)
  • storage: implements pins state structure (467c2da)
  • storage: implements store object exec msg (8a1b618)
  • storage: instantiate bucket (c56df54)
  • storage: load buckect only if object exist (57327db)
  • storage: persist bucket owner address (758ed9a)
  • storage: persist object count in bucket state (e233791)
  • storage: remove address index on pins state (05e07ec)
  • storage: remove unused NotImplemented error (7cbb7c6)
  • storage: remove whitespace from bucket name (403451b)
  • storage: return error when storing already stored object (da89b6f)
  • storage: try to generify pagination logic (e229988)
  • storage: unpin sender on forget (9f027ca)
  • template: add task to generate schema (815c58e)
  • template: build asC lib for generate wasm (9e9f5c9)
  • template: format rust and toml (e4dadf1)
  • template: update template with new from cosmwasm (9656cca)
  • Bug Fixes

    • ci: install jsonschema through yarn global and include in path (16b88bc)
    • ci: only trigger report wasm size on PR (deecbd1)
    • ci: remove check feature on test and lint (6a431e1)
    • ci: tarpaulin cargo crate name (9d1931c)
    • ci: trigger the good workflow id (e611394)
    • ci: use bash shell for check_contract task (eded5b1)
    • ci: use new check-contract crates (58cdf37)
    • ci: verify docs update (12eb19e)
    • ci: wrong object input for trigger workflow (ee5fe8d)
    • docs: correctly escaping error message (c9b61e8)
    • docs: disable checking jsonschema2md binary (dfcf049)
    • docs: only find json schema at root folder (7145f6e)
    • docs: search json file into schema folder for gen doc (c48bc23)
    • format code (1fd1571)
    • law: linter impl From unstead of into (49bc80c)
    • law: program conversion base64 to string (3b11d2d)
    • lint: derive Eq when derive PartialEq (28df736)
    • lint: format all rust code (b955d74)
    • lint: simplify assert (fd08d58)
    • lint: update cw-template readme (79629bb)
    • lint: update readme by cleaning template stuff (3137e2a)
    • make linter happy (241e6ec)
    • storage: ensure error querying pins on unexisting object (7e269ed)
    • storage: ensure max objects limit (0734b58)
    • storage: indicate max pin count in error (4bb1af0)
    • storage: lint and format (2b9cfa2)
    • storage: make PageInfo unidirectionnal (9245e30)
    • storage: solve object query is_pinned (3f26651)
    • storage: use Uint128 instead of primitive in state (803e1b3)
    • test: apply linter new rules (43129c0)