Survey

Latest version: v5.3.1

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

Scan your dependencies

Page 7 of 19

3.0.0

Mostly backwards compatible except for removals.

The only other unexpected behavior should be a new `?` appearing before prompts.

Additions

- Added `note`: A symbol coming before `prompt`.
- Added `info`: Updatable text coming after `prompt` and before `hint`.
- Added `indent` for `MultiLineEditor`: The amount of spaces for each tab.
- Added `jump` in `traverse`: A function deciding which index tab advances to.
- Added `Theme`: A data-like class used by `use` to overwrite global behavior.
- Added `auto` argument in almost every routine. Used to determine whether to respond immediately.

Changes

- Renamed modules and moved around classes to more specific places.
- Revamped `api.py` and modules around it to better house new features.
- `hint` is now static and cannot be updated. Use `info` instead.
- Exposed `respond` for when `auto` is `False`.
- Updated documentation to match new changes.

Removals

- Removed the `view`, `color` and `erase` arguments from every routine in favor of `auto` and `respond`.
- Removed `utils.py` as hints are now made directly via routines in `core.py`.

Fixes

- `helpers.paint` now accommodates more cases of ANSI-SGR sequence injecting.

2.3.7

2.3.6

2.3.5

2.3.4

What's Changed
* Fix Survey output on Windows by mislav in https://github.com/AlecAivazis/survey/pull/413
* Add `terminal.Cursor` error handling on Windows by mislav in https://github.com/AlecAivazis/survey/pull/414


**Full Changelog**: https://github.com/AlecAivazis/survey/compare/v2.3.3...v2.3.4

2.3.3

Page 7 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.