Skip to content

Releases: tapjs/tapjs

[email protected]

01 Oct 21:38
[email protected]
69c31a8
Compare
Choose a tag to compare

[email protected]

29 Sep 18:09
[email protected]
414d146
Compare
Choose a tag to compare

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 as Symbol.<key>, eg Symbol.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]

29 Sep 16:16
[email protected]
6e9c607
Compare
Choose a tag to compare

Bug-fix, actually turning off type checking by default, as intended.

[email protected]

28 Sep 21:36
[email protected]
3451d28
Compare
Choose a tag to compare
  • Compare and format React elements as JSX by @isaacs in #928

Full Changelog: https://github.com/tapjs/tapjs/commits/[email protected]

[email protected]

28 Sep 21:16
[email protected]
09506ad
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/tapjs/tapjs/commits/[email protected]

[email protected]

28 Sep 20:26
[email protected]
6aa1917
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: https://github.com/tapjs/tapjs/commits/[email protected]

v16.0.0

09 Mar 15:49
v16.0.0
8f2baa7
Compare
Choose a tag to compare

v15.0.0

31 Mar 16:31
v15.0.0
bc49fb7
Compare
Choose a tag to compare

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 from t.match, so these are distinct.
  • Deprecate aliases.
  • Do not report on test points filtered with only or grep options.
  • Resolve t.test() promise to the child test results, rather than the parent test.
  • Remove callback argument from t.beforeEach and t.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 use tcompare (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 to require() in modules being tested.
  • Inherit the t.saveFixture boolean option.
  • Create fixtures symbolic links as junctions if pointing at directories.
  • Set both FORCE_COLOR and NO_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.