Skip to content

Releases: lint-staged/lint-staged

v15.2.0

03 Dec 17:26
Compare
Choose a tag to compare

Minor Changes

  • #1371 f3378be 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.

Patch Changes

  • #1362 17bc480 Thanks @antonk52! - update [email protected]

  • #1368 7c55ca9 Thanks @iiroj! - Update most dependencies

  • #1368 777d4e9 Thanks @iiroj! - To improve performance, only use lilconfig when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly.

  • #1373 85eb0dd Thanks @iiroj! - When determining git directory, use fs.realpath() only for symlinks. It looks like fs.realpath() changes some Windows mapped network filepaths unexpectedly, causing issues.

v15.1.0

11 Nov 15:24
Compare
Choose a tag to compare

Minor Changes

  • #1344 0423311 Thanks @danielbayley! - Add support for loading configuration from package.yaml and package.yml files, supported by pnpm.

Patch Changes

v15.0.2

19 Oct 10:23
2ca6652
Compare
Choose a tag to compare

Patch Changes

v15.0.1

15 Oct 07:23
Compare
Choose a tag to compare

Patch Changes

  • #1217 d2e6f8b Thanks @louneskmt! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead.

v15.0.0

14 Oct 18:04
Compare
Choose a tag to compare

Major Changes

  • #1322 66b93aa Thanks @iiroj! - Require at least Node.js 18.12.0

    This release drops support for Node.js 16, which is EOL after 2023-09-11.
    Please upgrade your Node.js to the latest version.

    Additionally, all dependencies have been updated to their latest versions.

v14.0.1

21 Aug 09:48
fc3bfea
Compare
Choose a tag to compare

14.0.1 (2023-08-21)

Bug Fixes

  • fix reading config from stdin, introduced in v14.0.0 (#1317) (fc3bfea)

v14.0.0

13 Aug 20:39
9da8777
Compare
Choose a tag to compare

14.0.0 (2023-08-13)

Features

BREAKING CHANGES

  • Please upgrade your Node.js version to at least 16.14.0.

v13.3.0

13 Aug 16:50
f895e97
Compare
Choose a tag to compare

13.3.0 (2023-08-13)

Maintainer's note: Version v13.3.0 was incorrectly released including code of version v14.0.0. This means the breaking changes of v14 are also included in v13.3.0, the last v13 version released

Bug Fixes

  • dependencies: update most dependencies (7443870)
  • detect duplicate redundant braces in pattern (d895aa8)

Features

v13.2.3

28 Jun 06:58
66a716d
Compare
Choose a tag to compare

13.2.3 (2023-06-28)

Bug Fixes

  • the --diff option implies --no-stash (66a716d)

v13.2.2

26 Apr 12:30
cf691aa
Compare
Choose a tag to compare

13.2.2 (2023-04-26)

Bug Fixes