Skip to content

Releases: nspcc-dev/neofs-rest-gw

v0.11.1

28 Oct 18:39
c97f49e
Compare
Choose a tag to compare

Changed

  • Network settings are cached now for faster processing (#251)

Fixed

  • Gateway not reacting to network settings changes (#251)
  • Incorrect request for container creation hangs indefinitely (#253)
  • Incorrect HTTP codes returned in many cases (#252, #253)

v0.11.0

28 Aug 12:40
e5a94a4
Compare
Choose a tag to compare

Added

  • WalletConnect auth scheme to /objects/${cid}/by... APIs (#236)
  • Support for 'Range' headers (#241)

Changed

  • Go 1.22+ is required to build now (#98, #136)
  • Default read/write timeouts to 60s (#244)

Removed

  • fullBearer parameter from all requests (it's autodetected now, #238)

Updated

  • github.com/nspcc-dev/neo-go dependency from v0.106.0 to v0.106.3 (#98)
  • github.com/oapi-codegen/echo-middleware dependency from v1.0.1 to v1.0.2 (#98)
  • github.com/labstack/echo/v4 dependency from v4.11.4 to v4.12.0 (#98)
  • github.com/getkin/kin-openapi from v0.118.0 to v0.127.0 (#98)

v0.10.1

12 Aug 15:42
58bba7f
Compare
Choose a tag to compare

Fixed

  • Missing proper shutdown for Pprof and Prometheus services (#227)
  • Missing Content-Type header in responses for HEAD requests (#232)

Changed

  • More efficient buffering for PUT requests (#225)

v0.10.0

10 Jun 12:10
8b3dab2
Compare
Choose a tag to compare

Fixed

  • Documentation for the server section (#220)
  • "unknown config parameter listen-address" warning (#220)

Changed

  • external-address configuration behavior to include scheme (#218)
  • Timestamp is no longer logged if program is not running in TTY (#222)

Updating from 0.9.0

Notice that the configuration parameter external-address in the server.endpoints section now also includes the scheme (http/https), not just the host and port. If external-address is not set, it will be generated from address and tls.enabled.

v0.9.0

30 May 20:56
5750187
Compare
Choose a tag to compare

Added

  • HEAD request handling for documentation (#199)
  • Darwin binaries (#204)
  • network-info path to request network parameters (#198)
  • Proper TLS server support (#200)
  • DefaultTimestamp configuration (#209)
  • New upload/download APIs (#206, #210, #211, #214)

Changed

  • github.com/nspcc-dev/neofs-sdk-go dependency to v1.0.0-rc.12 (#191, #176, #212)
  • golang.org/x/net dependency to 0.23.0 (#201)
  • Documentation to reflect known limitations (#196)
  • github.com/nspcc-dev/neofs-api-go/v2 is no longer used (#176)
  • Server listener configuration to conform to other NeoFS services (#200)
  • github.com/nspcc-dev/neo-go dependency to v0.106.0 (#208)

Updating from 0.8.3

Notice that configuration parameters in the server section were reorganized. For example e.g.server.schema and tls-listen-limit were removed, and some others were moved inside the array endpoints. Check your configuration with the help of the gate-configuration.md and config. Also, flags in the command arguments were changed.

A new upload object request has been introduced: /objects/{containerId}. This is a POST request that accepts the X-Attributes header, where all custom object attributes can be included in a JSON-formatted key-value map. Also, new GET and HEAD requests are added for object downloading: /objects/{containerId}/by_id/{objectId} and /objects/{containerId}/by_attribute/{attrKey}/{attrVal}. For more information, see the migration documentation. In the future, we plan to use these requests as the only option for object upload and download. We recommend starting to use them now.

v0.8.3

25 Mar 14:39
1cc2107
Compare
Choose a tag to compare

Fixed

  • CORS for upload request (#187)

v0.8.2

21 Mar 12:55
30d5f3b
Compare
Choose a tag to compare

Fixed

  • Fetching bearer token from cookie (#179)
  • CORS for auth bearer and other requests (#180, #182)

v0.8.1

21 Mar 05:17
dcb3068
Compare
Choose a tag to compare

Fixed

  • Incorrect answer to OPTIONS request (#169)
  • Garbage in "object not found" error messages (#174)
  • Missing additional data in some error messages (#175)
  • Incorrect ExternalAddress option handling (#165)

v0.8.0

19 Mar 07:01
de5a862
Compare
Choose a tag to compare

Fixed

  • Handling nested path in get_by_attribute API (#153)
  • Static MIME type defined for APIs with dynamic one (#153)

Changed

  • OpenAPI specification was updated to 3.0.1 version (#153)
  • Bumped google.golang.org/protobuf dependency from 1.32.0 to 1.33.0

v0.7.2

13 Mar 15:50
db7e24a
Compare
Choose a tag to compare

Fixed

  • Response for GET and HEAD methods in get_by_attribute when object is not found (#155)
  • Transform attribute key to Canonical MIME Header Key, which corresponds to the format used on upload (#155)

Changed

  • Simplified auth test, dropped the unnecessary neofs-crypto dependency (#150)
  • Upgraded Go version to a minimum 1.20 and updated versions for GitHub Actions and workflows (#149, #152)