Survey

Latest version: v5.4.2

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

Scan your dependencies

Page 7 of 19

3.1.0

Additions

- `alt+left` and `alt+right` move the cursor after the next special rune.

Changes

- Cursor moves at the end of editors' initial `value` by inserting.

Fixes

- Fixed `traverse`\'s `jump` doc.

3.0.2

Fixes

- Updated version to reflect breaking changes.

3.0.1

Fixes

- `jump` now takes proper arguments in `path`.

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

Page 7 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.