v10.0.0-beta.1
Pre-release
Pre-release
10.0.0-beta.1 (2019-11-14)
Bug Fixes
- add all modified files to git index with
git add .
(bf532c2) - correctly restore untracked files from backup stash (c7d0592)
- gitWorkflow handles active merge mode (2f1e886)
- keep untracked files around by backing them up (fc03fdc)
- no need to run
git clean -df
since untracked changes are stashed (869bac6) - prevent Listr from hiding git add warning (cce9809)
- retry failing apply with 3-way merge (76cb08f)
- try applying unstaged changes before handling errors (357934f)
- update warning about git add, and to README (6467a66)
- workaround for stashing deleted files for git < 2.23 (1a87333)
Features
- automatically stage task modifications (74ed28d)
- use git stashes for gitWorkflow (40a5db1)
- warn when task contains "git add" (5208399)
BREAKING CHANGES
- Prior to version 10, tasks had to manually include
git add
as the final step. This behavior has been integrated into lint-staged itself in order to prevent race conditions with multiple tasks editing the same files. If lint-staged detectsgit add
in task configurations, it will show a warning in the console. Please removegit add
from your configuration after upgrading.