diff --git a/Cargo.toml b/Cargo.toml index 8c70b9b3..4bc232e3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,19 +1,17 @@ [workspace] resolver = "2" members = [ - "fluent-syntax", - "fluent-bundle", - "fluent-fallback", - "fluent-resmgr", - "fluent-pseudo", - "fluent-testing", - "fluent", - "intl-memoizer" + "fluent-syntax", + "fluent-bundle", + "fluent-fallback", + "fluent-resmgr", + "fluent-pseudo", + "fluent-testing", + "fluent", + "intl-memoizer", ] -exclude = [ - "fluent-cli", -] +exclude = ["fluent-cli"] [workspace.dependencies] criterion = "0.3" @@ -28,7 +26,7 @@ thiserror = "1.0" tokio = "1.0" unic-langid = "0.9" -fluent-bundle = { path = "fluent-bundle" } -fluent-fallback = { path = "fluent-fallback" } -fluent-pseudo = { path = "fluent-pseudo" } -fluent-syntax = { path = "fluent-syntax" } +fluent-bundle = { version = "0.15.3", path = "fluent-bundle" } +fluent-fallback = { version = "0.7.1", path = "fluent-fallback" } +fluent-pseudo = { version = "0.3.2", path = "fluent-pseudo" } +fluent-syntax = { version = "0.11.1", path = "fluent-syntax" } diff --git a/fluent-bundle/CHANGELOG.md b/fluent-bundle/CHANGELOG.md index 223ed009..63aa2c2e 100644 --- a/fluent-bundle/CHANGELOG.md +++ b/fluent-bundle/CHANGELOG.md @@ -2,7 +2,22 @@ ## Unreleased - - … + - Bump `serde_yaml` to 0.9. + +## fluent-bundle 0.15.3 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Implement `From<&String>` for `FluentValue` + - Add `FluentValue.into_string` to prevent String clone + - Fix `FluentValue::try_number` accepting numbers + - Allow optional arguments on `FluentValue` + - Fix behavior of `FluentArgs::set` + - Resolve function instead in `impl ResolveValue` + - Add type alias for concurrent `FluentBundle` + - Fix `FluentBundle::format_pattern` lifetimes + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes ## fluent-bundle 0.15.2 (October 25, 2021) - Bump `self_cell` to 0.10. diff --git a/fluent-bundle/Cargo.toml b/fluent-bundle/Cargo.toml index c49640c1..6c285908 100644 --- a/fluent-bundle/Cargo.toml +++ b/fluent-bundle/Cargo.toml @@ -4,11 +4,11 @@ description = """ A localization system designed to unleash the entire expressive power of natural language translations. """ -version = "0.15.2" +version = "0.15.3" edition = "2021" authors = [ - "Zibi Braniecki ", - "Staś Małolepszy " + "Zibi Braniecki ", + "Staś Małolepszy ", ] homepage = "http://www.projectfluent.org" license = "Apache-2.0 OR MIT" @@ -17,12 +17,12 @@ readme = "README.md" keywords = ["localization", "l10n", "i18n", "intl", "internationalization"] categories = ["localization", "internationalization"] include = [ - "src/**/*", - "benches/*.rs", - "Cargo.toml", - "README.md", - "LICENSE-APACHE", - "LICENSE-MIT" + "src/**/*", + "benches/*.rs", + "Cargo.toml", + "README.md", + "LICENSE-APACHE", + "LICENSE-MIT", ] [dependencies] @@ -31,17 +31,17 @@ fluent-syntax.workspace = true intl_pluralrules.workspace = true rustc-hash.workspace = true unic-langid.workspace = true -intl-memoizer = { path = "../intl-memoizer" } +intl-memoizer = { version = "0.5.2", path = "../intl-memoizer" } self_cell = "1.0" smallvec = "1.13" [dev-dependencies] criterion.workspace = true iai.workspace = true -serde = { workspace = true, features = ["derive"]} +serde = { workspace = true, features = ["derive"] } unic-langid = { workspace = true, features = ["macros"] } rand = "0.8" -serde_yaml = "0.8" +serde_yaml = "0.9" [features] default = [] diff --git a/fluent-fallback/CHANGELOG.md b/fluent-fallback/CHANGELOG.md index 1c6598c4..739765a4 100644 --- a/fluent-fallback/CHANGELOG.md +++ b/fluent-fallback/CHANGELOG.md @@ -4,6 +4,14 @@ - … +## fluent-fallback 0.7.1 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Migrate to `pin_cell` crate + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes + ## fluent-fallback 0.7.0 (Nov 9, 2022) - The `ResourceId`s are now stored as a `HashSet` rather than as a Vec. Adding a duplicate `ResourceId` is now a noop. diff --git a/fluent-fallback/Cargo.toml b/fluent-fallback/Cargo.toml index 35add92d..98729570 100644 --- a/fluent-fallback/Cargo.toml +++ b/fluent-fallback/Cargo.toml @@ -4,7 +4,7 @@ description = """ High-level abstraction model for managing localization resources and runtime localization lifecycle. """ -version = "0.7.0" +version = "0.7.1" edition = "2021" authors = [ "Zibi Braniecki ", diff --git a/fluent-fallback/src/lib.rs b/fluent-fallback/src/lib.rs index 4bd48f66..dee5906f 100644 --- a/fluent-fallback/src/lib.rs +++ b/fluent-fallback/src/lib.rs @@ -62,7 +62,7 @@ //! Resource identifiers can refer to resources that are either required or optional. //! In the above example, `"test.ftl"` is a required resource (the default using `.into()`), //! and `"test2.ftl"` is an optional resource, which you can create via the -//! [`ToResourceId`](fluent_fallback::types::ToResourceId) trait. +//! [`ToResourceId`](types::ToResourceId) trait. //! //! A required resource must be present in order for the a bundle to be considered valid. //! If a required resource is missing for a given locale, a bundle will not be generated for that locale. diff --git a/fluent-pseudo/CHANGELOG.md b/fluent-pseudo/CHANGELOG.md index 9b48172f..75ed61eb 100644 --- a/fluent-pseudo/CHANGELOG.md +++ b/fluent-pseudo/CHANGELOG.md @@ -4,6 +4,14 @@ - … +## fluent-pseudo 0.3.2 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Allow optional resources, adds `ResourceId` struct + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes + ## fluent-pseudo 0.3.1 (July 21, 2021) - Update README to document the API changes in 0.3.0. diff --git a/fluent-pseudo/Cargo.toml b/fluent-pseudo/Cargo.toml index fb70c1b8..79df5dc8 100644 --- a/fluent-pseudo/Cargo.toml +++ b/fluent-pseudo/Cargo.toml @@ -3,7 +3,7 @@ name = "fluent-pseudo" description = """ Pseudolocalization transformation API for use with Project Fluent API. """ -version = "0.3.1" +version = "0.3.2" edition = "2021" authors = [ "Zibi Braniecki ", diff --git a/fluent-resmgr/CHANGELOG.md b/fluent-resmgr/CHANGELOG.md index 95fbc64c..671ba65a 100644 --- a/fluent-resmgr/CHANGELOG.md +++ b/fluent-resmgr/CHANGELOG.md @@ -4,6 +4,14 @@ - … +## fluent-resmgr 0.0.7 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Return a result for `ResourceManager::get_resource` + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes + ## fluent-resmgr 0.0.6 (Nov 9, 2022) - Update `fluent-fallback` to 0.7.0. diff --git a/fluent-resmgr/Cargo.toml b/fluent-resmgr/Cargo.toml index c9355b39..5b7c0a56 100644 --- a/fluent-resmgr/Cargo.toml +++ b/fluent-resmgr/Cargo.toml @@ -3,7 +3,7 @@ name = "fluent-resmgr" description = """ Resource manager for Fluent localization resources. """ -version = "0.0.6" +version = "0.0.7" authors = [ "Zibi Braniecki ", "Staś Małolepszy " diff --git a/fluent-syntax/CHANGELOG.md b/fluent-syntax/CHANGELOG.md index 38f6e9b3..592d10ea 100644 --- a/fluent-syntax/CHANGELOG.md +++ b/fluent-syntax/CHANGELOG.md @@ -4,6 +4,16 @@ - Add module `serializer`. - … +## fluent-syntax 0.11.1 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Create generic ftl serializer `fluent_syntax::serializer` + - Fix crash when parsing multiline CRLF comment + - Treat tab as text, not whitespace, adds `parser::matches_fluent_ws` function + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes + ## fluent-syntax 0.11.0 (February 9, 2021) - Document the crate. - Switch to use `thiserror` for Error annotations. diff --git a/fluent-syntax/Cargo.toml b/fluent-syntax/Cargo.toml index 9c306381..0e027bc2 100644 --- a/fluent-syntax/Cargo.toml +++ b/fluent-syntax/Cargo.toml @@ -3,7 +3,7 @@ name = "fluent-syntax" description = """ Parser/Serializer tools for Fluent Syntax. """ -version = "0.11.0" +version = "0.11.1" edition = "2021" authors = [ "Zibi Braniecki ", diff --git a/fluent-testing/CHANGELOG.md b/fluent-testing/CHANGELOG.md index 629bffd8..40aae598 100644 --- a/fluent-testing/CHANGELOG.md +++ b/fluent-testing/CHANGELOG.md @@ -4,6 +4,13 @@ - … +## fluent-testing 0.0.4 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes + ## fluent-resmgr 0.0.3 (Nov 9, 2022) - Update `fluent-fallback` to 0.7.0. diff --git a/fluent-testing/Cargo.toml b/fluent-testing/Cargo.toml index 77d30bb3..3af6a353 100644 --- a/fluent-testing/Cargo.toml +++ b/fluent-testing/Cargo.toml @@ -3,7 +3,7 @@ name = "fluent-testing" description = """ A collection of mock scenarios for testing fluent-rs components. """ -version = "0.0.3" +version = "0.0.4" authors = [ "Zibi Braniecki ", "Erik Nordin " diff --git a/fluent/CHANGELOG.md b/fluent/CHANGELOG.md index bf9057b8..8f1e2b28 100644 --- a/fluent/CHANGELOG.md +++ b/fluent/CHANGELOG.md @@ -4,6 +4,15 @@ - … +## fluent 0.16.1 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Make `fluent_args` macro work with trailing comma + - Fix `FluentValue::try_number` accepting numbers + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes + ## fluent 0.16.0 (July 29, 2021) - Update `fluent-pseudo` to 0.3. diff --git a/fluent/Cargo.toml b/fluent/Cargo.toml index 16ae4cc2..3a773375 100644 --- a/fluent/Cargo.toml +++ b/fluent/Cargo.toml @@ -4,7 +4,7 @@ description = """ A localization system designed to unleash the entire expressive power of natural language translations. """ -version = "0.16.0" +version = "0.16.1" edition = "2021" authors = [ "Zibi Braniecki ", diff --git a/intl-memoizer/CHANGELOG.md b/intl-memoizer/CHANGELOG.md index c749b0e5..b5adfd32 100644 --- a/intl-memoizer/CHANGELOG.md +++ b/intl-memoizer/CHANGELOG.md @@ -4,6 +4,13 @@ - … +## intl-memoizer 0.5.2 (March 16, 2024) + - This is a 'safe harbor' release prior to bringing on non-Mozilla community maintainers + - Workspace: Update to Rust 2021 + - Workspace: Add various missing documentation and fix typos and links + - Workspace: Cleanup meta-data using workspaces, use SPDX licenses, etc. + - Workspace: Apply rustfmt and clippy lint fixes + ## intl-memoizer 0.5.1 (January 22, 2021) - Update `type-map` to 0.4. diff --git a/intl-memoizer/Cargo.toml b/intl-memoizer/Cargo.toml index c1506146..cae12bf2 100644 --- a/intl-memoizer/Cargo.toml +++ b/intl-memoizer/Cargo.toml @@ -4,7 +4,7 @@ description = """ A memoizer specifically tailored for storing lazy-initialized intl formatters. """ -version = "0.5.1" +version = "0.5.2" edition = "2021" authors = [ "Zibi Braniecki ", diff --git a/intl-memoizer/src/concurrent.rs b/intl-memoizer/src/concurrent.rs index 74dc528e..0809f733 100644 --- a/intl-memoizer/src/concurrent.rs +++ b/intl-memoizer/src/concurrent.rs @@ -20,7 +20,7 @@ impl IntlLangMemoizer { } /// Lazily initialize and run a formatter. See - /// [`intl_memoizer::IntlLangMemoizer::with_try_get`](../struct.IntlLangMemoizer.html#method.with_try_get) + /// [`intl_memoizer::IntlLangMemoizer::with_try_get`](crate::IntlLangMemoizer::with_try_get) /// for documentation. pub fn with_try_get(&self, args: I::Args, cb: U) -> Result where