debian-forge-composer/vendor/cloud.google.com/go/storage/CHANGES.md
Tomas Hozza ff95059748 internal/upload: Add support for upload to GCP and CLI tool using it
Add new internal upload target for Google Cloud Platform and
osbuild-upload-gcp CLI tool which uses the API.

Supported features are:
- Authenticate with GCP using explicitly provided JSON credentials
  file or let the authentication be handled automatically by the
  Google cloud client library. The later is useful e.g. when the worker
  is running in GCP VM instance, which has associated permissions with
  it.
- Upload an existing image file into existing Storage bucket.
- Verify MD5 checksum of the uploaded image file against the local
  file's checksum.
- Import the uploaded image file into Compute Node as an Image.
- Delete the uploaded image file after a successful image import.
- Delete all cache files from storage created as part of the image
  import build job.
- Share the imported image with a list of specified accounts.

GCP-specific image type is not yet added, since GCP supports importing
VMDK and VHD images, which the osbuild-composer already supports.

Update go.mod, vendor/ content and SPEC file with new dependencies.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-02-25 18:44:21 +00:00

2.6 KiB

Changes

v1.10.0

  • Bump dependency on google.golang.org/api to capture changes to retry logic which will make retries on writes more resilient.
  • Improve documentation for Writer.ChunkSize.
  • Fix a bug in lifecycle to allow callers to clear lifecycle rules on a bucket.

v1.9.0

  • Add retry for transient network errors on most operations (with the exception of writes).
  • Bump dependency for google.golang.org/api to capture a change in the default HTTP transport which will improve performance for reads under heavy load.
  • Add CRC32C checksum validation option to Composer.

v1.8.0

  • Add support for V4 signed post policies.

v1.7.0

  • V4 signed URL support:
    • Add support for bucket-bound domains and virtual hosted style URLs.
    • Add support for query parameters in the signature.
    • Fix text encoding to align with standards.
  • Add the object name to query parameters for write calls.
  • Fix retry behavior when reading files with Content-Encoding gzip.
  • Fix response header in reader.
  • New code examples:
    • Error handling for ObjectHandle preconditions.
    • Existence checks for buckets and objects.

v1.6.0

  • Updated option handling:
    • Don't drop custom scopes (#1756)
    • Don't drop port in provided endpoint (#1737)

v1.5.0

  • Honor WithEndpoint client option for reads as well as writes.
  • Add archive storage class to docs.
  • Make fixes to storage benchwrapper.

v1.4.0

  • When listing objects in a bucket, allow callers to specify which attributes are queried. This allows for performance optimization.

v1.3.0

  • Use storage.googleapis.com/storage/v1 by default for GCS requests instead of www.googleapis.com/storage/v1.

v1.2.1

  • Fixed a bug where UniformBucketLevelAccess and BucketPolicyOnly were not being sent in all cases.

v1.2.0

v1.1.2

  • Fix memory leak in BucketIterator and ObjectIterator.

v1.1.1

  • Send BucketPolicyOnly even when it's disabled.

v1.1.0

  • Performance improvements for ObjectIterator and BucketIterator.
  • Fix Bucket.ObjectIterator size calculation checks.
  • Added HMACKeyOptions to all the methods which allows for options such as UserProject to be set per invocation and optionally be used.

v1.0.0

This is the first tag to carve out storage as its own module. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.