Skip to content

Releases: japa/runner

Add timeTravel and freezeTime macros

17 Jan 08:07

Choose a tag to compare

5.3.0 (2026-01-17)

Features

  • add timeTravel and freezeTime macros (871e2d8)

Full Changelog: v5.2.0...v5.3.0

Fix latest release

10 Jan 01:08

Choose a tag to compare

Latest release (4.4.1) was broken because of a branch issue. This release fixes it

Features

  • automatically use dot reporter when running inside AI Agent (f9da5e0)

Use dot-reporter when running inside a process controlled by AI

09 Jan 19:41

Choose a tag to compare

5.2.0 (2026-01-09)

Features

  • automatically use dot reporter when running inside AI Agent (02a73cb)

Full Changelog: v5.0.0...v5.2.0

Dot reporter for AIs

09 Jan 19:41

Choose a tag to compare

Target Node 24 and replace fast-glob with fs.glob

13 Dec 07:58

Choose a tag to compare

5.0.0 (2025-12-13)

We have removed the usage of npm package fast-glob in favor of inbuilt fs.glob method that is part of the Node.js platform. Since, most of the Japa projects uses standard glob expressions, this change wouldn't cause any issues. However, if you were using advanced glob expressions that aren't supported by Node, then feel free to create an issue

Features

  • remove fast-glob package in favor of Node.js fs.glob f70c3e0

BREAKING CHANGES

  • The globs support behavior may different. However, we expect most Japa
    projects to use standard glob expressions and must work without any issues

Full Changelog: v4.4.0...v5.0.0

Add support for listing pinned tests and fail test suite when there are pinned tests

12 Aug 07:51

Choose a tag to compare

4.4.0 (2025-08-12)

disallowPinnedTests Plugin

The disallowPinnedTests plugin can be used to fail the test suite when there are one or more pinned tests. You may use it to disallow pinning tests when running in CI.

import { disallowPinnedTests } from '@japa/runner/plugins'

configure({
   plugins: [disallowPinnedTests({ disallow: !!process.env.CI })]
})
disallow-pinned-tests

List pinned tests

The --list-pinned flag can be used to view a list of all the pinned tests along with their source code location.

node bin/test.ts --list-pinned
pinned-tests

Features

  • add CLI flag to list pinned tests (5a60016)
  • add disallowPinnedTests plugin (94a966f)

Full Changelog: v4.3.1...v4.4.0

Replace deprecated find-cache-dir package with find-cache-directory

07 Aug 07:23

Choose a tag to compare

4.3.1 (2025-08-07)

Bug Fixes

  • replace deprecated find-cache-dir (#67) (b0e856d)

What's Changed

  • fix: replace deprecated find-cache-dir by @targos in #67

New Contributors

Full Changelog: v4.3.0...v4.3.1

Add getActiveTestOrFail method and return group from test.group method

21 Jul 05:43

Choose a tag to compare

4.3.0 (2025-07-21)

Features

What's Changed

New Contributors

Full Changelog: v4.2.0...v4.3.0

Add more debug logs

28 Jan 18:37

Choose a tag to compare

4.2.0 (2025-01-28)

Features

  • add more debug logs for easier debugging (0480c8a)

Full Changelog: v4.1.0...v4.2.0

Add Github annotations reporter

09 Jan 13:49

Choose a tag to compare

The Github annotations reporter reports test errors as workflow annotations. The reporter gets activated automatically in the Github actions environment

4.1.0 (2025-01-09)

Bug Fixes

  • incorrect base reporter import (5780063)
  • use unix slash in github annotations (a29115f)

Features

  • add github annotations reporter (23c7762)
  • enable github reporter when running in Github actions CI (9da5475)
  • make reporter private methods protected (d3e18a5)

Full Changelog: v4.0.0...v4.1.0