All Versions
64
Latest Version
Avg Release Cycle
43 days
Latest Release
-

Changelog History
Page 1

  • v4.1.0 Changes

    October 17th, 2022

    ๐Ÿ”‹ Features

    • โž• Add support for Svelte - #781 thanks to @zairigimad

    ๐Ÿ› Bug Fixes

    • ๐Ÿ‘Œ Support for Vue 2 was accidentally dropped in 4.0.0, and was re-added - #157 thanks to @Kocal.
  • v4.0.0 Changes

    ๐Ÿš€ This major release makes Encore compatible with Yarn Plug'n'Play and pnpm.

    BC Breaks

    • The following dependencies must be added in your package.json: webpack webpack-cli @babel/core @babel/preset-env (#1142 and #1150): ```shell npm install webpack webpack-cli @babel/core @babel/preset-env --save-dev
  • v3.1.0 Changes

    August 24th, 2022

    • โž• Add vue 2.7 feature to allow dropping vue-template-compiler - #1134 thanks to @billyct
  • v3.0.0 Changes

    July 8th, 2022

    ๐Ÿš€ This major release drops support for Node 12 (minimum is now Node 14) and also bumps some dependencies up a new major version.

    BC Breaks

    • ๐Ÿ‘ In #1122 support for Node 12 was dropped.

    • In #1133, the following dependencies were bumped a major version:

      • css-minimizer-webpack-plugin 3.4 -> 4.0 (4.0 just drops Node 12 support)
      • less-loader 10 -> 11
      • postcss-loader 6 -> 7
      • sass-loader 12 -> 13
      • stylus 0.57 -> 0.58
      • stylus-loader 6 -> 7

    ๐Ÿ”Œ If you're using any of these (all are optional except for css-minimizer-webpack-plugin ๐Ÿ”ง and are extended them with custom configuration, check the CHANGELOG of each for any possible BC breaks).

    ๐Ÿ”‹ Feature

    • #1133 - Increasing dependencies - @weaverryan
    • #1125 - Changing to support the "server" options object for webpack-dev-server - @weaverryan
    • #1122 - Allow sass-loader:13.0.0, require node >= 14 - @jmsche
    • #1118 - Use cli param server-type to define devServer https mode - @thegillou
  • v2.1.0 Changes

    May 5th, 2022

    ๐Ÿ”‹ Feature

    • #1093 - Allow sass-embedded - @IonBazan
  • v2.0.0 Changes

    May 3rd, 2022

    This is a new major version that contains several backwards-compatibility breaks.

    BC Breaks

    โฌ†๏ธ The following dependencies were upgraded a major version. It's unlikely ๐Ÿ”ง these will cause problems, unless you were further configuring this part of Encore:

    • ๐Ÿ”Œ clean-webpack-plugin Version 3 to 4: dropped old Node & Webpack version support
    • ๐Ÿ‘ css-loader Version 5 to 6: dropped old Node version support & CHANGELOG
    • ๐Ÿ”Œ css-minimizer-webpack-plugin Version 2 to 3: dropped old Node version support
    • ๐Ÿšš loader-utils REMOVED
    • ๐Ÿ”Œ mini-css-extract-plugin Version 1.5 to 2.2.1: dropped old Node & Webpack version support & CHANGELOG
    • ๐Ÿ‘ pretty-error Version 3.0 to 4.0: dropped old Node version support
    • ๐Ÿšง resolve-url-loader Version 3.0 to 5.0: dropped old Node version support, requires postcss ^8.0, remove rework engine & CHANGELOG
    • ๐Ÿ’… style-loader Version 2 to 3: dropped old Node and Webpack version support & CHANGELOG
    • ๐Ÿ“œ yargs-parser Version 20.2 to 21: dropped old Node version support

    โž• Additionally, Encore changed the supported versions of the following packages, which you may have installed to enable extra features:

    • ๐Ÿ‘• eslint Minimum version increased from 7 to 8
    • ๐Ÿ‘• eslint-webpack-plugin Minimum version increased from 2.5 to 3
    • ๐Ÿš€ fork-ts-checker-webpack-plugin Minimum version increased from 5 to 6 CHANGELOG
    • less-loader Minimum version increased from 7 to 10
    • postcss-loader Minimum version increased from 4 to 6
    • ๐Ÿš€ preact Minimum version increased from 8 to 10 CHANGELOG
    • sass-loader Minimum version increased from 9 to 12
    • stylus Minimum version increased from 0.54 to 0.56
    • stylus-loader Minimum version increased from 3 to 6 CHANGELOG
    • vue-loader Minimum version increased from 16 to 17 CHANGELOG

    • โœ‚ Removed Encore.enableEslintLoader(): use Encore.enableEslintPlugin().

    • ๐Ÿ‘• If using enableEslintPlugin() with the @babel/eslint-parser parser, you may now need to create an external Babel configuration file. To see an example, temporarily delete your .eslintrc.js file and run Encore. The error will show you a Babel configuration file you can use.

    • ๐Ÿ”ง With configureDefinePlugin(), the options['process.env'] key format passed to the callback has changed (see #960). If you are using configureDefinePlugin() to add more items to process.env, your code will need to change:

    Encore.configureDefinePlugin((options) => {
    -    options['process.env']['SOME_VAR'] = JSON.stringify('the value');
    +    options['process.env.SOME_VAR'] = JSON.stringify('the value');
    })
    
  • v1.8.2 Changes

    Mar 17th, 2022

    ๐Ÿ› Bug Fix

    • #1095 - bug #1095 Revert removing public option from dev-server - @louismariegaborit
  • v1.8.1 Changes

    Jan 21st, 2022

    ๐Ÿ› Bug Fix

    • #1076 - fix: lazy-load ESLint plugin dependency, fix #1075 - @Kocal
  • v1.8.0 Changes

    Jan 20th, 2022

    ๐Ÿ”‹ Feature

    • #985 - Move from eslint-loader to eslint-webpack-plugin - @Kocal
    • #1070 - New Encore method for adding multiple entries at once - @shmolf
    • #1074 - Support AVIF images - @benbankes
  • v1.7.1 Changes

    Jan 20th, 2022

    ๐Ÿ› Bug Fix

    • #1069 - Increased webpack-cli version constraint to v.4.9.1 - @nspyke