Click-params

Latest version: v0.5.0

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

Scan your dependencies

Page 1 of 2

0.5.0

Added

- `UrlParamType` can now be directly imported. It allows users to customize the validation of urls
passed to their custom CLI.

Changed

- The signature of `UrlParamType` bas been changed to match the changes made in the `validators.url` function.
- The signature of `EmailParamType` bas been changed to match the changes made in the `validators.email` function.

Deprecated

- `PUBLIC_URL` type is now deprecated and will be removed in a next release.
- `PublicUrlListParamType` class is now deprecated and will be removed in a next release.

Removed

- Dropped support for python 3.7

Security

- Upgrade `validators` dependency to 0.22.0 to prevent [CVE-2023-45813](https://nvd.nist.gov/vuln/detail/CVE-2023-45813).

0.4.1

Fixed

- Fixed `ListParamType` to be able to parse the same input multiple times in a row (23).

0.4.0

Added

- All `ListParamType` subclasses have a new parameter `ignore_empty` that defaults to False.

Changed

- Renamed `UnionParamType` to `FirstOf` and changed its signature.

0.3.0

Fixed

- An issue when a user is prompted a value for a type inheriting `ListParamType`.

Removed

- Support for python3.6

0.2.0

Added

- A new base type: `UnionParamType`.

0.1.2

Changed

- Updated code to be compatible with Click 8.X

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.