diff --git a/pkgs/intl4x/CHANGELOG.md b/pkgs/intl4x/CHANGELOG.md index 013e3080..9663e54a 100644 --- a/pkgs/intl4x/CHANGELOG.md +++ b/pkgs/intl4x/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.0-alpha.2-wip + +- Add `locale.dart` entrypoint exposing only `Locale`. + ## 1.0.0-alpha.1 - Update ICU4X to `2.2.0-dev.2` and other small fixes. diff --git a/pkgs/intl4x/lib/locale.dart b/pkgs/intl4x/lib/locale.dart new file mode 100644 index 00000000..10866fda --- /dev/null +++ b/pkgs/intl4x/lib/locale.dart @@ -0,0 +1,11 @@ +// Copyright (c) 2026, the Dart project authors. Please see the AUTHORS file +// for details. All rights reserved. Use of this source code is governed by a +// BSD-style license that can be found in the LICENSE file. + +/// Support for Unicode locale identifiers. +/// +/// Use the [Locale] class to represent and manipulate locales. +/// @docImport 'locale.dart'; +library; + +export 'src/locale/locale.dart' show Locale; diff --git a/pkgs/intl4x/pubspec.yaml b/pkgs/intl4x/pubspec.yaml index eeb951a7..83feec7a 100644 --- a/pkgs/intl4x/pubspec.yaml +++ b/pkgs/intl4x/pubspec.yaml @@ -1,7 +1,7 @@ name: intl4x description: >- A lightweight modular library for internationalization (i18n) functionality. -version: 1.0.0-alpha.1 +version: 1.0.0-alpha.2-wip repository: https://github.com/dart-lang/i18n/tree/main/pkgs/intl4x issue_tracker: https://github.com/dart-lang/i18n/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Aintl4x