Remove the deprecated DoclingServeApiBuilderFactory SPI and related types
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- java
調査の方向性
The work is in the docling-serve-api and docling-serve-client modules. Start by reviewing the deprecation in issue #696 and the serve-api-provider-migration.md guide. The checklist names specific files to delete (e.g., DoclingServeApiBuilderFactory, LegacyProviderAdapter) and tests to update. 'Done' means all deprecated types are removed, tests pass, and documentation is updated.
索引モデルが issue の本文から書いたものです。
説明
#696 replaced the DoclingServeApiBuilderFactory SPI with DoclingServeApiProvider and deprecated the old types for removal in 0.7.0, keeping a fallback so existing implementations keep working. This issue tracks removing them.
Before removing
- At least one minor release has shipped with the deprecation, so no earlier than 0.8.0.
- Known third-party implementations, such as the Quarkus integration, have moved to
DoclingServeApiProvider.
docling-serve-api
- Delete
ai.docling.serve.api.spi.DoclingServeApiBuilderFactory, and itsusesclause inmodule-info.java. - Delete
DoclingServeApi.DoclingApiBuilderandDoclingServeApi.toBuilder(). - Delete
LegacyProviderAdapterandLegacyProviderAdapterTests. -
DoclingServeApiProviders: remove the legacy fallback, the warning logged when both SPIs are present, and the "(or of the deprecated …)" part of the no-provider message. UpdateDoclingServeApiProvidersTestsandDoclingServeApiTests. - Update the Javadoc of
DoclingServeApi.builder(), which describes the fallback. -
TestApis.StubDoclingServeApi: remove itstoBuilder()override.
docling-serve-client
- Delete
DoclingServeClientBuilderFactoryandDoclingServeClientBuilderFactoryTests. The Jackson detection lives inDoclingServeClient.builder(). -
DoclingServeClientBuilder: dropimplements DoclingApiBuilder<C, B>and the@Overrideannotations of its setters. The setters themselves stay. - Keep
DoclingServeJackson2Client.toBuilder()andDoclingServeJackson3Client.toBuilder(), which return the concrete builder and aren't deprecated, but drop their@Override. - Tests calling
DoclingServeApi.toBuilder()(DoclingServeJackson2ClientTests,DoclingServeJackson3ClientTests,AbstractDoclingServeClientAsyncExecutorTests, which show[removal]warnings today) should useconfig().toBuilder()or the concrete client type. -
AbstractDoclingServeClientConfigTests.toBuilderKeepsEverySettingandtoBuilderKeepsFollowingRedirectscalltoBuilder()on aDoclingServeClient, which resolves to the deprecatedDoclingServeApi.toBuilder()(warnings suppressed). They test the copy constructor, so they must calltoBuilder()on the concrete client type, notconfig().toBuilder().
Both modules
- Remove every
@SuppressWarnings("removal")that only existed for these types, in main and test code.
Docs
-
serve-api-provider-migration.md: remove the Compatibility section on the fallback, or retire the page if it's no longer useful. -
serve-api.md: remove the "Migrating fromDoclingServeApiBuilderFactory" subsection. -
CLAUDE.md: remove the mention of the fallback. -
whats-new.md: add a "Breaking" entry for the removal.
- 主要言語
- Java
- スター
- 136
- フォーク
- 26
- 平均マージ
- 12時間 20分
- マージ済み PR(30日)
- 49
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
docling-project/docling-java のほかの issue
-
docling-project/docling-java#598 · コメント 9 件 · リアクション 1 件 · 担当者 2 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
docling-project/docling-java#557 · コメント 3 件 ·
-
area:docling-serve documentation good first issue help wanted module:docling-core module:docling-serve-api module:docling-serve-client module:docling-testcontainers
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
docling-project/docling-java#350 · コメント 5 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
docling-project/docling-java#184 · コメント 5 件 ·
-
automation enhancement module:version-tester
docling-project/docling-java#134 · コメント 2 件 · 担当者 1 名 ·
docling-project/docling-java の issue をすべて見る
似ている issue
-
area/plugin
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kestra-io/plugin-kestra#190 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/rocketmq-dashboard#5064 ·