frostfs-contract/CHANGELOG.md
Alex Vanin 5c58093a75 Release v0.12.0 - Udo (우도, 牛島)
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-10-15 15:11:45 +03:00

7.4 KiB

Changelog

Changelog for NeoFS Contract

0.12.0 - 2021-10-15 - Udo (우도, 牛島)

NNS update with native container names in container contract.

Fixed

  • Safe methods list in reputation contract manifest (#144)

Added

  • SOA record type support in NNS (#125)
  • Test framework for N3 contracts written in go (#137)
  • Unit tests for container and NNS contracts (#135, #137)
  • PutNamed method in container contract that registers domain in NNS (#135)

Changed

  • NNS contract supports multiple records of the same type (#125)

0.11.0 - 2021-09-22 - Mungapdo (문갑도, 文甲島)

Contract owners are removed, now side chain committee is in charge of contract update routine.

Fixed

  • Container contract does not throw PICKITEM panic when trying access non-existent container, instead panics with user-friendly message (#121)

Changed

  • NNS contract has been updated to the latest version from Neo upstream (#123)
  • Container contract does not throw panic on deleting non-existent container (#121)
  • Migrate methods renamed to Update (#128)
  • Contracts now throw panic if update routine fails (#130)
  • Side chain committee is able to update contracts (#107)

Removed

  • Contract owner arguments at deploy stage (#107)

0.10.1 - 2021-07-29

Changed

  • Version method returns encoded semver value (#98)

Removed

  • InitConfig methods from neofs and netmap contracts. Network configuration now provided as contract deploy parameter. (#115)

0.10.0 - 2021-07-23 - Wando (완도, 莞島)

Fixed

  • Alphabet contract does not emit GAS to proxy contract and does not check proxy contract script hash length at deploy stage if notary disabled (#106)

Added

  • Netmap contract stores block height when last epoch was applied and provides LastEpochBlock method to get it (#110)
  • NNS contract (#108)
  • Enhanced documentation for autodoc tools (#105)

Changed

  • Update neo-go to v0.96.0

Removed

  • v0.9.1 to v0.9.2 migration code (#104)

0.9.2 - 2021-07-01

Fixed

  • Execution of multiple container.Put, container.Delete, container.PutContainerSize and netmap.AddPeer invocations now possible in the single block (#100, #102).

Added

  • Target NeoFS API version in README.md.

Changed

  • Notary enabled images for neofs-dev-env do not contain predefined network map anymore.

0.9.1 - 2021-06-24

Fixed

  • Notification parameter types in container, neofs and netmap manifests (#94).
  • Method permissions in manifests (#96).

Added

  • Balance check before notification at container.Put method.

Removed

  • v0.8.0 to v0.9.0 migration code.

0.9.0 - 2021-06-03 - Seongmodo (석모도, 席毛島)

Session token support in container contract.

Fixed

  • _deploy methods process isUpdate argument now.

Added

  • Changelog file.
  • netmap.NetmapCandidates method.

Changed

  • Container contract now stores public key, signature and session token of new containers and extended ACL tables.
  • Most of the contract methods that invoked by inner ring do not return bool value anymore. Such methods throw panic instead.
  • Migrate methods now accept data.

Removed

  • Container and extended ACL signature checks in container contract.

0.8.0 - 2021-05-19 - Dolsando (돌산도, 突山島)

N3 Testnet RC2 compatible contracts.

Changed

  • Contract initialization moved to _deploy method.

Removed

  • Deposit method from NeoFS contract uses direct GAS transfer to contract address for deposit.
  • Unused transfer description variables in Balance contract and total function in Alphabet contract.

Updated

  • NEO Go to N3 RC2 compatible v0.95.0.

0.7.0 - 2021-05-04 - Daecheongdo (대청도, 大靑島)

Combine notary and non-notary work flows in smart contracts.

Fixed

  • Integers are not used as search prefixes anymore.

Added

  • Notary and non-notary work flows in all contracts. Notary can be disabled at contract initialization.
  • Processing contract in main chain to pay for NeoFS contract invocations from alphabet when notary enabled.
  • Fee payments at neofs.Withdraw invocation.

Changed

  • Reputation contract stores new global reputation structures.
  • All balance.transferX invocations are provided with encoded transfer details.

Removed

  • Cheque storage in NeoFS contract to decrease invocation costs.

0.6.0 - 2021-03-26 - Yeongheungdo (영흥도, 靈興島)

Governance update.

Fixed

  • Threshold (N) calculation.

Changed

  • Inner ring keys are accessed from NeoFSAlphabet role in side chain.
  • Alphabet keys are accessed from committee in side chain.
  • NeoFS contract now manages alphabet keys and do not update candidate list automatically.
  • NeoFS contract can be initiated with any non zero amount of alphabet keys now.
  • neofs.InnerRingList renamed to neofs.AlphabetList.
  • neofs.InnerRingUpdate renamed to neofs.AlphabetUpdate and it produces AlphabetUpdate event.
  • Netmap contract does not manage inner ring keys now.

Removed

  • neofs.IsInnerRing, netmap.InnerRingLost, netmap.Multiaddress, netmap.Committee, netmap.UpdateInnerRing methods.

0.5.1 - 2021-03-22

Fixed

  • Methods with notifications are no longer considered to be safe.

0.5.0 - 2021-03-22 - Jebudo (제부도, 濟扶島)

Fixed

  • Various typos.

Added

  • Proxy contract.
  • Multiaddress and Committee methods in Netmap contract.
  • List of safe methods in contract configs.

Changed

  • Smart contracts use read-only storage context where it is possible.
  • Netmap contract triggers clean-up methods on new epoch.
  • Contracts use interop.Hash160 and other type aliases instead of []byte.

Removed

  • Multi signatures in side chain now collected with native notary contract, thus side chain contracts do not use ballots anymore.

Updated

  • NEO Go to testnet compatible v0.94.0.

0.4.0 - 2021-02-15 - Seonyudo (선유도, 仙遊島)

Fixed

  • Old ballots are now removed before processing new ballot.

Added

  • Methods in container contract to store container size estimations.
  • common package that contains shared code for all contracts.
  • Contracts migration methods.

Updated

  • NEO Go to preview5 compatible v0.93.0.
  • Contract manifests.

0.3.1 - 2020-12-29

Preview4-testnet version of NeoFS contracts.

0.3.0 - 2020-12-29

Preview4 compatible contracts.