From 9d9bf0a9f756f933797835e5728f089fb42b6ec0 Mon Sep 17 00:00:00 2001 From: Karan Dhareshwar Date: Fri, 17 Mar 2023 10:42:47 -0500 Subject: [PATCH 1/2] Version bump to 1.2.0 --- client/balance_of_session/Cargo.toml | 2 +- client/get_approved_session/Cargo.toml | 2 +- client/is_approved_for_all_session/Cargo.toml | 2 +- client/mint_session/Cargo.toml | 2 +- client/owner_of_session/Cargo.toml | 2 +- client/transfer_session/Cargo.toml | 2 +- client/updated_receipts/Cargo.toml | 2 +- contract/Cargo.toml | 2 +- tests/Cargo.toml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/client/balance_of_session/Cargo.toml b/client/balance_of_session/Cargo.toml index bb58fad4..a264d4c1 100644 --- a/client/balance_of_session/Cargo.toml +++ b/client/balance_of_session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "balance_of_session" -version = "1.1.1" +version = "1.2.0" edition = "2018" [dependencies] diff --git a/client/get_approved_session/Cargo.toml b/client/get_approved_session/Cargo.toml index 55cae23f..254362ed 100644 --- a/client/get_approved_session/Cargo.toml +++ b/client/get_approved_session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "get_approved_session" -version = "1.1.1" +version = "1.2.0" edition = "2018" [dependencies] diff --git a/client/is_approved_for_all_session/Cargo.toml b/client/is_approved_for_all_session/Cargo.toml index 7f15402b..849b04cc 100644 --- a/client/is_approved_for_all_session/Cargo.toml +++ b/client/is_approved_for_all_session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "is_approved_for_all_session" -version = "1.1.1" +version = "1.2.0" edition = "2018" [dependencies] diff --git a/client/mint_session/Cargo.toml b/client/mint_session/Cargo.toml index d5f38f84..580f8f59 100644 --- a/client/mint_session/Cargo.toml +++ b/client/mint_session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mint_session" -version = "1.1.1" +version = "1.2.0" edition = "2018" [dependencies] diff --git a/client/owner_of_session/Cargo.toml b/client/owner_of_session/Cargo.toml index 768091b8..6fb4ba75 100644 --- a/client/owner_of_session/Cargo.toml +++ b/client/owner_of_session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "owner_of_session" -version = "1.1.1" +version = "1.2.0" edition = "2018" [dependencies] diff --git a/client/transfer_session/Cargo.toml b/client/transfer_session/Cargo.toml index dd97457d..c65a1c55 100644 --- a/client/transfer_session/Cargo.toml +++ b/client/transfer_session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "transfer_session" -version = "1.1.1" +version = "1.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/client/updated_receipts/Cargo.toml b/client/updated_receipts/Cargo.toml index 5ea0fc1f..63f16847 100644 --- a/client/updated_receipts/Cargo.toml +++ b/client/updated_receipts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "updated_receipts" -version = "1.1.1" +version = "1.2.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/contract/Cargo.toml b/contract/Cargo.toml index 2e057117..fa534a4c 100644 --- a/contract/Cargo.toml +++ b/contract/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "contract" -version = "1.1.1" +version = "1.2.0" edition = "2018" [dependencies] diff --git a/tests/Cargo.toml b/tests/Cargo.toml index dfb324a9..35ed9679 100644 --- a/tests/Cargo.toml +++ b/tests/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tests" -version = "1.1.1" +version = "1.2.0" edition = "2018" [dependencies] From 8305968b767a0e2ce631b9db91cbe2fa9b000e88 Mon Sep 17 00:00:00 2001 From: Adam Stone <97986246+ACStoneCL@users.noreply.github.com> Date: Fri, 17 Mar 2023 11:51:10 -0400 Subject: [PATCH 2/2] Updated Release Notes --- CHANGELOG.md | 16 +++++++++++++--- README.md | 2 +- client-js/CHANGELOG.md | 5 ++--- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f480132..f64b9cd9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,13 +13,23 @@ All notable changes to this project will be documented in this file. The format ### Added -* Added a new modality named `EventsMode` that dictates how the installed instance of CEP-78 will handle the recording of events. Refer to the README for further details +* Added a new modality named `EventsMode` that dictates how the installed instance of CEP-78 will handle the recording of events. Refer to the [README](./README.md#eventsmode) for further details -* Added the ability to define additional `NFTMetadataKind`s as either `additional_required_metadata` or `optional_metadata`. Refer to the `Installing the Contract` section of the README for more information on using these arguments. +* Added the ability for the contract to specify one or more metadata schemas, with the option to further specify optional metadata schemas. Additional required metadatas are specified by `additional_required_metadata`, while additional optional metadata schemas can be specified using `optional_metadata`. Refer to the [`Installing the Contract`](./README.md#installing-the-contract) section of the README for more information on using these arguments. * When upgrading from a contract instance, you may now change the `total_token_supply` to a number higher than the current number of minted tokens, but lower than your previous total. The number cannot be zero. More information is available in the upgrade tutorials. -* Added the ability to revoke approval. +* Added a new entrypoint called `revoke` that allows token owners to revoke a single approval. + +* Added a new entrypoint `is_approval_for_all` that allows a caller to check if they are considered an `operator` for a token owner. + +* For js-client changes, please view the respective [change log](./client-js/CHANGELOG.md). + +### Changed + +* `OwnerReverseLookupMode` now contains an additional option, `TransfersOnly`, which begins tracking ownership upon transfer. More information can be found [here](./README.md#ownerreverselookupmode). + +* Optimized the `set_approval_for_all` entrypoint implementation to reduce gas costs. ## Release 1.1.1 diff --git a/README.md b/README.md index 3a8c654a..fc899026 100644 --- a/README.md +++ b/README.md @@ -260,7 +260,7 @@ This modality provides the following options: 1. `NoLookup`: The reporting and receipt functionality is not supported. In this option, the contract instance does not maintain a reverse lookup database of ownership and therefore has more predictable gas costs and greater scaling. 2. `Complete`: The reporting and receipt functionality is supported. Token ownership will be tracked by the contract instance using the system described [here](#owner-reverse-lookup-functionality). -3. `TransfersOnly`: The reporting and receipt functionality is supported alike `Complete` however it is not directly active after minting but only after a first transfer. This modality is for usecases where the majority of NFTs are owned by a private minter and only NFT's that have been transferred benefit from reverse lookup tracking. Token ownership will be as well tracked by the contract instance using the system described [here](#owner-reverse-lookup-functionality). +3. `TransfersOnly`: The reporting and receipt functionality is supported like `Complete`. However, it does not begin tracking until the first transfer. This modality is for usecases where the majority of NFTs are owned by a private minter and only NFT's that have been transferred benefit from reverse lookup tracking. Token ownership will also be tracked by the contract instance using the system described [here](#owner-reverse-lookup-functionality). Additionally, when set to `Complete`, causes a receipt to be returned by the `mint` or `transfer` entrypoints, which the caller can store in their account or contract context for later reference. diff --git a/client-js/CHANGELOG.md b/client-js/CHANGELOG.md index 2179a16a..d1374922 100644 --- a/client-js/CHANGELOG.md +++ b/client-js/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added support for CEP47Events +- Added support for CEP47 Events - Added support for CES events basing on ces-js-parser - Some small code cleanups (added typings etc) - Some changes in `examples/` @@ -30,5 +30,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Fixed how `migrate` deploy is constructed. - +- Fixed how `migrate` deploy is constructed. \ No newline at end of file