question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Binary incompatibilities in 1.5.1

See original GitHub issue

First off should say that we really like the library, it’s super useful and we’re using it fairly widely (50+ projects) in our codebase at G-Research.

The latest release has a couple of binary incompatibilities in it though which are causing us some headaches, in particular this one: https://github.com/canton7/RestEase/commit/8121fd1c857d6905bf5a81c674f3315e90185b92#diff-670b79a8f3b83d14f6d9c81e7fcfcf351d19f007cd4576cb5a08a63079a83eaeR105

We’re extending the Requester class to create an instance with baked in Polly retries using some common retry policies that make sense for our networks. I see the new comment on that class suggests we’re no longer safe to be doing this, which is a bit disappointing for a part of the public API. Is there a safe way we can continue to do what we’re doing?

Thanks, Richard

(Edited to reference the right method)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
canton7commented, Dec 26, 2020

The next version of RestEase will have RestClient and RestClient.For<T> overloads which take a HttpMessageHandler, making it easier to use PolicyHttpMessageHandler, and the README will also contain instructions on how to do this.

0reactions
canton7commented, Feb 13, 2021

Closing as I think we’re done here. Feel free to reopen if you disagree.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Module was compiled with an incompatible version of ...
The binary version 1.5.1 isn't the version of kotlin-stdlib used which can be known by examining the dependency tree.
Read more >
libopenjpeg: 1.5 to 1.5.1 binary compatibility report
Binary compatibility report for the libopenjpeg object between 1.5 and 1.5.1 versions on x86_64. ... Version #2, 1.5.1. CPU Type, x86_64. GCC Version,...
Read more >
Compatibility guide for Kotlin 1.5
binary : two binary artifacts are said to be binary-compatible if interchanging them doesn't lead to loading or linkage errors.
Read more >
Backward compatibility
OrientDB supports binary compatibility between previous releases and latest release. Binary compatibility is supported at least between last 2 minor versions.
Read more >
Java Binary Compatibility
Binary compatibility is about the compatibility of different versions of the same Java class after it has been compiled. You can change a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found