diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c14a8aa..9c3c0e46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,17 +4,47 @@ Changelog for NeoFS Contract ## [Unreleased] ### Added -- `verify` method for Alphabet contracts (#386) -- script comparing some of NeoFS contract states (#399) + +### Changed ### Updated -- NeoGo dependency to 0.106.0 (#398) ### Removed ### Fixed -### Updating from v0.19.0 +## [0.20.0] - 2024-07-30 + +### Added +- `verify` method for Alphabet contracts (#386) +- Contract deployment code (#395, #410, #417) +- Functions to deal with address records and New* constructors for nns wrapper (#397) +- Script comparing some of NeoFS contract states (#399) +- Script to compare main/fs chain deposit state (#400) +- Binary contracts provided as Go package (#401) +- Support for NEP-18 addresses in NNS wrapper (#392) +- Contract-specific constants and some types to RPC bindings (#402) +- Prefixes to balance contract storage scheme (#406) +- `admin` to `properties()` result of NNS (#419) + +### Changed +- Contracts moved into a separate directory (#378) +- Licensing documentation (#391, #395, #401) +- Release archive uses contract.nef and manifest.json file names (#401) +- NNS now returns more specific errors for invalid domains (#419) + +### Updated +- NeoGo dependency to 0.106.3 (#389, #398, #401, #421) +- golang.org/x/crypto dependency from 0.14.0 to 0.17.0 (#383) +- Minimal Go version to 1.20 (#389) +- google.golang.org/protobuf dependency from 1.31.0 to 1.33.0 (#393) + +### Fixed +- Outdated NNS record preventing container deletion (#403) +- Container contract allowed for Put replays (#404) +- Potential overflow of NNS record IDs (now limited to 16 entries, #419) +- CNAME resolve results included CNAME record itself (#419) +- NNS `isAvailable` returning `true` when conflicting records are known (#419) ## [0.19.1] - 2023-11-28 @@ -487,7 +517,8 @@ Preview4-testnet version of NeoFS contracts. Preview4 compatible contracts. -[Unreleased]: https://github.com/nspcc-dev/neofs-contract/compare/v0.19.1...master +[Unreleased]: https://github.com/nspcc-dev/neofs-contract/compare/v0.20.0...master +[0.20.0]: https://github.com/nspcc-dev/neofs-contract/compare/v0.19.1...v0.20.0 [0.19.1]: https://github.com/nspcc-dev/neofs-contract/compare/v0.19.0...v0.19.1 [0.19.0]: https://github.com/nspcc-dev/neofs-contract/compare/v0.18.0...v0.19.0 [0.18.0]: https://github.com/nspcc-dev/neofs-contract/compare/v0.17.0...v0.18.0 diff --git a/README.md b/README.md index 0041b172..b8a6db14 100644 --- a/README.md +++ b/README.md @@ -32,12 +32,6 @@ Sidechain contracts: # Getting started -## Prerequisites - -To compile smart contracts you need: - -- [neo-go](https://github.com/nspcc-dev/neo-go) >= 0.104.0 - ## Compilation To build and compile smart contract, run `make all` command. Compiled contracts @@ -79,20 +73,6 @@ $ make test ok github.com/nspcc-dev/neofs-contract/tests 0.462s ``` -# NeoFS API compatibility - -| neofs-contract version | supported NeoFS API versions | -|:----------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| -| v0.9.x | [v2.7.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.7.0), [v2.8.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.8.0) | -| v0.10.x | [v2.7.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.7.0), [v2.8.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.8.0) | -| v0.11.x | [v2.7.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.7.0), [v2.8.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.8.0), [v2.9.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.9.0) | -| v0.12.x | [v2.10.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.10.0) | -| v0.13.x | [v2.11.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.11.0) | -| v0.14.x | [v2.11.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.11.0) | -| v0.15.x | [v2.11.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.11.0), [v2.12.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.12.0) | -| v0.15.x | [v2.11.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.11.0), [v2.12.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.12.0) | -| v0.16.x | [v2.14.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.14.0) | v0.17.x | [v2.14.0](https://github.com/nspcc-dev/neofs-api/releases/tag/v2.14.0) | - # Comparing contracts content of NeoFS chains `scripts` directory contains CLI utilities to compare some of the NeoFS contract contents between two RPC nodes: diff --git a/VERSION b/VERSION index 3a7f17e4..1847373e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.19.1 +v0.20.0 diff --git a/common/version.go b/common/version.go index f8b75e4f..420f98c7 100644 --- a/common/version.go +++ b/common/version.go @@ -4,8 +4,8 @@ import "github.com/nspcc-dev/neo-go/pkg/interop/native/std" const ( major = 0 - minor = 19 - patch = 1 + minor = 20 + patch = 0 // Versions from which an update should be performed. // These should be used in a group (so prevMinor can be equal to minor if there are diff --git a/contracts/alphabet/contract.nef b/contracts/alphabet/contract.nef index afebb57f..56d7d3fe 100755 Binary files a/contracts/alphabet/contract.nef and b/contracts/alphabet/contract.nef differ diff --git a/contracts/audit/contract.nef b/contracts/audit/contract.nef index f472ee2e..b109b4ee 100755 Binary files a/contracts/audit/contract.nef and b/contracts/audit/contract.nef differ diff --git a/contracts/balance/contract.nef b/contracts/balance/contract.nef index 233cbc5a..958052db 100755 Binary files a/contracts/balance/contract.nef and b/contracts/balance/contract.nef differ diff --git a/contracts/container/contract.nef b/contracts/container/contract.nef index db0b213c..39015559 100755 Binary files a/contracts/container/contract.nef and b/contracts/container/contract.nef differ diff --git a/contracts/neofs/contract.nef b/contracts/neofs/contract.nef index 641ae02f..4eb19b9f 100755 Binary files a/contracts/neofs/contract.nef and b/contracts/neofs/contract.nef differ diff --git a/contracts/neofsid/contract.nef b/contracts/neofsid/contract.nef index 50dce83d..e09d0dd3 100755 Binary files a/contracts/neofsid/contract.nef and b/contracts/neofsid/contract.nef differ diff --git a/contracts/netmap/contract.nef b/contracts/netmap/contract.nef index f87ac190..b372eb15 100755 Binary files a/contracts/netmap/contract.nef and b/contracts/netmap/contract.nef differ diff --git a/contracts/nns/contract.nef b/contracts/nns/contract.nef index bca5cc48..0e1884aa 100755 Binary files a/contracts/nns/contract.nef and b/contracts/nns/contract.nef differ diff --git a/contracts/processing/contract.nef b/contracts/processing/contract.nef index 14285a1a..4aff9823 100755 Binary files a/contracts/processing/contract.nef and b/contracts/processing/contract.nef differ diff --git a/contracts/proxy/contract.nef b/contracts/proxy/contract.nef index 7f0ec5f2..03cd9efa 100755 Binary files a/contracts/proxy/contract.nef and b/contracts/proxy/contract.nef differ diff --git a/contracts/reputation/contract.nef b/contracts/reputation/contract.nef index 9d79fb54..16421950 100755 Binary files a/contracts/reputation/contract.nef and b/contracts/reputation/contract.nef differ