Skip to content

Another binary breaking change in Version 108.0.2 #2250

Closed as not planned
Closed as not planned

Description

@gregmarr

See #1953 for background, reproduction, context.

I'm not sure if it's worth a 108.0.4 at this point, since 108.0.3 is more than a year and a half old.

Describe the bug
The signature of RestClient.Execute changed from (RestRequest request) to (RestRequest request, CancellationToken cancellationToken = default).
The same change was made to RestClient.DownloadStream.

This happened in this PR:
#1870
cc74f44

To Reproduce
Call RestClient.Execute() in an assembly built against 108.0.1, and then run it with 108.0.3.

Expected behavior
Everything works.

Stack trace
System.MissingMethodException: 'Method not found: 'RestSharp.RestResponse RestSharp.RestClient.Execute(RestSharp.RestRequest)'.'

Desktop (please complete the following information):

  • OS: Windows
  • .NET version: .Net 7 or 8
  • Version: 108.0.2

Activity

  1. alexeyzimarev commented on Aug 6, 2024

    @alexeyzimarev
    Member

    Yeah, there were some issues with binary compatibility, but I cannot support old versions.

  2. gregmarr commented on Aug 6, 2024

    @gregmarr
    Author

    I figured that was likely the case, but wanted to at least give you the choice, and make the info available to others looking for it. Also, I had this all written out before I found the first breakage.

    Thanks.

  3. alexeyzimarev commented on Aug 7, 2024

    @alexeyzimarev
    Member

    Yes, I get this. I hope people who experienced similar issues can find this one. I also think it was reported before, but I am not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions