Shellous

Latest version: v0.37.0

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

Scan your dependencies

Page 6 of 7

0.9.2

-----

- [BUGFIX] Fix bug in `context_aexit` utility function.
- [LATERAL] Fix mypy/pylint issues.
- [LATERAL] More async iterator tests.
- [LATERAL] Add tests for experimental kqueue child watcher.

0.9.1

-----

- [FEATURE] Add `timeout` option as an alterative to using `asyncio.wait_for` (132).
- [LATERAL] Fix bug in test: test_audit_block_pipe_specific_cmd (122)
- [LATERAL] Add multi-threaded tests and test improvements to MultiLoopChildWatcher.
- [LATERAL] Run tests on FreeBSD 12.2.

0.9.0

-----

- [API] Rename shellous.canonical() helper function to cooked().
- [FEATURE] Add SHELLOUS_DEBUG environment variable to enable detailed logging.
- [FEATURE] It's possible to redirect stderr to a pipe even with a pseudo-terminal (99).
- [LATERAL] Remove Redirect.IGNORE option and just use CAPTURE for stdin under pty.
- [LATERAL] Fix mypy/typing issues.
- [LATERAL] Change development status to Beta.

0.8.0

-----

- [API] Rename preexec_fn and start_new_session options, and reserve them for testing.
- [FEATURE] Add support for redirecting to and from asyncio StreamWriter/StreamReader.
- [FEATURE] Add `close_fds` option and align defaults with posix_spawn (78).
- [FEATURE] Add support for redirection constant literals: ..., (), and 1.
- [FEATURE] Add support for async context manager API directly to Command and Pipeline.
- [FEATURE] Add support for direct iteration (using an implicit context manager.)
- [FEATURE] Add the `audit_callback` option.
- [BUGFIX] Fix stdin redirects from BytesIO and StringIO.
- [BUGFIX] Do not allow create_subprocess_exec to be interrupted when cancelled.
- [LATERAL] Refactor and improve test coverage.

0.7.0

-----

- [FEATURE] Add support for redirecting stdout/stderr to a logging.Logger.
- [FEATURE] Add PEP 578 audit support: AUDIT_EVENT_SUBPROCESS_SPAWN (83).
- [FEATURE] Add IGNORE redirect option for stdin (77).
- [API] Change defaults for PTY redirections (stdin -> IGNORE, stderr -> STDOUT).
- [BUGFIX] Fix character encoding issue with input (88).
- [BUGFIX] Fix clean up of subcommands when there is an exception (82).
- [BUGFIX] Return correct exit status from failed/cancelled pty commands.
- [BUGFIX] Handle `ECHILD` properly in pty `waitpid` code.
- [BUGFIX] Improve reliability of pty mode on FreeBSD and MacOS (76, 84).
- [LATERAL] Test readme REPL commands on all platforms except Windows.

0.6.0

-----

- [FEATURE] Add support for FreeBSD.
- [BUGFIX] Improve pty support on MacOS.

Page 6 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.