- Update and minimize dependencies
- BREAKING: Require Node.js v18+ (#464)
- Upgrade to
postcss-load-config@5for improved ESM & TS config support (#461, #462)
- Allow running
--watchmode in non-TTY contexts, like Docker (#448) - Update dependencies
- Switch to picocolors (#409)
- Remove test files from npm package
- Actually exit with error when attempting to stdout in watch mode
- Remove
bin/fromfilesin package.json
- BREAKING: Require Node.js v12+
- BREAKING: Must specify full file path, including
.jsextension, when loading local plugins with--use(#401) - BREAKING: Officially remove support for watching postcss config (was already broken in previous releases)
- Add support for
dir-dependencymessages (#383, #391) - Update deps
- Ensure paths are not interpreted as numbers (#360)
- Better errors for incorrect postcss version (#361, #362)
- Exit on EOF/
^D(#358)
- Allow backslashes in paths for better Windows experience (#355)
- Add support for
postcss.config.cjsfiles (#351)
- BREAKING: Support postcss v8 (#344, #349)
- BREAKING: postcss is now a
peerDependency, you must install it seperately (#344, #349) - Upgrade dependencies (#340)
- Make
--versionmachine-readable (#334, #335) - Organize and clarify
--helptext (#336) - Update dependencies
- Fix bug where external source maps were not properly generated (#324)
- Update dependencies
- Respect
map.annotationoption when set to a string (#307)
- BREAKING: Drop support for Node 6 & 8
- Update
globby, which may be a breaking change for a small number of users using certain glob patterns, see https://github.com/mrmlnc/fast-glob#pattern-syntax for details (#303) - Update dependencies
- Add
--include-dotfilesflag to allow globs to match dotfiles. (#254) - Only log warning messages. This has always been intended behavior, but it wasn't working as expected. (#244)
- Better error handling for errors thrown by plugins (#242, #243)
- Update dependencies
- Clarify docs (#233)
- Drop support for Node 4
- Upgrade to postcss v7 (release notes)
- Upgrade to postcss-load-config v2 (release notes)
- Shallow copy options object; fixes a few edge cases
- Adjust options for file watching to play better with some editors
- Now allows passing a directory as the input (all files in the directory will be processed)
- The CLI is now silent by default; added
--verboseflag for if you want noisy logs - Doesn't exit watch mode when there's an error in the plugin chain
- Removed non-obvious shorthand arguments (
-x,-p,-s,-t,-e,-b, &-c). Also removed-vas an alias for--version. - Prevent stupid option combinations like
--dir&-o, and--watch&--replace - Doesn't allow
--watchwhen writing to STDOUT
- Fixed bug with
--config - Upgraded dependencies
- Can now pass a number to
--pollto set poll interval - Updated
postcss-reporterdependency to v4.0.0
- BREAKING: Upgrade postcss to v6.x
- Added
--baseCLI option for keeping directory structure
- Fixed
filesproperty inpackage.json;lib/folder wasn't included in v3.1.0
- Improved incremental rebuilds for better performance in watch mode.
- Switched to
read-cachefor file reading for better performance. - Set a dummy filename when reading from stdin to help plugins like autoprefixer find config files.
- Updated
fs-promisedependency.
- Don't exit on
CssSyntaxErrorin watch mode. v2 behaved this way, but v3.0.0-beta didn't. - Error out if
fromortooptions are set in the config file. Use command line arguments instead.
- Add
--polloption. v2 had this, however, this new implementation removes the capability to set the interval, which was supported in v2.
- Set
fromoption for correct sourcemaps - Fix
--watch's glob handling - Fix error handling
- Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format.
- Can't set input files in config file; pass input files on the command line instead.
--useaccepts a list of plugins. This may cause issues if you have your list of css files at the end of your command.- Can't pass options to plugins via
--plugin.key=valueanymore, use a config file. - Changed usage of the
--mapoption; use--mapfor external sourcemaps,--no-mapto disable all maps. Inline sourcemaps are default. - Removed
--logflag; this behavior is now default. - Removed the
--local-pluginsflag; same result can be achieved withpostcss.config.js. - Removed the global
watchCSShandler, plugins that import/rely on other files should use adependencymessage instead. - Changed behavior of the
--polloption; no longer accepts an integerinterval.
--ext(-x) option allows you to set the file extensions for your output files when using--dir.--envallows you to setNODE_ENVin a cross-platform manner.
Migration guide for upgrading from v2: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3
- Uses https://github.com/michael-ciniawsky/postcss-load-config for config files. Dropped support for the v2 config file format.
- Can't set input files in config file; pass input files on the command line instead.
--useaccepts a list of plugins. This may cause issues if you have your list of css files at the end of your command.- Can't pass options to plugins via
--plugin.key=valueanymore, use a config file. - Changed usage of the
--mapoption; use--mapfor external sourcemaps,--no-mapto disable all maps. Inline sourcemaps are default. - Removed
--logflag; this behavior is now default. - Removed the
--local-pluginsflag; same result can be achieved withpostcss.config.js. - Removed the global
watchCSShandler, plugins that import/rely on other files should use adependencymessage instead.
--ext(-x) option allows you to set the file extensions for your output files when using--dir.--envallows you to setNODE_ENVin a cross-platform manner.
Migration guide: https://github.com/postcss/postcss-cli/wiki/Migrating-from-v2-to-v3
- Add log option
- Update postcss-import to v8.1.2 from v7.1.0
- Update globby to v4.1.0 from v3.0.1
- Update postcss-url to v5.1.2 from v4.0.0
- Update jshint to v2.9.2 from v2.6.3
- Update chokidar to v1.5.1 from v1.0.3
- Update yargs to v4.7.1 from v3.32.0
- Support es6 export
- Allow running without plugins
- Add test for --poll
- Add --poll flag
- Fix typo in help message: -use => [--use|-u]
- npm install --save mkdirp
- Support mkdirp to create dest path if it doesn't exists
- Fix booleans in config file
- fix
inputargument
- move to postcss/postcss-cli repository
- Update Readme.md
- improve warning disply format
- add support for source maps
- add usage example for
local-pluginsoption in config file
- auto-configure postcss-import support
- add support for watching multiple entry points
- update Travis config
- upgrade postcss-import dependency - fix deprecation warnings during make test-watch
- add --local-plugins option that lets postcss-cli to look for plugins in current directory
- add support for --replace|-r - if used input files are replaced with generated output
- refactor support for custom syntax options
- add globby to support wildcards in Windows
- remove obsolete note on postcss-import compatibility
- add support for PostCSS 5.0 custom syntax options
- remove support for --safe option
- switch to using postcss 5.x
- add watch mode (-w|--watch) in which postcss-cli observes and recompiles inputs whenever they change
- update neo-async dependency to released version
- update postcss-url dependency (used in tests only)
- allow specifying input file via config file
- allow specifying -u|--use via config file
- update npm keyword: postcssrunner -> postcss-runner
- add support for stdin/stdout if no input/output file specified
- fix typo in readme
- display warnings and errors
- stop testing on node 0.10
- prefer postcss async API if available
- use official yargs version
- add support for multiple input files
- support JS format as plugins config
- use autoprefixer instead of autoprefixer-core
- change short options for --use from
ptou - add -v|--version support
- add --safe option to enable postcss safe mode
- initial implementation