Skip to content

Commit

Permalink
chore: code refactoring, invisible improvements, test this version wi…
Browse files Browse the repository at this point in the history
…th your projects
  • Loading branch information
webdiscus committed Aug 16, 2024
1 parent c459eaa commit 3244e63
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 115 deletions.
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change log

## 4.0.0-beta.3 (2024-08-16)

- chore: code refactoring, invisible improvements, test this version with your projects

## 4.0.0-beta.2 (2024-08-15)

- fix: ERROR in RealContentHashPlugin in serv/watch mode after adding new import file
Expand All @@ -12,10 +16,12 @@

### BREAKING CHANGES

- Drop supporting for Node.js < `v18`.\
The plugin works on the Node.js >= `v14.21.xx`, but we can't test the plugin with outdated Node.js versions,
because many actual dev dependencies requires current LTS Node.js >= v18.x.
Up-to-date versions of dependencies are very important because they contain `security updates`.
- 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:

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ All source file paths in dependencies will be resolved and auto-replaced with co
- Generates the [integrity](#option-integrity) attribute in the `link` and `script` tags.
- Generates the [favicons](#favicons-bundler-plugin) of different sizes for various platforms.
- You can create **own plugin** using the [Plugin Hooks](#plugin-hooks-and-callbacks).
- Over 550 [tests](https://github.com/webdiscus/html-bundler-webpack-plugin/tree/master/test).
- Over 600 [tests](https://github.com/webdiscus/html-bundler-webpack-plugin/tree/master/test).

See the [full list of features](#features).

Expand Down Expand Up @@ -146,9 +146,9 @@ See [how the plugin works under the hood](#plugin-hooks-and-callbacks).

- **Simplify Webpack config** using one powerful plugin instead of many [different plugins and loaders](#list-of-plugins).

- **Start from HTML**, not from JS. Define an **HTML** template file as an **entry point**.
- **Start from HTML**, not from JS. Define an HTML template file as an **entry point**.

- Specify script and style **source files** directly in an **HTML** template,
- Specify script and style **source files** directly in a template,
and you no longer need to define them in Webpack entry or import styles in JavaScript.

- Use **any template engine** without additional plugins and loaders.
Expand All @@ -169,7 +169,7 @@ If you have discovered a bug or have a feature suggestion, feel free to create a

## 🔆 What's New in v4

- **NEW** added supports the [multiple configurations](https://webpack.js.org/configuration/configuration-types/#exporting-multiple-configurations)
- **NEW** added supports the [multiple configurations](https://webpack.js.org/configuration/configuration-types/#exporting-multiple-configurations).

## 🔆 What's New in v3

Expand All @@ -186,7 +186,7 @@ If you have discovered a bug or have a feature suggestion, feel free to create a

- **NEW** added importing style files in JavaScript.
- **NEW** added support the [integrity](#option-integrity).
- **NEW** you can add/delete/rename a template file in the [entry path](#option-entry-path) without restarting Webpack
- **NEW** you can add/delete/rename a template file in the [entry path](#option-entry-path) without restarting Webpack.

For full release notes see the [changelog](https://github.com/webdiscus/html-bundler-webpack-plugin/blob/master/CHANGELOG.md).

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "html-bundler-webpack-plugin",
"version": "4.0.0-beta.2",
"version": "4.0.0-beta.3",
"description": "HTML bundler plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in HTML, supports template engines like Eta, EJS, Handlebars, Nunjucks.",
"keywords": [
"html",
Expand Down Expand Up @@ -89,7 +89,7 @@
}
},
"engines": {
"node": ">=14.21.0"
"node": ">=16.20.0"
},
"peerDependencies": {
"ejs": ">=3.1.9",
Expand All @@ -103,7 +103,7 @@
"prismjs": ">=1.29.0",
"pug": ">=3.0.2",
"twig": ">=1.17.1",
"webpack": ">=5.32.0"
"webpack": ">=5.81.0"
},
"peerDependenciesMeta": {
"favicons": {
Expand Down
Loading

0 comments on commit 3244e63

Please sign in to comment.