next-theme / hexo-optimize

🚩 A Hexo plugin that optimize the pages loading speed, written in Rust
MIT License
13 stars 2 forks source link

Update Rust crate minify-html to 0.15.0 #30

Open renovate[bot] opened 1 year ago

renovate[bot] commented 1 year ago

This PR contains the following updates:

Package Type Update Change
minify-html dependencies minor 0.10.8 -> 0.15.0

Release Notes

wilsonzlin/minify-html (minify-html) ### [`v0.15.0`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0150) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.14.0...v0.15.0) - Add `keep_input_type_text_attr` option to keep `type=text` on `` elements. - \[Java] The `Configuration` class constructor has been made private to enforce the use of the builder. The constructor has a lot of params which can easily cause bugs due to ordering and confusion. ### [`v0.14.0`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0140) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.13.3...v0.14.0) - Add new options to parse and preserve common templating syntax in content source code. NOTE: The parsing is "dumb" and merely looks for the next subsequence in the source code that matches the closing delimiter characters. This means that literal closing delimiter characters (e.g. strings) and nesting may cause parsing to be incorrect. - `preserve_brace_template_syntax`: When `{{`, `{#`, or `{%` are seen in content, all source code until the subsequent matching closing `}}`, `#}`, or `%}` respectively gets piped through untouched. - Templating engines: Pebble, Mustache, Django, Go, Jinja, Twix, Nunjucks, Handlebars, Liquid. - `preserve_chevron_percent_template_syntax`: When `<%` is seen in content, all source code until the subsequent matching closing `%>` gets piped through untouched. - Templating engines: Sailfish, JSP, EJS, ERB. ### [`v0.13.3`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0133) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.13.2...v0.13.3) - Avoid downloading html-data JSON from network on build. ### [`v0.13.2`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0132) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.13.1...v0.13.2) - \[Java] Set up cross compilation for macOS and Linux ARM64 builds. ### [`v0.13.1`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0131) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.13.0...v0.13.1) - \[CLI] Add missing Cargo metadata. ### [`v0.13.0`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0130) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.12.0...v0.13.0) - Use [lightningcss](https://togithub.com/parcel-bundler/lightningcss) instead of css-minify, which is better maintained. - BREAKING: The `minify_css_level_*` Cfg options no longer apply and have been removed. - \[onepass] Implement `Display` and `Error` for `Error` and `FriendlyError` structs. ### [`v0.12.0`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0120) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.11.5...v0.12.0) - Change CLI name to `minhtml` as it's a more concise command name and allows for `cargo install minhtml`. - Add `keep_ssi_comments` to preserve SSI comments. - \[Ruby] BREAKING: The class method is now a global function, so call `minify_html` instead of `MinifyHtml.minify`. All else remains the same. This is due to migrating from Rutie (see [0.11.3](#​0113)). - This change was inadvertently released in patch version bumps from `0.11.3` to `0.11.5`; these gems have been yanked. ### [`v0.11.5`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0115) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.11.4...v0.11.5) - Omit Rust source files from Node.js package. ### [`v0.11.4`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0114) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.11.3...v0.11.4) - Bump minify-js version. - Fix Node.js native package names. ### [`v0.11.3`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0113) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.11.2...v0.11.3) - Fix detection of module type scripts. - Derive `Clone` for `Cfg` in minify-html. - Fix parsing of malformed closing tags. - Cross compile Python library for macOS ARM64. - Migrate to rb-sys and magnus for Ruby library, which adds support for up to Ruby 3.2 and more platforms. - Cross compile Node.js library for macOS ARM64. - Use optional dependencies instead of downloading from remote server for Node.js library. ### [`v0.11.2`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0112) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.11.1...v0.11.2) - Build and release for Python 3.12. - Restructure project to use top-level Cargo workspace instead of separate isolated crates. - Extract out common Rust code to separate published shared crate instead of symlinking. - Port `gen` code to `build.rs` in common Rust library to avoid requiring Node.js in order to build, and to ensure code stays in sync. - Rename library folders to `minify-html-*` to better distinguish them from other assorted project code. ### [`v0.11.1`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0111) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.11.0...v0.11.1) - Bump GitHub Actions Ubuntu image version. ### [`v0.11.0`](https://togithub.com/wilsonzlin/minify-html/blob/HEAD/CHANGELOG.md#0110) [Compare Source](https://togithub.com/wilsonzlin/minify-html/compare/v0.10.8...v0.11.0) - Change the default CSS minifier optimisation level to 1, as higher levels may perform dangerous optimisations. - Allow configuring the CSS minifier optimisation level. - Fix building from source in Node.js postinstall.js script.

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

netlify[bot] commented 1 year ago

Deploy Preview for hexo-optimize ready!

Name Link
Latest commit fbcf130e6c1937b1f2f63cef61113deac7cf18fe
Latest deploy log https://app.netlify.com/sites/hexo-optimize/deploys/65880da3a3f3030008e94542
Deploy Preview https://deploy-preview-30--hexo-optimize.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.