Repository navigation
Closed
Labels
ready-for-agentScoped and ready for a contributor or agent to pick up
Milestone
Description
Parent: #179 · Epic: #126 · Blocked by: every other task of this epic and the decision elsewhere on the release version and deprecation window
Branch from stateless_core; open the PR against it.
Problem
Users need one place that lists every deprecated name and every behavior change through the old API, with removal versions. DEPRECATED_SINCE and REMOVED_IN still hold placeholders.
Current behavior
CHANGELOG.md,PUBLIC_ROADMAP.mdhave no entry for this release.lettucedetect/detectors/_deprecation.py(from Add LettuceDetectDeprecationWarning and a deprecation helper #135) holds placeholder constants.
Steps
CHANGELOG.md: add the release with Deprecated (TransformerDetector,LLMDetectorwithprovider/client_kwargs/cache_fileand omittedclient,make_detector,CacheManager,predict,predict_prompt,predict_prompt_batch,min_confidence,output_format— each with replacement and removal version), Changed (one sentence each, before/after: spans withoutconfidencenow 1.0; cache file only withcache_file; unparseable reply / native reply withouthallucinated_spans/ empty Bedrock reply raiseUpstreamError; OpenAI auth/quota →ConfigurationErrorand timeouts/rate limits/server errors →UpstreamError; invalid arguments raise the new error classes; missingfewshot_pathraises; merged RAG spantextequals offsets; no customer text on module loggers;CacheManagerdoesn't create its directory in the constructor; cache key includes model version when passed), Added (detect,adetect,detect_batch,adetect_batch(eacha…method runs its sync pair in a worker thread on the event loop's default executor, so size it for many concurrent calls; the executor is shared with the rest of the service, DNS lookups included; cancelling it stops the wait, not the thread; and there is noexecutorargument), the four detector classes (RAGFactCheckerDetectoralso gains thefact_checkerandmax_concurrencykeywords),TaxonomyTyper.from_pretrained,load_detector, cache types (ResponseCache,SyncCacheBase,FileCache,InMemoryCache), config models, request/result/error types).- Set
DEPRECATED_SINCEandREMOVED_IN, and bump the package version to match. PUBLIC_ROADMAP.md: name the release and the follow-ups under the epic's "Out of Scope". List native async LLM calls as the first follow-up after the LLM-call layer decision, with the constraints the epic records.
Acceptance criteria
- All three changelog sections complete as listed.
- Constants and version hold the decided values; no other production code changes.
- A fresh-interpreter import of
lettucedetect.detectorsemits noLettuceDetectDeprecationWarning; full suite passes with the warning as an error apart from the five marked modules.
Start here
head -60 CHANGELOG.md
Metadata
Metadata
Assignees
Labels
ready-for-agentScoped and ready for a contributor or agent to pick up
Activity
adaamko commentedon Nov 22, 2026
Done in #202, merged into
stateless_core.