v0.5.1
What's Changed
Added
- #107: Adds the
proxy_owner()
function to the SRC-14 standard. - #104: Adds the CHANGELOG.md file to Sway-Standards.
- #110 Adds the
proxy_target()
function to the SRC-14 standard. - #103: Adds Sway-Standards to the docs hub.
Changed
- #103 Removes standards in the
./SRC
folder in favor of./docs
. - #106 Updates links from the Sway Book to Docs Hub.
Fixed
- #107 resolves the conflict when SRC-5's
owner()
function is used in both the proxy and target contract in the SRC-14 standard. - #99 Fixes links and typos in the SRC-14 standard.
- #112 Fixes inline documentation code in the SRC-3 standard.
- #115 Hotfixes the Cargo.toml version to the v0.5.1 release.
Breaking
- #110 Breaks the
SRC14
abi by adding theproxy_target()
function. This will need to be added to any SRC14 implementation. The new abi is as follows:
abi SRC14 {
#[storage(read, write)]
fn set_proxy_target(new_target: ContractId);
#[storage(read)]
fn proxy_target() -> Option<ContractId>;
}
New Contributors
- @sarahschwartz made their first contribution in #103
- @wangshouh made their first contribution in #112
Full Changelog: v0.5.0...v0.5.1