Releases: SnowdogApps/magento2-frontools
Releases · SnowdogApps/magento2-frontools
1.12.0
- Dropped support for using
gulp
directly, all tasks need to be used viayarn [taskName]
ornpm run [taskName]
- Rewritten ESLint task, integrated with
watch
anddev
tasks - Added option to set a custom Babel config
- New default config for Babel and Browserlist, that targets only most popular browsers in North America and Europe (no IE11)
- Magepack tasks throws now more meaningful errors if required params were not set
- Added support for Node.js v16, dropped for Node.js v12
- All dependencies got update to the latest version
- Native ESM is now used internaly instead of pollified version
1.11.0 - Magepack support
Added
magepackGenerate
andmagepackBundle
tasks - you don't need to install globally Magepack CLI anymore to optimize your theme performance- Option to import
.js
config files viagetConfig
helper
Changed
- Minor dependencies bump
1.10.1
Bump node-sass
to v5.0.0 supported by Node.js v14.
1.10.0
- Option to use Dart Sass compiler - Since Node Sass is now deprecated, we are adding an option to switch to Dart Sass. Unfortunately, Dart Sass doesn't support all Node Sass features, so for now we will keep the older solution as default, to simplify the migration process.
- Node.js v14 LTS support added
1.9.0
1.8.1
Gulp 4.x - Node.js LTS 12.x support
Breaking changes
email-fix
task was renamed toemailfix
. To keep backward compatibility you can still use old naming via npm scriptsyarn email-fix
ornpm run email-fix
- AT
themes.json
inpostcss
config of the theme, you shouldn't useplugins.something
anymore, but justsomething
. Although, all dependencies are no longer automatically available everywhere, so if you wish to use some additional PostCSS plugin, you need to import it manually inhelpers/scss.js
file. Please check sample config
Under the hood changes
- Rewrite to Gulp 4.x - ES Modules, cleaner code and other cool stuff
- Node.js 12.x (active LTS) support
- Dependencies clean up and update, including vulnerability fixes
1.7.0
1.6.0
babel
task now saves source maps to separate files, also in production mode - #335- new
email-fix
task to solve problems with inline emails styles on older Magento 2 versions - #247 - Babel upgraded to 7.x - #343
- Lots of dependencies upgrades
npm-shrinkwrap.json
added to makenpm
installs safer- Required Node.js version set to
>=8.9.0 <11.0.0
to target active LTS versions
1.5.0 - Rewritten watch task and new svg task
- rewritten
watch
task now handles also adding, removing, moving and renaming files on the fly. Also, issues related to nested SASS imports and hanging watcher should be now eliminated. - new
svg
task to easily generate SVG icons sprites - #208 - ability to disable adding
.min
to output files, while using--prod
flag - dropped support for
localeOverwrites
, due to implementation complexity and ability to easily replace it with new child theme created just for these overwrites - partial Windows OS support dropped, due to implementation complexity and lack of the willingness to invest time on maintenance OS not supported by Magento platform
deploy
andbrowser-sync
task removed