Skip to content

Write the changelog and roadmap entries and set the deprecation constants #180

Closed

Description

@hslev

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

Steps

  1. CHANGELOG.md: add the release with Deprecated (TransformerDetector, LLMDetector with provider/client_kwargs/cache_file and omitted client, 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 without confidence now 1.0; cache file only with cache_file; unparseable reply / native reply without hallucinated_spans / empty Bedrock reply raise UpstreamError; OpenAI auth/quota → ConfigurationError and timeouts/rate limits/server errors → UpstreamError; invalid arguments raise the new error classes; missing fewshot_path raises; merged RAG span text equals offsets; no customer text on module loggers; CacheManager doesn't create its directory in the constructor; cache key includes model version when passed), Added (detect, adetect, detect_batch, adetect_batch (each a… 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 no executor argument), the four detector classes (RAGFactCheckerDetector also gains the fact_checker and max_concurrency keywords), TaxonomyTyper.from_pretrained, load_detector, cache types (ResponseCache, SyncCacheBase, FileCache, InMemoryCache), config models, request/result/error types).
  2. Set DEPRECATED_SINCE and REMOVED_IN, and bump the package version to match.
  3. 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.detectors emits no LettuceDetectDeprecationWarning; full suite passes with the warning as an error apart from the five marked modules.

Start here

head -60 CHANGELOG.md

Activity

  1. added theissue type on Nov 5, 2026
  2. added
    ready-for-agent
    on Nov 5, 2026
  3. adaamko commented on Nov 22, 2026

    @adaamko
    Collaborator

    Done in #202, merged into stateless_core.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions