[create-jest] Add npm init / yarn create initialiser for Jest projects (#14465)
[jest-validate] Allow deprecation warnings for unknown options (#14499)
Fixes
[jest-resolver] Replace unmatched capture groups in moduleNameMapper with empty string instead of undefined (#14507)
[jest-snapshot] Allow for strings as well as template literals in inline snapshots (#14465)
[@jest/test-sequencer] Calculate test runtime if perStats.duration is missing (#14473)
Performance
[@jest/create-cache-key-function] Cache access of NODE_ENV and BABEL_ENV (#14455)
Chore & Maintenance
[jest-cli] Move internal config initialisation logic to the create-jest package (#14465)
29.6.4
Fixes
[jest-core] Fix typo in scheduleAndRun performance marker (#14434)
[jest-environment-node] Make sure atob and btoa are writeable in Node 20 (#14446)
[jest-worker] Additional error wrapper for parentPort.postMessage to fix unhandled DataCloneError. (#14437)
29.6.3
Fixes
[expect, @jest/expect-utils]ObjectContaining support sumbol as key (#14414)
[expect] Remove @types/node from dependencies (#14385)
[jest-core] Use workers in watch mode by default to avoid crashes (#14059 & #14085).
[jest-reporters] Update istanbul-lib-instrument dependency to v6. (#14401)
[jest-mock] Revert #13692 as it was a breaking change (#14429)
[jest-mock] Revert #13866 as it was a breaking change (#14429)
[jest-mock] Revert #13867 as it was a breaking change (#14429)
[@jest/reporters] Marks Reporter's hooks as optional (#14433)
[jest-runtime] Fix dynamic ESM import module bug when loaded module through jest.isolateModulesAsync (#14397)
Chore & Maintenance
[jest-changed-files, jest-circus, jest-console, @jest/core, @jest/runtime, @jest/transform] Use invariant and notEmpty from jest-util rather than own internal (#14366)
#1440a51be80 Thanks @iiroj! - In the previous version the native git rev-parse --show-toplevel command was taken into use for resolving the current git repo root. This version drops the --path-format=absolute option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading git to the latest version.
v15.2.6
Patch Changes
#1433119adb2 Thanks @iiroj! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems.
v15.2.5
Patch Changes
#142431a1f95 Thanks @iiroj! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available.
#142391abea0 Thanks @iiroj! - Improve error logging when failing to read or parse a configuration file
#1391fdcdad4 Thanks @iiroj! - Lint-staged no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.
v15.2.1
Patch Changes
#1387e4023f6 Thanks @iiroj! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, lint-staged has used the default settings to spawn linter commands. This means the stdin of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the stdin is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended.
v15.2.0
Minor Changes
#1371f3378be Thanks @iiroj! - Using the --no-stash flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag --no-hide-partially-staged that is automatically enabled when --no-stash is used.
#1440a51be80 Thanks @iiroj! - In the previous version the native git rev-parse --show-toplevel command was taken into use for resolving the current git repo root. This version drops the --path-format=absolute option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgrading git to the latest version.
15.2.6
Patch Changes
#1433119adb2 Thanks @iiroj! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems.
15.2.5
Patch Changes
#142431a1f95 Thanks @iiroj! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available.
#142391abea0 Thanks @iiroj! - Improve error logging when failing to read or parse a configuration file
#1391fdcdad4 Thanks @iiroj! - Lint-staged no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout.
15.2.1
Patch Changes
#1387e4023f6 Thanks @iiroj! - Ignore stdin of spawned commands so that they don't get stuck waiting. Until now, lint-staged has used the default settings to spawn linter commands. This means the stdin of the spawned commands has accepted input, and essentially gotten stuck waiting. Now the stdin is ignored and commands will no longer get stuck. If you relied on this behavior, please open a new issue and describe how; the behavior has not been intended.
We've got a massive feature in this release: TypeScript Configuration File Support. Read further to find out more!
Breaking Changes
Node 12, 14, and 16 support has been dropped
Features
TypeScript Configuration Support
The major feature of this release is support for TypeScript plopfile.ts files out-of-the-box (plopjs/plop#297). This is a long-standing feature request and it's now live!
While we have an E2E test to validate that this feature works, please let us know if there's any issues with it.
It's clear to us now that this feature wasn't in the oven quite long enough. Please check plopjs/plop#297 for status updates. Apologies for the miscommunication.
Bumps braces to 3.0.3 and updates ancestor dependencies braces, @babel/cli, @storybook/addon-essentials, @storybook/react, add-asset-html-webpack-plugin, jest-cli, lint-staged, node-plop, plop, stylelint, webpack and webpack-cli. These dependencies need to be updated together.
Updates
braces
from 3.0.2 to 3.0.3Commits
74b2db2
3.0.388f1429
update eslint. lint, fix unit tests.415d660
Snyk js braces 6838727 (#40)190510f
fix tests, skip 1 test in test/braces.expand716eb9f
readme bumpa5851e5
Merge pull request #37 from coderaiser/fix/vulnerability2092bd1
feature: braces: add maxSymbols (https://github.com/micromatch/braces/issues/...9f5b4cf
fix: vulnerability (https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727)98414f9
remove funding file665ab5d
update keepEscaping doc (#27)Updates
@babel/cli
from 7.4.3 to 7.24.7Release notes
Sourced from
@babel/cli
's releases.... (truncated)
Changelog
Sourced from
@babel/cli
's changelog.... (truncated)
Commits
bf1e9a3
v7.24.7ec0c62a
fix Babel 8 commander import (#16548)7934963
Usetype: module
in allpackage.json
s (#16535)a21475a
[Babel 8] Bump commander to 12.1.0 (#16517)9630250
v7.24.64f1e42b
bump commander to 6.2.0 (#16509)db3e9a6
Move all runtime helpers to individual files (#16495)6e3539b
[babel 8] Publish.d.ts
files for every package (#16416)e37e64d
Use eslint v9 (#16479)fed85fb
[Babel 8] Use more native fs methods (#16459)Updates
@storybook/addon-essentials
from 6.2.8 to 6.5.16Changelog
Sourced from
@storybook/addon-essentials
's changelog.... (truncated)
Commits
Updates
@storybook/react
from 6.2.8 to 6.5.16Changelog
Sourced from
@storybook/react
's changelog.... (truncated)
Commits
Updates
add-asset-html-webpack-plugin
from 3.1.3 to 6.0.0Release notes
Sourced from add-asset-html-webpack-plugin's releases.
... (truncated)
Commits
fc3213f
fix: drop support forwebpack@v4
(#355)06cfdf3
chore(deps): lock file maintenance658a05a
chore(deps): lock file maintenance (#351)bc9718d
chore(deps): update yarn to v3.5.1 (#352)a0cbc1f
chore(deps): lock file maintenance75e7e58
chore(deps): lock file maintenance3f57e1c
chore(deps): lock file maintenance296d512
chore(deps): lock file maintenance90f9f83
chore(deps): update yarn to v3.5.0 (#344)01c8037
chore(deps): lock file maintenanceUpdates
jest-cli
from 24.7.1 to 29.7.0Release notes
Sourced from jest-cli's releases.
... (truncated)
Changelog
Sourced from jest-cli's changelog.
... (truncated)
Commits
4e56991
v29.7.00b0cf73
feat(create-jest): Addnpm init
/yarn create
initialiser (#14453)55cd6a0
v29.6.4fb7d95c
v29.6.349bacb9
chore: update jest repo organisation in urls (#14413)0fd5b1c
v29.6.21f019af
v29.6.1c1e5b8a
v29.6.06ffa48d
chore: upgrade TypeScript to v5 (#14155)d91ab8e
feat(jest-cli): include type definitions to generated config files (#14078)Maintainer changes
This version was pushed to npm by simenb, a new releaser for jest-cli since your current version.
Updates
lint-staged
from 8.1.5 to 15.2.7Release notes
Sourced from lint-staged's releases.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
... (truncated)
Commits
87e4b30
chore(changeset): release (#1441)a39e829
docs: adjust changeseta51be80
fix: drop option to support earlier Git versionsa91d942
chore(changeset): release119adb2
fix: use native git command to get .git directorye0386dc
fix: use native git command to get top-level directory for repo6593870
ci: test Node.js versions against current instead of latest dependency6c226c5
ci: add workflow for testing required Node.js semver rangef7e4106
chore(changeset): releasefc75303
build(release): lower next version bump from minor to patchUpdates
node-plop
from 0.18.0 to 0.32.0Release notes
Sourced from node-plop's releases.
Changelog
Sourced from node-plop's changelog.
Commits
83730b4
chore!: migrate to inquirer v974513fc
chore: update various major packagesed88307
chore: fix TypeScript3026d78
chore: apply autoformatting from new Prettier1a52401
chore: update TypeScript and all ESLint plugins6f65231
chore: upgrade minor releases of depsb3418fc
chore: remove promisify util973c1ce
Bump packages8e302df
Merge pull request #352 from trmnl-cmdr/fix-append-dynamic-templatefile9a4cf25
Merge pull request #354 from bradgarropy/checkbox-bypassMaintainer changes
This version was pushed to npm by crutchcorn, a new releaser for node-plop since your current version.
Updates
plop
from 2.3.0 to 4.0.1Release notes
Sourced from plop's releases.