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

update dependencies #2257

Merged
merged 7 commits into from
Dec 16, 2022
Merged

update dependencies #2257

merged 7 commits into from
Dec 16, 2022

Conversation

Geal
Copy link
Contributor

@Geal Geal commented Dec 13, 2022

some dependency updates require more invloved changes. Here LRU now requires a NonZeroUsize for the capacity argument. This changes the minimal value in the configuration file. Do we consider that this is a breaking change?

@github-actions
Copy link
Contributor

@Geal, please add a /NEXT_CHANGELOG.md entry for this PR to the appropriate section!

@Geal Geal marked this pull request as ready for review December 13, 2022 16:26
Copy link
Contributor

@garypen garypen left a comment

Choose a reason for hiding this comment

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

I think we could just make the configuration change from usize to NonZeroUsize and not document it. There are much more substantial changes taking place to config and we are calling them "compatible". Maybe mark it as a "breaking" change in the changelog.

apollo-router/src/plugins/telemetry/apollo.rs Show resolved Hide resolved
@Geal
Copy link
Contributor Author

Geal commented Dec 13, 2022

my view here is that it does not really make sense to set the capacity to zero. I'm not sure there are cases where we would want to disable the cache entirely, except when debugging, and even then I have not felt the need for it

apollo-router/src/cache/mod.rs Outdated Show resolved Hide resolved
Geal and others added 2 commits December 14, 2022 11:38
@Geal Geal requested a review from bnjjj December 15, 2022 09:41
@Geal Geal enabled auto-merge (squash) December 16, 2022 09:33
@Geal Geal merged commit 99bc8ff into dev Dec 16, 2022
@Geal Geal deleted the geal/update-pre-1.0-packages branch December 16, 2022 09:51
@abernix abernix added this to the v1.7.0 milestone Dec 22, 2022
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.

4 participants