- Supports PostCSS 7 and 8 (major)
- Supports Node 10+ (major)
- Supports configurations from (in order)
postcss-tape.config.js
,postcss-tape.config.mjs
,postcss-tape.config.cjs
,.tape.js
,.tape.mjs
, and.tape.cjs
.
- Fixed: Issue loading a test plugin
- Fixed: Tests for an error
- Fixed: Documentation errors
- Updated: Node 8+ compatibility (major)
- Fixed: Better support warnings and errors
- Changes the nested
postcss-plugin: { "test-name": {} }
with{ "test-name": {} }
. - Supports a
--ci true
mode for full logging
I’ve rewritten the plugin in less lines of code and hopefully more clearly. I had a lot of trouble following the old version, so it’s very hard to know what changes there are. I also accidentally published an incompatible version, so version 3 is skipped for 4.
- Added: New
processOptions
option for controlling the PostCSS process
- Added: New
plugin
methods for specifying alternative plugin(s) - Added: Support for running all tests even if some fail
- Updated: Travis compatibility
- Added: Node v4.x compatibility
- Added: Sequential testing
- Added: New
before
andafter
methods - Added: New
source
,expect
, andresult
overrides
- Added: Check errors with
RegExp
- Updated: Throw existing error
- Updated: Run
after
even if test fails
- Added: Expected
error
option - Added:
after
command to run option
- Added: Support
plugins#process
with separate arguments
- Added: Initial version