Releases: tapjs/tapjs
[email protected]
[email protected]
What's Changed
Note: The formatting of Symbol
objects and enumerable Symbol
properties has changed in snapshots and object diffs.
You may need to run tap --snapshot
after updating to this release, and/or update some tests that were relying on symbol property keys being ignored.
- Include
Symbol
keys in formatting/comparison. - Print symbols in formatted objects as
Symbol.for(...)
if appropriate. - Print known symbols from the
Symbol
constructor asSymbol.<key>
, egSymbol.iterator
instead of
Symbol(Symbol.iterator)
. - Add reporter-file config option #931
Full Changelog: https://github.com/tapjs/tapjs/compare/[email protected]@18.4.0
[email protected]
Bug-fix, actually turning off type checking by default, as intended.
[email protected]
Full Changelog: https://github.com/tapjs/tapjs/commits/[email protected]
[email protected]
What's Changed
- Show only master branch badge by @ranisalt in #250
- Buffered tests by @isaacs in #309
- update to latest release of nyc (fixes #373) by @mykmelez in #394
- Fix missing “not” in default message for strictNotSame by @charmander in #410
- Fix typos in docs + update contributing guide by @customcommander in #424
- docs: add unique page titles by @stephenmathieson in #429
- Add hexagonal-lambda to the tap 100 list by @focusaurus in #433
- add dotenv to the tap 100 list by @maxbeatty in #441
- Don't emit end while waiting for pipes to clear by @isaacs in #507
- Fix font-family typo by @jordanbtucker in #520
- Add support for --coverage-map= by @isaacs in #533
- Switch back to nyc release by @goto-bus-stop in #540
- fixed directory by @0xflotus in #551
- Remove sentence about Node 4 by @mcollina in #560
- Add
my-way
to 100 club by @amio in #573 - Exit with the yaml parse error on bad rc files by @isaacs in #614
- Add node.js 13 to testing by @coreyfarrell in #627
- Fix extra-from-error processing to handle Win32 absolute filenames by @coreyfarrell in #663
- Disable CI on Node.js 14 by @coreyfarrell in #667
- Fix circular import between mocha.js and tap.js by @coreyfarrell in #671
- Disable
ts
andjsx
by default, removeesm
by @coreyfarrell in #651 - Rename t.notEqual to t.not. by @zkldi in #738
- Remove unused import by @jsumners in #745
- Fix for #740 by @zkldi in #744
- gracefully handle the lack of a global.process object by @isaacs in #775
- Update Node.js min version to 10.x in CONTRIBUTING by @trivikr in #752
- Fix typo on the getting started guide by @henriquehbr in #769
- Add jsonpath-faster by @AndyA in #754
- docs: fix broken link by @iRoachie in #782
- Fix script on using node-tap with codecov by @tsekityam in #768
- Remove unused variables / add linting by @jsumners in #748
- bump listendev action to v0.2.0 by @fntlnz in #862
- Isaacs/node 20 loaders by @isaacs in #884
- TypeScript 5.2, use tshy for hybrid builds by @isaacs in #886
- Add --fail-skip/todo opts, better skip reporting by @isaacs in #901
- node:test interop round 1 by @isaacs in #905
- Isaacs/node test interop by @isaacs in #910
- more reporters by @isaacs in #926
- Compare and format React elements as JSX by @isaacs in #928
New Contributors
- @ranisalt made their first contribution in #250
- @mykmelez made their first contribution in #394
- @charmander made their first contribution in #410
- @customcommander made their first contribution in #424
- @stephenmathieson made their first contribution in #429
- @focusaurus made their first contribution in #433
- @maxbeatty made their first contribution in #441
- @goto-bus-stop made their first contribution in #540
- @0xflotus made their first contribution in #551
- @mcollina made their first contribution in #560
- @amio made their first contribution in #573
- @zkldi made their first contribution in #738
- @jsumners made their first contribution in #745
- @trivikr made their first contribution in #752
- @henriquehbr made their first contribution in #769
- @AndyA made their first contribution in #754
- @iRoachie made their first contribution in #782
- @tsekityam made their first contribution in #768
- @fntlnz made their first contribution in #862
Full Changelog: https://github.com/tapjs/tapjs/commits/[email protected]
[email protected]
Note: this is the first auto-generated release notes release for tap 18, and GitHub picked up every change in all the repos pulled into the monorepo since forever. It's not technically "incorrect" per se, but it is unhelpful. Moving forward, these will be hopefully much less absurd. My apologies for the spam if you were tagged in this.
What's Changed
- Show only master branch badge by @ranisalt in #250
- Buffered tests by @isaacs in #309
- update to latest release of nyc (fixes #373) by @mykmelez in #394
- Fix missing “not” in default message for strictNotSame by @charmander in #410
- Fix typos in docs + update contributing guide by @customcommander in #424
- docs: add unique page titles by @stephenmathieson in #429
- Add hexagonal-lambda to the tap 100 list by @focusaurus in #433
- add dotenv to the tap 100 list by @maxbeatty in #441
- Don't emit end while waiting for pipes to clear by @isaacs in #507
- Fix font-family typo by @jordanbtucker in #520
- Add support for --coverage-map= by @isaacs in #533
- Switch back to nyc release by @goto-bus-stop in #540
- fixed directory by @0xflotus in #551
- Remove sentence about Node 4 by @mcollina in #560
- Add
my-way
to 100 club by @amio in #573 - Exit with the yaml parse error on bad rc files by @isaacs in #614
- Add node.js 13 to testing by @coreyfarrell in #627
- Fix extra-from-error processing to handle Win32 absolute filenames by @coreyfarrell in #663
- Disable CI on Node.js 14 by @coreyfarrell in #667
- Fix circular import between mocha.js and tap.js by @coreyfarrell in #671
- Disable
ts
andjsx
by default, removeesm
by @coreyfarrell in #651 - Rename t.notEqual to t.not. by @zkldi in #738
- Remove unused import by @jsumners in #745
- Fix for #740 by @zkldi in #744
- gracefully handle the lack of a global.process object by @isaacs in #775
- Update Node.js min version to 10.x in CONTRIBUTING by @trivikr in #752
- Fix typo on the getting started guide by @henriquehbr in #769
- Add jsonpath-faster by @AndyA in #754
- docs: fix broken link by @iRoachie in #782
- Fix script on using node-tap with codecov by @tsekityam in #768
- Remove unused variables / add linting by @jsumners in #748
- bump listendev action to v0.2.0 by @fntlnz in #862
- Isaacs/node 20 loaders by @isaacs in #884
- TypeScript 5.2, use tshy for hybrid builds by @isaacs in #886
- Add --fail-skip/todo opts, better skip reporting by @isaacs in #901
- node:test interop round 1 by @isaacs in #905
- Isaacs/node test interop by @isaacs in #910
- more reporters by @isaacs in #926
New Contributors
- @ranisalt made their first contribution in #250
- @mykmelez made their first contribution in #394
- @charmander made their first contribution in #410
- @customcommander made their first contribution in #424
- @stephenmathieson made their first contribution in #429
- @focusaurus made their first contribution in #433
- @maxbeatty made their first contribution in #441
- @goto-bus-stop made their first contribution in #540
- @0xflotus made their first contribution in #551
- @mcollina made their first contribution in #560
- @amio made their first contribution in #573
- @zkldi made their first contribution in #738
- @jsumners made their first contribution in #745
- @trivikr made their first contribution in #752
- @henriquehbr made their first contribution in #769
- @AndyA made their first contribution in #754
- @iRoachie made their first contribution in #782
- @tsekityam made their first contribution in #768
- @fntlnz made their first contribution in #862
Full Changelog: https://github.com/tapjs/tapjs/commits/[email protected]
v16.0.0
v15.0.0
15.0 - 2021-03-30
This is a major refactor of much of tap's internals, and a lot of new features.
BREAKING CHANGES
- Drop the use of the
@std/esm
module, in favor of native ES Modules. - Drop the inclusion of
typescript
by default. (Typescript still supported, but requires that you install it yourself.) .jsx
files only run automatically when--jsx
config is explicitly enabled.--check-coverage
on by default.- Drop support for node
<10
. - Separate
t.has
fromt.match
, so these are distinct. - Deprecate aliases.
- Do not report on test points filtered with
only
orgrep
options. - Resolve
t.test()
promise to the child test results, rather than the parent test. - Remove
callback
argument fromt.beforeEach
andt.afterEach
. Return a promise if you wish these methods to be async.
NEW FEATURES and BUG FIXES
- Restructure snapshot output folder, and change file extensions to
.cjs
. - Add
t.compareOptions
object to pass options to all the methods that usetcompare
(ie,t.has
,t.match
,t.same
, etc.) - Improved diffing and comparison output for long strings and buffers.
- Add
t.before
method. - Add
t.mock()
API for mocking calls torequire()
in modules being tested. - Inherit the
t.saveFixture
boolean option. - Create fixtures symbolic links as junctions if pointing at directories.
- Set both
FORCE_COLOR
andNO_COLOR
environment variables appropriately. - Pull initial
TS_NODE_COMPILER_OPTIONS
from test environment. - Run fixture cleanup aysnchronously on
t.teardown()
to minimize Windows folder locking issues. - Load
.taprc.yml
and.taprc.yaml
config files if present, and no.taprc
is present.
DEPENDENCIES and REFACTORING
- Extract most of the internal functionality to
libtap
. - Update
nyc
to version 15. - Conditional exports to limit diving into tap's internals except via supported APIs.