|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 0.3.11 |
| 4 | + |
| 5 | +Released on 2026-04-27. |
| 6 | + |
| 7 | +### Highlights |
| 8 | + |
| 9 | +Hook entries now have an explicit `shell` option for shell snippets. Set |
| 10 | +`shell: sh`, `bash`, `pwsh`, `powershell`, or `cmd` when an entry should be |
| 11 | +evaluated by that shell; leaving it unset keeps prek's direct argv execution. |
| 12 | + |
| 13 | +`prek auto-update` can now filter tag candidates before choosing an update. |
| 14 | +Both options take glob patterns: use `--include-tag` to only consider matching |
| 15 | +tag names, and `--exclude-tag` to skip matching tags such as moving tags or |
| 16 | +prereleases. |
| 17 | + |
| 18 | +### Enhancements |
| 19 | + |
| 20 | +- Add `auto-update --exclude-repo <repo>` to skip repos ([#1983](https://github.com/j178/prek/pull/1983)) |
| 21 | +- Add `auto-update --exit-code` to exit with non-zero on updates ([#2002](https://github.com/j178/prek/pull/2002)) |
| 22 | +- Add `auto-update --include-tag <pattern>`/`--exclude-tag <pattern>` to filter tags ([#1984](https://github.com/j178/prek/pull/1984)) |
| 23 | +- Adds an explicit `shell` hook option for entries that should run as shell source ([#2004](https://github.com/j178/prek/pull/2004)) |
| 24 | +- Make `--hook-dir` optional for hook-impl ([#1989](https://github.com/j178/prek/pull/1989)) |
| 25 | +- Skip shim warning when `--script-version` is missing ([#1990](https://github.com/j178/prek/pull/1990)) |
| 26 | + |
| 27 | +### Bug fixes |
| 28 | + |
| 29 | +- Install Ruby executable in gem bin ([#2017](https://github.com/j178/prek/pull/2017)) |
| 30 | +- Use dedicated Android npm package ([#1982](https://github.com/j178/prek/pull/1982)) |
| 31 | +- Use stable repo keys without breaking cached clones ([#1995](https://github.com/j178/prek/pull/1995)) |
| 32 | + |
| 33 | +### Documentation |
| 34 | + |
| 35 | +- Explain prek name ([#1980](https://github.com/j178/prek/pull/1980)) |
| 36 | +- Clarify `pass_filenames` concurrency docs ([#1999](https://github.com/j178/prek/pull/1999)) |
| 37 | +- Reorganize documentation references ([#2005](https://github.com/j178/prek/pull/2005)) |
| 38 | +- Clarify hook author manifest env docs ([#1991](https://github.com/j178/prek/pull/1991)) |
| 39 | +- docs: add Sentry to users list ([#1981](https://github.com/j178/prek/pull/1981)) |
| 40 | + |
| 41 | +### Contributors |
| 42 | + |
| 43 | +- @j178 |
| 44 | + |
3 | 45 | ## 0.3.10 |
4 | 46 |
|
5 | 47 | Released on 2026-04-21. |
|
0 commit comments