Secure

Latest version: v0.3.0

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

Scan your dependencies

0.3.0

**Breaking Changes**

Changelog:
- Full redesign of Secure API
- Removal of cookie support
- Add type hints
- Add support for [FastAPI](https://fastapi.tiangolo.com)
- Change `Feature-Policy` to `Permissions-Policy` (10)

0.2.1

Merry Christmas! 🎅
- Add support for [Masonite](https://docs.masoniteproject.com)
- Remove trailing semicolon from Feature Policy
- Rename `Feature.Values.All` to `Feature.Values.All_` (shadowed built-in name 'all')
- Modify hug implementation for SecureHeaders and SecureCookie
- Upper-case SameSite Enum (`SameSite.LAX` / `SameSite.STRICT`)
- Add SecureHeaders and SecureCookie docstrings

0.2.0

- Add policy builder `SecurePolicies` (policies.py)
- Add `Expires` header for legacy browser support
- Add `max-age` directive to `Cache-control` header
- Rename `XXS` argument to `XXP`
- Use native Flask set-cookie

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.