63 lines
4.3 KiB
JSON
63 lines
4.3 KiB
JSON
[
|
|
{
|
|
"extension": "revapi.differences",
|
|
"configuration": {
|
|
"ignore": true,
|
|
"differences": [
|
|
{
|
|
"code": "java.field.removed",
|
|
"old": "field dev.langchain4j.model.anthropic.AnthropicChatModelName.CLAUDE_3_HAIKU_20240307",
|
|
"justification": "Model no longer exists and was previously deprecated; removed intentionally"
|
|
},
|
|
{
|
|
"code": "java.field.typeChanged",
|
|
"old": "field dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.input",
|
|
"new": "field dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.input",
|
|
"justification": "Internal API (internal.api package) not exposed to users. Changed from Map to a raw JSON String so that malformed tool_use arguments can be replayed verbatim instead of being lost in a String->Map->String round-trip (#5227)."
|
|
},
|
|
{
|
|
"code": "java.annotation.added",
|
|
"old": "field dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.input",
|
|
"new": "field dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.input",
|
|
"annotationType": "com.fasterxml.jackson.annotation.JsonRawValue",
|
|
"justification": "Internal API not exposed to users. @JsonRawValue serializes the input String as raw JSON in outgoing requests (#5227)."
|
|
},
|
|
{
|
|
"code": "java.method.parameterTypeChanged",
|
|
"old": "parameter void dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent::<init>(java.lang.String, java.lang.String, ===java.util.Map<java.lang.String, java.lang.Object>===)",
|
|
"new": "parameter void dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent::<init>(java.lang.String, java.lang.String, ===java.lang.String===)",
|
|
"justification": "Internal API not exposed to users. tool_use input is now a raw JSON String to preserve malformed arguments for replay (#5227)."
|
|
},
|
|
{
|
|
"code": "java.method.parameterTypeChanged",
|
|
"old": "parameter dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.Builder dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.Builder::input(===java.util.Map<java.lang.String, java.lang.Object>===)",
|
|
"new": "parameter dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.Builder dev.langchain4j.model.anthropic.internal.api.AnthropicToolUseContent.Builder::input(===java.lang.String===)",
|
|
"justification": "Internal API not exposed to users. tool_use input is now a raw JSON String to preserve malformed arguments for replay (#5227)."
|
|
},
|
|
{
|
|
"code": "java.field.removed",
|
|
"old": "field dev.langchain4j.model.anthropic.AnthropicChatModelName.CLAUDE_OPUS_4_20250514",
|
|
"justification": "Model no longer exists and was previously deprecated; removed intentionally"
|
|
},
|
|
{
|
|
"code": "java.field.removed",
|
|
"old": "field dev.langchain4j.model.anthropic.AnthropicChatModelName.CLAUDE_SONNET_4_20250514",
|
|
"justification": "Model no longer exists and was previously deprecated; removed intentionally"
|
|
},
|
|
{
|
|
"code": "java.method.returnTypeChanged",
|
|
"old": "method dev.langchain4j.model.chat.request.ChatRequestParameters dev.langchain4j.model.anthropic.AnthropicChatModel::defaultRequestParameters()",
|
|
"new": "method dev.langchain4j.model.anthropic.AnthropicChatRequestParameters dev.langchain4j.model.anthropic.AnthropicChatModel::defaultRequestParameters()",
|
|
"justification": "Narrowing the return type to the Anthropic-specific AnthropicChatRequestParameters subtype is source- and binary-compatible"
|
|
},
|
|
{
|
|
"code": "java.method.returnTypeChanged",
|
|
"old": "method dev.langchain4j.model.chat.request.ChatRequestParameters dev.langchain4j.model.anthropic.AnthropicStreamingChatModel::defaultRequestParameters()",
|
|
"new": "method dev.langchain4j.model.anthropic.AnthropicChatRequestParameters dev.langchain4j.model.anthropic.AnthropicStreamingChatModel::defaultRequestParameters()",
|
|
"justification": "Narrowing the return type to the Anthropic-specific AnthropicChatRequestParameters subtype is source- and binary-compatible"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|