jdrouet / mrml

Implementation of mjml in rust
MIT License
348 stars 22 forks source link

chore: release #465

Open github-actions[bot] opened 2 months ago

github-actions[bot] commented 2 months ago

🤖 New release

⚠️ mrml breaking changes

--- failure enum_struct_variant_field_added: pub enum struct variant field added ---

Description:
An enum's exhaustive struct variant has a new field, which has to be included when constructing or matching on this variant.
        ref: https://doc.rust-lang.org/reference/attributes/type_system.html#the-non_exhaustive-attribute
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_struct_variant_field_added.ron

Failed in:
  field origin of variant Error::IncludeLoaderError in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:71

--- failure enum_tuple_variant_changed_kind: An enum tuple variant changed kind ---

Description:
A public enum's exhaustive tuple variant has changed to a different kind of enum variant, breaking possible instantiations and patterns.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_tuple_variant_changed_kind.ron

Failed in:
  variant Error::UnexpectedElement in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:41
  variant Error::UnexpectedToken in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:43
  variant Error::MissingAttribute in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:45
  variant Error::InvalidAttribute in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:51
  variant Error::InvalidFormat in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:53
  variant Error::ParserError in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:61

--- failure enum_unit_variant_changed_kind: An enum unit variant changed kind ---

Description:
A public enum's exhaustive unit variant has changed to a different kind of enum variant, breaking possible instantiations and patterns.
        ref: https://doc.rust-lang.org/reference/items/enumerations.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_unit_variant_changed_kind.ron

Failed in:
  variant Error::EndOfStream in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:55
  variant Error::SizeLimit in /tmp/.tmpPdpV1l/mrml/packages/mrml-core/src/prelude/parser/mod.rs:58

--- failure enum_variant_missing: pub enum variant removed or renamed ---

Description:
A publicly-visible enum has at least one variant that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/enum_variant_missing.ron

Failed in:
  variant Error::UnexpectedAttribute, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/parser/mod.rs:61

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/inherent_method_missing.ron

Failed in:
  MjIncludeBodyChild::as_renderable, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_include/body/render.rs:5
  MjIncludeHeadAttributes::is_empty, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_include/head/mod.rs:77
  MjmlAttributes::is_empty, previously in file /tmp/.tmpJkWgQ6/mrml/src/mjml/json.rs:12
  MjBreakpointAttributes::is_empty, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_breakpoint/json.rs:4
  MjAccordionElementChildren::is_empty, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_accordion_element/json.rs:22
  MjIncludeBodyAttributes::is_empty, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_include/body/mod.rs:84
  MjStyleAttributes::is_empty, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_style/json.rs:4

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/struct_missing.ron

Failed in:
  struct mrml::mjml::Mjml, previously in file /tmp/.tmpJkWgQ6/mrml/src/mjml/mod.rs:39
  struct mrml::prelude::render::RenderBuffer, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/buffer.rs:4
  struct mrml::mj_attributes_class::MjAttributesClass, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_attributes_class/mod.rs:13
  struct mrml::prelude::render::RenderCursor, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/mod.rs:55
  struct mrml::node::Node, previously in file /tmp/.tmpJkWgQ6/mrml/src/node/mod.rs:13
  struct mrml::mj_social_element::MjSocialElement, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_social_element/mod.rs:20
  struct mrml::prelude::render::VariableHeader, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/header.rs:10
  struct mrml::mj_section::MjSection, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_section/mod.rs:21
  struct mrml::mj_table::MjTable, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_table/mod.rs:18
  struct mrml::prelude::print::DensePrinter, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/print.rs:186
  struct mrml::mj_title::MjTitle, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_title/mod.rs:13
  struct mrml::mj_attributes_all::MjAttributesAll, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_attributes_all/mod.rs:15
  struct mrml::mj_preview::MjPreview, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_preview/mod.rs:13
  struct mrml::prelude::print::PrettyPrinter, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/print.rs:236
  struct mrml::mj_column::MjColumn, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_column/mod.rs:18
  struct mrml::mj_breakpoint::MjBreakpoint, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_breakpoint/mod.rs:20
  struct mrml::mj_accordion_element::MjAccordionElement, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_accordion_element/mod.rs:25
  struct mrml::prelude::render::Generator, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/mod.rs:26
  struct mrml::prelude::render::RenderContext, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/mod.rs:38
  struct mrml::mj_social::MjSocial, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_social/mod.rs:20
  struct mrml::prelude::render::Tag, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/tag.rs:35
  struct mrml::mj_hero::MjHero, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_hero/mod.rs:18
  struct mrml::mj_wrapper::MjWrapper, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_wrapper/mod.rs:18
  struct mrml::mj_button::MjButton, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_button/mod.rs:18
  struct mrml::comment::Comment, previously in file /tmp/.tmpJkWgQ6/mrml/src/comment/mod.rs:14
  struct mrml::mj_carousel_image::MjCarouselImage, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_carousel_image/mod.rs:17
  struct mrml::mj_accordion_title::MjAccordionTitle, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_accordion_title/mod.rs:18
  struct mrml::mj_head::MjHead, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_head/mod.rs:18
  struct mrml::mj_style::MjStyle, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_style/mod.rs:20
  struct mrml::mj_text::MjText, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_text/mod.rs:18
  struct mrml::mj_navbar_link::MjNavbarLink, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_navbar_link/mod.rs:18
  struct mrml::mj_attributes::MjAttributes, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_attributes/mod.rs:16
  struct mrml::mj_body::MjBody, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_body/mod.rs:20
  struct mrml::mj_divider::MjDivider, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_divider/mod.rs:17
  struct mrml::mj_navbar::MjNavbar, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_navbar/mod.rs:20
  struct mrml::mj_group::MjGroup, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_group/mod.rs:18
  struct mrml::mj_accordion_text::MjAccordionText, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_accordion_text/mod.rs:18
  struct mrml::mj_spacer::MjSpacer, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_spacer/mod.rs:17
  struct mrml::mj_font::MjFont, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_font/mod.rs:20
  struct mrml::mj_image::MjImage, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_image/mod.rs:17
  struct mrml::mj_raw::MjRaw, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_raw/mod.rs:18
  struct mrml::mj_carousel::MjCarousel, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_carousel/mod.rs:20
  struct mrml::mj_accordion::MjAccordion, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_accordion/mod.rs:32
  struct mrml::prelude::render::Header, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/header.rs:75

--- failure trait_missing: pub trait removed or renamed ---

Description:
A publicly-visible trait cannot be imported by its prior path. A `pub use` may have been removed, or the trait itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/trait_missing.ron

Failed in:
  trait mrml::prelude::render::Render, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/mod.rs:89
  trait mrml::mj_section::SectionLikeRender, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_section/render.rs:209
  trait mrml::prelude::render::Renderable, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/render/mod.rs:269
  trait mrml::prelude::print::PrintableElement, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/print.rs:123
  trait mrml::mj_section::WithMjSectionBackground, previously in file /tmp/.tmpJkWgQ6/mrml/src/mj_section/render.rs:16
  trait mrml::prelude::print::PrintableChildren, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/print.rs:25
  trait mrml::prelude::print::PrintableAttributes, previously in file /tmp/.tmpJkWgQ6/mrml/src/prelude/print.rs:6
Changelog

## `mrml`

## [5.0.0](https://github.com/jdrouet/mrml/compare/mrml-v4.0.1...mrml-v5.0.0) - 2024-10-27 ### 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 - 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))
## `html-compare`
## [0.1.4](https://github.com/jdrouet/mrml/compare/html-compare-v0.1.3...html-compare-v0.1.4) - 2024-10-27 ### Other - replace xmlparser by htmlparser ([#485](https://github.com/jdrouet/mrml/pull/485)) - *(deps)* upgrade multiple dependencies ([#476](https://github.com/jdrouet/mrml/pull/476))
## `css-compare`
## [0.1.4](https://github.com/jdrouet/mrml/compare/css-compare-v0.1.3...css-compare-v0.1.4) - 2024-10-27 ### Other - *(deps)* upgrade multiple dependencies ([#476](https://github.com/jdrouet/mrml/pull/476))
## `mrml-cli`
## [1.7.0](https://github.com/jdrouet/mrml/compare/mrml-cli-v1.6.1...mrml-cli-v1.7.0) - 2024-10-27 ### 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))
## `mrml-python`
## [0.1.16](https://github.com/jdrouet/mrml/compare/mrml-python-v0.1.15...mrml-python-v0.1.16) - 2024-10-27 ### 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))
## `mrml-wasm`
## [1.5.0](https://github.com/jdrouet/mrml/compare/mrml-wasm-v1.4.12...mrml-wasm-v1.5.0) - 2024-10-27 ### 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))


This PR was generated with release-plz.

jdrouet commented 1 day ago

/release-plz set-version mrml@5.0.0-alpha.1