v0.10.0
Modules affected
shell[BACKWARD INCOMPATIBLE]awscommons
Description
- Add new function to upload string contents to S3 bucket.
- Refactor shell functions to use a common underlying runtime interface.
- New shell run command functions
RunShellCommandAndGetOutputStructandRunShellCommandAndGetOutputStructAndStreamOutputwhich will return a struct that captures stdout, stderr, and merged outputs so you can access all of those outputs. - Refactor implementation of streaming and capturing outputs. This implementation respects the ordering in stdout and stderr better. The previous implementation always preferred to read stdout over stderr, which resulted in delaying the streaming of stderr if both were simultaneously written to. The updated implementation will properly interleave the contents regardless of timing.
NOTE: This release introduces changes that modify the behavior of the captured and streamed outputs for the *StreamOutput shell functions. Specifically, the streamed logs are now more interleaved, and the output strings will include terminating newlines if the original stdout/stderr included a terminating newline before EOF.