Update *.pb.go files and changelog for v1.27.0 release

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
support/v2.15
Leonard Lyubich 2021-06-03 16:24:13 +03:00 committed by Leonard Lyubich
parent d31053388c
commit c2ab4398d5
2 changed files with 22 additions and 3 deletions

View File

@ -1,5 +1,25 @@
# Changelog
## [1.27.0] - 2021-06-03 - Seongmodo (석모도, 席毛島)
### Added
- Message structures related to Container service sessions in `v2` and `pkg`.
- `session.Token` and `Signature` to `pkg/container.Container` and `pkg/acl/eacl.Table`.
- `Conn` method of clients to get the underlying connection.
- `WithTLSConfig` client option to specify TLS configuration.
- `WithNetworkURIAddress` client option to specify URI of the remote server.
- Generators of random container IDs, owner IDs and session tokens (for testing).
### Replaced
- `pkg/token.SessionToken` type to `pkg/session` package as `Token`. Old type is deprecated.
- `pkg/container.ID` type to `pkg/container/id` package. Old type is deprecated.
### Updated
- NEO Go library to v0.95.1.
## [1.26.1] - 2021-05-19
### Changed
@ -605,3 +625,4 @@ Initial public release
[1.25.0]: https://github.com/nspcc-dev/neofs-api-go/compare/v1.24.0...v1.25.0
[1.26.0]: https://github.com/nspcc-dev/neofs-api-go/compare/v1.25.0...v1.26.0
[1.26.1]: https://github.com/nspcc-dev/neofs-api-go/compare/v1.26.0...v1.26.1
[1.27.0]: https://github.com/nspcc-dev/neofs-api-go/compare/v1.26.1...v1.27.0

View File

@ -215,7 +215,7 @@ func (x *ObjectSessionContext) GetAddress() *grpc.Address {
return nil
}
// Context information for Session Tokens related to ContainerService requests
// Context information for Session Tokens related to ContainerService requests.
type ContainerSessionContext struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -224,11 +224,9 @@ type ContainerSessionContext struct {
// Type of request for which the token is issued
Verb ContainerSessionContext_Verb `protobuf:"varint,1,opt,name=verb,proto3,enum=neo.fs.v2.session.ContainerSessionContext_Verb" json:"verb,omitempty"`
// Spreads the action to all owner containers.
//
// If set, container_id field is ignored.
Wildcard bool `protobuf:"varint,2,opt,name=wildcard,proto3" json:"wildcard,omitempty"`
// Particular container to which the action applies.
//
// Ignored if wildcard flag is set.
ContainerId *grpc.ContainerID `protobuf:"bytes,3,opt,name=container_id,json=containerID,proto3" json:"container_id,omitempty"`
}