Deprecate endpoints - #149
Draft
skupriienko wants to merge 7 commits into
Draft
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.