Skip to content

Commit

Permalink
Release 0.20.0 (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-khimov authored Jul 30, 2024
2 parents 9ed5e2d + 0e9d34f commit 2059417
Show file tree
Hide file tree
Showing 15 changed files with 39 additions and 28 deletions.
41 changes: 36 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
20 changes: 0 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.19.1
v0.20.0
4 changes: 2 additions & 2 deletions common/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified contracts/alphabet/contract.nef
Binary file not shown.
Binary file modified contracts/audit/contract.nef
Binary file not shown.
Binary file modified contracts/balance/contract.nef
Binary file not shown.
Binary file modified contracts/container/contract.nef
Binary file not shown.
Binary file modified contracts/neofs/contract.nef
Binary file not shown.
Binary file modified contracts/neofsid/contract.nef
Binary file not shown.
Binary file modified contracts/netmap/contract.nef
Binary file not shown.
Binary file modified contracts/nns/contract.nef
Binary file not shown.
Binary file modified contracts/processing/contract.nef
Binary file not shown.
Binary file modified contracts/proxy/contract.nef
Binary file not shown.
Binary file modified contracts/reputation/contract.nef
Binary file not shown.

0 comments on commit 2059417

Please sign in to comment.