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

Generalize IP lists to lists of arbitrary kind. #918

Merged
merged 2 commits into from Jun 7, 2022

Conversation

orium
Copy link
Member

@orium orium commented May 31, 2022

There are now more list kinds, including redirect lists, which we want to support soon.

@orium orium requested a review from jacobbednarz as a code owner May 31, 2022 13:09
@jacobbednarz
Copy link
Member

jacobbednarz commented May 31, 2022

as this is removing a bunch of functionality, we need to first deprecate the old stuff and give folks time to migrate off it before the next major version bump. a simple // Deprecated: Use ... in the method is suffice for now and we'll add it to the cleanup docs later.

for the new methods, are you able to check out tunnel_routes and use the struct as parameters approach we've defined in the experimental docs to limit the number of parameters we are passing to methods?

There are now more list kinds, including `redirect` lists, which we want to
support soon.

This also deprecates the old IP list API.  This new interface should be used in
the future.
@orium
Copy link
Member Author

orium commented Jun 6, 2022

Thanks @jacobbednarz. I've updated the PR based on your comments.

@jacobbednarz jacobbednarz merged commit dd4a273 into cloudflare:master Jun 7, 2022
@jacobbednarz
Copy link
Member

thanks! this is great 👏

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.

None yet

2 participants