Skip to content

Deprecate endpoints - #149

Draft
skupriienko wants to merge 7 commits into
masterfrom
deprecate-endpoints
Draft

Deprecate endpoints#149
skupriienko wants to merge 7 commits into
masterfrom
deprecate-endpoints

Conversation

@skupriienko

Copy link
Copy Markdown
Collaborator

No description provided.

- Support typing.NamedTuple and object __dict__/model_dump redaction in RedactingFilter
- Enforce regular file check before size evaluation to prevent CWE-400 resource exhaustion
- Disallow boolean types in timeout evaluation to prevent silent coercion
- Harden IDN normalization via rpartition and catch specific UnicodeError bounds
- Filter control characters [\x00-\x1f\x7f] and normalize whitespace in log traces
- Update test_guardrails suite with edge cases covering CWE-22, CWE-400, and logging extras
…t pagination

- Register DEPRECATION_ADVISORY mapping legacy endpoints (newsletter, stats, webhook)
- Add static routes for contactslist_csvdata, batchjob_csverror, contact_data, and widget
- Emit active DeprecationWarning on deprecated route access in Endpoint._build_url
- Preserve CamelCase to kebab-case conversion for sub-actions in Endpoint.__init__
- Implement query parameter casting (_cast_query_param) and snapshot isolation in stream()
- Allow custom headers forwarding in create() and update() methods
- Add comprehensive unit tests covering routing branches, sub-actions, and deprecations
- Replace deprecated newsletter.create with campaigndraft.create in segments_sample.py
- Update smoke_readme_runner health checks to use canonical eventcallbackurl
- Align Content API v1 test to use template_contents instead of templates_contents
…utes

- Extend fuzz_endpoint with pagination and generator stream mutation paths
- Add auth coercion, HTML SpamGuard, and safe kwargs filtering to fuzz_guardrails
- Expand fuzz_redacting_filter to exercise Set and Object redaction pathways
- Update fuzzer.dict with new static routes, parameters, and encoding payloads
@skupriienko skupriienko self-assigned this Sep 12, 2026
Comment thread tests/fuzz/fuzz_endpoint.py Fixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant