diff --git a/CHANGELOG.md b/CHANGELOG.md index 3513989..e791cc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## [2.10.0] - 2021-10-14 - Udo (우도, 牛島) + +NNS integration, detailed network info and ACL rules for non-native services. + +### Added +- ACL header type for services (#173) +- Side chain block duration and NeoFS network config fields in `NetworkInfo` + message (#172) +- Well-known container attributes for NNS integration (#177) + ## [2.9.1] - 2021-08-26 ### Changed @@ -399,3 +409,4 @@ Bump major release [2.8.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.7.0...v2.8.0 [2.9.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.8.0...v2.9.0 [2.9.1]: https://github.com/nspcc-dev/neofs-api/compare/v2.9.0...v2.9.1 +[2.10.0]: https://github.com/nspcc-dev/neofs-api/compare/v2.9.1...v2.10.0 diff --git a/proto-docs/acl.md b/proto-docs/acl.md index dc2375a..943dae4 100644 --- a/proto-docs/acl.md +++ b/proto-docs/acl.md @@ -188,6 +188,7 @@ Enumeration of possible sources of Headers to apply filters. | HEADER_UNSPECIFIED | 0 | Unspecified header, default value. | | REQUEST | 1 | Filter request headers | | OBJECT | 2 | Filter object headers | +| SERVICE | 3 | Filter service headers. These are not processed by NeoFS nodes and exist for service use only. | diff --git a/proto-docs/container.md b/proto-docs/container.md index 41d6521..dd99da0 100644 --- a/proto-docs/container.md +++ b/proto-docs/container.md @@ -549,6 +549,12 @@ There are some "well-known" attributes affecting system behaviour: * __NEOFS__SUBNET \ String ID of container's storage subnet. Container can be attached to only one subnet. +* __NEOFS__NAME \ + String of human-friendly container name registered as the domain in + NNS contract. +* __NEOFS__ZONE \ + String of zone for `__NEOFS__NAME`. Used as TLD of domain name in NNS + contract. If zone is not specified, use default zone: `container`. And some well-known attributes used by applications only: diff --git a/proto-docs/netmap.md b/proto-docs/netmap.md index 0a75dc4..8b8b6d3 100644 --- a/proto-docs/netmap.md +++ b/proto-docs/netmap.md @@ -22,6 +22,8 @@ - Messages - [Filter](#neo.fs.v2.netmap.Filter) + - [NetworkConfig](#neo.fs.v2.netmap.NetworkConfig) + - [NetworkConfig.Parameter](#neo.fs.v2.netmap.NetworkConfig.Parameter) - [NetworkInfo](#neo.fs.v2.netmap.NetworkInfo) - [NodeInfo](#neo.fs.v2.netmap.NodeInfo) - [NodeInfo.Attribute](#neo.fs.v2.netmap.NodeInfo.Attribute) @@ -197,6 +199,29 @@ results, that will satisfy filter's conditions. | filters | [Filter](#neo.fs.v2.netmap.Filter) | repeated | List of inner filters. Top level operation will be applied to the whole list. | + + +### Message NetworkConfig +NeoFS network configuration + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| parameters | [NetworkConfig.Parameter](#neo.fs.v2.netmap.NetworkConfig.Parameter) | repeated | List of parameter values. | + + + + +### Message NetworkConfig.Parameter +Single configuration parameter. + + +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| key | [bytes](#bytes) | | Parameter key. UTF-8 encoded string. | +| value | [bytes](#bytes) | | Parameter value. | + + ### Message NetworkInfo @@ -207,6 +232,8 @@ Information about NeoFS network | ----- | ---- | ----- | ----------- | | current_epoch | [uint64](#uint64) | | Number of the current epoch in the NeoFS network. | | magic_number | [uint64](#uint64) | | Magic number of the sidechain of the NeoFS network. | +| ms_per_block | [int64](#int64) | | MillisecondsPerBlock network parameter of the sidechain of the NeoFS network. | +| network_config | [NetworkConfig](#neo.fs.v2.netmap.NetworkConfig) | | NeoFS network configuration. |