Skip to content

Conversation

@elastic-renovate-prod
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Jun 18, 2025

This PR contains the following updates:

Package Type Update Change
com.openai:openai-java (source) dependencies minor 2.7.0 -> 2.12.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

openai/openai-java (com.openai:openai-java)

v2.12.0

Full Changelog: v2.11.0...v2.12.0

Features
  • support new schema constraints for structured outputs (#​520) (5c41ac5)
Bug Fixes
  • ci: correct conditional (a8c7a16)
  • client: don't close client on withOptions usage when original is gc'd (e0890e3)
Chores
  • ci: only run for pushes and fork pull requests (8dc0179)
Documentation
Refactors
  • internal: minor ClientOptionsTest change (a7379a2)

v2.11.0

Full Changelog: v2.10.0...v2.11.0

Features
  • api: add realtime data models (38d8e89)
Chores

v2.10.0

Full Changelog: v2.9.1...v2.10.0

Features
  • api: webhook and deep research support (79859a1)
Bug Fixes
  • ci: release-doctor — report correct token name (da7f492)
  • client: fix webhooks errors (8051535)
Chores
  • api: remove unsupported property (2102d96)
  • client: sync structured outputs features (cb5c638)
  • docs: update README to include links to docs on Webhooks (5698e53)

v2.9.1

Full Changelog: v2.9.0...v2.9.1

Chores
  • internal: add tests for breaking change detection (b0a6eeb)
  • updated readme link (c0992cd)

v2.9.0

Full Changelog: v2.8.1...v2.9.0

Features
  • api: make model and inputs not required to create response (87dd646)
  • api: update api shapes for usage and code interpreter (c003f8d)
Bug Fixes
  • client: bump max requests per host to max requests (5 -> 64) (a36d9f6)

v2.8.1

Full Changelog: v2.8.0...v2.8.1

Bug Fixes
  • client: consider cognitiveservices.azure.com as azure (#​470) (551bfc2)

v2.8.0

Full Changelog: v2.7.0...v2.8.0

Features
  • api: add reusable prompt IDs (0767a2b)
  • api: manual updates (ec235f7)
  • client: implement per-endpoint base URL support (c87f1af)
Bug Fixes
  • client: update StructuredResponse with Prompt details (a47219b)
  • internal: run formatter (5757aa6)
  • tests: fix required prop in test (e820c6f)
Chores

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot requested a review from a team as a code owner June 18, 2025 09:18
JonasKunz
JonasKunz previously approved these changes Jun 18, 2025
@JonasKunz
Copy link
Contributor

Looks like a small breaking change in the client:

method Builder.baseUrl(String) is not applicable
        (actual and formal argument lists differ in length)
      method Builder.baseUrl(Optional<String>) is not applicable
        (actual and formal argument lists differ in length)

i guess this was unintentionally breaking, so let's wait and see if they provide a patch release before we do anything here

@JonasKunz JonasKunz self-requested a review June 18, 2025 10:13
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/com.openai-openai-java-2.x branch from d3674d2 to 96015c0 Compare June 20, 2025 03:04
@elastic-renovate-prod elastic-renovate-prod bot changed the title fix(deps): update dependency com.openai:openai-java to v2.8.0 fix(deps): update dependency com.openai:openai-java to v2.8.1 Jun 20, 2025
jackshirazi
jackshirazi previously approved these changes Jun 23, 2025
@jackshirazi jackshirazi self-requested a review June 23, 2025 11:50
SylvainJuge
SylvainJuge previously approved these changes Jun 23, 2025
@SylvainJuge SylvainJuge self-requested a review June 24, 2025 08:58
@elastic-renovate-prod elastic-renovate-prod bot dismissed stale reviews from SylvainJuge and jackshirazi via ef20328 June 25, 2025 06:41
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/com.openai-openai-java-2.x branch from 96015c0 to ef20328 Compare June 25, 2025 06:41
@elastic-renovate-prod elastic-renovate-prod bot changed the title fix(deps): update dependency com.openai:openai-java to v2.8.1 fix(deps): update dependency com.openai:openai-java to v2.9.0 Jun 25, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/com.openai-openai-java-2.x branch from ef20328 to ee538ee Compare June 26, 2025 10:15
@elastic-renovate-prod elastic-renovate-prod bot changed the title fix(deps): update dependency com.openai:openai-java to v2.9.0 fix(deps): update dependency com.openai:openai-java to v2.9.1 Jun 26, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/com.openai-openai-java-2.x branch from ee538ee to c1dca48 Compare June 27, 2025 06:51
@elastic-renovate-prod elastic-renovate-prod bot changed the title fix(deps): update dependency com.openai:openai-java to v2.9.1 fix(deps): update dependency com.openai:openai-java to v2.10.0 Jun 27, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/com.openai-openai-java-2.x branch from c1dca48 to e95b638 Compare June 28, 2025 20:26
@elastic-renovate-prod elastic-renovate-prod bot changed the title fix(deps): update dependency com.openai:openai-java to v2.10.0 fix(deps): update dependency com.openai:openai-java to v2.11.0 Jun 28, 2025
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/com.openai-openai-java-2.x branch from e95b638 to e4d1c31 Compare July 1, 2025 17:42
@elastic-renovate-prod elastic-renovate-prod bot changed the title fix(deps): update dependency com.openai:openai-java to v2.11.0 fix(deps): update dependency com.openai:openai-java to v2.12.0 Jul 1, 2025
@elastic-renovate-prod
Copy link
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@Advice.Return OpenAIClient result,
@Advice.FieldValue("clientOptions") ClientOptions.Builder clientOptions) {
return InstrumentedOpenAiClient.wrap(result).baseUrl(clientOptions.baseUrl()).build();
return InstrumentedOpenAiClient.wrap(result).baseUrl(clientOptions.build().baseUrl()).build();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] this means the builder .build() method will be executed twice, but a quick look at the implementation indicates that there isn't any non-idempotent operation in it, which means it should be fine.

@SylvainJuge
Copy link
Member

after a few minor releases this breaking change remains, so I've implemented a workaround that should work with both new and older versions in e01d14d

@SylvainJuge SylvainJuge enabled auto-merge (squash) July 2, 2025 15:43
@SylvainJuge SylvainJuge merged commit 795c518 into main Jul 2, 2025
17 of 18 checks passed
@SylvainJuge SylvainJuge deleted the renovate/com.openai-openai-java-2.x branch July 2, 2025 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants