Skip to content

Releases: nspcc-dev/neofs-api-go

v1.23.0 - Seonyudo (선유도, 仙遊島)

11 Feb 14:32
Compare
Choose a tag to compare

1.23.0 - 2021-02-11 - Seonyudo (선유도, 仙遊島)

Support changes from NeoFS API v2.3.0 "Seonyudo" release.

Added

  • Fulfill backup factor for default attribute in placement.
  • Support of Container.AnnounceUsedSpace RPC from NeoFS API.
  • New pkg/client.Client.AnnounceContainerUsedSpace method.
  • Support of STRING_NOT_EQUAL and NOT_PRESENT object search filters.
  • Implementation of json.Marshaler/json.Unmarshaler on v2/object/SearchFilter.
  • Implementation of json.Marshaler/json.Unmarshaler on pkg/object/SearchFilters.
  • Named constants of well-known node attributes in pkg/netmap.

Renamed

  • pkg/netmap/PriceAttr to pkg/netmap/AttrPrice.
  • pkg/netmap/CapacityAttr to pkg/netmap/AttrCapacity.

v1.22.2

27 Jan 17:08
Compare
Choose a tag to compare

1.22.2 - 2021-01-27

Fixed

  • Fix size limit for grpc messages in object.Put operation.
  • Fix GetContainerNode() function, so that it does not modify placement policy.

v1.22.1

15 Jan 14:07
Compare
Choose a tag to compare

1.22.1 - 2021-01-15

Support changes from NeoFS API v2.2.1 release.

Added

  • Constant prefix of the reserved keys to X-headers (__NEOFS__).
  • Constant string key to netmap epoch X-header (__NEOFS__NETMAP_EPOCH).
  • Constant string key to netmap lookup depth X-header (__NEOFS__NETMAP_LOOKUP_DEPTH).

Changed

  • Linter's configuration in .golangci.yml.

Fixed

  • Remarks of the updated linter.

v1.22.0 - Yeouido (여의도, 汝矣島)

30 Dec 09:36
Compare
Choose a tag to compare

1.22.0 - 2020-12-30 - Yeouido (여의도, 汝矣島)

Support changes from NeoFS API Yeouido.

Added

  • Payload hash field to ShortHeader message.
  • Payload homomorphic hash field to ShortHeader message.
  • Support of StorageGroup message.
  • Support of DataAuditResult message.
  • Stringer and string parser for Checksum type of client library.
  • Stringer and string parser for Type message.
  • Stringer and string parser for Type type of client library.
  • AddTypeFilter method on SearchFilters type of client library
    that adds filter by object type.
  • Utility functions for working with fixed64 protobuf type to proto library.
  • Converters for repeated object ID messages in v2 library.

v1.22.0-rc.1

25 Dec 13:27
Compare
Choose a tag to compare
v1.22.0-rc.1 Pre-release
Pre-release

Support changes from NeoFS API Yeouido.

Added

  • Payload hash field to ShortHeader message.
  • Payload homomorphic hash field to ShortHeader message.
  • Support of StorageGroup message.
  • Support of DataAuditResult message.
  • Stringer and string parser for Checksum type of client library.
  • Stringer and string parser for Type message.
  • Stringer and string parser for Type type of client library.
  • AddTypeFilter method on SearchFilters type of client library
    that adds filter by object type.
  • Utility functions for working with fixed64 protobuf type to proto library.
  • Converters for repeated object ID messages in v2 library.

v1.21.2

24 Dec 11:58
Compare
Choose a tag to compare

1.21.2 - 2020-12-24

Added

  • Container.NonceUUID getter of container nonce in UUID format.
  • Container.SetNonceUUID setter of container nonce in UUID format.
  • NewVerifiedContainerFromV2 container constructor that preliminary
    checks if container message argument meets NeoFS API V2 specification.

Changed

  • Container.Nonce/Container.SetNonce marked as deprecated.
  • Client.GetContainer method returns an error if received
    container does not meet NeoFS API specification.

Fixed

  • pkg.SDKVersion to return version with minor 1.
  • pkg.IsSupportedVersion to consider 2.1 as supported.

v1.21.1

18 Dec 13:31
Compare
Choose a tag to compare

1.21.1 - 2020-12-18

Support neofs-api v2.1.1.

Added

  • client.GetVerifiedContainerStructure function to check
    that the container structure matches the requested identifier.

v1.21.0 - Modo (모도, 茅島)

11 Dec 14:54
Compare
Choose a tag to compare

1.21.0 - 2020-12-11 - Modo (모도, 茅島)

Added

  • SplitID message support
  • Search filter by SplitID field
  • SplitInfo message support and related error
  • Raw flag support in Client.GetObject(Header)
  • Getters for parameter structures in pkg/client package
  • Tombstone message support
  • Tombstone address target parameter of Client.DeleteObject method
  • client.DeleteObject helpful function
  • Usage of default value for backup factor in placement builder

Removed

  • Object search filter by CHILDFREE property

Renamed

  • AddLeafFilter to AddPhyFilter

Fixed

  • NPE in eacl.NewTargetFromV2 function
  • Processing REP X policies in placement builder

v1.20.3

25 Nov 11:54
Compare
Choose a tag to compare

1.20.3 - 2020-11-25

Added

  • AddObjectIDFilter method of SearchFilters type
  • WithDialTimeout option of v2 and SDK Client's
  • GetEACLWithSignature method of SDK Client type

Fixed

  • incorrect signature verification algorithm in GetEACL method of SDK Client

v1.20.2

17 Nov 14:53
Compare
Choose a tag to compare

1.20.2 - 2020-11-17

Fixed

  • Readme badges