diff --git a/Cargo.lock b/Cargo.lock index 8330d2b8..9b4c8d26 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -535,7 +535,7 @@ checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" [[package]] name = "css-compare" -version = "0.1.3" +version = "0.1.4" dependencies = [ "lightningcss", "similar-asserts", @@ -830,7 +830,7 @@ checksum = "fbf6a919d6cf397374f7dfeeea91d974c7c0a7221d0d0f4f20d859d329e53fcc" [[package]] name = "html-compare" -version = "0.1.3" +version = "0.1.4" dependencies = [ "colored", "css-compare", @@ -1327,7 +1327,7 @@ dependencies = [ [[package]] name = "mrml" -version = "4.0.1" +version = "5.0.0" dependencies = [ "async-trait", "concat-idents", @@ -1353,7 +1353,7 @@ dependencies = [ [[package]] name = "mrml-cli" -version = "1.6.1" +version = "1.7.0" dependencies = [ "clap", "env_logger", @@ -1365,7 +1365,7 @@ dependencies = [ [[package]] name = "mrml-python" -version = "0.1.15" +version = "0.1.16" dependencies = [ "mrml", "pyo3", @@ -1373,7 +1373,7 @@ dependencies = [ [[package]] name = "mrml-wasm" -version = "1.4.12" +version = "1.5.0" dependencies = [ "console_error_panic_hook", "mrml", diff --git a/examples/axum/Cargo.toml b/examples/axum/Cargo.toml index 4f102545..cbc24404 100644 --- a/examples/axum/Cargo.toml +++ b/examples/axum/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] axum = { version = "0.7", features = ["macros"] } -mrml = { version = "4.0.1", path = "../../packages/mrml-core", features = [ +mrml = { version = "5.0.0", path = "../../packages/mrml-core", features = [ "async", "http-loader-async-reqwest", ] } diff --git a/packages/mrml-cli/CHANGELOG.md b/packages/mrml-cli/CHANGELOG.md index ae407cd7..d2bb1f36 100644 --- a/packages/mrml-cli/CHANGELOG.md +++ b/packages/mrml-cli/CHANGELOG.md @@ -6,6 +6,17 @@ 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-11-26 + +### 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 + +- use package attributes from workspace ([#488](https://github.com/jdrouet/mrml/pull/488)) + ## [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 cb9ffc40..6b761d49 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.workspace = true edition.workspace = true license.workspace = true @@ -16,7 +16,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..1c717da0 100644 --- a/packages/mrml-core/CHANGELOG.md +++ b/packages/mrml-core/CHANGELOG.md @@ -6,6 +6,37 @@ 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-11-26 + +### Added + +- *(mrml-core)* add x to the supported social elements ([#469](https://github.com/jdrouet/mrml/pull/469)) +- improve error handling ([#452](https://github.com/jdrouet/mrml/pull/452)) +- parsing warnings and improve errors ([#451](https://github.com/jdrouet/mrml/pull/451)) + +### Fixed + +- *(mrml-core)* handle duplicate border in mj-column ([#479](https://github.com/jdrouet/mrml/pull/479)) +- *(mj-core)* mj-text is an ending tag ([#478](https://github.com/jdrouet/mrml/pull/478)) +- *(mrml-core)* comments in mrml component should be ignored ([#477](https://github.com/jdrouet/mrml/pull/477)) + +### Other + +- *(deps)* bump htmlparser to 0.2.1 ([#489](https://github.com/jdrouet/mrml/pull/489)) +- use package attributes from workspace ([#488](https://github.com/jdrouet/mrml/pull/488)) +- change visibility of modules ([#487](https://github.com/jdrouet/mrml/pull/487)) +- replace xmlparser by htmlparser ([#485](https://github.com/jdrouet/mrml/pull/485)) +- *(mrml-core)* remove unwraps in code ([#482](https://github.com/jdrouet/mrml/pull/482)) +- *(deps)* upgrade multiple dependencies ([#476](https://github.com/jdrouet/mrml/pull/476)) +- *(mrml-core)* create alias for attributes map +- 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 e6f91a12..5de4ae75 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.workspace = true edition.workspace = true license.workspace = true diff --git a/packages/mrml-core/lib/css-compare/CHANGELOG.md b/packages/mrml-core/lib/css-compare/CHANGELOG.md index 3f737ff3..b4180970 100644 --- a/packages/mrml-core/lib/css-compare/CHANGELOG.md +++ b/packages/mrml-core/lib/css-compare/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.4](https://github.com/jdrouet/mrml/compare/css-compare-v0.1.3...css-compare-v0.1.4) - 2024-11-26 + +### Other + +- *(deps)* upgrade multiple dependencies ([#476](https://github.com/jdrouet/mrml/pull/476)) + ## [0.1.3](https://github.com/jdrouet/mrml/compare/css-compare-v0.1.2...css-compare-v0.1.3) - 2024-06-13 ### Other diff --git a/packages/mrml-core/lib/css-compare/Cargo.toml b/packages/mrml-core/lib/css-compare/Cargo.toml index 81ea259e..cdca4bcf 100644 --- a/packages/mrml-core/lib/css-compare/Cargo.toml +++ b/packages/mrml-core/lib/css-compare/Cargo.toml @@ -2,7 +2,7 @@ name = "css-compare" description = "A simple library to compare css stylesheets" license = "MIT" -version = "0.1.3" +version = "0.1.4" edition = "2021" repository = "https://github.com/jdrouet/mrml" diff --git a/packages/mrml-core/lib/html-compare/CHANGELOG.md b/packages/mrml-core/lib/html-compare/CHANGELOG.md index 95c2f4ce..a172051c 100644 --- a/packages/mrml-core/lib/html-compare/CHANGELOG.md +++ b/packages/mrml-core/lib/html-compare/CHANGELOG.md @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.4](https://github.com/jdrouet/mrml/compare/html-compare-v0.1.3...html-compare-v0.1.4) - 2024-11-26 + +### Other + +- *(deps)* bump htmlparser to 0.2.1 ([#489](https://github.com/jdrouet/mrml/pull/489)) +- replace xmlparser by htmlparser ([#485](https://github.com/jdrouet/mrml/pull/485)) +- *(deps)* upgrade multiple dependencies ([#476](https://github.com/jdrouet/mrml/pull/476)) + ## [0.1.3](https://github.com/jdrouet/mrml/compare/html-compare-v0.1.2...html-compare-v0.1.3) - 2024-06-13 ### Other diff --git a/packages/mrml-core/lib/html-compare/Cargo.toml b/packages/mrml-core/lib/html-compare/Cargo.toml index cb479e12..ad6b311d 100644 --- a/packages/mrml-core/lib/html-compare/Cargo.toml +++ b/packages/mrml-core/lib/html-compare/Cargo.toml @@ -2,7 +2,7 @@ name = "html-compare" description = "A simple library to compare html files" license = "MIT" -version = "0.1.3" +version = "0.1.4" edition = "2021" repository = "https://github.com/jdrouet/mrml" diff --git a/packages/mrml-python/CHANGELOG.md b/packages/mrml-python/CHANGELOG.md index 4305e18f..892782e4 100644 --- a/packages/mrml-python/CHANGELOG.md +++ b/packages/mrml-python/CHANGELOG.md @@ -6,6 +6,21 @@ 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-11-26 + +### Added + +- parsing warnings and improve errors ([#451](https://github.com/jdrouet/mrml/pull/451)) + +### Fixed + +- *(mrml-python)* turn PyOSError into PyIOError + +### Other + +- use package attributes from workspace ([#488](https://github.com/jdrouet/mrml/pull/488)) +- *(deps)* upgrade multiple dependencies ([#476](https://github.com/jdrouet/mrml/pull/476)) + ## [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 6f7d1fb9..d3dcb8dd 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.workspace = true edition.workspace = true license.workspace = true @@ -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..3dcfe974 100644 --- a/packages/mrml-wasm/CHANGELOG.md +++ b/packages/mrml-wasm/CHANGELOG.md @@ -6,6 +6,23 @@ 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-11-26 + +### 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)) + +### Fixed + +- *(mrml-wasm)* remove wee_alloc dependency ([#472](https://github.com/jdrouet/mrml/pull/472)) + +### Other + +- use package attributes from workspace ([#488](https://github.com/jdrouet/mrml/pull/488)) +- *(deps)* upgrade multiple dependencies ([#476](https://github.com/jdrouet/mrml/pull/476)) +- *(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 19c5abfa..ec12d13a 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.workspace = true edition.workspace = true license.workspace = true @@ -25,7 +25,7 @@ reqwest-include-loader = ["async", "mrml/http-loader-async-reqwest"] # 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", ] }