diff --git a/Cargo.lock b/Cargo.lock index 0d00963a..fff00d1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1279,7 +1279,7 @@ dependencies = [ [[package]] name = "mrml" -version = "4.0.1" +version = "5.0.0" dependencies = [ "async-trait", "concat-idents", @@ -1305,7 +1305,7 @@ dependencies = [ [[package]] name = "mrml-cli" -version = "1.6.1" +version = "1.7.0" dependencies = [ "clap", "env_logger", @@ -1317,7 +1317,7 @@ dependencies = [ [[package]] name = "mrml-python" -version = "0.1.15" +version = "0.1.16" dependencies = [ "mrml", "pyo3", @@ -1325,7 +1325,7 @@ dependencies = [ [[package]] name = "mrml-wasm" -version = "1.4.12" +version = "1.5.0" dependencies = [ "console_error_panic_hook", "mrml", diff --git a/packages/mrml-cli/CHANGELOG.md b/packages/mrml-cli/CHANGELOG.md index ae407cd7..e5f2ef1c 100644 --- a/packages/mrml-cli/CHANGELOG.md +++ b/packages/mrml-cli/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.7.0](https://github.com/jdrouet/mrml/compare/mrml-cli-v1.6.1...mrml-cli-v1.7.0) - 2024-08-17 + +### Added +- improve error handling ([#452](https://github.com/jdrouet/mrml/pull/452)) +- parsing warnings and improve errors ([#451](https://github.com/jdrouet/mrml/pull/451)) + ## [1.6.1](https://github.com/jdrouet/mrml/compare/mrml-cli-v1.6.0...mrml-cli-v1.6.1) - 2024-06-30 ### Other diff --git a/packages/mrml-cli/Cargo.toml b/packages/mrml-cli/Cargo.toml index fc15e8e0..98a3a417 100644 --- a/packages/mrml-cli/Cargo.toml +++ b/packages/mrml-cli/Cargo.toml @@ -2,7 +2,7 @@ name = "mrml-cli" description = "CLI for the Rust implementation of MJML renderer" keywords = ["cli", "email", "mjml"] -version = "1.6.1" +version = "1.7.0" authors = ["Jérémie Drouet "] license = "MIT" edition = "2018" @@ -15,7 +15,7 @@ path = "src/main.rs" name = "mrml" [dependencies] -mrml = { version = "4.0.1", path = "../mrml-core", features = [ +mrml = { version = "5.0.0", path = "../mrml-core", features = [ "http-loader-ureq", "local-loader", ] } diff --git a/packages/mrml-core/CHANGELOG.md b/packages/mrml-core/CHANGELOG.md index 7f10636c..c3cca612 100644 --- a/packages/mrml-core/CHANGELOG.md +++ b/packages/mrml-core/CHANGELOG.md @@ -6,6 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [5.0.0](https://github.com/jdrouet/mrml/compare/mrml-v4.0.1...mrml-v5.0.0) - 2024-08-17 + +### Added +- improve error handling ([#452](https://github.com/jdrouet/mrml/pull/452)) +- parsing warnings and improve errors ([#451](https://github.com/jdrouet/mrml/pull/451)) + +### Other +- apply format changes +- rename json traits to json prefix +- stop returning impl ([#449](https://github.com/jdrouet/mrml/pull/449)) +- *(mrml-core)* base all component on the same struct ([#448](https://github.com/jdrouet/mrml/pull/448)) +- *(mrml-core)* introduce proper errors for size parsing ([#447](https://github.com/jdrouet/mrml/pull/447)) +- remove to_owned call +- make size, pixel, percent copy ([#445](https://github.com/jdrouet/mrml/pull/445)) + ## [4.0.1](https://github.com/jdrouet/mrml/compare/mrml-v4.0.0...mrml-v4.0.1) - 2024-06-30 ### Fixed diff --git a/packages/mrml-core/Cargo.toml b/packages/mrml-core/Cargo.toml index fad400c2..5764aa80 100644 --- a/packages/mrml-core/Cargo.toml +++ b/packages/mrml-core/Cargo.toml @@ -2,7 +2,7 @@ name = "mrml" description = "Rust implementation of MJML renderer" keywords = ["email", "mjml"] -version = "4.0.1" +version = "5.0.0" authors = ["Jérémie Drouet "] edition = "2018" license = "MIT" diff --git a/packages/mrml-python/CHANGELOG.md b/packages/mrml-python/CHANGELOG.md index 4305e18f..c2da10be 100644 --- a/packages/mrml-python/CHANGELOG.md +++ b/packages/mrml-python/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.16](https://github.com/jdrouet/mrml/compare/mrml-python-v0.1.15...mrml-python-v0.1.16) - 2024-08-17 + +### Added +- parsing warnings and improve errors ([#451](https://github.com/jdrouet/mrml/pull/451)) + +### Fixed +- *(mrml-python)* turn PyOSError into PyIOError + ## [0.1.15](https://github.com/jdrouet/mrml/compare/mrml-python-v0.1.14...mrml-python-v0.1.15) - 2024-06-30 ### Other diff --git a/packages/mrml-python/Cargo.toml b/packages/mrml-python/Cargo.toml index 06d97885..4e7b62b9 100644 --- a/packages/mrml-python/Cargo.toml +++ b/packages/mrml-python/Cargo.toml @@ -2,7 +2,7 @@ name = "mrml-python" description = "Python wrapping on MRML" keywords = ["email", "mjml"] -version = "0.1.15" +version = "0.1.16" authors = ["Jérémie Drouet "] edition = "2021" license = "MIT" @@ -16,7 +16,7 @@ name = "mrml" crate-type = ["cdylib"] [dependencies] -mrml = { version = "4.0.1", path = "../mrml-core", features = [ +mrml = { version = "5.0.0", path = "../mrml-core", features = [ "http-loader-ureq", "local-loader", ] } diff --git a/packages/mrml-wasm/CHANGELOG.md b/packages/mrml-wasm/CHANGELOG.md index 17c1726f..ccc8ea70 100644 --- a/packages/mrml-wasm/CHANGELOG.md +++ b/packages/mrml-wasm/CHANGELOG.md @@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.5.0](https://github.com/jdrouet/mrml/compare/mrml-wasm-v1.4.12...mrml-wasm-v1.5.0) - 2024-08-17 + +### Added +- improve error handling ([#452](https://github.com/jdrouet/mrml/pull/452)) +- parsing warnings and improve errors ([#451](https://github.com/jdrouet/mrml/pull/451)) + +### Other +- *(mrml-core)* base all component on the same struct ([#448](https://github.com/jdrouet/mrml/pull/448)) + ## [1.4.12](https://github.com/jdrouet/mrml/compare/mrml-wasm-v1.4.11...mrml-wasm-v1.4.12) - 2024-06-30 ### Other diff --git a/packages/mrml-wasm/Cargo.toml b/packages/mrml-wasm/Cargo.toml index 0c2d73f2..27cc22fc 100644 --- a/packages/mrml-wasm/Cargo.toml +++ b/packages/mrml-wasm/Cargo.toml @@ -2,7 +2,7 @@ name = "mrml-wasm" description = "Wasm wrapping on MRML" keywords = ["email", "mjml"] -version = "1.4.12" +version = "1.5.0" authors = ["Jérémie Drouet "] edition = "2018" license = "MIT" @@ -26,7 +26,7 @@ wee-alloc = ["dep:wee_alloc"] # code size when deploying. console_error_panic_hook = { version = "0.1.7", optional = true } -mrml = { version = "4.0.1", path = "../mrml-core", default-features = false, features = [ +mrml = { version = "5.0.0", path = "../mrml-core", default-features = false, features = [ "parse", "render", ] }