matrix-org / matrix-rich-text-editor

Matrix Rich Text Editor
https://matrix-org.github.io/matrix-rich-text-editor/
Apache License 2.0
92 stars 23 forks source link

Update Rust #991

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
html-escape (source) dependencies patch 0.2.12 -> 0.2.13
html5ever dependencies minor 0.25.2 -> 0.27.0
indoc dependencies patch 1.0.8 -> 1.0.9
js-sys (source) dependencies patch 0.3.60 -> 0.3.69
once_cell dependencies minor 1.16.0 -> 1.19.0
pulldown-cmark dependencies minor 0.9.2 -> 0.11.0
regex dependencies minor 1.9.5 -> 1.10.5
ruma-common (source) dependencies minor 0.11.3 -> 0.13.0
strum dependencies minor 0.24 -> 0.26
strum_macros dependencies minor 0.24 -> 0.26
unicode-segmentation dependencies minor 1.10.0 -> 1.11.0
url dependencies minor 2.3.1 -> 2.5.2
wasm-bindgen (source) dependencies patch 0.2.83 -> 0.2.92
wasm-bindgen-futures (source) dependencies patch 0.4.33 -> 0.4.42
wasm-bindgen-test dev-dependencies patch 0.3.33 -> 0.3.42
web-sys (source) dependencies patch 0.3.60 -> 0.3.69
widestring dependencies minor 1.0.2 -> 1.1.0

Release Notes

magiclen/html-escape (html-escape) ### [`v0.2.13`](https://togithub.com/magiclen/html-escape/compare/v0.2.12...v0.2.13) [Compare Source](https://togithub.com/magiclen/html-escape/compare/v0.2.12...v0.2.13)
servo/html5ever (html5ever) ### [`v0.27.0`](https://togithub.com/servo/html5ever/compare/html5ever-v0.26.0...v0.27.0) [Compare Source](https://togithub.com/servo/html5ever/compare/html5ever-v0.26.0...v0.27.0)
dtolnay/indoc (indoc) ### [`v1.0.9`](https://togithub.com/dtolnay/indoc/releases/tag/1.0.9) [Compare Source](https://togithub.com/dtolnay/indoc/compare/1.0.8...1.0.9) - Fix parsing of some edge cases involving angle brackets in writedoc's expr argument ([#​54](https://togithub.com/dtolnay/indoc/issues/54))
matklad/once_cell (once_cell) ### [`v1.19.0`](https://togithub.com/matklad/once_cell/blob/HEAD/CHANGELOG.md#1190) [Compare Source](https://togithub.com/matklad/once_cell/compare/v1.18.0...v1.19.0) - Use `portable-atomic` instead of `atomic-polyfill`, [#​251](https://togithub.com/matklad/once_cell/pull/251). ### [`v1.18.0`](https://togithub.com/matklad/once_cell/blob/HEAD/CHANGELOG.md#1180) [Compare Source](https://togithub.com/matklad/once_cell/compare/v1.17.2...v1.18.0) - `MSRV` is updated to 1.60.0 to take advantage of `dep:` syntax for cargo features, removing "implementation details" from publicly visible surface. ### [`v1.17.2`](https://togithub.com/matklad/once_cell/blob/HEAD/CHANGELOG.md#1172) [Compare Source](https://togithub.com/matklad/once_cell/compare/v1.17.1...v1.17.2) - Avoid unnecessary synchronization in `Lazy::{force,deref}_mut()`, [#​231](https://togithub.com/matklad/once_cell/pull/231). ### [`v1.17.1`](https://togithub.com/matklad/once_cell/blob/HEAD/CHANGELOG.md#1171) [Compare Source](https://togithub.com/matklad/once_cell/compare/v1.17.0...v1.17.1) - Make `OnceRef` implementation compliant with [strict provenance](https://togithub.com/rust-lang/rust/issues/95228). ### [`v1.17.0`](https://togithub.com/matklad/once_cell/blob/HEAD/CHANGELOG.md#1170) [Compare Source](https://togithub.com/matklad/once_cell/compare/v1.16.0...v1.17.0) - Add `race::OnceRef` for storing a `&'a T`.
raphlinus/pulldown-cmark (pulldown-cmark) ### [`v0.11.0`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.11.0): 0.11.0 [Compare Source](https://togithub.com/raphlinus/pulldown-cmark/compare/v0.10.3...v0.11.0) ##### Finally, the so long awaited math mode is here! Enable the option to use it. This release also includes other improvements and bugfixes, please see the changelog below for more details. Thanks to all contributors that has made possible this release! #### Breaking changes - Change `write_to_html` to allow `fmt::Write` by [@​stepantubanov](https://togithub.com/stepantubanov) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/870](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/870) #### New features - Math mode #### Bugfixes - \[0.11] Don't exit `scan_attribute` with the ix pointing at block quote by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/873](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/873) - (Re)introduce simd feature to pulldown-cmark-escape by [@​ollpu](https://togithub.com/ollpu) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/880](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/880) - fix: remove unnecessary end_newline set by [@​tomcur](https://togithub.com/tomcur) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/885](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/885) #### New Contributors - [@​duskmoon314](https://togithub.com/duskmoon314) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/874](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/874) - [@​stepantubanov](https://togithub.com/stepantubanov) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/870](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/870) - [@​tomcur](https://togithub.com/tomcur) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/885](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/885) **Full Changelog**: https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.10.3...v0.11.0 ### [`v0.10.3`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.10.3) [Compare Source](https://togithub.com/raphlinus/pulldown-cmark/compare/v0.10.2...v0.10.3) The main change of this release is the `simd` feature was not being used in the escape functions since the version 0.10 due to a mistake during the separation of the crate `pulldown-cmark-escape`. The crate `pulldown-cmark-escape` has been updated to the version 0.10.1. #### What's Changed - fix: fix dead code warning from nightly compiler by [@​rhysd](https://togithub.com/rhysd) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/876](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/876) - Eat all spaces after line break in link title by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/877](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/877) - Mark `Rule` as a block item by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/879](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/879) **Full Changelog**: https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.10.2...v0.10.3 ### [`v0.10.2`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.10.2) New release with some fixes and improvements. Note the 0.10.1 is missing (yanked from crates.io) due to a conflict with the clap version and the Rust minimum version (1.74 now instead of 1.70). Thanks to all people that contributed to this release! #### What's Changed - Limit link def expansion by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/845](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/845) - Do not look for HTML tags that start with backslash by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/849](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/849) - Count a blank line at end of indented code block towards list by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/851](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/851) - Use same limit for refdef as inline links by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/854](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/854) - Don't exit `scan_attribute` with the ix pointing at block quote by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/858](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/858) - Check indentation on the closing fence relative to the line by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/862](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/862) - Adjust strikethrough flanking rule to better fit Rustdoc Crater run by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/864](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/864) - perf: cargo-wizard default recommendations for runtime perf by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/pulldown-cmark/pulldown-cmark/pull/868](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/868) #### New Contributors - [@​ehuss](https://togithub.com/ehuss) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/848](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/848) - [@​jimblandy](https://togithub.com/jimblandy) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/865](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/865) - [@​max-heller](https://togithub.com/max-heller) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/866](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/866) - [@​blinxen](https://togithub.com/blinxen) made their first contribution in [https://github.com/pulldown-cmark/pulldown-cmark/pull/875](https://togithub.com/pulldown-cmark/pulldown-cmark/pull/875) **Full Changelog**: https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.10.0...v0.10.2 ### [`v0.10.0`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.10.0) [Compare Source](https://togithub.com/raphlinus/pulldown-cmark/compare/v0.9.6...v0.10.0) This is a huge release after a a long time without a major release, with many bugfixes and several new features. Thanks to all people involved! #### Breaking Changes - feat!: allow custom headings attributes with optional value. Fixes [#​634](https://togithub.com/raphlinus/pulldown-cmark/issues/634) by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/638](https://togithub.com/raphlinus/pulldown-cmark/pull/638) - feat!: metadata blocks. Fixes [#​580](https://togithub.com/raphlinus/pulldown-cmark/issues/580) by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/641](https://togithub.com/raphlinus/pulldown-cmark/pull/641) - Make `html` and `escape` modules optional by [@​jfrimmel](https://togithub.com/jfrimmel) in [https://github.com/raphlinus/pulldown-cmark/pull/519](https://togithub.com/raphlinus/pulldown-cmark/pull/519) - feat: separate escape.rs in another crate by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/838](https://togithub.com/raphlinus/pulldown-cmark/pull/838) - Allow dynamically generated header ids and classes by [@​SergioBenitez](https://togithub.com/SergioBenitez) in [https://github.com/raphlinus/pulldown-cmark/pull/614](https://togithub.com/raphlinus/pulldown-cmark/pull/614) - Add separate enum for Tag ends by [@​marcusklaas](https://togithub.com/marcusklaas) in [https://github.com/raphlinus/pulldown-cmark/pull/517](https://togithub.com/raphlinus/pulldown-cmark/pull/517) - add link identifiers into emitted tags by [@​Gozala](https://togithub.com/Gozala) in [https://github.com/raphlinus/pulldown-cmark/pull/436](https://togithub.com/raphlinus/pulldown-cmark/pull/436) - Add a separate mode to parse footnotes the same way GitHub does by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/654](https://togithub.com/raphlinus/pulldown-cmark/pull/654) - feat!: separate inline HTML and HTML blocks by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/692](https://togithub.com/raphlinus/pulldown-cmark/pull/692) - Use generics for broken link callback by [@​ollpu](https://togithub.com/ollpu) in [https://github.com/raphlinus/pulldown-cmark/pull/701](https://togithub.com/raphlinus/pulldown-cmark/pull/701) #### New Features - Add task list with a list item's first paragraph by [@​marcusklaas](https://togithub.com/marcusklaas) in [https://github.com/raphlinus/pulldown-cmark/pull/558](https://togithub.com/raphlinus/pulldown-cmark/pull/558) - feat: `TextMergeStream` utility to merge consecutive text events by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/686](https://togithub.com/raphlinus/pulldown-cmark/pull/686) - Reads markdown from file by [@​phoepsilonix](https://togithub.com/phoepsilonix) in [https://github.com/raphlinus/pulldown-cmark/pull/726](https://togithub.com/raphlinus/pulldown-cmark/pull/726) - feat(utils): text events merger with offsets by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/743](https://togithub.com/raphlinus/pulldown-cmark/pull/743) - Add reject-broken-links CLI option by [@​PoignardAzur](https://togithub.com/PoignardAzur) in [https://github.com/raphlinus/pulldown-cmark/pull/807](https://togithub.com/raphlinus/pulldown-cmark/pull/807) - feat: convert `Tag` `to_end()` and `From` impl by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/824](https://togithub.com/raphlinus/pulldown-cmark/pull/824) - feat(escape): separate attribute and text HTML by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/830](https://togithub.com/raphlinus/pulldown-cmark/pull/830) - Update to CommonMark 0.31.2 by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/834](https://togithub.com/raphlinus/pulldown-cmark/pull/834) - Backport footnote handling without needing blank lines between them for old footnote format by [@​GuillaumeGomez](https://togithub.com/GuillaumeGomez) in [https://github.com/raphlinus/pulldown-cmark/pull/836](https://togithub.com/raphlinus/pulldown-cmark/pull/836) - Implement missing cell cutoff to stop quadratic results by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/837](https://togithub.com/raphlinus/pulldown-cmark/pull/837) #### Bugfixes - Fix parser bug where link label gets broken by ] in code span by [@​lukas-code](https://togithub.com/lukas-code) in [https://github.com/raphlinus/pulldown-cmark/pull/643](https://togithub.com/raphlinus/pulldown-cmark/pull/643) - fix: strikethrough can be intra-word by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/648](https://togithub.com/raphlinus/pulldown-cmark/pull/648) - fix: shift right overflow panic in debug mode in rare cases by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/652](https://togithub.com/raphlinus/pulldown-cmark/pull/652) - fix: tables can interrupt paragraphs by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/653](https://togithub.com/raphlinus/pulldown-cmark/pull/653) - fix(parse): rare error searching in the emphasis stack by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/650](https://togithub.com/raphlinus/pulldown-cmark/pull/650) - Skip leading space on leading pipe in `scan_table_head` by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/665](https://togithub.com/raphlinus/pulldown-cmark/pull/665) - Fix index out of bounds when parsing GFM footnote by [@​mgeisler](https://togithub.com/mgeisler) in [https://github.com/raphlinus/pulldown-cmark/pull/667](https://togithub.com/raphlinus/pulldown-cmark/pull/667) - Allow lowercase letters in HTML declarations by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/668](https://togithub.com/raphlinus/pulldown-cmark/pull/668) - Fix fuzzing empty list items by [@​mgeisler](https://togithub.com/mgeisler) in [https://github.com/raphlinus/pulldown-cmark/pull/669](https://togithub.com/raphlinus/pulldown-cmark/pull/669) - Fix, and document, some table/paragraph interrupt corner cases by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/672](https://togithub.com/raphlinus/pulldown-cmark/pull/672) - Include trailing backslash at all break points in paragraph by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/676](https://togithub.com/raphlinus/pulldown-cmark/pull/676) - Block quotes interrupt paragraphs even with no space at start by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/675](https://togithub.com/raphlinus/pulldown-cmark/pull/675) - Fix table/paragraph interruption when nested by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/679](https://togithub.com/raphlinus/pulldown-cmark/pull/679) - Use correct `both` flag when pushing remaining delimiters to stack by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/682](https://togithub.com/raphlinus/pulldown-cmark/pull/682) - Fix [#​684](https://togithub.com/raphlinus/pulldown-cmark/issues/684) by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/685](https://togithub.com/raphlinus/pulldown-cmark/pull/685) - Fix spec violation on empty-list-item-cannot-interrupt-paragrph rule by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/681](https://togithub.com/raphlinus/pulldown-cmark/pull/681) - fix: empty text events in ATX headings with trailing `#` by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/683](https://togithub.com/raphlinus/pulldown-cmark/pull/683) - Fix incorrect scan of bad email address by [@​raphlinus](https://togithub.com/raphlinus) in [https://github.com/raphlinus/pulldown-cmark/pull/688](https://togithub.com/raphlinus/pulldown-cmark/pull/688) - Fix infinite loop with metadata blocks with indented lines by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/690](https://togithub.com/raphlinus/pulldown-cmark/pull/690) - Add special handling for backslashed table pipes by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/699](https://togithub.com/raphlinus/pulldown-cmark/pull/699) - Fixes `rustdoc::bare_urls` lint by [@​GuillaumeGomez](https://togithub.com/GuillaumeGomez) in [https://github.com/raphlinus/pulldown-cmark/pull/719](https://togithub.com/raphlinus/pulldown-cmark/pull/719) - Fix elided lifetimes and unused lifetimes errors by [@​GuillaumeGomez](https://togithub.com/GuillaumeGomez) in [https://github.com/raphlinus/pulldown-cmark/pull/723](https://togithub.com/raphlinus/pulldown-cmark/pull/723) - Allow arbitrary blank lines within list by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/728](https://togithub.com/raphlinus/pulldown-cmark/pull/728) - Single pipes alone on lines are not tables by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/732](https://togithub.com/raphlinus/pulldown-cmark/pull/732) - Use original run lengths to judge multiples of three by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/730](https://togithub.com/raphlinus/pulldown-cmark/pull/730) - Fix oversight in table escape parsing by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/736](https://togithub.com/raphlinus/pulldown-cmark/pull/736) - Check that parens in link def are nested by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/738](https://togithub.com/raphlinus/pulldown-cmark/pull/738) - Fix emphasis stack truncation bug by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/740](https://togithub.com/raphlinus/pulldown-cmark/pull/740) - Fix emphasis run length delimiter lower limit bug by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/742](https://togithub.com/raphlinus/pulldown-cmark/pull/742) - fix: compilation error in utils.rs after merge 701 by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/746](https://togithub.com/raphlinus/pulldown-cmark/pull/746) - Track underscore lower bound by `% 3` modulo by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/748](https://togithub.com/raphlinus/pulldown-cmark/pull/748) - Parse `[^]` as a link by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/750](https://togithub.com/raphlinus/pulldown-cmark/pull/750) - Do not subtract list item indent if it has more than one blank line by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/752](https://togithub.com/raphlinus/pulldown-cmark/pull/752) - Do not parse hard line breaks when doing link label blocks by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/754](https://togithub.com/raphlinus/pulldown-cmark/pull/754) - Ignore block synstax when determining emphasis can_open/close by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/756](https://togithub.com/raphlinus/pulldown-cmark/pull/756) - Allow up to three spaces indentation before footnote definition by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/759](https://togithub.com/raphlinus/pulldown-cmark/pull/759) - Do not accept footnote definitions with line breaks by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/761](https://togithub.com/raphlinus/pulldown-cmark/pull/761) - Apply laziness rules to link definition by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/765](https://togithub.com/raphlinus/pulldown-cmark/pull/765) - When popping a list, clear `begin_list_item` state by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/763](https://togithub.com/raphlinus/pulldown-cmark/pull/763) - Parse footnote definitions below the first line of nested blocks by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/767](https://togithub.com/raphlinus/pulldown-cmark/pull/767) - Parse settext headers with higher priority than linkdefs by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/769](https://togithub.com/raphlinus/pulldown-cmark/pull/769) - Clean up some more gratuitous differences in footnote parsing by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/773](https://togithub.com/raphlinus/pulldown-cmark/pull/773) - Parse inline nested footnote definitions by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/771](https://togithub.com/raphlinus/pulldown-cmark/pull/771) - Do not treat backslash at end of block as hard break by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/775](https://togithub.com/raphlinus/pulldown-cmark/pull/775) - Correct instructions for running specs by [@​ollpu](https://togithub.com/ollpu) in [https://github.com/raphlinus/pulldown-cmark/pull/777](https://togithub.com/raphlinus/pulldown-cmark/pull/777) - Read lazy paragraph continuations off of refdefs by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/782](https://togithub.com/raphlinus/pulldown-cmark/pull/782) - Allow setext headers to interrupt link definitions by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/780](https://togithub.com/raphlinus/pulldown-cmark/pull/780) - Fix incorrect space handling at paragraph/linkref boundary by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/783](https://togithub.com/raphlinus/pulldown-cmark/pull/783) - Fix handling of newlines in nested inline link by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/784](https://togithub.com/raphlinus/pulldown-cmark/pull/784) - Allow setext headers to interrupt link def insides by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/790](https://togithub.com/raphlinus/pulldown-cmark/pull/790) - Avoid updating linkdef when title isn't followed by NL by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/792](https://togithub.com/raphlinus/pulldown-cmark/pull/792) - Trim spaces off start and end of link reference by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/794](https://togithub.com/raphlinus/pulldown-cmark/pull/794) - Don't eat blank line when parsing unclosed fenced code by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/796](https://togithub.com/raphlinus/pulldown-cmark/pull/796) - Do not allow inlines to cross over block structures by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/798](https://togithub.com/raphlinus/pulldown-cmark/pull/798) - Fix parsing of spaces in code by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/786](https://togithub.com/raphlinus/pulldown-cmark/pull/786) - Include last of line of link title by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/809](https://togithub.com/raphlinus/pulldown-cmark/pull/809) - Calculate correct list indent for ordered lists by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/811](https://togithub.com/raphlinus/pulldown-cmark/pull/811) - Do not treat zero-cell rows as valid by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/812](https://togithub.com/raphlinus/pulldown-cmark/pull/812) - Trim spaces off end of parsed lines by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/785](https://togithub.com/raphlinus/pulldown-cmark/pull/785) - Fix up corner cases in table and code unescaping by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/776](https://togithub.com/raphlinus/pulldown-cmark/pull/776) - Reject table delimiter row with unexpected trailing characters by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/814](https://togithub.com/raphlinus/pulldown-cmark/pull/814) - fix: html5ever may hide actual errors by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/704](https://togithub.com/raphlinus/pulldown-cmark/pull/704) - Make empty lists and ordered lists not at one interrupt tables by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/816](https://togithub.com/raphlinus/pulldown-cmark/pull/816) - Don't eat `!` on image-like footnote by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/818](https://togithub.com/raphlinus/pulldown-cmark/pull/818) - Fix trailing backslash corner case on ATX headers by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/820](https://togithub.com/raphlinus/pulldown-cmark/pull/820) - Reject long decimal and hex entities, turn invalid ones into U+FFFD by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/827](https://togithub.com/raphlinus/pulldown-cmark/pull/827) - Don't allow `ItemBody::Heading` to appear inside emphasis by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/829](https://togithub.com/raphlinus/pulldown-cmark/pull/829) - Fix 662 by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/822](https://togithub.com/raphlinus/pulldown-cmark/pull/822) - Reject opening parens within (/) link titles by [@​notriddle](https://togithub.com/notriddle) in [https://github.com/raphlinus/pulldown-cmark/pull/841](https://togithub.com/raphlinus/pulldown-cmark/pull/841) #### Other Changes - Bump bumpalo from 3.10.0 to 3.12.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/raphlinus/pulldown-cmark/pull/627](https://togithub.com/raphlinus/pulldown-cmark/pull/627) - Add an example which shows raw Markdown events by [@​mgeisler](https://togithub.com/mgeisler) in [https://github.com/raphlinus/pulldown-cmark/pull/664](https://togithub.com/raphlinus/pulldown-cmark/pull/664) - Differential fuzzing of pulldown-cmark and commonmark.js by [@​mgeisler](https://togithub.com/mgeisler) in [https://github.com/raphlinus/pulldown-cmark/pull/663](https://togithub.com/raphlinus/pulldown-cmark/pull/663) - Update MSRV to 1.60 by [@​mgeisler](https://togithub.com/mgeisler) in [https://github.com/raphlinus/pulldown-cmark/pull/671](https://togithub.com/raphlinus/pulldown-cmark/pull/671) - Allow fuzzing all HTML declarations by [@​mgeisler](https://togithub.com/mgeisler) in [https://github.com/raphlinus/pulldown-cmark/pull/677](https://togithub.com/raphlinus/pulldown-cmark/pull/677) - Filter out empty text and HTML events when fuzzing by [@​mgeisler](https://togithub.com/mgeisler) in [https://github.com/raphlinus/pulldown-cmark/pull/678](https://togithub.com/raphlinus/pulldown-cmark/pull/678) - Cargo.toml: Add rust-version for MSRV. by [@​waywardmonkeys](https://togithub.com/waywardmonkeys) in [https://github.com/raphlinus/pulldown-cmark/pull/693](https://togithub.com/raphlinus/pulldown-cmark/pull/693) - chore: Update bitflags from 1.3.x to 2.x by [@​waywardmonkeys](https://togithub.com/waywardmonkeys) in [https://github.com/raphlinus/pulldown-cmark/pull/694](https://togithub.com/raphlinus/pulldown-cmark/pull/694) - Add missing end tags in some spec examples by [@​ollpu](https://togithub.com/ollpu) in [https://github.com/raphlinus/pulldown-cmark/pull/703](https://togithub.com/raphlinus/pulldown-cmark/pull/703) - puncttable.rs -> unicode 15.1.0 (+mk_puncttable.py -> python3) by [@​caldwell](https://togithub.com/caldwell) in [https://github.com/raphlinus/pulldown-cmark/pull/721](https://togithub.com/raphlinus/pulldown-cmark/pull/721) - docs: `Tag::Link.id` field description by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/724](https://togithub.com/raphlinus/pulldown-cmark/pull/724) - chore(deps): update rustix dependency removing CVE by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/744](https://togithub.com/raphlinus/pulldown-cmark/pull/744) - chore: apply clippy lints by [@​Martin1887](https://togithub.com/Martin1887) in [https://github.com/raphlinus/pulldown-cmark/pull/835](https://togithub.com/raphlinus/pulldown-cmark/pull/835) #### New Contributors - [@​Martin1887](https://togithub.com/Martin1887) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/638](https://togithub.com/raphlinus/pulldown-cmark/pull/638) - [@​jfrimmel](https://togithub.com/jfrimmel) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/519](https://togithub.com/raphlinus/pulldown-cmark/pull/519) - [@​SergioBenitez](https://togithub.com/SergioBenitez) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/614](https://togithub.com/raphlinus/pulldown-cmark/pull/614) - [@​Gozala](https://togithub.com/Gozala) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/436](https://togithub.com/raphlinus/pulldown-cmark/pull/436) - [@​mgeisler](https://togithub.com/mgeisler) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/664](https://togithub.com/raphlinus/pulldown-cmark/pull/664) - [@​ollpu](https://togithub.com/ollpu) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/703](https://togithub.com/raphlinus/pulldown-cmark/pull/703) - [@​caldwell](https://togithub.com/caldwell) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/721](https://togithub.com/raphlinus/pulldown-cmark/pull/721) - [@​phoepsilonix](https://togithub.com/phoepsilonix) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/726](https://togithub.com/raphlinus/pulldown-cmark/pull/726) - [@​PoignardAzur](https://togithub.com/PoignardAzur) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/807](https://togithub.com/raphlinus/pulldown-cmark/pull/807) **Full Changelog**: https://github.com/raphlinus/pulldown-cmark/compare/v0.9.6...v0.10.0 ### [`v0.9.6`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.9.6): 0.9.6 [Compare Source](https://togithub.com/raphlinus/pulldown-cmark/compare/v0.9.5...v0.9.6) cargo build fails when --locked is passed for 0.9.4 and 0.9.5 [#​833](https://togithub.com/raphlinus/pulldown-cmark/issues/833) ### [`v0.9.5`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.9.5): 0.9.5 [Compare Source](https://togithub.com/raphlinus/pulldown-cmark/compare/v0.9.4...v0.9.5) Set range end to Paragraph if returned early because of footnote definition [#​831](https://togithub.com/raphlinus/pulldown-cmark/issues/831) ### [`v0.9.4`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.9.4): 0.9.4 [Compare Source](https://togithub.com/raphlinus/pulldown-cmark/compare/v0.9.3...v0.9.4) - Allow footnote definitions to not be separated by blank lines [#​825](https://togithub.com/raphlinus/pulldown-cmark/issues/825) - chore: Update bitflags from 1.3.x to 2.x [#​694](https://togithub.com/raphlinus/pulldown-cmark/issues/694) ### [`v0.9.3`](https://togithub.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.9.3): 0.9.3 [Compare Source](https://togithub.com/raphlinus/pulldown-cmark/compare/v0.9.2...v0.9.3) This patch prepares the release of the minor version `0.9.3`. It's forked off [`5c7881c`](https://togithub.com/raphlinus/pulldown-cmark/commit/5c7881c45c1b9cb35e8c9417f09521f7a517b8cf) and includes a cherry-pick of [`48b5931`](https://togithub.com/raphlinus/pulldown-cmark/commit/48b5931f07c0dfdb96ee5fa2724e9b3689358441). #### Changelog ##### Parser Even though this is a minor release, it **changes changes how some inputs are parsed**. These changes are made to comply with the [CommonMark](https://spec.commonmark.org/0.30/) and [GitHub Flavored Markdown](https://github.github.com/gfm/) specifications. First, pulldown-cmark now supports strikethrough with a pair of single tildes in addition to double tildes, if the strikethrough option is enabled. For example, `~this~` is now equal to `~~this~~` and will be parsed like ~this~. The second change fixes a bug in the parser where a specific edge case with brackets and inline code (``[`]`]``) was incorrectly parsed as a link. This change should not affect most users of pulldown-cmark. ##### impl Debug for Everything All public types in the pulldown-cmark library now implement the [`Debug` trait](https://doc.rust-lang.org/std/fmt/trait.Debug.html). ##### PRs included in this release - [https://github.com/raphlinus/pulldown-cmark/pull/604](https://togithub.com/raphlinus/pulldown-cmark/pull/604) - [https://github.com/raphlinus/pulldown-cmark/pull/611](https://togithub.com/raphlinus/pulldown-cmark/pull/611) - [https://github.com/raphlinus/pulldown-cmark/pull/566](https://togithub.com/raphlinus/pulldown-cmark/pull/566) - [https://github.com/raphlinus/pulldown-cmark/pull/621](https://togithub.com/raphlinus/pulldown-cmark/pull/621) - [https://github.com/raphlinus/pulldown-cmark/pull/643](https://togithub.com/raphlinus/pulldown-cmark/pull/643) #### New Contributors - [@​djc](https://togithub.com/djc) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/604](https://togithub.com/raphlinus/pulldown-cmark/pull/604) - [@​gifnksm](https://togithub.com/gifnksm) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/611](https://togithub.com/raphlinus/pulldown-cmark/pull/611) - [@​joelparkerhenderson](https://togithub.com/joelparkerhenderson) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/566](https://togithub.com/raphlinus/pulldown-cmark/pull/566) - [@​rhysd](https://togithub.com/rhysd) made their first contribution in [https://github.com/raphlinus/pulldown-cmark/pull/621](https://togithub.com/raphlinus/pulldown-cmark/pull/621) **Full Changelog**: https://github.com/raphlinus/pulldown-cmark/compare/v0.9.2...v0.9.3
rust-lang/regex (regex) ### [`v1.10.5`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1105-2024-06-09) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.10.4...1.10.5) \=================== This is a new patch release with some minor fixes. Bug fixes: - [BUG #​1203](https://togithub.com/rust-lang/regex/pull/1203): Escape invalid UTF-8 when in the `Debug` impl of `regex::bytes::Match`. ### [`v1.10.4`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1104-2024-03-22) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.10.3...1.10.4) \=================== This is a new patch release with some minor fixes. - [BUG #​1169](https://togithub.com/rust-lang/regex/issues/1169): Fixes a bug with compiling a reverse NFA automaton in `regex-automata`. - [BUG #​1178](https://togithub.com/rust-lang/regex/pull/1178): Clarifies that when `Cow::Borrowed` is returned from replace APIs, it is equivalent to the input. ### [`v1.10.3`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1103-2024-01-21) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.10.2...1.10.3) \=================== This is a new patch release that fixes the feature configuration of optional dependencies, and fixes an unsound use of bounds check elision. Bug fixes: - [BUG #​1147](https://togithub.com/rust-lang/regex/issues/1147): Set `default-features=false` for the `memchr` and `aho-corasick` dependencies. - [BUG #​1154](https://togithub.com/rust-lang/regex/pull/1154): Fix unsound bounds check elision. ### [`v1.10.2`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1102-2023-10-16) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.10.1...1.10.2) \=================== This is a new patch release that fixes a search regression where incorrect matches could be reported. Bug fixes: - [BUG #​1110](https://togithub.com/rust-lang/regex/issues/1110): Revert broadening of reverse suffix literal optimization introduced in 1.10.1. ### [`v1.10.1`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1101-2023-10-14) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.10.0...1.10.1) \=================== This is a new patch release with a minor increase in the number of valid patterns and a broadening of some literal optimizations. New features: - [FEATURE 04f5d7be](https://togithub.com/rust-lang/regex/commit/04f5d7be4efc542864cc400f5d43fbea4eb9bab6): Loosen ASCII-compatible rules such that regexes like `(?-u:☃)` are now allowed. Performance improvements: - [PERF 8a8d599f](https://togithub.com/rust-lang/regex/commit/8a8d599f9d2f2d78e9ad84e4084788c2d563afa5): Broader the reverse suffix optimization to apply in more cases. ### [`v1.10.0`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#1100-2023-10-09) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.9.6...1.10.0) \=================== This is a new minor release of `regex` that adds support for start and end word boundary assertions. That is, `\<` and `\>`. The minimum supported Rust version has also been raised to 1.65, which was released about one year ago. The new word boundary assertions are: - `\<` or `\b{start}`: a Unicode start-of-word boundary (`\W|\A` on the left, `\w` on the right). - `\>` or `\b{end}`: a Unicode end-of-word boundary (`\w` on the left, `\W|\z` on the right)). - `\b{start-half}`: half of a Unicode start-of-word boundary (`\W|\A` on the left). - `\b{end-half}`: half of a Unicode end-of-word boundary (`\W|\z` on the right). The `\<` and `\>` are GNU extensions to POSIX regexes. They have been added to the `regex` crate because they enjoy somewhat broad support in other regex engines as well (for example, vim). The `\b{start}` and `\b{end}` assertions are aliases for `\<` and `\>`, respectively. The `\b{start-half}` and `\b{end-half}` assertions are not found in any other regex engine (although regex engines with general look-around support can certainly express them). They were added principally to support the implementation of word matching in grep programs, where one generally wants to be a bit more flexible in what is considered a word boundary. New features: - [FEATURE #​469](https://togithub.com/rust-lang/regex/issues/469): Add support for `\<` and `\>` word boundary assertions. - [FEATURE(regex-automata) #​1031](https://togithub.com/rust-lang/regex/pull/1031): DFAs now have a `start_state` method that doesn't use an `Input`. Performance improvements: - [PERF #​1051](https://togithub.com/rust-lang/regex/pull/1051): Unicode character class operations have been optimized in `regex-syntax`. - [PERF #​1090](https://togithub.com/rust-lang/regex/issues/1090): Make patterns containing lots of literal characters use less memory. Bug fixes: - [BUG #​1046](https://togithub.com/rust-lang/regex/issues/1046): Fix a bug that could result in incorrect match spans when using a Unicode word boundary and searching non-ASCII strings. - [BUG(regex-syntax) #​1047](https://togithub.com/rust-lang/regex/issues/1047): Fix panics that can occur in `Ast->Hir` translation (not reachable from `regex` crate). - [BUG(regex-syntax) #​1088](https://togithub.com/rust-lang/regex/issues/1088): Remove guarantees in the API that connect the `u` flag with a specific HIR representation. `regex-automata` breaking change release: This release includes a `regex-automata 0.4.0` breaking change release, which was necessary in order to support the new word boundary assertions. For example, the `Look` enum has new variants and the `LookSet` type now uses `u32` instead of `u16` to represent a bitset of look-around assertions. These are overall very minor changes, and most users of `regex-automata` should be able to move to `0.4` from `0.3` without any changes at all. `regex-syntax` breaking change release: This release also includes a `regex-syntax 0.8.0` breaking change release, which, like `regex-automata`, was necessary in order to support the new word boundary assertions. This release also includes some changes to the `Ast` type to reduce heap usage in some cases. If you are using the `Ast` type directly, your code may require some minor modifications. Otherwise, users of `regex-syntax 0.7` should be able to migrate to `0.8` without any code changes. `regex-lite` release: The `regex-lite 0.1.1` release contains support for the new word boundary assertions. There are no breaking changes. ### [`v1.9.6`](https://togithub.com/rust-lang/regex/blob/HEAD/CHANGELOG.md#196-2023-09-30) [Compare Source](https://togithub.com/rust-lang/regex/compare/1.9.5...1.9.6) \================== This is a patch release that fixes a panic that can occur when the default regex size limit is increased to a large number. - [BUG aa4e4c71](https://togithub.com/rust-lang/regex/commit/aa4e4c7120b0090ce0624e3c42a2ed06dd8b918a): Fix a bug where computing the maximum haystack length for the bounded backtracker could result underflow and thus provoke a panic later in a search due to a broken invariant.
ruma/ruma (ruma-common) ### [`v0.13.0`](https://togithub.com/ruma/ruma/releases/tag/ruma-common-0.13.0) [Compare Source](https://togithub.com/ruma/ruma/compare/ruma-common-0.12.1...ruma-common-0.13.0) Bug fixes: - Allow to deserialize `Ruleset` with missing fields. Breaking changes: - The power levels fields in `PushConditionRoomCtx` are grouped in an optional `power_levels` field. If the field is missing, push rules that depend on it will never match. However, this allows to match the `.m.rule.invite_for_me` push rule because usually the `invite_state` doesn't include `m.room.power_levels`. - Add support for endpoints that take an optional authentication - Add support for endpoints that require authentication for appservices - `deserialize_as_f64_or_string` has been extended to also support parsing integers, and renamed to `deserialize_as_number_or_string` to reflect that. - The http crate had a major version bump to version 1.1 - `IntoHttpError::Header` now contains a `HeaderSerializationError` Improvements: - Use the [web-time](https://togithub.com/daxpedda/web-time) crate to return a `SystemTime` that works under WASM in the `MilliSecondsSinceUnixEpoch::to_system_time()` method. - Stabilize support for `.m.rule.suppress_edits` push rule (MSC3958 / Matrix 1.9) - Add `MatrixVersion::V1_9` and `V1_10` - Point links to the Matrix 1.10 specification - Implement `as_str()` and `AsRef` for `push::PredefinedRuleId` - Implement `kind()` for `push::Predefined{*}RuleId` - Implement `Clone` for `MatrixToUri` and `MatrixUri` ### [`v0.12.1`](https://togithub.com/ruma/ruma/releases/tag/ruma-common-0.12.1): ruma-common 0.12.1 [Compare Source](https://togithub.com/ruma/ruma/compare/ruma-common-0.12.0...ruma-common-0.12.1) Bug fixes: - Allow to deserialize `(New)ConditionalPushRule` with a missing `conditions` field. ### [`v0.12.0`](https://togithub.com/ruma/ruma/releases/tag/ruma-common-0.12.0): ruma-common 0.12.0 [Compare Source](https://togithub.com/ruma/ruma/compare/ruma-common-0.11.3...ruma-common-0.12.0) Bug fixes: - Set the predefined server-default `.m.rule.tombstone` push rule as enabled by default, as defined in the spec. Breaking changes: - `FlattenedJson::get` returns a `FlattenedJsonValue` instead of a string - Remove the `DontNotify` and `Coalesce` variants of `push::Action` according to MSC3987 - Old push rules will still deserialize successfully but the `Coalesce` variant will not return `true` for `Action::should_notify()` anymore - Removed the `events` module, it is once again its own crate (`ruma-events`) - Removed `From` and `TryFrom` implementations for `RedactedBecause` in favor of named constructors (`from_json` and `from_raw_event`) - Updated room IDs to not require a servername - Removed `localpart` method from `RoomId` and `RoomOrAliasId` - Changed `server_name` method on `RoomId` and `RoomOrAliasId` to return `Option<&str>` Improvements: - Allow padding when decoding the `Base64` type from a string - Add convenience methods for `push::Ruleset`: - To update the server-default push rules - To remove a user-defined push rule - Add `AsRef<[u8]>` implementations for identifier types - `PushCondition::EventMatch` and `FlattenedJson` now use escaped dotted paths (MSC3873 / Matrix 1.7) - Add support for `event_property_is` push condition (MSC3758 / Matrix 1.7) - Add support for `event_property_contains` push condition (MSC3966 / Matrix 1.7) - Add `MatrixVersion::V1_7` and `MatrixVersion::V1_8` - Add support for room version 11 according to MSC3820 / Matrix 1.8 - Adapt the redaction algorithm in `canonical_json` - Add unstable support for suppress edits push rule (MSC3958)
Peternator7/strum (strum) ### [`v0.26.3`](https://togithub.com/Peternator7/strum/blob/HEAD/CHANGELOG.md#0263-strummacros) [Compare Source](https://togithub.com/Peternator7/strum/compare/v0.26.2...v0.26.3) - [#​344](https://togithub.com/Peternator7/strum/pull/344): Hide `EnumTable` because it's going to be deprecated in the next version. - [#​357](https://togithub.com/Peternator7/strum/pull/357): Fixes an incompatiblity with `itertools` by using the fully qualified name rather than the inherent method. - [#​345](https://togithub.com/Peternator7/strum/pull/345): Allows unnamed tuple like variants to use their variants in string interpolation. `#[strum(to_string = "Field 0: {0}, Field 1: {1})")]` will now work for tuple variants ### [`v0.26.2`](https://togithub.com/Peternator7/strum/blob/HEAD/CHANGELOG.md#0262) [Compare Source](https://togithub.com/Peternator7/strum/compare/v0.26.1...v0.26.2) - [#​337](https://togithub.com/Peternator7/strum/pull/337): Fix missing generic impls for `EnumTryAs` - [#​334](https://togithub.com/Peternator7/strum/pull/334): Support prefix in `AsRefStr`. Technically a breaking change, but `prefix` was just added in `0.26.0` so it's a newer feature and it makes the feature more consisent in general. ### [`v0.26.1`](https://togithub.com/Peternator7/strum/blob/HEAD/CHANGELOG.md#0261) - [#​325](https://togithub.com/Peternator7/strum/pull/325): use `core` instead of `std` in VariantArray. ### [`v0.26.0`](https://togithub.com/Peternator7/strum/blob/HEAD/CHANGELOG.md#0260) ##### Breaking Changes - The `EnumVariantNames` macro has been renamed `VariantNames`. The deprecation warning should steer you in the right direction for fixing the warning. - The Iterator struct generated by EnumIter now has new bounds on it. This shouldn't break code unless you manually added the implementation in your code. - `Display` now supports format strings using named fields in the enum variant. This should be a no-op for most code. However, if you were outputting a string like `"Hello {field}"`, this will now be interpretted as a format string. - EnumDiscriminant now inherits the repr and discriminant values from your main enum. This makes the discriminant type closer to a mirror of the original and that's always the goal. ##### New features - The `VariantArray` macro has been added. This macro adds an associated constant `VARIANTS` to your enum. The constant is a `&'static [Self]` slice so that you can access all the variants of your enum. This only works on enums that only have unit variants. ```rust use strum::VariantArray; #[derive(Debug, VariantArray)] enum Color { Red, Blue, Green, } fn main() { println!("{:?}", Color::VARIANTS); // prints: ["Red", "Blue", "Green"] } ``` - The `EnumTable` macro has been *experimentally* added. This macro adds a new type that stores an item for each variant of the enum. This is useful for storing a value for each variant of an enum. This is an experimental feature because I'm not convinced the current api surface area is correct. ```rust use strum::EnumTable; #[derive(Copy, Clone, Debug, EnumTable)] enum Color { Red, Blue, Green, } fn main() { let mut counts = ColorTable::filled(0); for color in &[Color::Red, Color::Red, Color::Green]] { counts[color] += 1; } assert_eq!(counts[Color::Red], 2); assert_eq!(counts[Color::Blue], 0); assert_eq!(counts[Color::Green], 1); } ``` - `Display` has 2 new features: - the `strum(prefix = "some_value")` attribute on an enum now allows you to prepend a string onto every variant when you serialize it. - Custom `to_string` and `serialize` attributes now support string interopolation on serialization. ##### PR's Merged - [#​322](https://togithub.com/Peternator7/strum/pull/322): avoid collisions on `std::fmt::Debug` - [#​321](https://togithub.com/Peternator7/strum/pull/321): avoid conflicts with consecutive underscores. - [#​314](https://togithub.com/Peternator7/strum/pull/314): add additional bounds to EnumIterator - [#​311](https://togithub.com/Peternator7/strum/pull/311): add FusedIterator bounds to EnumIterator - [#​297](https://togithub.com/Peternator7/strum/pull/297): New macro, add `VariantArray` - [#​296](https://togithub.com/Peternator7/strum/pull/296): adds prefix attribute to To/From String macros. - [#​294](https://togithub.com/Peternator7/strum/pull/294): use named enum fields in to_string macro. - [#​288](https://togithub.com/Peternator7/strum/pull/288): discriminant enums now inherit the repr from the original enum. - [#​279](https://togithub.com/Peternator7/strum/pull/279): Add `EnumTable` macro to generate a mapping between fieldless variants and data. ### [`v0.25.0`](https://togithub.com/Peternator7/strum/blob/HEAD/CHANGELOG.md#0250) ##### Breaking Changes - [#​261](https://togithub.com/Peternator7/strum/pull/261) Upgrade syn dependency to version 2. This bumps the msrv to 1.56. It's impractical to maintain a package where a core dependency of the ecosystem has a different msrv than this one. - [270](https://togithub.com/Peternator7/strum/pull/270) Change the `to_string` behavior when using `default`. Now, when using `default`, the `display` method will return the display version of the value contained in the enum rather than the name of the variant. ```rust #[derive(strum::Display)] enum Color { Red, Blue, Green, #[strum(default)] Other(String) } fn main() { // This used to print "Other", now it prints "Purple" assert_eq!(Color::Other("Purple".to_string()).to_string(), "Purple"); } ``` If you want the old behavior, you can use the `to_string` attribute to override this behavior. See the PR for an example. - [268](https://togithub.com/Peternator7/strum/pull/268) Update the behavior of `EnumCount` to exclude variants that are `disabled`. This is a breaking change, but the behavior makes it more consistent with other methods. ##### New Features - [#​257](https://togithub.com/Peternator7/strum/pull/257) This PR adds the `EnumIs` macro that automatically implements `is_{variant_name}` methods for each variant. ```rust #[derive(EnumIs)] enum Color { Red, Blue, Green, } #[test] fn simple_test() { assert!(Color::Red.is_red()); } ```
unicode-rs/unicode-segmentation (unicode-segmentation) ### [`v1.11.0`](https://togithub.com/unicode-rs/unicode-segmentation/compare/v1.10.1...v1.11.0) [Compare Source](https://togithub.com/unicode-rs/unicode-segmentation/compare/v1.10.1...v1.11.0) ### [`v1.10.1`](https://togithub.com/unicode-rs/unicode-segmentation/compare/v1.10.0...v1.10.1) [Compare Source](https://togithub.com/unicode-rs/unicode-segmentation/compare/v1.10.0...v1.10.1)
servo/rust-url (url) ### [`v2.5.2`](https://togithub.com/servo/rust-url/releases/tag/v2.5.2) [Compare Source](https://togith

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 3 months ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

codecov-commenter commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.24%. Comparing base (c4187e4) to head (c087c34). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #991 +/- ## ========================================== + Coverage 90.23% 90.24% +0.01% ========================================== Files 177 177 Lines 21105 21102 -3 Branches 301 301 ========================================== Hits 19044 19044 + Misses 2057 2054 -3 Partials 4 4 ``` | [Flag](https://app.codecov.io/gh/matrix-org/matrix-rich-text-editor/pull/991/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | Coverage Δ | | |---|---|---| | [uitests](https://app.codecov.io/gh/matrix-org/matrix-rich-text-editor/pull/991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | `86.69% <ø> (ø)` | | | [uitests-ios](https://app.codecov.io/gh/matrix-org/matrix-rich-text-editor/pull/991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | `86.69% <ø> (ø)` | | | [unittests](https://app.codecov.io/gh/matrix-org/matrix-rich-text-editor/pull/991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | `89.35% <ø> (+0.01%)` | :arrow_up: | | [unittests-ios](https://app.codecov.io/gh/matrix-org/matrix-rich-text-editor/pull/991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | `88.76% <ø> (ø)` | | | [unittests-react](https://app.codecov.io/gh/matrix-org/matrix-rich-text-editor/pull/991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | `87.99% <ø> (ø)` | | | [unittests-rust](https://app.codecov.io/gh/matrix-org/matrix-rich-text-editor/pull/991/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org) | `89.66% <ø> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=matrix-org#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud