Skip to content

Commit

Permalink
Utils version bumps for ICU4X 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Nov 22, 2024
1 parent db6301f commit 02e5c95
Show file tree
Hide file tree
Showing 25 changed files with 91 additions and 75 deletions.
50 changes: 33 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
- `icu_decimal`
- Reduce stack size of DecimalSymbolsV1 (unicode-org#5804)
- Split numbering systems out of decimal data (unicode-org#5822, unicode-org#5830)
- `icu_experimental`
- `icu_experimental`: `0.1.0 -> 0.2.0`
- New experimental DurationFormatter component (unicode-org#801)
- Implement `UnitsFormatter` (unicode-org#5000)
- Implement Short Compact Currency Formatter Provider and Populate Associated Data (unicode-org#5361)
Expand All @@ -77,6 +77,9 @@
- Removed `Ord` and `PartialOrd` impl from `extensions::unicode::Unicode` (unicode-org#5617)
- Move generic Subtag to subtags; use it in Value (unicode-org#4932, unicode-org#4941)
- Remove AsRef and instead introduce Cow-returning canonicalize methods on locale/langid (unicode-org#5727)
- `icu_pattern`: `0.2.0 -> 0.3.0`
- Changes to bytes constructors (unicode-org#5034, unicode-org#5072)
- Bake, zerovec integration (unicode-org#5030)
- `icu_plurals`
- Add PluralElements for algorithmic plural selection (unicode-org#5622)
- `icu_properties`
Expand Down Expand Up @@ -155,36 +158,49 @@
- C++
- `icu_harfbuzz`
- Utilities
- `calendrical_calculations`:
- `databake`
- `env_preferences`
- `bies`: `0.2.2 -> 0.2.3`
- Minor cleanups
- `calendrical_calculations`: `0.1.2 -> 0.1.3`
- Minor cleanups
- `crlify`: No change (`1.0.4`)
- `databake`, `databake_derive`: `0.1.8 -> 0.2.0`
- Breaking: Introduce `BakeSize`, allowing for the calculation of the size of baked. (#5169)
- This is automatically required by `#[derive(Bake)]`, making it a breaking change
- Fix `test_bake!` (unicode-org#5092, unicode-org#5559)
- `deduplicating_array`: `0.1.6 -> 0.1.7`
- Minor cleanups
- `env_preferences`: New crate `0.1.0`
- Add `env_preferences` crate (unicode-org#5081)
- `fixed_decimal`
- This crate does not itself get used by ICU4X, but can potentially be used with ICU4X.
- `fixed_decimal`: `0.5.6 -> 0.6.0`
- `FloatPrecision::Floating` renamed to `FloatPrecision::RoundTrip` (unicode-org#5616)
- `FixedDecimal::concatenated_end()` now returns both `self` and `other` in the error case. (unicode-org#5623)
- Simplify FixedDecimal's rounding APIs (unicode-org#5028)
- fix: `pad_end` function does not accept the 0 position (unicode-org#5319)
- Return `Err((self, other))` in FixedDecimal::concatenated_end (unicode-org#5623)
- Rename FloatPrecision::Floating to FloatPrecision::RoundTrip (unicode-org#5616)
- `icu_pattern`
- Changes to bytes constructors (unicode-org#5034, unicode-org#5072)
- Bake, zerovec integration (unicode-org#5030)
- `ixdtf`
- `ixdtf`: `0.2.0 -> 0.3.0`
- Changed to `&[u8]` parsing (unicode-org#4918)
- `litemap`
- `litemap`: `0.7.3 -> 0.7.4`
- Fix integer overflow for `LiteMap` by using correct `Store` trait method (unicode-org#5113)
- `potential_utf`
- `potential_utf`: New crate `0.1.0`
- New crate with unvalidated types split from `zerovec` (unicode-org#5364)
- `tinystr`
- `resb`: New crate `0.1.0`
- New crate of utilities for reading and writing ICU resource bundle files (unicode-org#4058)
- `tinystr`: `0.7.6 -> 0.8.0`
- Add UTF-16 constructors
- Rename `TinyStrError` to `ParseError` (unicode-org#5405)
- Add TinyAsciiStr::concat (unicode-org#5772)
- `yoke`
- Various breaking changes to APIs from "General" section above
- `yoke`, `yoke_derive`: `0.7.4 -> 0.7.5`
- Unsafe review feedback (unicode-org#5046, unicode-org#5104)
- `zerofrom`
- `zerotrie`
- `zerofrom`, `zerofrom_derive: `0.1.4 -> 0.1.5`
- Minor cleanups
- `zerotrie`: `0.1.3 -> 0.2.0`
- Minor improvement to zerotrie hash function (unicode-org#5106)
- `zerovec`
- New bytes representation, downstream of `zerovec`'s new optimizations'
- Various breaking changes to APIs from "General" section above
- `zerovec`, `zerovec_derive`: `0.10.4, 0.10.3 -> 0.11.0`
- This release has multiple changes that affect the bit representation of various types. Do not update to this release if you wish to retain stable data formats.
- Change the `VarZeroVecFormat` values shipped by default to use the same index and length width. This breaks data layout for all `VarZeroVec`s. (unicode-org#5594)
- Change the `VarZeroVec` format to not store a superfluous 0 index at the beginning of the index array. This breaks data layout for all `VarZeroVec`s (unicode-org#5601)
Expand All @@ -199,7 +215,7 @@
- Add VarZeroVecFormat support to VarTuple and make_var (unicode-org#5808)
- Consistently use `bytes` not `byte_slice` (unicode-org#5816)
- Implement `Bake` for VZV types of different formats (unicode-org#5719)
- `writeable`
- `writeable`: `0.5.5` -> `0.6.0`
- Make `Writeable::writeable_cmp_bytes` a free function `writeable::cmp_bytes` (unicode-org#5737)
- Add `writeable::to_string_or_borrow` for writing with reference bytes (unicode-org#5738)
- Add Writeable WithPart helper (unicode-org#5328)
Expand Down
44 changes: 22 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 14 additions & 14 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ include = [
# These use non-tilde deps, see https://github.com/unicode-org/icu4x/issues/4343
icu_locale_core = { version = "2.0.0-dev", path = "components/locale_core", default-features = false }
icu_provider = { version = "2.0.0-dev", path = "provider/core", default-features = false }
icu_pattern = { version = "0.3.0-dev", path = "components/pattern", default-features = false }
icu_pattern = { version = "0.3.0", path = "components/pattern", default-features = false }

# Components
icu = { version = "~2.0.0-dev", path = "components/icu", default-features = false }
Expand All @@ -143,7 +143,7 @@ icu_collections = { version = "~2.0.0-dev", path = "components/collections", def
icu_codepointtrie_builder = { version = "~0.4.0-dev", path = "components/collections/codepointtrie_builder", default-features = false }
icu_datetime = { version = "~2.0.0-dev", path = "components/datetime", default-features = false }
icu_decimal = { version = "~2.0.0-dev", path = "components/decimal", default-features = false }
icu_experimental = { version = "~0.2.0-dev", path = "components/experimental", default-features = false }
icu_experimental = { version = "~0.2.0", path = "components/experimental", default-features = false }
icu_list = { version = "~2.0.0-dev", path = "components/list", default-features = false }
icu_locale = { version = "~2.0.0-dev", path = "components/locale", default-features = false }
icu_normalizer = { version = "~2.0.0-dev", path = "components/normalizer", default-features = false }
Expand Down Expand Up @@ -187,23 +187,23 @@ icu_experimental_data = { version = "~0.2.0-dev", path = "provider/data/experime
bies = { version = "0.2.2", path = "utils/bies", default-features = false }
calendrical_calculations = { version = "0.1.1", path = "utils/calendrical_calculations", default-features = false }
crlify = { version = "1.0.4", path = "utils/crlify", default-features = false }
databake = { version = "0.1.9-dev", path = "utils/databake", default-features = false }
databake-derive = { version = "0.1.8", path = "utils/databake/derive", default-features = false }
databake = { version = "0.2.0", path = "utils/databake", default-features = false }
databake-derive = { version = "0.2.0", path = "utils/databake/derive", default-features = false }
deduplicating_array = { version = "0.1.6", path = "utils/deduplicating_array", default-features = false }
fixed_decimal = { version = "0.6.0-dev", path = "utils/fixed_decimal", default-features = false }
ixdtf = { version = "0.3.0-dev", path = "utils/ixdtf", default-features = false }
fixed_decimal = { version = "0.6.0", path = "utils/fixed_decimal", default-features = false }
ixdtf = { version = "0.3.0", path = "utils/ixdtf", default-features = false }
litemap = { version = "0.7.3", path = "utils/litemap", default-features = false }
tinystr = { version = "0.8.0-dev", path = "utils/tinystr", default-features = false }
tinystr = { version = "0.8.0", path = "utils/tinystr", default-features = false }
tzif = { version = "0.3.0-dev", path = "utils/tzif", default-features = false }
potential_utf = { version = "0.1.0-dev", path = "utils/potential_utf", default-features = false }
writeable = { version = "0.5.6-dev", path = "utils/writeable", default-features = false }
yoke = { version = "0.7.5-dev", path = "utils/yoke", default-features = false }
yoke-derive = { version = "0.7.4", path = "utils/yoke/derive", default-features = false }
potential_utf = { version = "0.1.0", path = "utils/potential_utf", default-features = false }
writeable = { version = "0.6.0", path = "utils/writeable", default-features = false }
yoke = { version = "0.7.5", path = "utils/yoke", default-features = false }
yoke-derive = { version = "0.7.5", path = "utils/yoke/derive", default-features = false }
zerofrom = { version = "0.1.3", path = "utils/zerofrom", default-features = false }
zerofrom-derive = { version = "0.1.3", path = "utils/zerofrom/derive", default-features = false }
zerotrie = { version = "0.2.0-dev", path = "utils/zerotrie", default-features = false }
zerovec = { version = "0.11.0-dev", path = "utils/zerovec", default-features = false }
zerovec-derive = { version = "0.11.0-dev", path = "utils/zerovec/derive", default-features = false }
zerotrie = { version = "0.2.0", path = "utils/zerotrie", default-features = false }
zerovec = { version = "0.11.0", path = "utils/zerovec", default-features = false }
zerovec-derive = { version = "0.11.0", path = "utils/zerovec/derive", default-features = false }

# Tools
icu_benchmark_macros = { path = "tools/benchmark/macros" }
Expand Down
2 changes: 1 addition & 1 deletion components/experimental/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "icu_experimental"
description = "ICU4X pre-release components under active development; all code in this crate is unstable."
version = "0.2.0-dev"
version = "0.2.0"

authors.workspace = true
categories.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion components/pattern/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "icu_pattern"
description = "ICU pattern utilities"
version = "0.3.0-dev"
version = "0.3.0"

authors.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion utils/bies/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "bies"
description = "Helpers for dealing with BIES vectors with text segmentation applications"
version = "0.2.2"
version = "0.2.3"

authors.workspace = true
edition.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion utils/calendrical_calculations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[package]
name = "calendrical_calculations"
description = "Calendrical calculations in Rust"
version = "0.1.1"
version = "0.1.2"
categories = ["rust-patterns", "memory-management", "caching", "no-std", "data-structures"]
keywords = ["zerocopy", "serialization", "zero-copy", "serde"]

Expand Down
2 changes: 1 addition & 1 deletion utils/databake/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "databake"
description = "Trait that lets structs represent themselves as (const) Rust expressions"
version = "0.1.9-dev"
version = "0.2.0"
categories = ["rust-patterns", "memory-management", "development-tools::procedural-macro-helpers", "development-tools::build-utils"]
keywords = ["zerocopy", "serialization", "const", "proc"]

Expand Down
2 changes: 1 addition & 1 deletion utils/databake/derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[package]
name = "databake-derive"
description = "Custom derive for the databake crate"
version = "0.1.8"
version = "0.2.0"
categories = ["rust-patterns", "memory-management", "development-tools::procedural-macro-helpers", "development-tools::build-utils"]
keywords = ["zerocopy", "serialization", "const", "proc"]

Expand Down
Loading

0 comments on commit 02e5c95

Please sign in to comment.