Skip to content

support Predis 2.x and SDK 5.x #13

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

Merged
merged 3 commits into from
Dec 9, 2022
Merged

support Predis 2.x and SDK 5.x #13

merged 3 commits into from
Dec 9, 2022

Conversation

eli-darkly
Copy link
Contributor

@eli-darkly eli-darkly commented Dec 8, 2022

Our integration code doesn't rely on any Predis APIs that have actually changed between 1.x and 2.x. So I think all that's needed here is to relax the dependency constraint to allow both, and to make sure we're testing with both in CI.

There are Predis configuration options that have changed in 2.x, but that just means that if an application passes custom options through by setting predis_options, they need to set them correctly for whichever version of Predis the application is using.

I also relaxed the PHP SDK dependency to support the next major version, 5.0, because we're not introducing any internal API changes in that release that would affect this database integration.

@eli-darkly eli-darkly requested a review from keelerm84 December 8, 2022 22:58
@launchdarkly launchdarkly deleted a comment from shortcut-integration bot Dec 8, 2022
@eli-darkly eli-darkly marked this pull request as ready for review December 8, 2022 22:59
@eli-darkly eli-darkly changed the title support Predis 2.x support Predis 2.x and SDK 5.x Dec 8, 2022
@eli-darkly eli-darkly merged commit d546bf2 into main Dec 9, 2022
@eli-darkly eli-darkly deleted the eb/sc-179109/predis-v2 branch December 9, 2022 18:26
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