(5 of 5) Remove deprecated disableTransactions methods from ClientWriteOptions (breaking, major bump)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
src/main/java/dev/openfga/sdk/api/configuration/ClientWriteOptions.java から始め、java-sdk のソース、テスト、例、生成された README、sdk-generator の Java テンプレート、spring-boot-starter の例を検索して disableTransactions の参照を確認します。deprecation がリリース済みであること、完全な release サイクルが経過していること、次の release が major bump になることを確認してください。参照が削除され、back-compat テストがなくなり、CHANGELOG と release の告知に breaking change の移行に関する注記が含まれていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Context
ClientWriteOptions.disableTransactions(boolean) and disableTransactions() are the double-negative predecessors of transactions(boolean) and isTransactionsEnabled() (added in PR #352). Once they have been deprecated and users have had a release cycle to migrate, they should be removed.
Removing public methods is a breaking change and must land in a major version bump.
Preconditions
- The deprecation issue has shipped in a release.
- At least one full release cycle has passed so consumers had a deprecated-but-present window to migrate.
- The next release is a major version bump.
Scope
src/main/java/dev/openfga/sdk/api/configuration/ClientWriteOptions.java:
- Remove
disableTransactions(boolean)anddisableTransactions(). - Collapse any internal plumbing that only existed to bridge the old and new field representations, so
transactionsEnabledis the single source of truth. - Remove the back-compat test kept in the deprecation issue.
Verify no remaining references across the org before removal: java-sdk (src, tests, examples, README), sdk-generator Java templates, spring-boot-starter examples.
Acceptance criteria
- No references to
disableTransactionsremain in java-sdk source, tests, examples, or generated README. - Release is versioned as a major bump.
- CHANGELOG documents the removal as a breaking change with the migration mapping (
disableTransactions(true)totransactions(false),disableTransactions(false)totransactions(true),disableTransactions()to!isTransactionsEnabled()). - A migration note is included in release communications.
Sequencing
Step 4, final. Blocked by the deprecation issue and a release-cycle wait. Tracked in the umbrella issue.
Owner: @curfew-marathon
- 主要言語
- Java
- スター
- 55
- フォーク
- 26
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openfga/java-sdk のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
Make client-credentials token refresh buffer and jitter configurable対応中かも @dpkass が 26 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
openfga/java-sdk#361 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement needs-discussion
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
openfga/java-sdk の issue をすべて見る
似ている issue
-
Clock.MakeTime fails to validate hour, minute, and second ranges due to inert Calendar.set try-catchオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mit-cml/appinventor-sources#4139 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Vakore/ZappierGames#81 ·
-
proposal
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
beemdevelopment/Aegis#1843 · リアクション 1 件 ·
-
[Bug] Logo style setting missing and `classic` style not applied across multiple platforms (v3.1.0)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Stirling-Tools/Stirling-PDF#8382 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
>enhancement needs:triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
elastic/elasticsearch#161191 ·
メンテナーはふだん 1 日以内に返信