-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Rename {CLR,DOTNET}_ICU/OPENSSL_VERSION_OVERRIDE #110259
Conversation
This is a breaking change. any strong reason we need to change this now other than consistency? CC @janvorli |
It is an undocumented variable (https://github.com/search?q=repo:dotnet/docs%20CLR_ICU_VERSION_OVERRIDE). I can add a fallback if needed and document the |
We have been recommending it to the users in some situations like #8102 (comment), https://github.com/daxxog, and dotnet/sdk#25069 (comment). Also, users already learned about it and using it, like https://forum.manjaro.org/t/dotnet-3-1-builds-fail-after-icu-system-package-updated-to-71-1-1/114232 and #60439 (comment). Even stack overflow refers to it https://stackoverflow.com/questions/71530497/globalization-errors-when-running-entity-framework-migrations-on-linux. I mean it is implicitly documented. We want to be carefull not supporting the old one in .NET, the reason is users create docker images and set such environment variable there and anyone can install and use .NET 10 on such images. If this is not documented in our doc portal, why we care much renaming it? If you think it is still worth doing it, I would either continue to support the old name in addition to the new one (like aliased name). Or do your suggestion enable the new one in .NET 10 and later with documenting it and create a breaking change doc for the change. Thanks! |
It is not the only environment variable using CLR_ prefix. There is also
|
I think this is niche-enough that it would be ok to take a breaking change for consistency. |
Thanks @jkotas, I have updated openssl one as well.
Namespacing the environment variables is a good practice in general to avoid collision etc. In user environment (e.g. containers), when listing the environment variables this makes it easier to filter them by the prefix. |
Added When you commit this breaking change:
Tagging @dotnet/compat for awareness of the breaking change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_ICU_VERSION_OVERRIDE
LGTM. I'll let @bartonjs review the cryptography one.
I'd like to see some documentation for |
Created the breaking change issue dotnet/docs#43828. |
I have opened the PR dotnet/docs#43840 to update the docs. I appreciate if you can review. Thanks! |
It's the only environment variable using
CLR_
prefix.