Skip to content

Update to new minify function parameters#8

Closed
Lychrell wants to merge 1 commit into
pelican-plugins:mainfrom
Lychrell:patch-1
Closed

Update to new minify function parameters#8
Lychrell wants to merge 1 commit into
pelican-plugins:mainfrom
Lychrell:patch-1

Conversation

@Lychrell
Copy link
Copy Markdown

@Lychrell Lychrell commented Jul 30, 2025

minify_html had breaking changes since 0.16.0. This should fix #6

minify_html had breaking changes since 0.16.0. This should fix it
@Lychrell Lychrell changed the title Updated to the new minify function parameters Fix #6, Updated to the new minify function parameters Jul 30, 2025
@justinmayer
Copy link
Copy Markdown
Contributor

Hi @Lychrell. Just like in #7, it seems the tests fail because the JS minify function in 0.16 causes a PanicException. Until the upstream issue is resolved, I am inclined to pin the upstream dependency to 0.15 by adding an upper version bound to the dependency specification and release a new version of this plugin as an interim solution.

@justinmayer justinmayer changed the title Fix #6, Updated to the new minify function parameters Update to new minify function parameters Oct 31, 2025
@justinmayer
Copy link
Copy Markdown
Contributor

Thanks again for your submission @Lychrell. I merged #7 instead, which should comprehensively address the problem. Fixed version released as Minify 2.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incompatible with minify-html 0.16.0 and newer

2 participants