Repository navigation
Important
7.2.1 is a bug-fix release, and one fix changes your production output: Encore was passing the legacy Sass option outputStyle, which sass-loader 16/17 ignore, so Sass was minifying your CSS by accident, and Encore now passes the modern style option instead.
Since 7.0.0 Encore adds no CSS minifier on its own, so without configureCssMinimizerPlugin() your production CSS will now ship unminified. Configure a minifier with it (Lightning CSS, for example), and note that this release also fixes a UTF-8 BOM build error and a few smaller issues.
See the upgrade guide before upgrading.
What's Changed
- Pass the modern
styleSass option instead of the legacyoutputStyleby @X-Coder264 in #1528 - Add low-maintenance notice recommending Symfony Reprise by @Kocal in #1530
- Bump the github-actions group across 1 directory with 4 updates by @dependabot[bot] in #1532
- Bump the vue group across 1 directory with 2 updates by @dependabot[bot] in #1514
- Bump preact from 10.29.1 to 10.29.8 in the preact group across 1 directory by @dependabot[bot] in #1515
- [Dependabot] Stop version updates on test apps by @Kocal in #1540
- Fix broken pnpm lockfile by @Kocal in #1542
- Throw a clear error when a callback is passed as the first argument of configureImageRule()/configureFontRule() by @Amoifr in #1519
- Bump zizmorcore/zizmor-action from 0.6.2 to 0.6.3 in the github-actions group by @dependabot[bot] in #1541
- Bump webpack-dev-server from 5.2.4 to 5.2.6 by @dependabot[bot] in #1493
- Load fork-ts-checker-webpack-plugin lazily so the build cache works without it by @abp002 in #1559
- Bump baseline-browser-mapping to 2.11.34 in all lockfiles by @Kocal in #1560
- Bump vitest to 4.1.12 and vite to 8.3.5 by @Kocal in #1562
- Bump fast-uri to 3.1.9 in all lockfiles by @Kocal in #1566
- Bump the github-actions group across 1 directory with 3 updates by @dependabot[bot] in #1556
- Bump vitest to 5.0.5, Babel, Vue and handlebars by @Kocal in #1568
New Contributors
- @X-Coder264 made their first contribution in #1528
- @abp002 made their first contribution in #1559
Full Changelog: v7.2.0...v7.2.1
Thanks to everyone who contributed to this release! 🙌
Update Encore in your project:
npm install @symfony/webpack-encore@latest --save-dev
pnpm add --save-dev @symfony/webpack-encore@latest
yarn add --dev @symfony/webpack-encore@latest