Gsutil

Latest version: v5.33

Safety actively analyzes 688053 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 13 of 24

4.26

Not secure
=======================================
New features
------------------
- The cp command now supports reading from and writing to named pipes.

Bug Fixes
------------------
- Fixed issue where tab completion wasn't working.
- Fixed issue when using the XML API where gsutil would fail to parse bucket
metadata for buckets using Lifecycle rules containing the SetStorageClass
action or MatchesStorageClass condition.

Other Changes
------------------
- Removed -o flag from "notification create" command. The same functionality is
available with the -p flag; the -o flag had been mistakenly added in a
previous change.
- Removed the alpha disclaimer from the iam command help text.
- Several documentation updates and clarifications.

4.25

Not secure
=======================================
New features
------------------
- Added bucket label support to gsutil. For more details, see
https://cloud.google.com/compute/docs/label-or-tag-resources.
- Added the label command, which can be used to get, set, and change the labels
for an existing bucket (known as "tags" for S3 buckets).
- Listing a bucket via "gsutil ls -Lb" now also displays the labels, if any
exist, that are currently set on it.

4.24

Not secure
=======================================
New Features
------------------
- Added support for configuring GCS Cloud Pub/Sub notifications. For more
details, see https://cloud.google.com/storage/docs/pubsub-notifications.
- Added support for specifying canned ACLs when using the rsync command.

Bug Fixes
------------------
- Fixed a bug where error messages about invalid object names did not correctly
display the problematic object name.

4.23

Not secure
=======================================
Bug Fixes
------------------
- Fixed "referenced before assignment" error in some copy_helper exceptions for
resumable uploads and non-resumable cloud-to-local downloads.
- The setmeta command now properly supports case sensitivity in custom metadata
keys when using the JSON API.
- Fixed a resource leak affecting Windows in cases where single-process,
multithreaded parallelism is used that would result in an OSError with the
message "Too many open files".
- Fixed HTTPError initialization failure in signurl command.
- Fixed signurl issue where attempting to validate short-lived URLs on a slow
connection would fail because of URL expiration.
- Fixed a bug where cp -r would not properly resolve wildcards for
cloud-to-cloud copies.
- Fixed a bug where cp -e -r would copy symlinks.
- Fixed a bug where cp -P would fail on Windows.
- Fixed a bug where version -l might not show all boto configuration files.
- Running perfdiag now only lists the objects that were created by that run of
perfdiag. This fixes an issue where running perfdiag against an existing
bucket with many objects in it could take a long time.


Other Changes
------------------
- Simplified parallelism when using a single process with multiple threads.
With this change, gsutil will spawn a new thread pool per level of
parallelism. As an example, if you specify that you want a
parellel_thread_count of 24, this will result in 24 worker threads, except
when you're using parallel composite uploads or sliced downloads, in which
case 48 (24 * 2) worker threads will be used.
- Extended the early deletion warning threshold when moving Coldline objects
to 90 days after object creation.
- Improved several error messages and warnings.
- Several documentation updates and clarifications.

4.22

Not secure
=======================================
New features
------------------
- Added per-object storage class functionality to gsutil. For more details, see
https://cloud.google.com/storage/docs/per-object-storage-class.
- Added the defstorageclass command, which can be used to get and set an
existing bucket's default storage class.
- The cp, mv, and rewrite commands now support the "-s" option, allowing users
to specify the storage class for destination object(s). When no storage class
is specified, the object's storage class will be assigned from either its
bucket's default storage class (cp/mv commands) or the source object's
storage class (rewrite command).

Bug Fixes
------------------
- Fixed a bug in POSIX preservation for the cp and mv commands where POSIX
attributes were not propagated to cloud objects, even when the -P flag was
present.
- Fixed a bug in setmeta where removing custom metadata would add an
empty-string value if the key did not already exist.
- Content-Type is now obtained from symlink targets, rather than symlinks
themselves, when the use_magicfile option is set in the .boto configuration
file.

Other Changes
------------------
- Analytics reporting now includes performance metrics such as average
throughput and thread idle time.
- The iam set command now supports a -e option to specify an etag precondition
check. The IAM policy file returned by iam get and used by iam set has also
been altered to include this field.
- Default limit for max number of processes changed to 64.
- Several documentation updates and clarifications.

4.21

Not secure
=======================================
New Features
------------------
- The console output for many commands has been improved to display
command progress.
- The cp, mv, and rsync commands now support a -P option that preserves
POSIX file attributes from the source. Currently, mode, gid, uid,
atime, and mtime attributes are supported for uploads, downloads,
and copies.
- gsutil can now optionally report anonymous usage statistics that help
gsutil developers improve the tool. For non-gcloud distributions,
prompts have been added to the config and update commands. Prompts can
be disabled via the disable_analytics_prompt value in the .boto
configuration file.
- Added the iam commmand, which can be used to set IAM policies on
Google Cloud Storage buckets and objects. This feature is currently in
alpha and requires a safelist application to use it - see
"gsutil help iam" for details.
- The hash command now supports retrieving hashes for cloud objects.

Bug Fixes
------------------
- Fixed a bug where rsync -e -r could fail for subdirectories with
broken symlinks.
- Fixed an access error when interacting with S3 user-specific
directories.

Other Changes
------------------
- Updated boto library dependency to 2.42.0.

Page 13 of 24

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.