chore(main): release 2.15.0 (#667)

🤖 I have created a release *beep* *boop*
---


##
[2.15.0](https://github.com/folke/snacks.nvim/compare/v2.14.0...v2.15.0)
(2025-01-23)


### Features

* **debug:** truncate inspect to 2000 lines max
([570d219](570d2191d5))
* **input:** input history. Closes
[#591](https://github.com/folke/snacks.nvim/issues/591)
([80db91f](80db91f03e))
* **input:** persistent history. Closes
[#591](https://github.com/folke/snacks.nvim/issues/591)
([0ed68bd](0ed68bdf72))
* **picker.debug:** more info about potential leaks
([8d9677f](8d9677fc47))
* **picker.filter:** Filter arg for filter
([5a4b684](5a4b684c0d))
* **picker.finder:** optional transform function
([5e69fb8](5e69fb83d5))
* **picker.format:** `filename_only` option
([0396bdf](0396bdfc3e))
* **picker.git:** git_log, git_log_file, git_log_line now do
git_checkout as confirm. Closes
[#722](https://github.com/folke/snacks.nvim/issues/722)
([e6fb538](e6fb5381a9))
* **picker.help:** add more color to help tags
([5778234](5778234e39))
* **picker.keymaps:** add global + buffer toggles
([#705](https://github.com/folke/snacks.nvim/issues/705))
([b7c08df](b7c08df2b8))
* **picker.keymaps:** improvements to keymaps picker
([2762c37](2762c37eb0))
* **picker.matcher:** frecency and cwd bonus can now be enabled on any
picker
([7b85dfc](7b85dfc6f6))
* **picker.multi:** multi now also merges keymaps
([8b2c78a](8b2c78a3bf))
* **picker.preview:** better positioning of preview location
([3864955](38649556ee))
* **picker.preview:** fallback highlight of results when no `end_pos`.
Mostly useful for grep.
([d12e454](d12e454339))
* **picker.smart:** add bufdelete actions from buffers picker
([#679](https://github.com/folke/snacks.nvim/issues/679))
([67fbab1](67fbab1bf7))
* **picker.smart:** re-implemented smart as multi-source picker
([450d1d4](450d1d4d4c))
* **picker.util:** smart path truncate. Defaults to 40. Closes
[#708](https://github.com/folke/snacks.nvim/issues/708)
([bab8243](bab8243395))
* **picker:** added `lazy` source to search for a plugin spec. Closes
[#680](https://github.com/folke/snacks.nvim/issues/680)
([d03bd00](d03bd00ced))
* **picker:** added `opts.rtp` (bool) to find/grep over files in the
rtp. See [#680](https://github.com/folke/snacks.nvim/issues/680)
([9d5d3bd](9d5d3bdb17))
* **picker:** added new `icons` picker for nerd fonts and emoji. Closes
[#703](https://github.com/folke/snacks.nvim/issues/703)
([97898e9](97898e910d))
* **picker:** getters and setters for cwd
([2c2ff4c](2c2ff4caf8))
* **picker:** multi source picker. Combine multiple pickers (as opposed
to just finders) in one picker
([9434986](9434986ff1))
* **picker:** persistent history. Closes
[#528](https://github.com/folke/snacks.nvim/issues/528)
([ea665eb](ea665ebad1))
* **picker:** preview window horizontal scrolling
([#686](https://github.com/folke/snacks.nvim/issues/686))
([bc47e0b](bc47e0b1dd))
* **picker:** syntax highlighting for command and search history
([efb6d1f](efb6d1f8b8))
* **profiler:** added support for `Snacks.profiler` and dropped support
for fzf-lua / telescope. Closes
[#695](https://github.com/folke/snacks.nvim/issues/695)
([ada83de](ada83de952))


### Bug Fixes

* **picker.actions:** `checktime` after `git_checkout`
([b86d90e](b86d90e3e9))
* **picker.async:** better handling of abort and schedule/defer util
function
([dfcf27e](dfcf27e2a9))
* **picker.async:** fixed aborting a coroutine from the coroutine
itself. See [#665](https://github.com/folke/snacks.nvim/issues/665)
([c1e2c61](c1e2c619b2))
* **picker.files:** include symlinks
([dc9c6fb](dc9c6fbd02))
* **picker.frecency:** track visit on BufWinEnter instead of BufReadPost
and exclude floating windows
([024a448](024a448e52))
* **picker.git_branches:** handle detached HEAD
([#671](https://github.com/folke/snacks.nvim/issues/671))
([390f687](390f687431))
* **picker.git:** `--follow` only works for `git_log_file`. Closes
[#666](https://github.com/folke/snacks.nvim/issues/666)
([23a8668](23a8668ef0))
* **picker.git:** parse all detached states. See
[#671](https://github.com/folke/snacks.nvim/issues/671)
([2cac667](2cac6678a9))
* **picker.grep:** off-by-one for grep results col
([e3455ef](e3455ef4dc))
* **picker.icons:** bump build for nerd fonts
([ba108e2](ba108e2aa8))
* **picker.icons:** fix typo in Nerd Fonts and display the full category
name ([#716](https://github.com/folke/snacks.nvim/issues/716))
([a4b0a85](a4b0a85e3b))
* **picker.icons:** opts.icons -> opts.icon_sources. Fixes
[#715](https://github.com/folke/snacks.nvim/issues/715)
([9e7bfc0](9e7bfc05d5))
* **picker.input:** better handling of `stopinsert` with prompt buffers.
Closes [#723](https://github.com/folke/snacks.nvim/issues/723)
([c2916cb](c2916cb526))
* **picker.input:** correct cursor position in input when cycling /
focus. Fixes [#688](https://github.com/folke/snacks.nvim/issues/688)
([93cca7a](93cca7a4b3))
* **picker.lsp:** include_current on Windows. Closes
[#678](https://github.com/folke/snacks.nvim/issues/678)
([66d2854](66d2854ea0))
* **picker.lsp:** make `lsp_symbols` work for unloaded buffers
([9db49b7](9db49b7e6c))
* **picker.lsp:** schedule_wrap cancel functions and resume when no
clients
([6cbca8a](6cbca8adff))
* **picker.lsp:** use async from ctx
([b878caa](b878caaddc))
* **picker.lsp:** use correct buf/win
([8006caa](8006caadb3))
* **picker.preview:** clear buftype for file previews
([5429dff](5429dff1cd))
* **picker.undo:** use new API. Closes
[#707](https://github.com/folke/snacks.nvim/issues/707)
([79a6eab](79a6eabd31))
* **picker.util:** for `--` args require a space before
([ee6f21b](ee6f21bbd6))
* **picker.util:** more relaxed resolve_loc
([964beb1](964beb1148))
* **picker.util:** prevent empty shortened paths if it's the cwd. Fixes
[#721](https://github.com/folke/snacks.nvim/issues/721)
([14f16ce](14f16ceb5d))
* **picker:** better handling of buffers with custom URIs. Fixes
[#677](https://github.com/folke/snacks.nvim/issues/677)
([cd5eddb](cd5eddb1de))
* **picker:** don't jump to invalid positions. Fixes
[#712](https://github.com/folke/snacks.nvim/issues/712)
([51adb67](51adb6792e))
* **picker:** don't try showing the preview when the picker is closed.
Fixes [#714](https://github.com/folke/snacks.nvim/issues/714)
([11c0761](11c0761055))
* **picker:** resume. Closes
[#709](https://github.com/folke/snacks.nvim/issues/709)
([9b55a90](9b55a907bd))
* **picker:** starting a picker from the picker sometimes didnt start in
insert mode. Fixes
[#718](https://github.com/folke/snacks.nvim/issues/718)
([08d4f14](08d4f14cd8))
* **picker:** update title on find. Fixes
[#717](https://github.com/folke/snacks.nvim/issues/717)
([431a24e](431a24e24e))
* **scroll:** handle buffer changes while animating
([3da0b0e](3da0b0ec11))
* **win:** better way of finding a main window when fixbuf is `true`
([84ee7dd](84ee7ddf54))
* **zen:** parent buf. Fixes
[#720](https://github.com/folke/snacks.nvim/issues/720)
([f314676](f31467637a))


### Performance Improvements

* **picker.frecency:** cache all deadlines on load
([5b3625b](5b3625bcea))
* **picker:** gc optims
([3fa2ea3](3fa2ea3115))
* **picker:** small optims
([ee76e9b](ee76e9ba67))
* **picker:** small optims for abort
([317a209](317a2093ea))
* **picker:** use picker ref in progress updater. Fixes
[#710](https://github.com/folke/snacks.nvim/issues/710)
([37f3888](37f3888dcc))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2025-01-23 23:58:29 +01:00 committed by GitHub
parent 5d55fdbdcd
commit 95bfaf1cb0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,84 @@
# Changelog
## [2.15.0](https://github.com/folke/snacks.nvim/compare/v2.14.0...v2.15.0) (2025-01-23)
### Features
* **debug:** truncate inspect to 2000 lines max ([570d219](https://github.com/folke/snacks.nvim/commit/570d2191d598d344ddd5b2a85d8e79d207955cc3))
* **input:** input history. Closes [#591](https://github.com/folke/snacks.nvim/issues/591) ([80db91f](https://github.com/folke/snacks.nvim/commit/80db91f03e3493e9b3aa09d1cd90b063ae0ec31c))
* **input:** persistent history. Closes [#591](https://github.com/folke/snacks.nvim/issues/591) ([0ed68bd](https://github.com/folke/snacks.nvim/commit/0ed68bdf7268bf1baef7a403ecc799f2c016b656))
* **picker.debug:** more info about potential leaks ([8d9677f](https://github.com/folke/snacks.nvim/commit/8d9677fc479710ae1f531fc52b0ac368def55b0b))
* **picker.filter:** Filter arg for filter ([5a4b684](https://github.com/folke/snacks.nvim/commit/5a4b684c0dd3eda10ce86f9710e085431a7656f2))
* **picker.finder:** optional transform function ([5e69fb8](https://github.com/folke/snacks.nvim/commit/5e69fb83d50bb79ff62352418733d11562e488d0))
* **picker.format:** `filename_only` option ([0396bdf](https://github.com/folke/snacks.nvim/commit/0396bdfc3eece8438ed6a978f1dbddf3f675ca36))
* **picker.git:** git_log, git_log_file, git_log_line now do git_checkout as confirm. Closes [#722](https://github.com/folke/snacks.nvim/issues/722) ([e6fb538](https://github.com/folke/snacks.nvim/commit/e6fb5381a9bfcbd0f1693ea9c7e3711045380187))
* **picker.help:** add more color to help tags ([5778234](https://github.com/folke/snacks.nvim/commit/5778234e3917999a0be1a5b8145dd83ab41035b3))
* **picker.keymaps:** add global + buffer toggles ([#705](https://github.com/folke/snacks.nvim/issues/705)) ([b7c08df](https://github.com/folke/snacks.nvim/commit/b7c08df2b8ff23e0293cfe06beaf60aa6fd14efc))
* **picker.keymaps:** improvements to keymaps picker ([2762c37](https://github.com/folke/snacks.nvim/commit/2762c37eb09bc434eba647d4ec079d6064d3c563))
* **picker.matcher:** frecency and cwd bonus can now be enabled on any picker ([7b85dfc](https://github.com/folke/snacks.nvim/commit/7b85dfc6f60538b0419ca1b969553891b64cd9b8))
* **picker.multi:** multi now also merges keymaps ([8b2c78a](https://github.com/folke/snacks.nvim/commit/8b2c78a3bf5a3ca52c8c9e46b9d15c288c59c5c1))
* **picker.preview:** better positioning of preview location ([3864955](https://github.com/folke/snacks.nvim/commit/38649556ee9f831e5d456043a796ae0fb115f8eb))
* **picker.preview:** fallback highlight of results when no `end_pos`. Mostly useful for grep. ([d12e454](https://github.com/folke/snacks.nvim/commit/d12e45433960210a16a37adc116e645e253578c1))
* **picker.smart:** add bufdelete actions from buffers picker ([#679](https://github.com/folke/snacks.nvim/issues/679)) ([67fbab1](https://github.com/folke/snacks.nvim/commit/67fbab1bf7f5c436e28af715097eecb2232eea59))
* **picker.smart:** re-implemented smart as multi-source picker ([450d1d4](https://github.com/folke/snacks.nvim/commit/450d1d4d4c218ac1df63924d29717caa61c98f27))
* **picker.util:** smart path truncate. Defaults to 40. Closes [#708](https://github.com/folke/snacks.nvim/issues/708) ([bab8243](https://github.com/folke/snacks.nvim/commit/bab8243395de8d8748a7295906bee7723b7b8190))
* **picker:** added `lazy` source to search for a plugin spec. Closes [#680](https://github.com/folke/snacks.nvim/issues/680) ([d03bd00](https://github.com/folke/snacks.nvim/commit/d03bd00ced5a03f1cb317b9227a6a1812e35a6c2))
* **picker:** added `opts.rtp` (bool) to find/grep over files in the rtp. See [#680](https://github.com/folke/snacks.nvim/issues/680) ([9d5d3bd](https://github.com/folke/snacks.nvim/commit/9d5d3bdb1747669d74587662cce93021fc99f878))
* **picker:** added new `icons` picker for nerd fonts and emoji. Closes [#703](https://github.com/folke/snacks.nvim/issues/703) ([97898e9](https://github.com/folke/snacks.nvim/commit/97898e910d92e50e886ba044ab255360e4271ffc))
* **picker:** getters and setters for cwd ([2c2ff4c](https://github.com/folke/snacks.nvim/commit/2c2ff4caf85ba1cfee3d946ea6ab9fd595ec3667))
* **picker:** multi source picker. Combine multiple pickers (as opposed to just finders) in one picker ([9434986](https://github.com/folke/snacks.nvim/commit/9434986ff15acfca7e010f159460f9ecfee81363))
* **picker:** persistent history. Closes [#528](https://github.com/folke/snacks.nvim/issues/528) ([ea665eb](https://github.com/folke/snacks.nvim/commit/ea665ebad18a8ccd6444df7476237de4164af64a))
* **picker:** preview window horizontal scrolling ([#686](https://github.com/folke/snacks.nvim/issues/686)) ([bc47e0b](https://github.com/folke/snacks.nvim/commit/bc47e0b1dd0102b58a90aba87f22e0cc0a48985c))
* **picker:** syntax highlighting for command and search history ([efb6d1f](https://github.com/folke/snacks.nvim/commit/efb6d1f8b8057e5f8455452c47ab769358902a18))
* **profiler:** added support for `Snacks.profiler` and dropped support for fzf-lua / telescope. Closes [#695](https://github.com/folke/snacks.nvim/issues/695) ([ada83de](https://github.com/folke/snacks.nvim/commit/ada83de9528d0825928726a6d252fb97271fb73a))
### Bug Fixes
* **picker.actions:** `checktime` after `git_checkout` ([b86d90e](https://github.com/folke/snacks.nvim/commit/b86d90e3e9c68f4d24a0208e873d35b0074c12b0))
* **picker.async:** better handling of abort and schedule/defer util function ([dfcf27e](https://github.com/folke/snacks.nvim/commit/dfcf27e2a90d4b262d2bd0e54c1b576dba296c73))
* **picker.async:** fixed aborting a coroutine from the coroutine itself. See [#665](https://github.com/folke/snacks.nvim/issues/665) ([c1e2c61](https://github.com/folke/snacks.nvim/commit/c1e2c619b229a3f2ccdc000a6fadddc7ca9f482d))
* **picker.files:** include symlinks ([dc9c6fb](https://github.com/folke/snacks.nvim/commit/dc9c6fbd028e0488a9292e030c788b72b16cbeca))
* **picker.frecency:** track visit on BufWinEnter instead of BufReadPost and exclude floating windows ([024a448](https://github.com/folke/snacks.nvim/commit/024a448e52563aadf9e5b234ddfb17168aa5ada7))
* **picker.git_branches:** handle detached HEAD ([#671](https://github.com/folke/snacks.nvim/issues/671)) ([390f687](https://github.com/folke/snacks.nvim/commit/390f6874318addcf48b668f900ef62d316c44602))
* **picker.git:** `--follow` only works for `git_log_file`. Closes [#666](https://github.com/folke/snacks.nvim/issues/666) ([23a8668](https://github.com/folke/snacks.nvim/commit/23a8668ef0b0c9d910c7bbcd57651d8889b0fa65))
* **picker.git:** parse all detached states. See [#671](https://github.com/folke/snacks.nvim/issues/671) ([2cac667](https://github.com/folke/snacks.nvim/commit/2cac6678a95f89a7e23ed668c9634eff9e60dbe5))
* **picker.grep:** off-by-one for grep results col ([e3455ef](https://github.com/folke/snacks.nvim/commit/e3455ef4dc96fac3b53f76e12c487007a5fca9e7))
* **picker.icons:** bump build for nerd fonts ([ba108e2](https://github.com/folke/snacks.nvim/commit/ba108e2aa86909168905e522342859ec9ed4e220))
* **picker.icons:** fix typo in Nerd Fonts and display the full category name ([#716](https://github.com/folke/snacks.nvim/issues/716)) ([a4b0a85](https://github.com/folke/snacks.nvim/commit/a4b0a85e3bc68fe1aeca1ee4161053dabaeb856c))
* **picker.icons:** opts.icons -&gt; opts.icon_sources. Fixes [#715](https://github.com/folke/snacks.nvim/issues/715) ([9e7bfc0](https://github.com/folke/snacks.nvim/commit/9e7bfc05d5e4a0f079f695cdd6869c219c762224))
* **picker.input:** better handling of `stopinsert` with prompt buffers. Closes [#723](https://github.com/folke/snacks.nvim/issues/723) ([c2916cb](https://github.com/folke/snacks.nvim/commit/c2916cb526d42fb6726cf9f7252ceb44516fc2f6))
* **picker.input:** correct cursor position in input when cycling / focus. Fixes [#688](https://github.com/folke/snacks.nvim/issues/688) ([93cca7a](https://github.com/folke/snacks.nvim/commit/93cca7a4b3923c291726305b301a51316b275bf2))
* **picker.lsp:** include_current on Windows. Closes [#678](https://github.com/folke/snacks.nvim/issues/678) ([66d2854](https://github.com/folke/snacks.nvim/commit/66d2854ea0c83339042b6340b29dfdc48982e75a))
* **picker.lsp:** make `lsp_symbols` work for unloaded buffers ([9db49b7](https://github.com/folke/snacks.nvim/commit/9db49b7e6c5ded7edeff8bec6327322fb6125695))
* **picker.lsp:** schedule_wrap cancel functions and resume when no clients ([6cbca8a](https://github.com/folke/snacks.nvim/commit/6cbca8adffd4014e9f67ba327f9c164f0412b685))
* **picker.lsp:** use async from ctx ([b878caa](https://github.com/folke/snacks.nvim/commit/b878caaddc7b91386ec95b3b2f034b275dc7f49a))
* **picker.lsp:** use correct buf/win ([8006caa](https://github.com/folke/snacks.nvim/commit/8006caadb3eedf2553a587497c508c01aadf098b))
* **picker.preview:** clear buftype for file previews ([5429dff](https://github.com/folke/snacks.nvim/commit/5429dff1cd51ceaa10134dbff4faf447823de017))
* **picker.undo:** use new API. Closes [#707](https://github.com/folke/snacks.nvim/issues/707) ([79a6eab](https://github.com/folke/snacks.nvim/commit/79a6eabd318d2b65d5786c4e3c2419eaa91c6240))
* **picker.util:** for `--` args require a space before ([ee6f21b](https://github.com/folke/snacks.nvim/commit/ee6f21bbd636e82691a0386f39f0c8310f8cadd8))
* **picker.util:** more relaxed resolve_loc ([964beb1](https://github.com/folke/snacks.nvim/commit/964beb11489afc2a2a1004bbb1b2b3286da9a8ac))
* **picker.util:** prevent empty shortened paths if it's the cwd. Fixes [#721](https://github.com/folke/snacks.nvim/issues/721) ([14f16ce](https://github.com/folke/snacks.nvim/commit/14f16ceb5d4dc53ddbd9b56992335658105d1d5f))
* **picker:** better handling of buffers with custom URIs. Fixes [#677](https://github.com/folke/snacks.nvim/issues/677) ([cd5eddb](https://github.com/folke/snacks.nvim/commit/cd5eddb1dea0ab69a451702395104cf716678b36))
* **picker:** don't jump to invalid positions. Fixes [#712](https://github.com/folke/snacks.nvim/issues/712) ([51adb67](https://github.com/folke/snacks.nvim/commit/51adb6792e1819c9cf0153606f506403f97647fe))
* **picker:** don't try showing the preview when the picker is closed. Fixes [#714](https://github.com/folke/snacks.nvim/issues/714) ([11c0761](https://github.com/folke/snacks.nvim/commit/11c07610557f0a6c6eb40bca60c60982ff6e3b93))
* **picker:** resume. Closes [#709](https://github.com/folke/snacks.nvim/issues/709) ([9b55a90](https://github.com/folke/snacks.nvim/commit/9b55a907bd0468752c3e5d9cd7e607cab206a6d7))
* **picker:** starting a picker from the picker sometimes didnt start in insert mode. Fixes [#718](https://github.com/folke/snacks.nvim/issues/718) ([08d4f14](https://github.com/folke/snacks.nvim/commit/08d4f14cd85466fd37d63b7123437c7d15bc87f6))
* **picker:** update title on find. Fixes [#717](https://github.com/folke/snacks.nvim/issues/717) ([431a24e](https://github.com/folke/snacks.nvim/commit/431a24e24e2a7066e44272f83410d7b44f497e26))
* **scroll:** handle buffer changes while animating ([3da0b0e](https://github.com/folke/snacks.nvim/commit/3da0b0ec11dff6c88e68c91194688c9ff3513e86))
* **win:** better way of finding a main window when fixbuf is `true` ([84ee7dd](https://github.com/folke/snacks.nvim/commit/84ee7ddf543aa1249ca4e29873200073e28f693f))
* **zen:** parent buf. Fixes [#720](https://github.com/folke/snacks.nvim/issues/720) ([f314676](https://github.com/folke/snacks.nvim/commit/f31467637ac91406efba15981d53cd6da09718e0))
### Performance Improvements
* **picker.frecency:** cache all deadlines on load ([5b3625b](https://github.com/folke/snacks.nvim/commit/5b3625bcea5ed78e7cddbeb038159a0041110c71))
* **picker:** gc optims ([3fa2ea3](https://github.com/folke/snacks.nvim/commit/3fa2ea3115c2e8203ec44025ff4be054c5f1e917))
* **picker:** small optims ([ee76e9b](https://github.com/folke/snacks.nvim/commit/ee76e9ba674e6b67a3d687868f27751745e2baad))
* **picker:** small optims for abort ([317a209](https://github.com/folke/snacks.nvim/commit/317a2093ea0cdd62a34f3a414e625f3313e5e2e8))
* **picker:** use picker ref in progress updater. Fixes [#710](https://github.com/folke/snacks.nvim/issues/710) ([37f3888](https://github.com/folke/snacks.nvim/commit/37f3888dccc922e4044ee1713c25dba51b4290d2))
## [2.14.0](https://github.com/folke/snacks.nvim/compare/v2.13.0...v2.14.0) (2025-01-20)