Skip to content

Release 1.9.0

Choose a tag to compare

@github-actions github-actions released this 22 Jul 16:07

What's Changed

🔧 Compatibility Notes

  • The old OpenAI client (v1.0.0) is being deprecated in favor of the new OpenAI client (v1.4.0).
    See the documentation for more details

  • Generated classes for the following service specifications are subject to change:

    • core
    • openai
    • orchestration
    • document grounding
  • [Orchestration] Interfaces with only one implementation were reduced.

    • As a result, the accessors for fields OrchestrationModuleConfig.inputTranslationConfig and OrchestrationModuleConfig.outputTranslationConfig now handle the implementing class explicitly.
    • The same applies to helper methods DpiMasking#createConfig() and MaskingProvider#createConfig().
  • [Orchestration] OrchestrationTemplate.withTemplate() has been deprecated. Please use OrchestrationTemplate.withTemplateMessages() instead.

  • [Orchestration] The method createConfig() is removed from ContentFilter, AzureContentFilter and LlamaGuardFilter and is replaced by createInputFilterConfig() and createOutputFilterConfig().

  • [Orchestration] Deprecated : LLAMA3_1_70B_INSTRUCT, CLAUDE_3_SONNET, TITAN_TEXT_LITE, TITAN_TEXT_EXPRESS, GPT_4, GPT_4_0613, MIXTRAL_8X7B_INSTRUCT_V01.

    • GPT_4 and GPT_4_0613 are replaced by : GPT_40or GPT_41.
    • CLAUDE_3_SONNET is replaced by CLAUDE_4_SONNET.
    • MIXTRAL_8X7B_INSTRUCT_V01 is replaced by MISTRAL_SMALL_INSTRUCT.
  • [OpenAI] Deprecated : GPT_4.

    • GPT_4is replaced by : GPT_40or GPT_41.
  • [Prompt Registry] Resource group has been added as a optional parameter to all endpoints. Set it to "default" if it was not set before. Examples:

    • client.importPromptTemplate(File) --> client.importPromptTemplate("default", File).
    • client.parsePromptTemplateById(id, false, inputParams) --> client.parsePromptTemplateById(id, "default", false, inputParams).
  • [Document Grounding] All classes with Retrieval have been renamed to fix the typo

    • for example: RetievalSearchResults has been renamed to RetrievalSearchResults
  • [Document Grounding] PipelinesApi#getAllPipelines() and PipelinesApi#getPipelineById() now any of these 3 classes implementing the GetPipeline interface:

    • MSSharePointPipelineGetResponse, S3PipelineGetResponse and SFTPPipelineGetResponse

✨ New Functionality

  • [Orchestration] Added support for transforming a JSON output into an entity
  • [Orchestration] Added AzureContentFilter#promptShield() available for input filtering.
  • [Orchestration] Added new models for OrchestrationAiModel: GEMINI_2_5_FLASH, GEMINI_2_5_PRO, ALEPHALPHA_PHARIA_1_7B_CONTROL, OPENAI_O4_MINI, CLAUDE_4_OPUS, CLAUDE_4_SONNET, OPENAI_O3.

🐛 Fixed Issues

  • [Orchestration] Resolved duplicate JSON property issue, enabling Anthropic Claude chat completions.
  • Remove logging of any request/response payloads to avoid potential exposure of sensitive data.

All Commits

click to expand
  • chore: [OpenAI] Deprecate manually written client and remove @Beta on generated client by @CharlesDuboisSAP in #414
  • chore: [DevOps] bump slackapi/slack-github-action from 2.0.0 to 2.1.0 in the github-actions group by @dependabot[bot] in #453
  • chore: [DevOps] bump the production-minor-patch group with 5 updates by @dependabot[bot] in #454
  • chore: [DevOps] bump the plugins group with 4 updates by @dependabot[bot] in #455
  • chore: [Orchestration] Add E2E test for grounding via Sharepoint by @Jonas-Isr in #458
  • feat: [DevOps] Update SAP Cloud SDK dependency to 5.19.0 by @newtork in #456
  • feat: [Orchestration] Added support for transforming a JSON output in to an entity by @CharlesDuboisSAP in #450
  • chore: [Orchestration] update demo app format handling by @newtork in #462
  • fix: [Orchestration] Template Chat Message Type by @CharlesDuboisSAP in #449
  • chore: [DevOps] bump the production-minor-patch group with 2 updates by @dependabot[bot] in #463
  • chore: [DevOps] bump the production-minor-patch group with 5 updates by @dependabot[bot] in #465
  • fix: [DevOps] Upgrading spring springframework and spring boot versions to remove vulnerabilities by @rpanackal in #467
  • chore: [DevOps] bump the plugins group with 4 updates by @dependabot[bot] in #473
  • chore: [DevOps] bump the production-minor-patch group with 3 updates by @dependabot[bot] in #471
  • chore: [DevOps] bump org.apache.tomcat.embed:tomcat-embed-core from 10.1.42 to 11.0.8 in the production-major group by @dependabot[bot] in #472
  • chore: Fix e2e tests because of new filter messages by @Jonas-Isr in #476
  • feat: [DevOps] Slack notification by @CharlesDuboisSAP in #477
  • chore: [DevOps] bump the plugins group with 3 updates by @dependabot[bot] in #480
  • chore: [DevOps] bump the production-minor-patch group with 3 updates by @dependabot[bot] in #479
  • chore: Update apache tomcat version because of CVE-2025-48988 by @Jonas-Isr in #478
  • fix: [Orchestration] duplicated properties by @CharlesDuboisSAP in #481
  • ci: Update Orchestration Spec Path by @MatKuhr in #483
  • feat: [DevOps] Update prompt-registry specification by @bot-sdk-js in #470
  • ci: Update spec-update.yaml by @MatKuhr in #484
  • chore: [DevOps] bump the plugins group with 2 updates by @dependabot[bot] in #488
  • chore: [DevOps] bump the production-minor-patch group with 4 updates by @dependabot[bot] in #487
  • fix: [Orchestration] spec update by @CharlesDuboisSAP in #460
  • feat: [DevOps] Update prompt-registry specification by @bot-sdk-js in #492
  • chore: [DevOps] fix e2e test by @CharlesDuboisSAP in #495
  • chore: [DevOps] bump com.diffplug.spotless:spotless-maven-plugin from 2.44.5 to 2.45.0 in the plugins group by @dependabot[bot] in #496
  • feat: [DevOps] Update grounding specification by @bot-sdk-js in #489
  • feat: [Orchestration] Adding New Models by @n-o-u-r-h-a-n in #485
  • chore: [DevOps] bump the plugins group with 2 updates by @dependabot[bot] in #501
  • chore: [DevOps] bump the production-minor-patch group with 3 updates by @dependabot[bot] in #500
  • fix: [Core] Remove any logging of response request body by @rpanackal in #504
  • fix: [Orchestration] Slap beta on new toDto methods in ContentFilter by @rpanackal in #505
  • fix: Add scm information (now required by maven central) by @Jonas-Isr in #507

New Contributors

Full Changelog: https://github.com/SAP/ai-sdk-java/commits/rel/1.9.0