tag:github.com,2008:https://github.com/rust-ammonia/ammonia/releases Release notes from ammonia 2024-03-25T14:59:33Z tag:github.com,2008:Repository/41227649/v4.0.0 2024-03-25T15:00:35Z 4.0.0 <ul> <li>Update html5ever to 0.27</li> <li>feature: change lifetimes on UrlRelative (breaking change)</li> <li>chore: use the <code>Display</code> trait (and <code>ToString</code>) instead of an inherent <code>to_string</code> method (breaking change)</li> <li>Security fixes are not backported to the 2.0 branch any more. Only the v3 and v4 branches are supported.</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.3.0 2022-11-29T19:31:40Z 3.3.0 <ul> <li>chore: bump MSRV to 1.60.0</li> <li>docs: fix incorrect XSS example</li> <li>feature: add <code>UrlRelative::RewriteWithRoot</code></li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.2.1 2022-08-15T20:34:56Z 3.2.1 <ul> <li>chore: bump MSRV to 1.51.0 <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1332828463" data-permission-text="Title is private" data-url="https://github.com/serde-rs/serde/issues/2255" data-hovercard-type="issue" data-hovercard-url="/serde-rs/serde/issues/2255/hovercard" href="https://github.com/serde-rs/serde/issues/2255">serde-rs/serde#2255</a></li> <li>chore: fix broken links in documentation</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.2.0 2022-04-07T20:35:19Z 3.2.0 <ul> <li>chore: bump MSRV to 1.49.0</li> <li>chore: update to html5ever 0.26</li> <li>chore: switch from lazy_static to once_cell</li> <li>feature: add <code>Builder::empty()</code> constructor</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.1.4 2022-02-16T20:53:02Z 3.1.4 <ul> <li>chore: use <code>#[non_exhaustive]</code> instead of hidden variant for <code>UrlRelative</code> policy</li> <li>chore: remove unnecessary dependency on third-party <code>matches!</code> macro</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.1.3 2022-01-19T22:09:12Z 3.1.3 <ul> <li>fix: incorrect FF/CR handling in clean_text</li> <li>fix: split class name attribute by all ASCII whitespace, not just SP 0x20</li> <li>docs: fix incorrect English in <code>is_html</code> documentation</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v2.1.4 2022-01-19T22:08:19Z 2.1.4 <ul> <li>fix: split class name attribute by all ASCII whitespace, not just SP 0x20 (backported from 3.1.3)</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.1.2 2021-07-08T19:34:29Z 3.1.2 <ul> <li>fix: unexpected namespace switches can allow XSS via svg/mathml parsing</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.1.1 2021-03-05T02:25:56Z 3.1.1 <ul> <li>fix: Crash on invalid URLs in some configurations (issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="822405426" data-permission-text="Title is private" data-url="https://github.com/rust-ammonia/ammonia/issues/136" data-hovercard-type="issue" data-hovercard-url="/rust-ammonia/ammonia/issues/136/hovercard" href="https://github.com/rust-ammonia/ammonia/issues/136">#136</a>)</li> </ul> notriddle tag:github.com,2008:Repository/41227649/v3.1.0 2020-03-10T05:14:24Z 3.1.0 <ul> <li>feature: Whitelist generic attribute prefix</li> <li>chore: Update html5ever to 0.25</li> <li>feature: support adding attribute values to elements</li> </ul> notriddle