Releases: 10up/10up-toolkit
Releases · 10up/10up-toolkit
10up-toolkit@4.1.0-next.2
Minor Changes
All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
10up-toolkit@4.0.0
- Changed: 10up-toolkit no longer transpiles
@10up/block-components
. Make sure to use the latest version of@10up/block-components
that already ships transpiled code. #181 - Changed [BREAKING CHANGE]: Stop injecting
wp-polyfill
as dependecy of scripts built by 10up-toolkit. #193. - Updated: Dependencies #182
- Changed [BREAKING CHANGE]: Stylelint and eslint are now peerDependencies. This is a breaking change only for those not using npm >= 7. #179
props: @nicholasio @Antonio-Laguna
10up-toolkit@3.1.0
- Fixed:
dev-server
flag #178 - Added:
--target
option #176 - Added: Basic support for
exports
package.json field in package mode. #170
props @nicholasio
10up-toolkit@3.0.3
- Changed: Updated
@wordpress/eslint-plugin
to 11.0.0 to resolve an issue with conflicting prettier deps. WordPress/gutenberg#39208
Users should no longer get warnings or errors about conflicting prettier dependencies. Additionally running npm ls prettier
will no longer show the wp fork of prettier as being installed.
10up-toolkit v3.0.0
10up-toolkit
- Added - Introduced the
--analyze
option to the build to enable webpack-bundle-analyzer #148 - Added - Introduced HMR and React Fast Refresh #150
- Added - Introduced
TenUpToolkitTscPlugin
that runs tsc both on build and watch if tsconfig.json is present. #151 - Changed - Eslint and stylelint now only lint changed files when building with webpack (lintDirtyModulesOnly) #146
- Changed - Replaced
imagemin-webpack-plugin
withimage-minimizer-webpack-plugin
#147 - Changed - Droped
imagemin
in favor ofsquoosh
#157 - Changed - Updated
@svgr/webpack
to 6.2.1 and removedpostcss-object-fit-image
as it's not necessary. - Deprecated - BrowserSync #159
@10up/eslint-config
2.4.2
- Changed - Updated prettier config to rename jsxBracketSameLine to bracketSameLine (https://prettier.io/blog/2021/09/09/2.4.0.html) [#149] (#149)
Changed - Dropped@wordpress/eslint-plugin
in favor of@10up/eslint-plugin
. [#153] (#153)
@10up/stylelint-config
1.1.4
- Changed: Replaced
stylelint-declaration-use-variable
(deprecated) withstylelint-declaration-strict-value
#160
props: @nicholasio @fabiankaegy
10up-toolkit@2.1.0
- Fix double dot issue in CopyWebpack plugin
- Stop removing viewbox in svgs.
- Added
.ico
and.otf
files to be copied via copy-webpack-plugin. - Updated eslint-config to use eslint 8.
- Updated deps
props @Antonio-Laguna @nicholasio
10up-toolkit v2
10up-toolkit
- Updated several dependencies.
- Updated to postcss-preset-env 7.0 and switched from postcss-nested to postcss-nesting [BREAKING CHANGE]
- Disable polyfill for CSS custom properties.
- Removed wordpress/jest-preset-default and now shipping a custom jest config. Jest has also been updated to the latest version.
- Removed: IE 11 support. [BREAKING CHANGE]
babel-preset-default
- Removed: IE 11 support. [BREAKING CHANGE]
- Updated dependencies
eslint-config
- Updated dependencies
stylelint-config
- updated dependencies
- Change Stylelint configuration to allow color properties to use any of the global CSS values without a variable.
Migrating from v1
- 10up-toolkit no longs ships code compatible with IE 11, if you're currently supporting IE 11 you will need to drop support for IE 11 or manually modify the webpack and babel config (not recommended)
postcss-preset-env
has been updated to 7.0 andpostcss-nested
has been replaced withpostcss-nesting
. If your project usespostcss-nested
syntax, you will need to update it to be compatible withpostcss-nesting
syntax.
10up-toolkit@1.0.13
[Security] Updated deps