This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
Releases: puppetlabs-toy-chest/wash
Releases · puppetlabs-toy-chest/wash
v0.20.0
New + Improved
- Added an
os.login_shell
attribute. If set, Wash commands likewps
and core entries likevolume.FS
will use thelogin_shell
to determine whether to run POSIX or PowerShell compatible commands. External plugins that operate against Windows or other systems with a PowerShell login shell should set the attribute so that Wash can run commands on them. (#699)
v0.19.1
v0.19.0
v0.18.1
v0.18.0
New + Improved
- The
docs
command now includes supported attributes and actions. The supported actions also include some example commands you can run on that entry. The Wash welcome prompt's been changed to introduce docs at an earlier point for first-time users. (#671) - The
meta
attribute has been changed to "partial metadata" (#685). This is a breaking change for themeta
command and external plugins. Formeta
command users,meta --attribute
=>meta --partial
. For external plugin authors, you'll need to:- Move the value in the
attributes.meta
key to a newpartial_metadata
key - Change
meta_attribute_schema
=>partial_metadata_schema
in the entry schema JSON objects.
The website will (shortly) be updated with these changes.
- Move the value in the
v0.17.0
New + Improved
- You can now write content to objects in AWS S3 and Google Cloud Storage. (#620)
Fixed
- More editors should now work with non-file-like objects (those that don't specify a size before trying to read them). (#656)
Plugins
- Added a Writable interface for making changes to the content of a file or writing data to an entry. See the external plugin docs for how to implement it. (#620)
v0.16.1
Fixes
- When Wash fails to exit because the filesystem is still in use, it will retry unmounting until the FUSE filesystem is unmounted. (#654)
winfo
will now output keys in a consistent order when using the YAML output format. (#662)winfo
can be called without providing a path and will default to the current working directory. (#661)winfo --output text
now prints something readable. (#483)- When starting
wash
for the first time, it will now prompt for what plugins you want to enable. If you have previously used Wash and configured some external plugins, you will need to manually add core plugins to theplugins
configuration field to re-enable them (or you can temporarily comment theexternal-plugins
block and runwash
). (#455) - Messages around which plugins have been configured for use have been improved. (#665)
wclear
now clears the entries attributes as well. (#667)
v0.16.0
New + Improved
- The
Readable
interface has been extended to support block-readable entries, i.e. file-like entries. These entries implement the block-readable signatureRead(size, offset)
. This works for both external and core plugins. For core plugin developers, theReadable
interface's signature has changed fromOpen(ctx) (SizedReader, error)
toRead(ctx) ([]byte, error)
, where the latter should return all of the entry's content (#619) wash version
=>wash --version
(#647)- A new
--verify-install
flag was added so that users can usewash --verify-install
to verify that a given Wash installation is setup correctly. This exposes any FUSE failures. (#646)
Fixes
wash
prompt properly prints folders with spaces (#636)cat
now outputs a Readable entry's data even if that data's size is unknown and > 4096 (#609)- A GCP project's children (GCP's individual services) are created in parallel. This speeds up
ls gcp/my-project
from 3.7s to 1.3s (#631) - Plugin APIs that prompt for user-input now work (#297)
- Opening a file with MacVim now creates a
whistory
entry (#650) - Calls to
whistory
no longer appear inwhistory
(#652)
v0.15.0
New + Improved
- AWS S3 and GCP Storage buckets now include bucket-size metadata (#621)
ls
,meta
,signal
,winfo
, andwclear
now support multiple paths (#598)
Fixes
ls
now prints the entry's path for "file" entries instead of its cname. This is more consistent with the built-inls
(#624)delete
now prints deleted entries, not just those that were marked for deletion. This makes it easier to track hangingdelete
requests (#626)signal
now prints signaled entries, making it easier to track hangingsignal
requests (#625)
v0.14.0
New + Improved
- The GCP plugin has been extended to support the following:
- Exploring firestore as a filesystem, including cat'ing/filtering/deleting documents and collections (#577)
- Listing/deleting cloud functions, and cat'ing/tailing their logs (#578)
- Listing/deleting/tailing GCP topics, and appending new messages to a topic via
echo "message" >> /path/to/topic
(#579) - Listing/deleting cloud run services, and cat'ing/tailing their logs (#612)
Fixes
- GCP project/compute instance
Delete
now includes the context (#610) cmdutil.Table#Format
now includes the column header when calculating the length of the longest column (#614)
Removed
- The
fs/read
endpoint has been removed since it is not being used anywhere in the code.