From 025732b1dfe8e358a54d1d36cead7f06115fa86f Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 6 Apr 2023 19:30:37 +0300 Subject: [PATCH 1/2] common: support upgrading from 0.15.4 We still have this version on the testnet and we have the appropriate migration code in the netmap contract. See beaef7b10da91edbf1b64c92825900cd07f0f6dd also. Signed-off-by: Roman Khimov --- common/version.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/version.go b/common/version.go index 3ee9c763..92810ed8 100644 --- a/common/version.go +++ b/common/version.go @@ -11,8 +11,8 @@ const ( // These should be used in a group (so prevMinor can be equal to minor if there are // any migration routines. prevMajor = 0 - prevMinor = 16 - prevPatch = 0 + prevMinor = 15 + prevPatch = 4 Version = major*1_000_000 + minor*1_000 + patch From cdc37328df410644d541b918ccf0d9fd11576e8b Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 6 Apr 2023 19:31:33 +0300 Subject: [PATCH 2/2] CHANGELOG: release 0.17.0 Signed-off-by: Roman Khimov --- CHANGELOG.md | 9 +++++---- README.md | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df22e20a..357e794b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,20 +1,20 @@ # Changelog Changelog for NeoFS Contract -## [Unreleased] +## [0.17.0] - 2023-04-06 ### Added +- methods to iterate over containers and their sizes (#293, #300, #326) - `cmd/dump` app that pulls state and data of contracts from remote networks (#324) - `tests/migration` framework for storage migration testing (#324) - Dumps of the NeoFS MainNet and TestNet contracts (#324) -### Changed -- Current `common.Version` to v0.17.0 (#324) - ### Updated - `neo-go` to `v0.101.0` - `neo-go/pkg/interop` to `v0.0.0-20230208100456-1d6e48ee78e5` - `stretchr/testify` to `v1.8.2` +- NNS contract now uses 10 years for the default domain expiration (#296) +- contract documentation (#275, #317) ### Removed - Support for non-notary settings (#303) @@ -22,6 +22,7 @@ Changelog for NeoFS Contract ### Fixed - Migration of contracts to previous versions (#324) +- Potential panic in container contract's `getContainerSize` (#321) ### Updating from v0.16.0 When updating a non-notary installation: diff --git a/README.md b/README.md index a8a89b7a..d7175fd4 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ ok github.com/nspcc-dev/neofs-contract/tests 0.462s | 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.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) | # License