Skip to content

Commit

Permalink
docs: update changelog and migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
xz64 committed Nov 12, 2021
1 parent ad3faf9 commit 1fe17b0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.0] - 2021-11-11
### Fixed
- Fix `TypeError: item.node is not a function` errors by including `webpack-sources@^3.0.0` as direct dependency.

### Removed
- Remove support for webpack versions less than 5. Only webpack 5 is supported as of this version.


## [3.0.0] - 2021-10-02
### Fixed
- Fix `TypeError: item.node is not a function` errors from webpack 5.47.0 and later
Expand Down
3 changes: 3 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Migration Guide

## 3.x to 4.x
* Support for webpack 4 and below are now removed. Please use an older version of the plugin if you need it to work with webpack 4 or below.

## 2.x to 3.x
* Most builds can upgrade directly from 2.x to 3.x without having to change anything.
* The `webpack-sources` package is no longer bundled with the plugin nor listed as a peerDependency of the plugin. This allows the plugin to use the same version of `webpack-sources` that comes with the `webpack` installation.
Expand Down

0 comments on commit 1fe17b0

Please sign in to comment.