Re:Banned C standard library functions in Git source code
by riquito on Sunday August 25, 2019 @08:51PM
(#20796713)
It's not a guarantee that it will work, it's not that rare to encounter a minor/patch version in a library that introduced some subtle incompatible change (usually unbeknownst to the author)
[ Parent
| on HN ]
Re:Banned C standard library functions in Git source code
by ShinTakuya on Sunday August 25, 2019 @09:53PM
(#20796914)
That's literally the purpose of the lock file. The lock file locks the entire dependency tree. So unless you're bumping versions or you fail to save the lock file, the entire dependency tree's versions will remain the same.
>some subtle incompatible change
In statically typed languages this normally isn't an issue. Of course I'm aware that logic can also be changed, but in that case it's up to you to write appropriate tests (or just don't bump the versions of your libraries without a good reason).