Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump html-bundler-webpack-plugin from 3.17.4 to 4.1.1 #256

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2024

Bumps html-bundler-webpack-plugin from 3.17.4 to 4.1.1.

Release notes

Sourced from html-bundler-webpack-plugin's releases.

v4.1.1

Cumulative Release v4.1.0 - v4.1.1

Features

  • Added supports the require() of CommonJS and JSON files in EJS templates:
    <% const data = require('./data.js') %>
    <div>Film: <%= data.title %></div>
    <div>Genre: <%= data.genre %></div>
    or
    <% const data = require('./data.json') %>
    <div>Film: <%= data.title %></div>
    <div>Genre: <%= data.genre %></div>

Bug Fixes

  • Fixed when after 2-3 changes in a data file, the dependent entry templates was not recompiled.

v4.0.0

BREAKING CHANGES

  • Supports Node.js version 18+.

  • Supports Webpack version 5.81+.

  • The plugin option property is not static anymore:

    OLD (up to v3.x)

    class MyPlugin extends HtmlBundlerPlugin {
      constructor(options = {}) {
        super({ ...options });
      }
      init(compiler) {
        // MyPlugin.option. ...; <= was as static property
      }
    }

    NEW (since v4.0)

    class MyPlugin extends HtmlBundlerPlugin {
      constructor(options = {}) {
        super({ ...options });
      }
      init(compiler) {

... (truncated)

Changelog

Sourced from html-bundler-webpack-plugin's changelog.

4.1.1 (2024-10-17)

  • fix: after 2-3 changes of the data file (global or entry), the dependent entry template is not recompiled.
  • test: add test for Eta preprocessor with default options

4.1.0 (2024-09-29)

  • feat: add supports the require of CommonJS and JSON files in EJS templates:
    <% const data = require('./data.js') %>
    <div>Film: <%= data.title %></div>
    <div>Genre: <%= data.genre %></div>
    or
    <% const data = require('./data.json') %>
    <div>Film: <%= data.title %></div>
    <div>Genre: <%= data.genre %></div>
  • chore: update peerDependencies
  • test: refactor test cases for preprocessor

4.0.0 Release (2024-09-08)

BREAKING CHANGES

  • Minimum supported Node.js version 18+.
    The plugin may works on the Node.js >= 16.20.0, but we can't test the plugin with outdated Node.js versions. GitHub CI test works only on Node.js >= 18. Many actual dev dependencies requires Node.js >= 18.

  • Minimum supported Webpack version 5.81+.

  • The plugin option property is not static anymore:

    OLD (up to v3.x)

    class MyPlugin extends HtmlBundlerPlugin {
      constructor(options = {}) {
        super({ ...options });
      }
      init(compiler) {
        // MyPlugin.option. ...; <= was as static property
      }
    }

    NEW (since v4.0)

    class MyPlugin extends HtmlBundlerPlugin {

... (truncated)

Commits
  • 97df4b7 fix: recompile pages after changes in the global data file
  • a72248a docs: update readme
  • 618fa46 feat: add supports the require of CommonJS and JSON files in EJS templates
  • c2af4cc test: refactor test cases for preprocessor
  • 1831536 docs: fix link to release v4.0.0
  • e30c8c4 release v4.0.0
  • 236e2ec test: add test for order css imported in js and using split chunks
  • 3244e63 chore: code refactoring, invisible improvements, test this version with your ...
  • c459eaa fix: ERROR in RealContentHashPlugin in serv/watch mode after adding new impor...
  • d245481 fix: when using integrity occurs ERROR in RealContentHashPlugin in serv/watch...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [html-bundler-webpack-plugin](https://github.com/webdiscus/html-bundler-webpack-plugin) from 3.17.4 to 4.1.1.
- [Release notes](https://github.com/webdiscus/html-bundler-webpack-plugin/releases)
- [Changelog](https://github.com/webdiscus/html-bundler-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](webdiscus/html-bundler-webpack-plugin@v3.17.4...v4.1.1)

---
updated-dependencies:
- dependency-name: html-bundler-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 21, 2024

Superseded by #257.

@dependabot dependabot bot closed this Oct 21, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/html-bundler-webpack-plugin-4.1.1 branch October 21, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants