Skip to content

Commit 59b0175

Browse files
authored
Upgrade to ICU 72.1.0.4 (#121202)
Connected PRs in ICU: dotnet/icu#686, dotnet/icu#691. Minor globalization library changes were required to match the BCP47 format. Major changes: - Security: Removes legacy macros, drops never-implemented declarations, reducing potential macro clashes and dead-code exposure, raises ICU4J’s minimum to Java 8, enables safe builds with C++20. - Compliance: Moves to Unicode 15/CLDR 42. - Data: Improves emojis, measurement unit formatting, extends number/time-zone formatting APIs, - Performance: Modernises ICU4C for C++20 compilers. Upgrade notes summary: - Norwegian canonicalisation changes and `LocaleMatcher` tweaks can alter language fallback (#79815 might be connected to the former). - `DateTimePatternGenerator` fix changes date-time joiners (e.g., comma → “at”). - Releases advance tzdata from 2021a to 2022e with pre-1970 truncations, affecting historical timestamps. The previous upgrade attempt: #93756. Fixes #120898.
1 parent e689bf8 commit 59b0175

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

eng/Version.Details.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This file should be imported by eng/Versions.props
66
<Project>
77
<PropertyGroup>
88
<!-- dotnet/icu dependencies -->
9-
<MicrosoftNETCoreRuntimeICUTransportPackageVersion>11.0.0-alpha.1.25466.1</MicrosoftNETCoreRuntimeICUTransportPackageVersion>
9+
<MicrosoftNETCoreRuntimeICUTransportPackageVersion>11.0.0-alpha.1.25556.1</MicrosoftNETCoreRuntimeICUTransportPackageVersion>
1010
<!-- dotnet/wcf dependencies -->
1111
<SystemServiceModelPrimitivesPackageVersion>4.9.0-rc2.21473.1</SystemServiceModelPrimitivesPackageVersion>
1212
<!-- dotnet/llvm-project dependencies -->

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Dependencies>
22
<Source Uri="https://github.com/dotnet/dotnet" Mapping="runtime" Sha="e545239117919cda700be149a2e9a032374fc284" BarId="288905" />
33
<ProductDependencies>
4-
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="11.0.0-alpha.1.25466.1">
4+
<Dependency Name="Microsoft.NETCore.Runtime.ICU.Transport" Version="11.0.0-alpha.1.25556.1">
55
<Uri>https://github.com/dotnet/icu</Uri>
6-
<Sha>5974b6862e988bf6cfac08b2a8721e13aa955574</Sha>
6+
<Sha>405615f119c1554d366b441870e29747e66c4dea</Sha>
77
</Dependency>
88
<Dependency Name="System.ServiceModel.Primitives" Version="4.9.0-rc2.21473.1">
99
<Uri>https://github.com/dotnet/wcf</Uri>
272 KB
Binary file not shown.
272 KB
Binary file not shown.

src/native/libs/System.Globalization.Native/configure.cmake

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
if(CLR_CMAKE_TARGET_ANDROID OR CLR_CMAKE_TARGET_APPLE OR CLR_CMAKE_TARGET_BROWSER OR CLR_CMAKE_TARGET_WASI)
22
set(HAVE_UDAT_STANDALONE_SHORTER_WEEKDAYS 1)
3-
set(HAVE_UCOL_CLONE 0)
3+
4+
# Android uses its own system ICU
5+
if(CLR_CMAKE_TARGET_ANDROID)
6+
set(HAVE_UCOL_CLONE 0)
7+
else()
8+
set(HAVE_UCOL_CLONE 1)
9+
endif()
410
else()
511
include(CheckCSourceCompiles)
612
include(CheckSymbolExists)

0 commit comments

Comments
 (0)