Skip to content
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

Restore bytecode compatibility for limiter builders #197

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

fedorka
Copy link
Contributor

@fedorka fedorka commented Mar 26, 2024

#194 accidentally broke binary compatibility for the limiter builders. This PR restores compatibility by explicitly deferring type-safety responsibility for bypass resolvers to the implementing subclasses.

@fedorka fedorka requested a review from umairk79 March 26, 2024 22:51
Copy link
Collaborator

@umairk79 umairk79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bypassResolver could be declared as a final field? b4e04f2#diff-28bdb4924263304e505dbc60b1344e3c429dfb1577b9d3d9d2b3a2dd97408d96R97

LGTM, approved.

@fedorka fedorka merged commit 5c86608 into master Mar 27, 2024
2 checks passed
@fedorka fedorka deleted the bypass-limiters-fixup branch March 27, 2024 16:47
github-merge-queue bot referenced this pull request in camunda/camunda Mar 28, 2024
…mits-core to v0.5.0 (main) (#17163)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[com.netflix.concurrency-limits:concurrency-limits-core](https://togithub.com/Netflix/concurrency-limits)
| `0.4.2` -> `0.5.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.4.2/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/com.netflix.concurrency-limits:concurrency-limits-core/0.4.2/0.5.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>Netflix/concurrency-limits
(com.netflix.concurrency-limits:concurrency-limits-core)</summary>

###
[`v0.5.0`](https://togithub.com/Netflix/concurrency-limits/releases/tag/v0.5.0)

[Compare
Source](https://togithub.com/Netflix/concurrency-limits/compare/v0.4.2...v0.5.0)

##### What's Changed

- Add feature to allow calls to be bypassed without altering limiter
stater by [@&#8203;umairk79](https://togithub.com/umairk79) in
[https://github.com/Netflix/concurrency-limits/pull/194](https://togithub.com/Netflix/concurrency-limits/pull/194)
and by [@&#8203;fedorka](https://togithub.com/fedorka) in
[https://github.com/Netflix/concurrency-limits/pull/197](https://togithub.com/Netflix/concurrency-limits/pull/197)
- Upgrade nebula oss plugin and gradle to latest version by
[@&#8203;umairk79](https://togithub.com/umairk79) in
[https://github.com/Netflix/concurrency-limits/pull/196](https://togithub.com/Netflix/concurrency-limits/pull/196)

**Full Changelog**:
Netflix/concurrency-limits@v0.4.1...v0.5.0

##### Note: the previously released 0.4.2 inadvertently broke binary
compatibility in the limiter builders and should not be used.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 10pm every weekday,before 6am
every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/camunda/zeebe).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants