Clue API Release Notes¶
Read-only archive
This page archives Clue API release notes published before independent package changelogs were introduced. New release notes are generated by Release Please in api/CHANGELOG.md.
v1.7.0¶
- Priority-Aware Type Detection API (new feature): Added
/api/v2/lookup/types_detection/with regex, case-sensitivity, and priority metadata, plus version-scoped API documentation. Custom types can setprioritythroughadd_supported_type(); higher values win and registry order breaks ties. The v1 endpoint retains its regex-only response (#117). - ASN Enrichment Type (new feature): Added Autonomous System Number as a default supported type.
- Built-In Detector Compatibility (bugfix): Updated built-in regexes to accept mixed-case email domains and uppercase IPv6 prefixes while preserving case-sensitive detection where required (#117).
- Role-Based Authentication and Plugin Registration (security fix): Added structured API key policies with roles and read/write privileges, normalized OAuth role mapping, and restricted runtime plugin registration and removal to administrators with write privileges. Runtime registration validates exact allowed origins and prevents duplicate source names, while plugin requests reject unsafe redirects (#93). Upgrade: Configure
api.registration_allowed_originsto enable runtime registration; the default empty list disables it. Legacy string API keys remain supported with a deprecation warning but do not grant administrator access. - Plugin Access and OBO Authorization (security fix): Applied source classification checks and on-behalf-of authentication consistently to type discovery, enrichment, actions, fetchers, and asynchronous status requests. Failed OBO authentication now stops the plugin request instead of falling back to the caller's token (#98).
- Enrichment Result Authorization (security fix): Enforced classification validation and user-clearance filtering for single and bulk enrichment results even when a source is marked
production. When classification enforcement is enabled, missing or invalid user/item classifications fail closed; explicitly disabling classification enforcement still permits results (#102, #103). - JWT and JWKS Hardening (security fix): Validated token and signing-key metadata and bounded JWKS refresh attempts to prevent unauthenticated refetch denial of service. Added
auth.oauth.jwks_refresh_cooldown_seconds, defaulting to 60 seconds (#105). - Trusted OAuth Callback Origin (security fix): Built OAuth callback URLs from trusted configuration rather than request headers to prevent open redirects (#108). Breaking change: OAuth-enabled deployments must set
api.frontend_urlorAPI__FRONTEND_URLto the public UI origin, such ashttps://clue.example.com, without a path prefix, credentials, query, or fragment. - Action and Fetcher Request Hardening (security fix): Validated action/fetcher identifiers and task IDs, encoded upstream path segments, and constrained redirects to prevent request-path manipulation and unsafe outbound requests. Asynchronous polling now validates request data and access before contacting a plugin and reports temporary unavailability with HTTP 503 (#103).
- Classification Exception Handling (bugfix): Reused the shared
InvalidClassificationandInvalidDefinitionexceptions instead of shadowing them, allowing classification errors to be caught consistently (#96). - Dependency Updates (technical update): Updated Python dependencies, including Werkzeug, Authlib, Pillow, PyJWT, dnspython, and soupsieve (#99, #101, #107, #115, #119, #120, #122, #127, #129).
v1.6.0¶
- Source Exclusions for Enrichment (new feature): Enrichment requests can now exclude configured sources, with exclusions taking precedence over inclusions and support for per-selector source filters (#81).
- Fetcher Classification Validation (bugfix): Validated fetcher availability, request bodies, and classification access before sending selector data to external fetchers (#85).
- Replication Cache Improvements (bugfix): Improved replicated-result matching and expiry handling, and ensured
no_cacheenrichment invalidates stale replicated results before storing fresh ones (#89). - MongoDB Authentication Source (improvement): Added configuration for selecting the authentication source when connecting to MongoDB.
- Synchronized Replication Models (improvement): Updated synchronization models to support selector expiry data consistently between the API and UI.
v1.5.3¶
- Clue Plugin Dependency Improvements (bugfix): Fixed missing dependendencies in the clue plugin library.
v1.5.2¶
- Annotation Timestamp Validation (bugfix): Tightened
Annotation.timestampvalidation so ISO-formatted timestamp strings continue to parse correctly while invalid timestamp values now fail validation. Added unit test coverage for default timestamp generation, string parsing, and invalid input handling.
v1.5.1¶
- JWT Service Import Chain (bugfix): Fixed an issue where
jwt_servicepulled in a long chain of module imports through the security package, reducing import coupling and preventing related startup/runtime failures (#83).
v1.5.0¶
- Data Replication API (new feature): Added authenticated pull, push, and server-sent event endpoints for synchronizing supported collections with RxDB clients (#47).
- Plugin Query Helpers (new feature): Added helpers that let plugins query other configured plugins (#78).
- Pending Action Output Validation (bugfix): Added validation for output returned by pending actions (#80).
- Documentation File Serving (bugfix): Fixed documentation file lookup and added the
CLUE_DOCUMENTATION_PATHsetting for configuring the documentation directory. - Pydantic Response Serialization (improvement): API response helpers now serialize Pydantic models consistently, including aliases and JSON-compatible values.
- Dependency and CI Updates (technical update): Updated Python dependencies and expanded CI testing to Python 3.13.
v1.4.0¶
- Async Fetcher Results (new feature): Fetchers can now return results asynchronously for improved responsiveness on long-running lookups (#35).
- File Result Type (new feature): Actions and fetchers can now produce file results, enabling file-based output handling (#38).
- More Default Supported Types (new feature): Expanded the set of types supported by default.
- Action Execution Context (new feature): Added context passing to action execution for richer runtime information.
- Plugin Dashboard (bugfix): Fixed and improved the plugin dashboard (#43).
- Action Context Format (bugfix): Fixed the action context payload format to match what is sent by the UI (#48).
- Raw Data and Timestamps (bugfix): Fixed raw data handling and added timestamp support (#41).
- pip Dependency Updates (technical update): Updated pip group dependencies (#34, #45).
v1.3.2¶
- Closed Selector Collection Guard (bugfix): Added a check to prevent queries against closed selector collections.
- Closed Collection Enrichment Guard (bugfix): Added a check to skip enrichment queuing for closed collections.
- libffi-dev Build Fix (bugfix): Fixed double-installation of
libffi-devduring builds.
v1.3.0¶
- Extension Initialization Hooks (new feature): Added support for
initmodule hooks to run custom logic on extension startup. - Custom Type Registration (new feature): Added
add_supported_type()function for registering custom types with regex validation, namespace support, and case-insensitive matching. - Asynchronous Action Support (new feature): Actions can now run asynchronously with a new
/actions/<plugin_id>/<action_id>/status/<task_id>status endpoint, anasync_resultflag, apendingoutcome onActionResult, and a newActionContextInformationmodel. - TESTING Environment Variable (new feature): Added
TESTINGenvironment variable for cleaner test environment detection. - DISABLE_CACHE Environment Variable (new feature): Added
DISABLE_CACHEenvironment variable to disable caching on demand. - Lowercase Selector Normalization (improvement): Selector values are now normalized to lowercase (except for the telemetry type) for consistent matching.
- Type Count Logging (improvement): Added logging for the total number of configured types, including custom types.
- Plugins Renamed to Extensions (improvement): Renamed "plugins" to "extensions" throughout the codebase. The
CLUE_PLUGIN_DIRECTORYenvironment variable is deprecated in favour ofCLUE_EXTENSION_PATH(backward compatible with a deprecation warning). Extension path now defaults to/etc/clue/extensions. - Error Handling in App Discovery (improvement): Enhanced app discovery with better error handling and configurable timeout support.
- Cache Set Error Logging (bugfix): Fixed incorrect log message on cache set errors (was "Error on retrieval", now "Error on cache set").
- Application Entry Point Migration (technical update): Migrated from
clue.patchedtoclue.appas the application entry point. - HTTP Client Replacement (technical update): Replaced
geventhttpclientwith therequestslibrary for HTTP operations. - French README (technical update): Added French README translation.
- CI/CD Branch Trigger (technical update): Updated CI/CD workflow to trigger on the
developbranch.
v0.13.0¶
- Plugin Documentation (new feature): Added plugin documentation pages.
- IPv4/IPv6 Type Refactor (improvement): Refactored the generic
iptype into separateipv4andipv6types. - Domain Regex Fix (bugfix): Fixed a regex that prevented matching double-hyphenated domains such as
doublehypenated--domains.com. - Empty Selector Actions (new feature): Added
accept_emptyflag allowing actions to execute with no selectors provided. - Expired Token Detection (bugfix): Added a check to reject expired tokens from the token cache rather than using them.
- Enrichment Parameter Validation (improvement): Added improved validation of enrichment parameters.
- Classification-Based Enrichment Fix (bugfix): Fixed enrichments returning no entries when a single entry exceeded the maximum allowed classification.