What's Changed ❇️
* Added Certs V2 (`CensysCerts`) and Web Entities (`WebEntitiesAssets`) API Support in https://github.com/censys/censys-python/pull/468
* Added deprecation for Certs V1 **This is going away soon, please switch to Certs v2** ([docs](https://support.censys.io/hc/en-us/articles/13393941983380-Three-Changes-You-Need-to-Make-for-Certs-2-0-API))
* See example using the search method: [`examples/search/search_certs.py`](https://github.com/censys/censys-python/blob/main/examples/search/search_certs.py)
* Added Certificate index to the `view` and `search` commands
* Try it now:
sh
censys view 9b00121b4e85d50667ded1a8aa39855771bdb67ceca6f18726b49374b41f0041 --index-type certificates
Or
censys search 'names: censys.io' --index-type certificates --fields names
* Enhanced the `subdomains` command using the new Certs V2 API
Breaking Changes :x:
* Removed `Risksv1` and renamed `Risksv2` to simply `Risks`.
* Imports will need to be updated.
**Old Imports**
python
from censys.asm.risks.v2 import Risksv2
**New Imports ✨**
python
from censys.asm.risks import Risks
* Removed Certs V1
**Legacy Certs V1 Imports**
python
from censys.search import CensysCertificates
**New Certs V2 Imports ✨**
python
from censys.search import CensysCerts
Make sure to update queries and pagination logic
* Removed Certs V1 from CLI
**Full Changelog**: https://github.com/censys/censys-python/compare/v2.1.9...v2.2.0