Update dependency @symfony/webpack-encore to ^0.33.0 #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.9.1
->^0.33.0
Release Notes
symfony/webpack-encore (@symfony/webpack-encore)
v0.33.0
Compare Source
December 3rd, 2020
Feature
v0.32.1
Compare Source
December 3rd, 2020
Bug Fix
v0.32.0
Compare Source
December 3rd, 2020
Feature
v0.31.1
Compare Source
December 3rd, 2020
Bug Fix
v0.31.0
Compare Source
September 10th, 2020
Bug Fix
v0.30.2
Compare Source
May 14th, 2020
Bug Fix
v0.30.1
Compare Source
May 13th, 2020
Bug Fix
v0.30.0
Compare Source
May 11th, 2020
Feature
Bug Fix
v0.29.1
Compare Source
April 18th, 2020
Bug Fix
v0.29.0
Compare Source
April 17th, 2020
Feature
Bug Fix
v0.28.3
Compare Source
February 24th, 2020
Bug Fix
v0.28.2
: Various bug fixes, minor featureCompare Source
Yes! New Release!
This release adds some missing documentation and removes some deprecations.
To upgrade, run
yarn upgrade
!Changes: v0.28.1..v0.28.2
Documentation: http://symfony.com/doc/current/frontend.html
Happy packing!
v0.28.1
: Various bug fixes, minor featureCompare Source
Yes! New Release!
#669 Fixing postcss error: newer versions seem to have a "Syntax Error: name - this PR also removed 2 unused dependencies:
lodash
andfs-extra
.#642 Allow to configure babel env preset (thanks to @ihmels)
#639 bug #638 sass-loader should not do css minification (thanks to @wimhendrikx)
#627 Allow to overwrite pre-defined aliases using addAliases() (thanks to @Lyrkan)
To upgrade, run
yarn upgrade
!Changes: v0.28.0..v0.28.1
Documentation: http://symfony.com/doc/current/frontend.html
Happy packing!
v0.28.0
Compare Source
Don't make
@babel/preset-env
useforceAllTransforms
optionin production - this will reduce build size in production
for environments that only need to support more modern
browsers - #612 thanks to @Lyrkan.
Added support with
enablePostCssLoader()
to process filesending in
.postcss
or usinglang="postcss"
in Vue - #594thanks to @Lyrkan.
Allow
resolve-url-loader
to be configured viaenableSassLoader()
-#603 thanks to @diegocardoso93.
Support was removed from Node 9 (a no-longer-supported version
of Node) - #585 thanks to @weaverryan
[BC Break] Removed the ability to use
[chunkhash]
inconfigureFilenames()
, which was already deprecated andno longer reliable - #608 thanks to @Lyrkan.
v0.27.0
Compare Source
[Behavior Change] The Babel configuration
sourceType
default waschanged from not being specified (so, the default
module
was used)to
unambiguous
. This is to help Babel'suseBuiltIns
functionalityproperly determine if a
require
orimport
should be automaticallyadded to your files, based on that file's style - #555 thanks to @Lyrkan.
Added JSX support to Vue! #553 thanks to @Kocal.
Cleaned up the jsdoc in
index.js
to add better docs and betterIDE auto-completion - #550 thank sto @Lyrkan.
v0.26.0
Compare Source
[Behavior change] The Babel
useBuiltIns
option default value changedfrom
entry
tofalse
, which means that polyfills may no longer beprovided in the same way. This is due to a change in Babel and core-js.
To get the same functionality back, run
yarn add core-js --dev
, then use:This comes from #545 thanks to @Lyrkan.
Added the ability to "resolve" CSS and Sass files without specifying
the file extension and by taking advantage of the
sass
orstyle
attribute in an npm package. For example, you can now import the main
Bootstrap SASS file from within a SASS file by saying
@import ~bootstrap
.This will use the
sass
attribute from the bootstrappackage.json
file to find which file to load. #474 thanks to @deAtog.
Added a new
Encore.enableIntegrityHashes()
, which will cause a newintegrity
key to be added toentrypoints.json
with integrity valuesthat can be included in the
script
orlink
tag for that asset - #522thanks to @Lyrkan.
Allow some parts of
configureBabel()
to be used, even if there isan external
.babelrc
configuration file - #544 thanks to @Lyrkan.v0.25.0
Compare Source
[BC BREAK] Various dependency versions were updated, including
css-loader
updated from^1.0.0
to^2.1.1
andresolve-url-loader
updated from
^2.3.0
to^3.0.1
. The minimum Node version wasalso bumped from 6 to 8. See #540 for more details.
Added
Encore.disableCssExtraction()
if you prefer your CSS tobe output via the
style-loader
- #539 thank to @Lyrkan.Added
Encore.configureLoaderRule()
as a way to configure theloader config that Encore normally handles - #509 thanks to @Kocal.
Babel cache is no longer used for production builds to avoid a
bug where the cache prevents browserslist from being used - #516
thanks to @Lyrkan.
v0.24.0
Compare Source
Add CSS modules support in Vue.js for Sass/Less/Stylus - #511
thanks to @Lyrkan
Allow to use Dart Sass instead of Node Sass - #517 thanks to
@Lyrkan
Allow to set a custom context in copyFiles - #518 thanks to
@Lyrkan
Improve 'Install x to use y' and 'Unrecognized method' error
messages - #520 thanks to @Lyrkan
Allow to set @babel/preset-env's useBuiltIns option - #521
thanks to @Lyrkan
Allow setOutputPath to create nested directories - #525 thanks
to @Lyrkan
v0.23.0
Compare Source
Add support for CSS modules in Vue - #508 thanks to @Lyrkan
Store externals in an array - #495 thanks to @deAtog
Add
Encore.isRuntimeEnvironmentConfigured()
- #500 thanksto @stof.
Add the ability to configure watch options - #486 thanks
to @Kocal
Enabled cache and parallelism for terser for faster builds -
#497 thanks to @Kocal
v0.22.4
: - Fixing Vue + Typescript bug & other minor thingsCompare Source
Yes! A new release - but just some minor fixes.
To upgrade:
yarn upgrade
Changes: v0.22.3..v0.22.4
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
isDev()
andisDevServer()
- thanks to @Kocalv0.22.3
: - Security releaseCompare Source
A quick security release!
To upgrade:
yarn upgrade
Changes: v0.22.2..v0.22.3
Documentation: http://symfony.com/doc/current/frontend.html
See #481 - this release guarantees that you are using a version of
webpack-dev-server
that does not contain the security issue.v0.22.2
: : Important bug fixes to versioning & cachingCompare Source
This bug fix release includes several important changes that fix some versioning bugs and improve caching.
To upgrade:
yarn upgrade
Changes: v0.22.1..v0.22.2
Highlights:
Fix an issue where JavaScript files might change, but their versioning hash filename would NOT change - causing problems where users would use out-of-date cached assets, instead of dowloading the new ones. This works by, internall, using the names of modules in compiled files. This bug only affected users using
enableSingleRuntimeChunk()
- #462Fixed a bug where certain content changes to a JavaScript file would not cause the versioning hash to update. This relates to the first fixed bug. Due to the changing in how hashing works, all JavaScript files will have a new hash the first time after upgrading - #463
Fixed a bug with
splitEntryChunks()
where some filenames and contents of files would change unnecessarily. This did not cause any bad behavior, but meant that users would unnecessarily download new assets, that really didn't need to change between builds. As a result, you'll notice that instead of split chunks named something likevendors~abc123.js
, inproduction
, they will be called0.js
or some other integer. This makes no functional difference - #462v0.22.1
: Bug fix for production sourcemapsCompare Source
Just a bug fix release!
v0.22.0
Compare Source
stripped of their opening slash. That behavior has been changed:
the opening slash is now included: Before:
build/foo.js
, After:/build/foo.js
.v0.21.1
: Bug fixes & updating dependenciesCompare Source
What's better than Encore on Webpack 4? Encore on Webpack 4 with a few bugs squashed!
Highlights:
Happy Webpacking!
v0.21.0
Compare Source
[BC BREAK] Webpack was upgraded to version 4. This includes a number of major
and minor changes. The changes are listed below under the
Webpack 4 Upgrade
section.[BC BREAK] The
createSharedEntry()
no longer can be passed an array of files.Instead, set this to just one file, and require the other files from inside that
file.
[DEPRECATION] You must now call either
Encore.enableSingleRuntimeChunk()
or
Encore.disableSingleRuntimeChunk()
: not calling either method isdeprecated. The recommended setting is
Encore.enableSingleRuntimeChunk()
.This will cause a new
runtime.js
file to be created, which must be includedon your page with a script tag (before any other script tags for Encore
JavaScript files). See the documentation above
enableSingleRuntimeChunk()
inindex.js
for more details.[BEHAVIOR CHANGE] Previously, without any config, Babel was
configured to "transpile" (i.e. re-write) your JavaScript so
that it was compatible with all browsers that currently have
more than 1% of the market share. The new default behavior
is a bit more aggressive, and may rewrite even more code to
be compatible with even older browsers. The recommendation
is to add a new
browserslist
key to yourpackage.json
filethat specifies exactly what browsers you need to support. For
example, to get the old configuration, add the following to
package.json
:See the browserslist library
for a full description of all of the valid browser descriptions.
Added a new
copyFiles()
method that is able to copy static filesinto your build directory and allows them to be versioned. #409
thanks to @Lyrkan
Introduced a new
configureSplitChunks()
method that can beused to further configure the
optimizations.splitChunks
configuration.A new
entrypoints.json
file is now always output. For expertuse-cases, the
optimizations.splitChunks.chunks
configurationcan be set via
configureSplitChunks()
toall
. Then, youcan write some custom server-side code to parse the
entrypoints.js
so that you know which
script
andlink
tags are needed foreach entry.
The "dynamic import" syntax is now supported out of the box
because the
@babel/plugin-syntax-dynamic-import
babel pluginis always enabled. This allows you to do "Dynamic Imports"
as described here: https://webpack.js.org/guides/code-splitting/#dynamic-imports
A new "version check" system was added for optional dependencies.
Now, when you install optional plugins to support a feature, if
you are using an unsupported version, you will see a warning.
"Package recommendation" errors (i.e. when you enable a feature
but you are missing some packages) will also contain the version
in the install string when necessary (e.g.
yarn add foo@^2.0
).Support was added
handlebars-loader
by callingenableHandlebarsLoader()
.#301 thanks to @ogiammetta
Support was added for
eslint-loader
by callingenableEslintLoader()
.#243 thanks to @pinoniq
The
css-loader
can now be configured by callingconfigureCssLoader()
.#335 thanks to @XWB
It's now possible to control the
exclude
for Babel so that you canprocess certain node_modules packages through Babel - use
the new second argument to
configureBabel()
- #401 thanks to@Lyrkan.
v0.20.1
Compare Source
The original RC version was not meant to be used in a release.
#306 via @weaverryan
v0.20.0
Compare Source
Added
Encore.configureUrlLoader()
method that allows youto inline smaller images/file assets for better performance
#296 via @Lyrkan
Improved error messages that recommend using yarn vs npm
#291 via @Lyrkan
Fixed bug with using --stats option #299 via @Lyrkan
Allow configuration callbacks to return their value
#300 via @Lyrkan
Updated to use the new v2 of webpack-manifest-plugin
#164 via @weaverryan
v0.19.0
Compare Source
#263 via @florentdestremau
v0.18.0
Compare Source
Added
Encore.addAliases()
andEncore.addExternal()
shortcut methods#217 via @Lyrkan
Fixed hash lengths - normalized all to 8 - #216 via @Lyrkan
Added CoffeeScript loader - #201 via @harentius
v0.17.1
Compare Source
Yes! New Release!
To upgrade:
yarn upgrade
Changes: v0.17.0..v0.17.1
Documentation: http://symfony.com/doc/current/frontend.html
Highlights:
--json
option - see #215 (thanks @Lyrkan)v0.17.0
Compare Source
Added build notifications by calling
Encore.enableBuildNotifications()
-#190 via @Lyrkan
Added Stylus support via
Encore.enableStylusLoader()
- #195via @mneuhaus
v0.16.0
Compare Source
Added a priority argument to the
addPlugin()
method so that wecan (mostly in the future) allow plugins to be ordered, if/when
that becomes necessary - #177 via @Lyrkan
Fixed several minor bugs related to extra
.map
files (#170),always having a DefinePlugin enabled (#172), fixing extra
instances of the ts-loader (#181) and upgrading a dependency
to avoid a deprecation warning (#182) - all via @Lyrkan
v0.15.1
Compare Source
Fixed bug with using
?
in your versioning strategy withaddStyleEntry
- #161 via @LyrkanFixed bug when using
webpack.config.babel.js
with ES6imports - #167 via @Lyrkan
v0.15.0
Compare Source
Add support for Preact - #144 via @Lyrkan
Added
Encore.configureManifestPlugin()
method - #142 via @SeikyoAdded 5 new methods to configure plugins! #152 via @Lyrkan
Encore.configureDefinePlugin()
Encore.configureExtractTextPlugin()
Encore.configureFriendlyErrorsPlugin()
Encore.configureLoaderOptionsPlugin()
Encore.configureUglifyJsPlugin()
v0.14.0
Compare Source
Added
Encore.configureFilenames()
so that you can fully controlthe filename patterns for all types of files - #137 via @Lyrkan
Added
Encore.configureRuntimeEnvironment()
, which is usefulif you need to require
webpack.config.js
from some non-Encoreprocess (e.g. Karma) - #115 via @Lyrkan
v0.13.0
Compare Source
[BEHAVIOR CHANGE] Image and font files now always include
a hash in their filename, and the hash is shorter - #110 via @Lyrkan
Fixed a bug that caused extra comments to be in the final production
compiled JavaScript - #132 via @weaverryan
Encore.enablePostCssLoader()
now accepts an options callback -#130 via @Lyrkan
Encore.enableLessLoader()
now accepts an options callback -#134 via @Lyrkan
Added
Encore.enableForkedTypeScriptTypesChecking()
to enablefork-ts-checker-webpack-plugin
for faster typescript type checking - #101 via @davidmpaz
Added
Encore.disableImagesLoader()
andEncore.disableFontsLoader()
to totally disable the
file-loader
rules for images and fonts -#103 via @Lyrkan
v0.12.0
Compare Source
Fixed a bug with webpack 3.4.0 ("Can't resolve dev") - #114.
Added
--keep-public-path
option todev-server
that allowsyou to specify that you do not want your
publicPath
toautomatically point at the dev-server URL. Also relaxed the
requirements when using
dev-server
so that you can nowspecify a custom, fully-qualified
publicPath
URL - #96Fixed bug where
@import
CSS wouldn't use postcss - #108v0.11.0
Compare Source
webpack
package was upgraded from version 2.2 to 3.1 #53. Theextract-text-webpack-plugin
package was also upgraded from2.1 to 3.0.
v0.10.0
Compare Source
[BC BREAK] If you're using
enableSassLoader()
AND passing an optionsarray, the options now need to be moved to the second argument:
Allowing typescript options callback to be optional - #75
Allow the Encore singleton to be reset - #83
Fixing bug with vue-loader and sass - #89
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.