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

Remove support for legacy v2 api #278

Merged
merged 13 commits into from
Aug 3, 2021
Merged

Conversation

ysawa0
Copy link
Member

@ysawa0 ysawa0 commented Aug 3, 2021

Purely a clean up PR removing support for v2 protos

  • delete legacy service
  • delete legacy stats
  • delete legacy unit tests and integration tests
  • update README to reflect deprecation

ysawa0 added 13 commits August 2, 2021 23:48
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>
Signed-off-by: Yuki Sawa <[email protected]>

1. `v1.0.0` tagged on commit `0ded92a2af8261d43096eba4132e45b99a3b8b14`. Ratelimit has been in production use at Lyft for over 2 years.
2. `v1.1.0` introduces the data-plane-api proto and initiates the deprecation of the legacy [ratelimit.proto](https://github.com/lyft/ratelimit/blob/0ded92a2af8261d43096eba4132e45b99a3b8b14/proto/ratelimit/ratelimit.proto).
3. `e91321b` [commit](https://github.com/envoyproxy/ratelimit/commit/e91321b10f1ad7691d0348e880bd75d0fca05758) deleted support for the legacy [ratelimit.proto](https://github.com/envoyproxy/ratelimit/blob/0ded92a2af8261d43096eba4132e45b99a3b8b14/proto/ratelimit/ratelimit.proto).
The current version of ratelimit protocol is changed to [v3 rls.proto](https://github.com/envoyproxy/data-plane-api/blob/master/envoy/service/ratelimit/v3/rls.proto)
while [v2 rls.proto](https://github.com/envoyproxy/data-plane-api/blob/master/envoy/service/ratelimit/v3/rls.proto) is still supported
as a legacy protocol.
4. `TODO` deletes support for legacy [v2 rls.proto](https://github.com/envoyproxy/data-plane-api/blob/master/envoy/service/ratelimit/v3/rls.proto)
4. `TODO` deleted support for legacy [v2 rls.proto](https://github.com/envoyproxy/data-plane-api/blob/master/envoy/service/ratelimit/v3/rls.proto)
Copy link
Member Author

Choose a reason for hiding this comment

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

TODO can be updated to the actual commit sha once this is merged in

@mattklein123 mattklein123 self-assigned this Aug 3, 2021
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@mattklein123 mattklein123 merged commit 4bb3282 into envoyproxy:main Aug 3, 2021
timcovar pushed a commit to goatapp/ratelimit that referenced this pull request Jan 16, 2024
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