Survey

Latest version: v5.4.0

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

Scan your dependencies

Page 18 of 19

1.2.1

This release added the `settable` interface to allow for users to create custom logic when setting a field to a particular value, see README for more information.

This release also added automatic type casting when writing an `Input` to an `int` field for example.

1.2.0

This version adds a few improvements:
1. `Select` and `MultiSelect` prompt options are now paginated, with a default page size of 7. See Readme for more details
1. Inputs and Passwords can move their cursor with arrow keys as well as insert text in the middle of the word

1.1.1

1.1.0

See readme for more details

1.0.2

1.0.1

v1
This release includes a few large API breaking changes:

* `Choice` is now called `Select`
* the `Prompt` interface is now based on `interface{}`s instead of `string`s
* `Validator` signature changed from `string -> error` to `interface{} -> error`
* Ask and AskOne now take a pointer to a value (similar to `json.Unmarshal`) instead of returning a `map[string] string`
* `AskOneValidate` was removed and instead a validator can be specified via the third argument added to `AskOne`

Page 18 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.