Skip to main content

Migration Guide

Version-by-version guides for migrating between SDK releases that contain breaking changes.

VersionChanges
0.22.0 → 0.30.0Typed chat request/response hierarchy, DeploymentChatRequest, ModelGatewayService
0.30.1 → 0.40.0Model Gateway chat types renamed to ModelGatewayChat*, chat exceptions moved package, ModerationException, unmodifiable collections
0.40.0 → 0.50.0Jackson split into watsonx-ai-jackson2/watsonx-ai-jackson3 binding modules, ProjectService, context and generated-text detection, ContainerReference, custom HTTP log handlers, ProjectService base class renamed to ScopedService, removed repetitionPenalty/lengthPenalty/enableGenericKvp