From 494130d3e7f6105fe4a0f83e7e895d9fc491120c Mon Sep 17 00:00:00 2001 From: JinnyYi <82445294+JinnyYi@users.noreply.github.com> Date: Mon, 24 May 2021 23:09:56 +0800 Subject: [PATCH] Bump to version 3.0.0 (#52) --- CHANGELOG.md | 18 ++++++++++++++++++ generated.go | 14 ++++++++++++++ go.mod | 4 ++-- go.sum | 8 ++++---- 4 files changed, 38 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4685506..4e453cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/). +## [v3.0.0] - 2021-05-24 + +### Added + +- storage: Add appender support (#40) +- *: Implement GSP-47 & GSP-51 (#46) +- storage: Implement GSP-61 Add object mode check for operations (#49) + +### Changed + +- service: Use path style instead of vhost (#43) +- service: Fix location not detected correctly (#45) +- storage: Idempotent storager delete operation (#44) +- storage: Implement GSP-62 WriteMultipart returns Part (#47) +- storage: Check if part number is valid when multipart upload (#48) +- *: Implement GSP-73 Organization rename (#51) + ## [v2.1.0] - 2021-04-24 ### Added @@ -61,5 +78,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/). - Implement qingstor services. +[v3.0.0]: https://github.com/beyondstorage/go-service-qingstor/compare/v2.1.0...v3.0.0 [v2.1.0]: https://github.com/beyondstorage/go-service-qingstor/compare/v2.0.0...v2.1.0 [v2.0.0]: https://github.com/beyondstorage/go-service-qingstor/compare/v1.0.0...v2.0.0 diff --git a/generated.go b/generated.go index 6cd51cc..e9246ce 100644 --- a/generated.go +++ b/generated.go @@ -148,6 +148,10 @@ func WithStorageClass(v string) Pair { } } +var ( + _ Servicer = &Service{} +) + // pairServiceNew is the parsed struct type pairServiceNew struct { pairs []Pair @@ -461,6 +465,16 @@ func (s *Service) ListWithContext(ctx context.Context, pairs ...Pair) (sti *Stor return s.list(ctx, opt) } +var ( + _ Appender = &Storage{} + _ Copier = &Storage{} + _ Fetcher = &Storage{} + _ Mover = &Storage{} + _ Multiparter = &Storage{} + _ Reacher = &Storage{} + _ Storager = &Storage{} +) + // pairStorageNew is the parsed struct type pairStorageNew struct { pairs []Pair diff --git a/go.mod b/go.mod index 5b93b88..7b7bcb1 100644 --- a/go.mod +++ b/go.mod @@ -4,8 +4,8 @@ go 1.14 require ( bou.ke/monkey v1.0.2 - github.com/beyondstorage/go-integration-test/v4 v4.0.0-20210521062555-83f8f166943f - github.com/beyondstorage/go-storage/v4 v4.0.0-20210521045436-248353dfc077 + github.com/beyondstorage/go-integration-test/v4 v4.0.0 + github.com/beyondstorage/go-storage/v4 v4.0.0 github.com/golang/mock v1.5.0 github.com/google/uuid v1.2.0 github.com/pengsrc/go-shared v0.2.1-0.20190131101655-1999055a4a14 diff --git a/go.sum b/go.sum index 085735a..0f47c1a 100644 --- a/go.sum +++ b/go.sum @@ -4,10 +4,10 @@ github.com/Xuanwo/go-bufferpool v0.0.0-20200622083641-bc954721ce54 h1:wA7f87ODtF github.com/Xuanwo/go-bufferpool v0.0.0-20200622083641-bc954721ce54/go.mod h1:Mle++9GGouhOwGj52i9PJLNAPmW2nb8PWBP7JJzNCzk= github.com/Xuanwo/templateutils v0.1.0 h1:WpkWOqQtIQ2vAIpJLa727DdN8WtxhUkkbDGa6UhntJY= github.com/Xuanwo/templateutils v0.1.0/go.mod h1:OdE0DJ+CJxDBq6psX5DPV+gOZi8bhuHuVUpPCG++Wb8= -github.com/beyondstorage/go-integration-test/v4 v4.0.0-20210521062555-83f8f166943f h1:2a44nxIWm5DgEb6/gnD3We/32Bx19ET0iOM4+mxOmp8= -github.com/beyondstorage/go-integration-test/v4 v4.0.0-20210521062555-83f8f166943f/go.mod h1:PUhp+CDYnsysCKVU7poqIK7ZWTfADkOu2Z/PjlSIhsY= -github.com/beyondstorage/go-storage/v4 v4.0.0-20210521045436-248353dfc077 h1:BxqrLLELv6ZvP4+DZlwPAwBhNYkQqpZFvujvUT8zGiY= -github.com/beyondstorage/go-storage/v4 v4.0.0-20210521045436-248353dfc077/go.mod h1:oa2dYco+xplPj99WSBnYVw/xXvRkIKWSSVDQKNZ5Kz8= +github.com/beyondstorage/go-integration-test/v4 v4.0.0 h1:tdXQV9yxQ3Q6p9xfyQKzK3MEo9r9j9g3uT5+3sbVtnQ= +github.com/beyondstorage/go-integration-test/v4 v4.0.0/go.mod h1:26/JF4b0XxRN0pL4kihpnVNhbbw+QWvmmvgxfnFJDfA= +github.com/beyondstorage/go-storage/v4 v4.0.0 h1:yg3/XFEIuf207Y/kb/Gh1E46imphE2EtsKk+x7wrxIM= +github.com/beyondstorage/go-storage/v4 v4.0.0/go.mod h1:oa2dYco+xplPj99WSBnYVw/xXvRkIKWSSVDQKNZ5Kz8= github.com/beyondstorage/specs/go v0.0.0-20210521044836-3d41c1d9c97f h1:KMXKB/LACUmnOfLfjND8222qtzWT9lWRUdsPOlM4FqE= github.com/beyondstorage/specs/go v0.0.0-20210521044836-3d41c1d9c97f/go.mod h1:f5VvmLHc/dNJwl+/yAv/TOHdev3phvuEswx8DIXiSQQ= github.com/dave/dst v0.26.2 h1:lnxLAKI3tx7MgLNVDirFCsDTlTG9nKTk7GcptKcWSwY=