Skip to content

update dependencies#2257

Merged
Geal merged 7 commits intodevfrom
geal/update-pre-1.0-packages
Dec 16, 2022
Merged

update dependencies#2257
Geal merged 7 commits intodevfrom
geal/update-pre-1.0-packages

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?

@Geal Geal requested review from SimonSapin and garypen December 13, 2022 14:37
@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.

@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

Geoffroy Couprie and others added 2 commits December 14, 2022 11:38
Co-authored-by: Coenen Benjamin <benjamin.coenen@hotmail.com>
@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