You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2024/05/23 19:58:00 UTC
[jira] [Resolved] (THRIFT-5787) .NET ApacheThrift client v20.0 breaks compatibility in TBinaryProtocol.Factory constructor
[ https://issues.apache.org/jira/browse/THRIFT-5787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jens Geyer resolved THRIFT-5787.
--------------------------------
Fix Version/s: 0.21.0
Resolution: Fixed
Thanks!
> .NET ApacheThrift client v20.0 breaks compatibility in TBinaryProtocol.Factory constructor
> ------------------------------------------------------------------------------------------
>
> Key: THRIFT-5787
> URL: https://issues.apache.org/jira/browse/THRIFT-5787
> Project: Thrift
> Issue Type: Bug
> Components: netstd - Library
> Affects Versions: 0.20.0
> Reporter: Steven Mitcham
> Assignee: Steven Mitcham
> Priority: Minor
> Fix For: 0.21.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> A switch to using default parameters in the factory function has created a binary incompatibilty that crashses clients migrating from versions <= v19.0. Even though it is source compatible, updating the nuget package inline as a depedency will cause a missing method exception because the factory now has two parameters.
>
> [thrift/lib/netstd/Thrift/Protocol/TBinaryProtocol.cs at master - apache/thrift (github.com)|https://github.com/apache/thrift/blob/master/lib/netstd/Thrift/Protocol/TBinaryProtocol.cs#L478]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)