Merge branch 'release/0.2.5'

This commit is contained in:
Evgeniy Kulikov 2019-12-05 14:45:51 +03:00
commit 3fc1c74ee5
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,11 @@
# Changelog # Changelog
This is the changelog for NeoFS Proto This is the changelog for NeoFS Proto
## [0.2.5] - 2019-12-05
### Removed
- proto.Message in Maintainable/Verifiable requests
## [0.2.4] - 2019-12-03 ## [0.2.4] - 2019-12-03
### Added ### Added
@ -60,3 +65,4 @@ Initial public release
[0.2.2]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.1...v0.2.2 [0.2.2]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.1...v0.2.2
[0.2.3]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.2...v0.2.3 [0.2.3]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.2...v0.2.3
[0.2.4]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.3...v0.2.4 [0.2.4]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.3...v0.2.4
[0.2.5]: https://github.com/nspcc-dev/neofs-proto/compare/v0.2.4...v0.2.5

View file

@ -3,7 +3,6 @@ package service
import ( import (
"crypto/ecdsa" "crypto/ecdsa"
"github.com/gogo/protobuf/proto"
crypto "github.com/nspcc-dev/neofs-crypto" crypto "github.com/nspcc-dev/neofs-crypto"
"github.com/nspcc-dev/neofs-proto/internal" "github.com/nspcc-dev/neofs-proto/internal"
"github.com/nspcc-dev/neofs-proto/refs" "github.com/nspcc-dev/neofs-proto/refs"
@ -13,7 +12,6 @@ import (
type ( type (
// VerifiableRequest adds possibility to sign and verify request header. // VerifiableRequest adds possibility to sign and verify request header.
VerifiableRequest interface { VerifiableRequest interface {
proto.Message
Marshal() ([]byte, error) Marshal() ([]byte, error)
AddSignature(*RequestVerificationHeader_Signature) AddSignature(*RequestVerificationHeader_Signature)
GetSignatures() []*RequestVerificationHeader_Signature GetSignatures() []*RequestVerificationHeader_Signature
@ -23,7 +21,6 @@ type (
// MaintainableRequest adds possibility to set and get (+validate) // MaintainableRequest adds possibility to set and get (+validate)
// owner (client) public key from RequestVerificationHeader. // owner (client) public key from RequestVerificationHeader.
MaintainableRequest interface { MaintainableRequest interface {
proto.Message
GetOwner() (*ecdsa.PublicKey, error) GetOwner() (*ecdsa.PublicKey, error)
SetOwner(*ecdsa.PublicKey, []byte) SetOwner(*ecdsa.PublicKey, []byte)
GetLastPeer() (*ecdsa.PublicKey, error) GetLastPeer() (*ecdsa.PublicKey, error)