Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

(5 of 5) Remove deprecated disableTransactions methods from ClientWriteOptions (breaking, major bump)

オープン
#370 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
java
領域
api

調査の方向性

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) and disableTransactions().
  • Collapse any internal plumbing that only existed to bridge the old and new field representations, so transactionsEnabled is 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 disableTransactions remain 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) to transactions(false), disableTransactions(false) to transactions(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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

openfga/java-sdk のほかの issue

openfga/java-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。