-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 libphonenumber-csharp 8.13.34 #15669
Conversation
This pull request has merge conflicts. Please resolve those before requesting a review. |
Did you test phone number validation with the new version? |
@hishamco why do we need a test case to validate an external library here? Part of the adopted library has it's own testing and we should not need to add a testing on the top of their testing. |
I didn't mean that you should write a test. Rather, I'm asking whether you tested the phone number validation feature where it's used, like the user editor on the admin. |
Mike, I thought Zoltan wanted a unit test
I didn't because there's no major change in the library |
I would remove it. Check out the last comment from Zoltan #15669 (comment) |
I already replied :) |
I'm just stating the obvious, but you should always test your code changes by running them, even if the change seems trivial, and especially if it's somewhat opaque like a dependency update. The reviewer has to test the changes, too. |
Frankly I never saw this previously in the packages update, unless it's a major release coz it might have a breaking changes |
Every release can have breaking changes. We've seen breaking changes in .NET patch releases even. That it's not supposed to have them is no guarantee. So, naturally, you have to test the update. Flipping the version number in two files is not enough. |
You can blame them :) especially if they are using Semver
This is too much, coz you don't know what you want to test |
That's part of the task: You need to check what's the impact of your change. |
So I will leave updating the packages, I don't think @agriffard did that for every update in the past. It would be tedious |
Well, is it really controversial that you have to test your changes? If a library update breaks something, what routinely happens (I personally found this on multiple occasions while reviewing, and thus also testing, PRs in OC), who has to discover that and fix it? Keeping dependencies up-to-date is a valuable task. However, simply updating the version numbers is something that a script can do. The value lies in a human also determining that the change is safe. (And well, we could also have further automated testing, but human verification will still be necessary.) |
https://www.nuget.org/packages/libphonenumber-csharp/8.13.34