This document outlines major changes between releases.
- Disable URI path escaping for presigned URLs (#1046)
- Command generate-presigned-url from authmate (#1048)
0.33.0 - 2024-12-10
- ACLs are disabled now by default (like in AWS S3), but can be enabled via policy (#1018, #1026, #1036)
- Log sampling is disabled now (#1024)
- Concurrent parts upload is possible now for multipart uploads (#1034, #1041)
- neofs_s3_version_info metric renamed to neofs_s3_version (#1035)
- authmate not checking for URL validity when creating presigned URL (#1027)
- Panic in chunked encoding handler (#1039)
- NeoGo dependency to 0.107.0 (#1040)
0.32.0 - 2024-10-01
- placement_policy.locations config option (#989)
- Placement policy search using contract (#999)
- Reading chunked payload if header content-encoding: aws-chunked is not set (#1009)
0.31.1 - 2024-09-13
- Documentation for extensions and unsupported features (#990, #991, #995, #998)
- Go 1.22+ is required to build now (#927)
- stream_timeout default timeout from 10s to 60s (#973)
- Multipart objects are signed directly by gate now (#1001)
- Incorrect locked object deletion (#992)
- Potential version ID collisions in some cases (#993)
- Excessive memory use when working with small objects (#997)
- github.com/minio/sio from v0.4.0 to v0.4.1 (#927)
- github.com/nats-io/nats.go from v1.34.0 to v1.37.0 (#927)
- github.com/nspcc-dev/tzhash from v1.8.1 to v1.8.2 (#927)
- github.com/prometheus/client_golang from v1.20.0 to v1.20.2 (#927)
- github.com/urfave/cli/v2 from v2.27.2 to v2.27.4 (#927)
0.31.0 - 2024-08-20
- Use HKDF salt and info (#972)
- Allow addresses to be used in EACLs (#976)
- github.com/nspcc-dev/neofs-sdk-go dependency from v1.0.0-rc.12 to v1.0.0-rc.12.0.20240807160341-3528eb5bb1cc
- Single
rpc_endpoint
config option replaced with multiple endpointsfschain.endpoints
option (#968) - Go 1.21+ is required to build now (#811)
- Replaced HTTP 500 with HTTP 400 if user.ID decode failed (#983)
- github.com/nspcc-dev/neo-go dependency from v0.106.2 to v0.106.3 (#811)
- github.com/urfave/cli/v2 dependency from v2.3.0 to v2.27.2 (#811)
- github.com/nspcc-dev/neofs-contract dependency from v0.19.2-0.20240610103236-d50c8e0c9396 to v0.20.0 (#811)
- golang.org/x/crypto dependency from v0.21.0 to v0.26.0 (#811)
- github.com/nspcc-dev/tzhash dependency from v1.8.0 to v1.8.1 (#811)
- github.com/prometheus/client_golang dependency from v1.19.0 to v1.20.0 (#811)
- google.golang.org/protobuf dependency from v1.33.0 to v1.34.2 (#811)
- github.com/panjf2000/ants/v2 dependency from v2.5.0 to v2.10.0 (#811)
- github.com/aws/aws-sdk-go dependency from v1.50.27 to v1.55.5 (#811)
- github.com/spf13/viper dependency from v1.18.2 to v1.19.0 (#811)
- github.com/nats-io/nats.go dependency from v1.31.0 to v1.34.0 (#811)
- google.golang.org/grpc dependency from v1.62.0 to v1.62.1 (#811)
- github.com/minio/sio dependency from v0.3.0 to v0.4.0 (#811)
- Save hashless object header in SpitV2 (#974)
- Clean actual object version (#970)
- Old access boxes are incompatible with this version.
- The gate compatible only with node 0.43.0+.
Notice that the configuration parameter fschain.endpoints
contains multiple endpoints.
For migration, you should update config from old notation
rpc_endpoint: http://some-host:30333
to the new one
fschain:
endpoints:
- http://some-host:30333
0.30.1 - 2024-06-19
- ARM64 and Darwin binaries (#949)
- Split object scheme for multipart uploads to v2 scheme (#957)
- Timestamp is hidden if program is not running in TTY (#965)
- Inability to use "*" in ACLs (#958)
- Useless EACL record (#961)
- Incorrect owner returned for versioned/multipart objects (#957)
- Incorrect size retured for encrypted objects (#957)
- OPTIONS handling for pre-auth requests (#964)
- Documentation (#946)
- NeoFS SDK to RC12 (#943, #940, #960)
- golang.org/x/net dependency from 0.21.0 to 0.23.0 (#948)
- NeoGo dependency to 0.106.2 (#956, #960, #963)
0.30.0 - 2024-03-27
- Preallocate buffers to object uploads (#835)
- Support for aws-chunked (#914)
- Store CORS to the object (#890)
- Go 1.20+ is required to build now, using 1.22 by default (#928, #933)
- Limit objects amount for DeleteObjects (#849)
- Actualize CODEOWNERS (#942)
- Passing an empty meta parameter value raises "Your metadata headers are not supported." error (#848)
- Sdk optimizations (#839)
- Store bucket owner pub key in container attributes. It helps to process ACL correctly (#915)
- Documentation about ETag (#856)
- Use SDK with pool base multi sessions (#855)
- Documentation about Authenticated Users group (#871)
- SDK to use slicing optimization (#923)
- Don't use neofs-crypto directly in neofs/tree (#932)
- build(deps): bump golang.org/x/net from 0.14.0 to 0.17.0 (#851)
- build(deps): bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.9.23 (#867)
- build(deps): bump google.golang.org/grpc from 1.57.0 to 1.57.1 (#880)
- build(deps): bump github.com/nats-io/nkeys from 0.4.4 to 0.4.6 (#894)
- build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#917)
- build(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#935)
- 'v' from app version (#922)
- re-slicing for multipart (#931)
- Makefile: Fix sync-tree (#941)
- Correct filePath attribute filter using, storing only uniq pubKey in ACL target rule (#876)
- Public read acl results in full control permission (#866)
- Restrict presigned URL lifetime (#883)
- Return unsupported error on GetObjectTorrent (#884)
- Return unsupported error on GetBucketPolicyStatus (#886)
- Return unsupported error on PutPublicAccessBlock (#887)
- Return the correct error, if x-amz-credential is not provided (#892)
- Not accurate error message for invalid authenticated requests (#882)
- Return error if no tags in bucket (#924)
- Return correct error on invalid grantee type (#926)
- Sort parts by number and server creation time, for correct detection part if it was re-uploaded (#929)
- Return correct error on lock configuration check (#888)
- Return unimplemented error on GetPublicAccessBlock (#896)
- Return unimplemented error in PutBucketLogging (#925)
- Return not supported error for PutObjectLegalHold command if OFF state (#889)
- Check x-amz-expires header on maximum border (#893)
- Handle bad user id more gracefully (#879)
0.29.0 - 2023-09-28
- Experimental "internal-slicer" option to prepare objects on the gateway side (#831)
- Go 1.19+ is required to build now, using 1.21 by default (#829)
- NeoGo dependency updated to 0.102.0 (#829)
- Setting System EACL rules (#825)
- NoOp compatibility resolver, RPC endpoint configuration is mandatory now (#830)
0.28.2 - 2023-09-13
- Panic when creating some objects (#821)
- SDK updated to fix node health management issues and count statistics more appropriately (#823)
0.28.1 - 2023-09-08
neofs-sdk-go
tov1.0.0-rc.11
0.28.0 - 2023-08-25
- Authmate panic in case of some missing parameters (#794)
- Missing reconnects in case of RPC connection failure (#796)
- Failure to complete multipart upload of ACL-enabled object (#807)
- NoOpResolver as backward compatibility for case when rpc_endpoint/S3_GW_RPC_ENDPOINT param is empty in config, it will be removed in 0.29.0 (#807)
- Improved documentation (#795)
- Renamed API errors package (#803)
- Docker image is more lightweight now (#804)
- Option
rpc_endpoint
in yaml config orS3_GW_RPC_ENDPOINT
in env config is mandatory (#807). - SDK dependency updated to RC10 (#807)
- Improved data buffering (#807)
- Options
resolve_order
in yaml config andS3_GW_RESOLVE_ORDER
in env (#807).
0.27.1 - 2023-06-15
- authmate panic (#787)
- wrong return code logged for PutBucketVersioning (#792)
- SDK dependency updated to RC9+ (#785, #789)
0.27.0 - 2023-05-19
- Grantee XML decoding (#768)
- Version metric (#779)
- Go 1.17 is no longer supported, 1.20 used by default for builds (#776)
- SDK dependency is now at 1.0.0-rc.8 (#777)
- golang.org/x/net dependency is now at 0.10.0 fixing some security issues there (#777)
- github.com/nats-io/nats-server/v2 update to 2.7.4 fixing CVE-2022-26652 (#778)
0.26.1 - 2023-02-22
- Incorrect error count in pool component (#767)
0.26.0 - 2022-12-28
- Use client time as
now
in some requests (#726) - Reload policies on SIGHUP (#747)
- Authmate flags for pool timeouts (#760)
- Multiple server listeners (#742)
- Placement policy configuration (#568)
- Improved debug logging of CID and OID values (#754)
- Deprecated linters (#755)
New config parameters were added. And old one defaul_policy
were changed.
placement_policy:
default: "REP 3"
region_mapping: /path/to/container/policies.json
Make sure you update the config accordingly: If you configure application using environment variables change:
S3_GW_DEFAULT_POLICY
->S3_GW_PLACEMENT_POLICY_DEFAULT_POLICY
S3_GW_LISTEN_ADDRESS
->S3_GW_SERVER_0_ADDRESS
S3_GW_TLS_CERT_FILE
->S3_GW_SERVER_0_TLS_CERT_FILE
(and setS3_GW_SERVER_0_TLS_ENABLED=true
)S3_GW_TLS_KEY_FILE
->S3_GW_SERVER_0_TLS_KEY_FILE
(and setS3_GW_SERVER_0_TLS_ENABLED=true
)
If you configure application using .yaml
file change:
defaul_policy
->placement_policy.default
listen_address
->server.0.address
tls.cert_file
->server.0.tls.cert_file
(and setserver.0.tls.enabled: true
)tls.key_file
->server.0.tls.key_file
(and setserver.0.tls.enabled: true
)
- Empty bucket policy (#740)
- Big object removal (#749)
- Checksum panic (#741)
- Debian packaging (#737)
- Timeout for individual operations in streaming RPC (#750)
0.25.0 - 2022-10-31
- Legal hold object lock enabling (#709)
- Errors at object locking (#719)
- Unrestricted access to not owned objects via cache (#713)
- Check tree service health (#699)
- Bucket names in listing (#733)
- Config reloading on SIGHUP (#702, #715, #716)
- Stop pool dial on SIGINT (#712)
- GitHub actions update (#710)
- Makefile help (#725)
- Optimized object tags setting (#669)
- Improved logging (#728)
- Unified unit test names (#617)
- Improved docs (#732)
- Unused cache methods (#650)
New config parameters were added. Make sure the default parameters are appropriate for you.
cache:
accesscontrol:
lifetime: 1m
size: 100000
0.24.0 - 2022-09-14
- Exposure of pool metrics (#615, #680)
- Configuration of
set_copies_number
(#634, #637) - Configuration of list of allowed
AccessKeyID
prefixes (#674) - Tagging directive for
CopyObject
(#666, #683) - Customer encryption (#595)
CopiesNumber
configuration (#634, #637)
- Improved wallet configuration via
.yaml
config and environment variables (#607) - Update go version for build to 1.19 (#694, #705)
- Update version calculation (#653, #697)
- Optimized lock creation (#692)
- Update way to configure
listen_domains
(#667) - Use
FilePath
instead ofFileName
for object keys (#657) - Optimize listing (#625, #616)
- Drop any object search logic (#545)
- Responses to
GetObject
andHeadObject
: removed redundantVersionID
(#577, #682) - Replacement of object tagging in case of overwriting of an object (#645)
- Using tags cache with empty
versionId
(#643) - Fix panic on go1.19 (#678)
- Fix panic on invalid versioning status (#660)
- Fix panic on missing decrypt reader (#704)
- Using multipart uploads with
/
in name (#671) - Don't update settings cache when request fails (#661)
- Fix handling
X-Amz-Copy-Source
header (#672) - ACL related problems (#676, #606)
- Using
ContinuationToken
for "directories" (#684) - Fix
connection was closed
error (#656) - Fix listing for nested objects (#624)
- Fix anon requests to tree service (#504, #505)
Make sure your configuration is valid:
If you configure application using environment variables change:
S3_GW_WALLET
->S3_GW_WALLET_PATH
S3_GW_ADDRESS
->S3_GW_WALLET_ADDRESS
S3_GW_LISTEN_DOMAINS_N
->S3_GW_LISTEN_DOMAINS
(use it as array variable)
If you configure application using .yaml
file change:
wallet
->wallet.path
address
->wallet.address
listen_domains.n
->listen_domains
(use it as array param)
0.23.0 - 2022-08-01
- System metadata are filtered now (#619)
- List objects in corner cases (#612, #627)
- Correct removal of a deleted object (#610)
- Bucket creation could lead to "no healthy client" error (#636)
- New param to configure pool error threshold (#633)
- Pprof and prometheus metrics configuration (#591)
- Don't set sticky bit in authmate container (#540)
- Updated compatibility table (#638)
- Rely on string sanitizing from zap (#498)
- To enable pprof use
pprof.enabled
instead ofpprof
in config. To enable prometheus metrics useprometheus.enabled
instead ofmetrics
in config. If you are using the command line flags you can skip this step.
0.22.0 - 2022-07-25
Tree service support
- Error logging (#450)
- Default bucket location constraint (#463)
- Suspended versioning status (#462)
- CodeQL warnings (#489, #522, #539)
- Bearer token behaviour with non-owned buckets (#459)
- ACL issues (#495, #553, #571, #573, #574, #580)
- Authmate policy parsing (#558)
- Public key output in authmate issue-secret command (#482)
- Support of conditional headers (#484)
- Cache type cast error logging (#465)
docker/*
target in Makefile (#471)- Pre signed requests (#529)
- Tagging and ACL notifications (#361)
- AWSv4 signer package to improve compatibility with S3 clients (#528)
- Extension mimetype detector (#289)
- Default params documentation (#592)
- Health metric (#600)
- Parallel object listing (#525)
- Tree service (see commit links from #609)
- Reduce number of network requests (#439, #441)
- Renamed authmate to s3-authmate (#518)
- Version output (#578)
- Improved error messages (#539)
layer/neofs
package (#438)
0.21.1 - 2022-05-16
- Update go version to go1.17 (#427)
- Set homomorphic hashing disable attribute in container if required (#435)
0.21.0 - 2022-05-13
- Support of get-object-attributes (#430)
- Reduced time of bucket creation (#426)
- Bucket removal (#428)
- Obtainment of ETag value (#431)
- Authmate doesn't parse session context anymore, now it accepts application defined flexible structure with container ID in human-readable format (#428)
0.20.0 - 2022-04-29
- Support of object locking (#195)
- Support of basic notifications (#357, #358, #359)
- Logger behavior: now it writes to stderr instead of stdout, app name and
version are always presented and fixed, all user options except of
level
are dropped (#380) - Improved docs, added config examples (#396, #398)
- Updated NeoFS SDK (#365, #409)
- Added check of
SetEACL
tokens before processing of requests (#347) - Authmate: returned lost session tokens when a parameter
--session-token
is omitted (#387) - Error when a bucket hasn't a settings file (#389)
- Response to a request to delete not existing object (#392)
- Replaced gate key in ACL Grantee by key of bearer token issuer (#395)
- Missing attach of bearer token to requests to put system object (#399)
- Deletion of system object while CompleteMultipartUpload (#400)
- Improved English in docs and comments (#405)
- Authmate: reconsidered default bearer token rules (#406)
0.19.0 - 2022-03-16
- Authmate: support placement policy overriding (#343, #364)
- Managing bucket notification configuration (#340)
- Unit tests in go1.17 (#265)
- NATS settings in application config (#341)
- Support
Expires
andCache-Control
headers (#312) - Support
%
as delimiter (#313) - Support
null
version deletion (#319) - Bucket name resolving order (#285)
- Authmate: added
timeout
flag (#290) - MinIO results in s3 compatibility tables (#304)
- Support overriding response headers (#310)
- Authmate: check parameters before container creation (#372)
- Unify cache invalidation on deletion (#368)
- Updated NeoFS SDK to v1.0.0-rc.3 (#297, #333, #346, #376)
- Authmate: changed session token rules handling (#329, #336, #338, #352)
- Changed status code for some failed requests (#308)
- GetBucketLocation returns policy name used at bucket creation (#301)
- Waiting for bucket to be deleted (#366)
- Authmate: changed error message for session context building (#348)
- Authmate: fixed access key parsing in
obtain-secret
command (#295) - Distinguishing
BucketAlreadyExists
errors (#354) - Incorrect panic if handler not found (#305)
- Authmate: use container friendly name as system name (#299, #324)
- Use UTC
Last-Modified
timestamps (#331) - Don't return object system metadata (#307)
- Handling empty post policy (#306)
- Use
X-Amz-Verion-Id
inCompleteMulipartUpload
(#318)
- Drop MinIO related errors (#316)
0.18.0 - 2021-12-16
- Support for MultipartUpload (#186, #187)
- CORS support (#217)
- Authmate supports setting of tokens lifetime in a more convenient format (duration) (#258)
- Generation of a random key for
--no-sign-request
(#276)
- Bucket name resolving mechanism from listing owner's containers to using DNS (#219)
- Deprecated golint, replaced by revive (#272)
With this release we introduce ceph-based S3 compatibility results.
- Versioning support (#122, #242, #263)
- Ceph S3 compatibility results (#150, #249, #266)
- Handling
X-Amz-Expected-Bucket-Owner
header (#216) X-Container-Id
header forHeadBucket
response (#220)- Basic ACL support (#49, #213)
- Caching (#179, #206, #231, #236, #253)
- Metadata directive when copying (#191)
- Bucket name checking (189)
- Continuation token support (#112, #154, #180)
- Mapping
LocationConstraint
toPlacementPolicy
(#89) - Tagging support (#196)
- POST uploading support (#190)
- Delete marker support (#248)
- Expiration for access box (#255)
- AWS CLI credential generating by authmate (#241)
- Default placement policy is now configurable (#218)
- README is split into different files (#210)
- Unified error handling (#89, #149, #184)
- Authmate issue-secret response contains container id (#163)
- Removed "github.com/nspcc-dev/neofs-node" dependency (#234)
- Removed GitHub workflow of image publishing (#243)
- Changed license to AGPLv3 (#264)
- ListObjects results are now the same for different users (#230)
- Error response for invalid authentication header is now correct (#199)
- Saving object metadata (#198)
- Range header handling (#194)
- Correct status codes (#118, #262)
- HeadObject for "directories" (#160)
- Fetch-owner parameter support (#159)
With this release we publish S3 gateway source code. It includes various S3 compatibility improvements, support of bucket management, unified secp256r1 cryptography with NEP-6 wallet support.
- Allowed no-sign request (#65)
- Bearer token attached to all requests (#84)
- Time format in responses (#133)
- Max-keys checked in ListObjects (#135)
- Lost metadat in the objects (#131)
- Unique bucket name check (#125)
- Bucket management operations (#47, #72)
- Node-specific owner IDs in bearer tokens (#83)
- AWS CLI usage section in README (#77)
- List object paging (#97)
- Lifetime for the tokens in auth-mate (#108)
- Support of range in GetObject request (#96)
- Support of NEP-6 wallets instead of binary encoded keys (#92)
- Support of JSON encoded rules in auth-mate (#71)
- Support of delimiters in ListObjects (#98)
- Support of object ETag (#93)
- Support of time-based conditional CopyObject and GetObject (#94)
- Accesskey format: now
0
used as a delimiter between container ID and object ID instead of_
(#164) - Accessbox is encoded in protobuf format (#48)
- Authentication uses secp256r1 instead of ed25519 (#75)
- Improved integration with NeoFS SDK and NeoFS API Go (#78, #88)
- Optimized object put execution (#155)
- GRPC keepalive options (#73)
This release brings S3 gateway to the current state of NeoFS and fixes some bugs, no new significant features introduced (other than moving here already existing authmate component).
New features:
- authmate was moved into this repository and is now built along with the gateway itself (#46)
Behavior changes:
- neofs-s3-gate was renamed to neofs-s3-gw (#50)
Improvements:
- better Makefile (#43, #45, #55)
- stricter linters (#45)
- removed non-standard errors package from dependencies (#54)
- refactoring, reusing new sdk-go component (#60, #62, #63)
- updated neofs-api-go for compatibility with current NeoFS node 0.21.0 (#60, #68)
- extended README (#67, #76)
Bugs fixed:
- wrong (as per AWS specification) access key ID generated (#64)
Please refer to Github releases for older releases.