# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.0.0] - 2026-06-22

Modern monkey.

### Breaking changes

  - Now supports `node:test` only when run with `--test-reporter=tap`.

    **For Tape support, please stay on the 1.x branch.**

    I would have loved to have supported both and, given that TAP is meant to be standardised, I did try but there are just silly differences in the diagnostic information provided by `tape` and `node:test`, etc., that would have meant that neither version would have been the best it could be.

    I consider the Tape version of Tap Monkey (the 1.x branch) to be done. Please continue using it and, if there are any discovered bugs, I’ll be happy to fix them.

    Given Tape really isn’t necessary anymore with `node:test` being native and mostly based on it (and superior to it with concurrent tests, for example), Tap Monkey 2.x onwards will only support `node:test` when run with `--test-reporter=tap`.

### Improvements

  - Supports Tap 14 (replaced tap-out with tap-parser)
  - Reports plan errors separately.
  - Reports errors in tests separately to assertion errors.

## [1.6.1] - 2025-12-29

Silly monkey.

  - Actually exit with error when when bailing on fail (instead of with success code) 🙊

## [1.6.0] - 2025-12-29

Bail-on-fail monkey.

  - If you want the process to exit on first failure (e.g., you’re running your unit tests continuously until you hit an unpredictably-reproduced failure), set the `BAIL_ON_FAIL` environment flag before running the tests.

## [1.5.0] - 2025-12-29

Maintenance monkey.

  - Update all dependencies.
  - Fix failing test.
  - Remove all vulnerability warnings.

## [1.4.0] - 2022-05-24

Testy monkey.

## Added

  - 100% code coverage. Now using tape and *drumroll* Tap Monkey itself for the tests.

## [1.3.0] - 2021-03-05

Debug monkey.

## Added

  - Now displays console output from your app if there is any (useful for debugging).

## [1.2.0] - 2021-03-04

Bail-out monkey.

## Added

  - Handles bail-out events.

## Updated

  - tap-out: version 3.1.0 → 3.2.0

## [1.1.1] - 2021-03-03

Fix typos.

## [1.1.0] - 2021-03-03

Quiet monkey.

### Added

  - `--quiet` option: when passed, only an initial notice is shown that tests are running and no further updates are given unless there are failures or until the final summary and/or coverage report are shown. This might help folks using assistive devices like screen readers who might otherwise get overwhelmed by notifications of running/passing tests as well as anyone else who wants a generally calmer monkey.

## [1.0.0] - 2021-03-02

Initial release.
