Releases: castle/castle-python
Releases · castle/castle-python
Release 7.2.0
Housekeeping:
- Slim down the default request context to
headers,ip, andlibrary; the client id is carried byheaders(theX-Castle-Client-Idheader /__cidcookie) and resolved server-side. - Remove the internal
ClientIdExtractservice and the unusedcookiesplumbing inContextGetDefault/ContextPrepare.
Release 7.1.0
Features
- Add
events_schema,query_events, andgroup_eventsfor the Events API
Documentation
- Restructure README (quick start, advanced configuration)
- Update
DEVELOPMENT.rstandRELEASING.rst
Release 7.0.0
Breaking changes
- Require Python 3.9 or newer
- Remove
track,authenticate, device management, and impersonation client methods; userisk,filter, andloginstead - Remove
ImpersonationFailed
Features
- Lists and List Items APIs
- Privacy API (
request_user_data,delete_user_data) RateLimitErrorfor HTTP 429 responses
Bug fixes
- Fix
Client.filterandClient.riskfailover whenuseris missing; fall back tomatching_user_id
Enhancements
- Remove unused
ValidatorsNotSupportedvalidator - Migrate CI to GitHub Actions (Python 3.9–3.13)
- Migrate packaging to
pyproject.toml(PEP 621) - Replace
pylint/autopep8withruff - Bump
requestsminimum to2.31
Release v6.1.0
Release v6.0.0
Breaking Changes:
- #101 remove
identifyandreviewcommands - they are no longer supported - #101 remove
Castle::Events- please use [recognized events] (https://docs.castle.io/v1/reference/events) instead
Features:
- #104 add "filter", "log" and "risk" actions
Enhancements:
- #100 add
X-Requested-Withheader support
Release v5.0.1
Enhancements:
- #98 rename the namespace from
IPtoIPs
Release v5.0.0
Release v4.0.0
Release v3.3.0
- #67 add
trusted_proxy_depthandtrust_proxy_chainconfiguration options
Release v3.2.0
- #64. dropped X-Client-Id from calculation of ip, drop appending default ip headers to the ip_header list config when config is provided (in that case default headers have to be explicitly provided)