Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Dec 26, 2023

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
babel-loader ^9.0.0^10.0.0 age confidence
copy-webpack-plugin ^11.0.0^13.0.0 age confidence
css-loader ^6.0.0^7.0.0 age confidence
html-loader ^4.0.0^5.0.0 age confidence
style-loader ^3.0.0^4.0.0 age confidence
webpack-build-notifier ^2.1.0^3.0.0 age confidence
webpack-cli (source) ^5.0.0^6.0.0 age confidence
webpack-dev-middleware ^6.0.0^7.0.0 age confidence
webpack-dev-server ^4.0.0^5.0.0 age confidence

Release Notes

babel/babel-loader (babel-loader)

v10.0.0

Compare Source

What's Changed

Breaking Changes
  • bump node requirement to ^18.20.0 || ^20.10.0 || >=22.0.0 and webpack requirement to >= 5.61.0 by @​JLHwung in #​1026
  • breaking: use output.hashFunction as loader cache hasher by @​JLHwung in #​1027
New Features
Bug Fixes
Docs
Dependencies
Internal

New Contributors

Full Changelog: babel/babel-loader@v9.1.3...v10.0.0

v9.2.1

Compare Source

What's Changed

Full Changelog: babel/babel-loader@v9.2.0...v9.2.1

v9.2.0

Compare Source

What's Changed

Full Changelog: babel/babel-loader@v9.1.3...v9.2.0

webpack-contrib/copy-webpack-plugin (copy-webpack-plugin)

v13.0.1

Compare Source

v13.0.0

Compare Source

⚠ BREAKING CHANGES

For more information please visit tinyglobby.

The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.

Please migrate to the ignore option.

Bug Fixes
  • concurrency option is limited to files now (#​796) (d42469c)
  • the order of patterns provided by the developer is respected
12.0.2 (2024-01-17)
Bug Fixes
12.0.1 (2024-01-11)
Bug Fixes

v12.0.2

Compare Source

⚠ BREAKING CHANGES

For more information please visit tinyglobby.

The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.

Please migrate to the ignore option.

Bug Fixes
  • concurrency option is limited to files now (#​796) (d42469c)
  • the order of patterns provided by the developer is respected
12.0.2 (2024-01-17)
Bug Fixes
12.0.1 (2024-01-11)
Bug Fixes

v12.0.1

Compare Source

⚠ BREAKING CHANGES

For more information please visit tinyglobby.

The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.

Please migrate to the ignore option.

Bug Fixes
  • concurrency option is limited to files now (#​796) (d42469c)
  • the order of patterns provided by the developer is respected
12.0.2 (2024-01-17)
Bug Fixes
12.0.1 (2024-01-11)
Bug Fixes

v12.0.0

Compare Source

⚠ BREAKING CHANGES

For more information please visit tinyglobby.

The breaking change only affects the developer who used these options - gitignore and ignoreFiles in the globOptions option.

Please migrate to the ignore option.

Bug Fixes
  • concurrency option is limited to files now (#​796) (d42469c)
  • the order of patterns provided by the developer is respected
12.0.2 (2024-01-17)
Bug Fixes
12.0.1 (2024-01-11)
Bug Fixes
webpack-contrib/css-loader (css-loader)

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

Features
  • added the getJSON option to output CSS modules mapping (#​1577) (af834b4)

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • The modules.namedExport option is true by default if you enable the esModule option

Migration guide:

Before:

import style from "./style.css";

console.log(style.myClass);

After:

import * as style from "./style.css";

console.log(style.myClass);

To restore 6.x behavior, please use:

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        loader: "css-loader",
        options: {
          modules: {
            namedExport: false,
            exportLocalsConvention: 'as-is',
            //
            // or, if you prefer camelcase style
            //
            // exportLocalsConvention: 'camel-case-only'
          },
        },
      },
    ],
  },
};

Typescript migration:

Before:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export default classes;
}

After:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export = classes;
}
  • The modules.exportLocalsConvention has the value as-is when the modules.namedExport option is true and you don't specify a value
  • Minimum supported webpack version is 5.27.0
  • Minimum supported Node.js version is 18.12.0
Features
  • The modules.namedExports option works fine with any modules.exportLocalsConvention values (f96a110)
  • Added dashed variants for the modules.exportLocalsConvention options (40e1668)

v6.11.0

Compare Source

Features
Bug Fixes

v6.10.0

Compare Source

Features
  • add @rspack/core as an optional peer dependency (#​1568) (3924679)
  • pass the resourceQuery and resourceFragment to the auto and mode callback (#​1569) (d641c4d)
  • support named exports with any characters (6f43929)
6.9.1 (2024-01-18)
Bug Fixes
  • css nesting support
  • @scope at-rule support

v6.9.1

Compare Source

Features
  • add @rspack/core as an optional peer dependency (#​1568) (3924679)
  • pass the resourceQuery and resourceFragment to the auto and mode callback (#​1569) (d641c4d)
  • support named exports with any characters (6f43929)
6.9.1 (2024-01-18)
Bug Fixes
  • css nesting support
  • @scope at-rule support

v6.9.0

Compare Source

Features
  • add @rspack/core as an optional peer dependency (#​1568) (3924679)
  • pass the resourceQuery and resourceFragment to the auto and mode callback (#​1569) (d641c4d)
  • support named exports with any characters (6f43929)
6.9.1 (2024-01-18)
Bug Fixes
  • css nesting support
  • @scope at-rule support
webpack-contrib/html-loader (html-loader)

v5.1.0

Compare Source

Features

v5.0.0

Compare Source

⚠ BREAKING CHANGES
webpack-contrib/style-loader (style-loader)

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported webpack version is 5.27.0
  • minimum support Node.js version is 18.12.0
  • the insert option can only be a selector or the path to the module

Migration:

Before:

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              injectType: "styleTag",
              styleTagTransform (css, style) {
                // Do something ...
                style.innerHTML = `${css}.modify{}\n`;

                document.head.appendChild(style);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

insert-function.js

function insert(css, style) {
  const parent = options.target || document.head;

  parent.appendChild(element);
}

module.exports = insert;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              insert: require.resolve("./insert.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
  • the styleTagTransform option can only be the path to the module

Migration:

Before:

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              injectType: "styleTag",
              styleTagTransform (css, style) {
                // Do something ...
                style.innerHTML = `${css}.modify{}\n`;

                document.head.appendChild(style);
              },
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};

After:

style-tag-transform-function.js

function styleTagTransform(css, style) {
  // Do something ...
  style.innerHTML = `${css}.modify{}\n`;

  document.head.appendChild(style);
}

module.exports = styleTagTransform;

webpack.config.js

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        use: [
          {
            loader: "style-loader",
            options: {
              styleTagTransform: require.resolve("./style-tag-transform-function.js"),
            },
          },
          "css-loader",
        ],
      },
    ],
  },
};
Bug Fixes
3.3.3 (2023-05-19)
Bug Fixes
3.3.2 (2023-03-13)
Bug Fixes
3.3.1 (2021-10-21)
Bug Fixes

v3.3.4

Compare Source

3.3.4 (2024-01-09)
Bug Fixes
RoccoC/webpack-build-notifier (webpack-build-notifier)

v3.1.0

Compare Source

May 28, 2024
  • Fixed commonjs default export and added esm entrypoint.

v3.0.0

Compare Source

May 27, 2024
  • Added support for Webpack 5.
  • Bumped node-notifier to v10.0.1.
  • Fixes for #​81 and #​90)
  • Thanks, ImLunaHey! (PR)
webpack/webpack-cli (webpack-cli)

v6.0.1

Compare Source

Bug Fixes

v6.0.0

Compare Source

BREAKING CHANGES
  • the minimum required Node.js version is 18.12.0
  • removed init, loader and plugin commands in favor create-webpack-app
  • dropped support for webpack-dev-server@v4
  • minimum supported webpack version is 5.82.0
  • The --define-process-env-node-env option was renamed to --config-node-env
Bug Fixes
Features

5.1.4 (2023-06-07)

Bug Fixes
  • multi compiler progress output (f659624)

5.1.3 (2023-06-04)

Bug Fixes

5.1.2 (2023-06-04)

Bug Fixes
  • improve check for custom webpack and webpack-dev-server package existance (0931ab6)
  • improve help for some flags (f468614)
  • improved support for .cts and .mts extensions (a77daf2)

5.1.1 (2023-05-09)

Bug Fixes
webpack/webpack-dev-middleware (webpack-dev-middleware)

v7.4.5

Compare Source

v7.4.4

Compare Source

v7.4.3

Compare Source

v7.4.2

Compare Source

v7.4.1

Compare Source

v7.4.0

Compare Source

Features
  • added the cacheImmutable option to cache immutable assets (assets with a hash in file name like image.e12ab567.jpg) (5ed629d)
  • allow to configure the Cache-Control header (#​1923) (f7529c3)
Bug Fixes
  • support devServer: false (b443f4d)

v7.3.0

Compare Source

Features
7.2.1 (2024-04-02)
Bug Fixes
  • avoid extra log

v7.2.1

Compare Source

Features
7.2.1 (2024-04-02)
Bug Fixes
  • avoid extra log

v7.2.0

Compare Source

Features
7.2.1 (2024-04-02)
Bug Fixes
  • avoid extra log

v7.1.1

Compare Source

Features
7.1.1 (2024-03-21)
Bug Fixes

v7.1.0

Compare Source

Features
7.1.1 (2024-03-21)
Bug Fixes

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 18.12.0 (#​1694)
  • updated memfs@​4 (#​1693)
Features
6.1.1 (2023-05-16)
Bug Fixes

v6.1.3

Compare Source

6.1.3 (2024-03-29)
Bug Fixes

v6.1.2

Compare Source

6.1.2 (2024-03-20)
Bug Fixes
webpack/webpack-dev-server (webpack-dev-server)

v5.2.3

Compare Source

v5.2.2

Compare Source

v5.2.1

Compare Source

Security
  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.

Bug Fixes
  • prevent overlay for errors caught by React error boundaries (#​5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#​5411) (ffd0b86)

v5.2.0

Compare Source

Features
  • added getClientEntry and getClientHotEntry methods to get clients entries (dc642a8)
Bug Fixes
  • speed up initial client bundling (145b5d0)

v5.1.0

Compare Source

Features
  • add visual progress indicators (a8f40b7)
  • added the app option to be Function (by default only with connect compatibility frameworks) (3096148)
  • allow the server option to be Function (#​5275) (02a1c6d)
  • http2 support for connect and connect compatibility frameworks which support HTTP2 (#​5267) (6509a3f)
Bug Fixes
5.0.4 (2024-03-19)
Bug Fixes
5.0.3 (2024-03-12)
Bug Fixes
5.0.2 (2024-02-16)
Bug Fixes
5.0.1 (2024-02-13)
Bug Fixes

v5.0.4

Compare Source

Security
  • cross-origin requests are not allowed unless allowed by Access-Control-Allow-Origin header
  • requests with an IP addresses in the Origin header are not allowed to connect to WebSocket server unless configured by allowedHosts or it different from the Host header

The above changes may make the dev server not work if you relied on such behavior, but unfortunately they carry security risks, so they were considered as fixes.

Bug Fixes
  • prevent overlay for errors caught by React error boundaries (#​5431) (8c1abc9)
  • take the first network found instead of the last one, this restores the same behavior as 5.0.4 (#​5411) (ffd0b86)

v5.0.3

Compare Source

Features
  • add visual progress indicators (a8f40b7)
  • added the app option to be Function (by default only with connect compatibility frameworks) (3096148)
  • allow the server option to be Function (#​5275) (02a1c6d)
  • http2 support for connect and connect compatibility frameworks which support HTTP2 (#​5267) (6509a3f)
Bug Fixes
[5.0.4](https://redirect.github.com/webpack/webpack-dev-server/compare/v5.0.

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

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

@renovate renovate bot changed the title Update dependency webpack-dev-middleware to v7 Update webpack (major) Jan 10, 2024
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from d2febc0 to 7090f18 Compare January 16, 2024 18:19
@renovate renovate bot force-pushed the renovate/major-webpack branch from 7090f18 to 2ad8aa9 Compare February 12, 2024 16:10
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from efef886 to fe696b4 Compare April 8, 2024 18:37
@renovate renovate bot force-pushed the renovate/major-webpack branch from fe696b4 to c71fb52 Compare May 27, 2024 20:12
@renovate renovate bot force-pushed the renovate/major-webpack branch from c71fb52 to f1d0012 Compare December 19, 2024 20:55
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from 370942c to fd22e1d Compare February 28, 2025 02:56
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from adf53da to fa843f8 Compare August 12, 2025 14:33
@renovate renovate bot force-pushed the renovate/major-webpack branch from fa843f8 to 6d9bf92 Compare August 19, 2025 14:10
@renovate renovate bot force-pushed the renovate/major-webpack branch 2 times, most recently from c461889 to 0f3259a Compare September 7, 2025 00:00
@renovate renovate bot force-pushed the renovate/major-webpack branch 3 times, most recently from bdb6be4 to 23840e2 Compare September 25, 2025 15:32
@renovate renovate bot force-pushed the renovate/major-webpack branch from 23840e2 to b2f38ec Compare October 23, 2025 12:00
@renovate renovate bot force-pushed the renovate/major-webpack branch from b2f38ec to f3ebf6a Compare November 11, 2025 02:07
@renovate renovate bot force-pushed the renovate/major-webpack branch from f3ebf6a to 47b6870 Compare November 18, 2025 22:15
@renovate renovate bot force-pushed the renovate/major-webpack branch from 47b6870 to 22dba7e Compare December 4, 2025 23:46
@renovate renovate bot force-pushed the renovate/major-webpack branch from 22dba7e to cb6ef41 Compare December 31, 2025 17:50
@renovate renovate bot force-pushed the renovate/major-webpack branch from cb6ef41 to 1bea81c Compare January 8, 2026 18:04
@renovate renovate bot force-pushed the renovate/major-webpack branch from 1bea81c to 0b81b3f Compare January 12, 2026 18:11
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.

1 participant