Skip to content

Releases: nspcc-dev/neofs-api-go

v1.28.3

07 Jul 12:05
Compare
Choose a tag to compare

Fixed

  • Regression of the session token corruption fix from v1.28.2 (#326).

v1.28.2

06 Jul 08:50
Compare
Choose a tag to compare

1.28.2 - 2021-07-06

Fixed

  • Data corruption of parameterized session token in pkg/client.Client (#323).

v1.28.1

01 Jul 15:20
Compare
Choose a tag to compare

1.28.1 - 2021-07-01

Fixed

  • Incorrect unsupported version error in Client.GetContainer of containers of newer versions.

Removed

  • No longer used pkg.IsSupportedVersion func.
  • No longer used container.NewVerifiedFromV2 func.

v1.28.0 Muuido (무의도, 舞衣島)

28 Jun 08:03
Compare
Choose a tag to compare

1.28.0 - 2021-06-28 - Muuido (무의도, 舞衣島)

Added

  • String / FromString methods to work with text format of enums from pkg.
  • Marshal(JSON) / Unmarshal(JSON) methods to container.ContainerContext type.
  • Ability to handle the io.Reader of the object payload in Client.GetObject.
  • NumberOfAddresses / IterateAddresses methods to node info types for support of multiple addresses.

Fixed

  • Added leading slash to format of gRPC method names.

Updated

  • Neo Go library to v0.95.3.

v1.27.1

10 Jun 09:35
Compare
Choose a tag to compare

1.27.1 - 2021-06-10

Fixed

  • SDK version was updated (actualized) to 2.7.

Changed

  • pkg wrappers' ToV2 methods return nil if called on nil.
  • pkg wrappers' NewFromV2 functions constructs nil if called with nil argument.

Added

  • Getters and setters for lifetime fields of pkg/session.Token.
  • MarshalHeaderJSON method to pkg/object.Object.
  • Generators for types from pkg (for testing).
  • Descriptions of default fields for pkg wrappers and unit tests for its constructors.
  • Unit tests for ToV2 methods and NewFromV2 functions.

v1.27.0 Seongmodo (석모도, 席毛島)

03 Jun 14:01
Compare
Choose a tag to compare

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.

v1.26.1

19 May 13:48
Compare
Choose a tag to compare

Changed

  • Updated neo-go to v0.95.0 release.

Removed

  • pkg/errors dependency (stdlib errors used instead).

v1.26.0 - Daecheongdo (대청도, 大靑島)

07 May 12:15
Compare
Choose a tag to compare

Added

  • Implementation of v2/reputation package.
  • Implementation of reputation methods in pkg/client.
  • Float64 stable marshaling wrappers in util/proto.

v1.25.0 - Jebudo (제부도, 濟扶島)

22 Mar 07:48
Compare
Choose a tag to compare

Raw client and support of NeoFS API v2.5.0 "Jebudo" release.

Added

  • Raw client for peer to peer communication.
  • client.WithKey option to sign messages with different keys within single
    client.
  • Content-Type well-known object attribute constant.

Changed

  • Refactored v2 sub-packages to support single raw client in all RPC methods.
  • Client constructor returns Client interface instead of structure.

v1.24.0 Ganghwado (강화도, 江華島)

26 Feb 13:45
Compare
Choose a tag to compare

1.24.0 - 2021-02-26 - Ganghwado (강화도, 江華島)

Support changes from NeoFS API v2.4.0 "Ganghwado" release.

Added

  • netmap.NetworkInfo definitions in v2 and pkg/netmap.
  • netmap.NetworkInfo RPC support in pkg/client.

Changed

  • Updated in-line docs from NeoFS API "Ganghwado" release.