-
-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8.5.0 includes breaking changes on the statistics object #486
Comments
Seeing something similar. Sanitized sample of our code:
now gives this during execution
|
@hasier is this something we could avoid breaking or should I just bump to version 9? |
I'd say it's difficult to keep that API, as per #484 we need a new |
@hasier no worries, this can happen :) I'm totally fine with the API change, but as you said this should be a major version bump. |
@hasier same, gotta do what you gotta do. We ended up working around it in our code by using the previous implementation if it exists or falling back to the newer one, e.g. from |
@vijaysitaram thanks for the one-liner; this helped us quickly patch our application code. I agree with others that this should be a major version bump; we just got hit with the same error (and it hits a rare enough code path that we didn't catch it in staging). |
With v8.5.0, the
statistics
object moved fromwrapped_function.retry.statistics
towrapped_function.statistics
.This is a breaking change to the API and thus needs to be a major version update imo.
I'd suggest to add a fallback reference to the wrapped function in order to remove the breaking change.
The text was updated successfully, but these errors were encountered: