Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release 2.0.0 #639

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

github-actions[bot]
Copy link
Contributor

🤖 I have created a release beep boop

2.0.0 (2023-10-25)

⚠ BREAKING CHANGES

  • command redirection! Redirect messages generated by a command or function to a different view
  • lsp hover/signatureHelp and message are now enabled by default. Disable in the config if you don't want this.

Features

  • :Noice now has subcommands, full commands and a lua api require("noice").cmd("last") (88767a6)
  • add circleFull spinner (#495) (5427398)
  • add scrollbar to all nui views (0630e94)
  • added Filter.cond to conditionally use a route (29a2e05)
  • added Noice dismiss to hide all visible messages. Fixes #417 (a32bc89)
  • added cmdline formatter help (7f0ecd8)
  • added config options for input() cmdline. Fixes #115 (b645e30)
  • added config.lsp.hover. Undocumented for now and disabled by default. (c2f37ed)
  • added configurable commands (e9ccf78)
  • added custom handlers for markdown links and help tags (37e7203)
  • added deactivate (bf216e0)
  • added different closing and focusing ways to lsp hover (0402182)
  • added health check for GUI's with multigrid enabled (0fdedab)
  • added health checks to see if other plugins have overwritten Noice handlers (906c6c8)
  • added markdown to treesitter health checks (7c955cc)
  • added methods that can be mapped for scrolling the hover/signatureHelp windows (a6ad24e)
  • added notify.timeout. Set it on a view to change the deafault timeout (feaf5c4)
  • added option to disable smart_move (8600a03)
  • added option to disable the health checker (a2f6e4c)
  • added optional col to start highlighting with treesitter/syntax (ccb7e56)
  • added overrides for default lsp and cmp formatters :) Enable with config.lsp.override (6d9fb12)
  • added preset to set hover docs and signature help border (e34db67)
  • added routing of LSP window/showMessage (75730f4)
  • added suport for Luasnip jump targets to signature help (c09d197)
  • added support for <pre>{lang} code blocks used in the Neovim codebase (de48a45)
  • added support for filtering messages generated by a command on the commandline (b3ee385)
  • added support for negative positions. Fixes #179 (8d7a63c)
  • added title option to cmdline format (42d771a)
  • always use the global notify instance and set animate=false when blocking (edc8df6)
  • automatically move out of the way of existing floating windows. Fixes #117 (a810700)
  • better defaults for history and last (cdb25b8)
  • cmdline: added cmdline support for :lua= and := (acfa513)
  • cmdline: added support for FloatTitle and added proper default (79c7059)
  • cmp: incude item.detail when it's not part of item.documentation (c2a745a)
  • command redirection! Redirect messages generated by a command or function to a different view (a8b3117)
  • conceal markdown escape characters. Fixes #170 (6824794)
  • config: add calculator to cmdline formats (#240) (fa21685)
  • don't hide mini messages when blocking #112 (6b9144d)
  • don't process events that are disabled in config & disable ext that are enabled in the attached GUI (abb5721)
  • dont show lsp doc when empty (a61a07f)
  • format: allow config.format.level.icons to be false. Fixes #274 (aa68eb6)
  • health: added check for vim-sleuth (2d11c5b)
  • health: added markdown_inline to treesitter checks (d525285)
  • health: show what other plugin is overriding a Noice handler (84dcdf3)
  • improved smart move. Added filetype exclusions and only move out when overlap > 30%. Fixes #130 (c63267d)
  • keep track of where messages are displayed (13097dc)
  • lsp hover/signatureHelp and message are now enabled by default. Disable in the config if you don't want this. (9130fd1)
  • lsp signature help (2a19f32)
  • lsp: added config.lsp.hover.silent. Fixes #412 (e2a53cf)
  • lsp: added custom formatters for lsp hover and made :help work in hover text (63c70a9)
  • lsp: fallback to buffer filetype for code blocks without lang. Fixes #378 (cab2c80)
  • manage message state without msg_clear (#209) (fb0e3b0)
  • markdown formatter (6ea06c9)
  • new markdown renderer without empty lines around code blocks. Fixes #158 (111fe5e)
  • noice presets (c43d82b)
  • notify: added plain renderer (345fccc)
  • open :messages and history in a split with enter=true (7beef93)
  • popupmenu: allow different views for regular/cmdline popupmenu (af706c4)
  • preset for inc_rename (91c79a0)
  • properly calculate buf height taking wrap into account (add20ee)
  • properly calculate layout in case of max_width and wrap (83c837e)
  • removed default &lt;esc&gt; handler from split view (fb10fa2)
  • replace html entities. Fixes #168 (7e3e958)
  • set default view for hover to hover (dafcddd)
  • set default zindex for hover to 45. Lower than cmp and notify (0bf5f9e)
  • show warning when running with TUI rework (cf2231b)
  • signature: added signature param docs. Fixes #421 (e76ae13)
  • smart positioning of the hover window. Make sure to update Nui as well to use this. (5bd6e30)
  • Support hide scrollbar for view (#603) (f700175)
  • ui: added hybrid messages functionality, but not needed for now (addc0a2)

Bug Fixes

  • accept preset as a table (#582) (53d613c)
  • activate vim-sleuth hack. See #139 (e99990f)
  • added debugging info for #220 (6de461b)
  • Allow mapping <esc> (#329) (b7e9054)
  • always show cursorline and reset to line for popupmenu. Fixes #239 (c7f666c)
  • anchor popupmenu to SW for bottom cmdline. Fixes #134 (9102aef)
  • better handling of splitkeep for nui splits (84d1904)
  • better way of showing/hiding cursor (10a97a0)
  • block: better deal with carriage return characters (take 2) (ee24b36)
  • calculate negative offsets based off minmax. Fixes #179 (cf2912d)
  • call update_screen during cmdpreview to fix cursor movement. Fixes #131 (23da4ed)
  • check for nil on zindex. Fixes #129 (07465b3)
  • check if loader returned a function before loading (66946c7)
  • check if plugin is noice (7b62ccf)
  • check item.detail is type of table (#595) (3670766)
  • cleanup progress messages from lsp clients that died. Fixes #175 (e084d3b)
  • cmdline: better and safer way to trigger redraw during cmdpreview (02ed6d4)
  • cmdline: dont use normal commands so ModeChanged will trigger correctly. Fixes #390 (fa7b6a1)
  • cmdline: fixed a byte offset issue with the new virtual inline text (a13a88f)
  • cmdline: make sure cursor is always visible (2f0a427)
  • cmp popupmenu position (#183) (8db0420)
  • config.cmdline.opts now overrides any option from the cmdline formats (2851fc2)
  • config: allow overriding options set by presets (5a1bf17)
  • config: correctly set the presets (e5cb84f)
  • config: properly deal with preset routes. Fixes #517 (fea7f1c)
  • confirm: keep newlines in confirm message. Fixes #422 (051111f)
  • correctly apply padding based on four numbers (c9c1fbd)
  • correctly calculate popupmenu width based on border and padding. Fixes #122 (b152bf5)
  • debug: calculate stacktrace outisde of vim schedule to make it useful (a5de1ca)
  • debug: only concat debug info that is a string (78ec5c6)
  • disable all signature help when signature is disabled. Fixes #104 (58f52e3)
  • disable vim-sleuth for Noice buffers (d148e1a)
  • disable winbar on Noice windows (1b37f74)
  • do render after mount Fixes #150 (7e2e449)
  • don't try smart move between noice windows (4a46ba3)
  • dont check cmdpreview on windows. Fixes #229 (b10bbbb)
  • dont check lazyredraw when Noice is running (a202a22)
  • dont error if cmp not loaded when overriding (4bae487)
  • dont error in checkhealth if nvim-treesitter is not installed (044767a)
  • dont hide cursor on input. Fixes #585. Fixes #566 (819a5bf)
  • dont make scrollbars focusable (e226401)
  • dont render views when not running. Fixes #200 (9dc2508)
  • dont restore cursor when exiting. Fixes #230 (0115097)
  • dont show if window is closed while showing. Fixes #208 (a8402e8)
  • export scroll in noice.lsp. See #161 (0fe5a1e)
  • fallback to syntax if treesitter parser is not available (882e58c)
  • fix lsp showMessage. Fixes #220 (5ff75a5)
  • fixed flickering during substitute & cmdpreview (1702772)
  • force cmdline redraw only when pum is not visible. Fixes #188. Closes #189 (412594c)
  • guicursor behaves weird, when resetting too fast. Delay by 100ms. Fixes #114 (3710528)
  • hacks: make sure the cursor is properly updated before getchar (0cca940)
  • handle vim.notify nil messages for nvim-notify. Fixes #109 (83b60f2)
  • health: added info on how to disable overwritten by other plugins (a4c3d48)
  • health: allow running in GUIs with multigrid (71a7591)
  • health: correctly check if lsp.message is enabled (#381) (1ff6b10)
  • health: dont use nvim-treesitter to check if a lang exists (585d24e)
  • health: fix deprecated health checks healthcheck (#438) (0f12ed3)
  • health: only check for lazyredraw during startup (46a40bd)
  • hide cursor with vim.schedule to keep Neovide from crashing (c4ba29d)
  • hide scroll if it was shown before. Fixes #216 (f5ac589)
  • icons: removed all obsolete icons thanks to nerdfix (cf6a194)
  • improved markdown empty line handling (8cd47e0)
  • incorrect active param for some lsp. Fixes #162 (c7f1fca)
  • keep correct case for prefix match in popupmenu (4757fd9)
  • keep signature help open as long as the last non-whitespace character is a trigger character (5f4544f)
  • let all the cmdline hl groups fallback to the default one (040fca5)
  • load defaults as function to prevent require loops on older neovim versions (48ffb9b)
  • lsp: add non-nil guard to setup function (#454) (4524216)
  • lsp: allow whitespace info string in markdown (#535) (1343acc)
  • lsp: dont show lsp progress for lsp clients that died. Fixes #207 (6afc974)
  • lsp: return true if scrolling succeeded (5750c09)
  • make ffi behave with plugin reloaders (7e78236)
  • make help match :help as well. Fixes #135 (dc33efa)
  • make nui views nomodifiable (f674f03)
  • make search_count work with nohlsearch. Fixes #217 (80ec5b8)
  • make split views behave with splitkeep and restore cursor position after re-render (0b1fb33)
  • make sure we always have an encoding for getting signatureHelp (ba36767)
  • markdown: better check to see if a ts parser is available. Fixes #397 (d60bee1)
  • markdown: code block, rule, codeblock should only render one rule (feb8e4d)
  • markdown: conceal escaping forward slashes. Fixes #455 (a7246aa)
  • markdown: replace &lt;code&gt;. Fixes #424 (38fb652)
  • markdown: replace additional html entities (#448) (d31fe94), closes #447
  • markdown: revert (d767be9)
  • markdown: strip "\r" chars (4d2801b)
  • mini focusable=false by default (04794f6)
  • noautocmd for ze in cmdline. Fixes #206 (8d088aa)
  • notify_send: properly close file descriptors from spwaning notifysend (f5132fa)
  • notify: better way of finding rendering offset. Fixes #181 (dbadd10)
  • notify: nvim-notify replace can be an id or a record (a9cc87b)
  • notify: take col offsets into account for nvim-notify renderers. Fixes #375 (20596d9)
  • nui windows must have nowrap by default. See #196 (48003c5)
  • nui.menu._tree -> nui.menu.tree (ab151eb)
  • nui: dont trigger autocmds when doing zt (d176765)
  • nui: make sure nui recreates buffer and window when needed (3e6dfd8)
  • nui: mount if buffer is no longer valid (71d7b5c)
  • nui: nui broke noice. added a temporary work-around till the problem is solved (4db3c8f)
  • nui: remove border text when style is nil, "none", or "shadow" (d85a4d0)
  • nui: remove padding when border is shadow (1515007)
  • nui: removed work-around for padding and border style shadow (4f34d33)
  • nui: reset close events on remount (1558c48)
  • nui: set mounted=false if buffer is no longer valid (3353a7a)
  • nui: umount on hide, to fix rendering issue while blocking (119682b)
  • one-off error for highlighting with treesitter/syntax (1602ce8)
  • only relayout with real width and height (2462809)
  • only set noice buffer names if debug. Fixes #197 (ea1079d)
  • only show/hide scrollbar when needed (d01cd10)
  • overrides: noice was leaking extmarks for stylize_markdown (9b148a1)
  • popupmenu default relative=editor (7ef41aa)
  • popupmenu: always show the regular (non-cmdline) popupmenu near the cursor (e3936cc)
  • popupmenu: only use popupmenu hl group for known item kinds. Fixes #453 (0b86a7b)
  • popupmenu: properly close pmenu when cmdline window is open. Fixes #542 (d19e5cb)
  • popupmenu: replace any newlines by space. Fixes #265 (5199089)
  • potential endless loop in markdown key handlers (078cbd9)
  • preset: palette now configures cmdline_popupmenu instead of popupmenu (294097a)
  • progress use vim.lsp.get_client_by_id (#529) (397619d)
  • properly handle carriage returns. Fixes #190 (c14b064)
  • properly handle MarkedString[] mix. Fixes #178 (14cff19)
  • re-use existing views with same backend and opts (1d1e9ed)
  • read conceal setting after sort (#558) (24c09cc)
  • reduce some flickering when updating views (f39b657)
  • remove old neovide compatibility warning (#545) (dfbe27c)
  • reopen scrollbar windows if they were deleted somehow. Fixes #235 (74c7e29)
  • reset preloader before trying to load the module (08655e9)
  • reset view when update_layout fails. Fixes #155 (7d08ed5)
  • restore cursor with vim.schedule to be safe (973659e)
  • return lines in stylize_markdown (f9bf77d)
  • return message id in vim.notify, so it can be used for replace if the view supports it. Fixes #109 (0b0e8cf)
  • return nil when Noice is not running for statusline (289ce14)
  • router: properly disable updater when disabling Noice. Fixes #423 (3bed83b)
  • scroll cmdline to make sure cursor is always visible. Fixes #196 (e023c5f)
  • scrollbar destructs itself, so make a copy to see if there are any remnants left (8d80a69)
  • scrollbar for popups was off if there was padding on the window (deda89a)
  • scrollbar: zindex + 1 + 2 for bar and thumb (0daa539)
  • set conceallevel local. Fixes #634 (c1591df)
  • set cursor to top when opening view. Fixes #165 (c20f38e)
  • show unstable message after loading noice (2613a16)
  • showMessage error with kinds. Fixes #222 (d4d653a)
  • signature: nil check for parameter label. Fixes #435 (9d778e7)
  • signature: nil check on lsp signature.parameters. Fixes #162 (1dc7f26)
  • signature: safer lsp signature parameters (#449) (e33c346)
  • signature: show signature in correct window. Fixes #593 (2f0993e)
  • signature: support label offsets (9649d9f)
  • signature: when loading, attach to existing lsp clients. Fixes #342 (f69f1a5)
  • silence treesitter errors of invalid langs. Covered by checkhealth (db1628f)
  • smart_move: Dont move cmdline view (#123) (3da3f6d)
  • statusline messages no longer need active state. Fixes #211 (e5092c2)
  • stop processing messages when Neovim is exiting. Fixes #237 (8c8acf7)
  • support older Neovim versions (4a1ec5e)
  • swap: additionally check for updates when a swap file was found (1165d3e)
  • tag popupmenu border (d2064a5)
  • tag scrollbar and popupmenu (13bed57)
  • telescope: Correct index for finder (#136) (99bbfe7)
  • telescope: wrap text in telescope's previewer (#514) (a7f611e)
  • text: better (correct) way of dealing with \r characters. Fixes #483 (520a737)
  • text: temp fixup for CRLF handling (3e1400f)
  • treesitter: deprecated call. Fixes #408 (1ded575)
  • treesitter: dont allow recursive injections. Fixes #286 (a31b41a)
  • treesitter: fixed treesitter.query.get. Fixes #539 (e91a31c)
  • treesitter: ignore weird invalid end_col errors. Fixes #473 (7e2692b)
  • treesitter: only disable injections for php and html (0e1bf11)
  • treesitter: parse injections (#571) (3ec6e42)
  • treesitter: use the new treesitter ft to lang API if availble. Fixes #378 (36d141b)
  • truncate log file if it becomes too big (79a5262)
  • ui_attach: dont update router during ext_messages and disable/enable Noice during confirm. #298 (a4cbc0f)
  • ui: cmdline is always blocking. Fixes #347 (6702d97)
  • ui: disable debug logging (bfb0cdb)
  • ui: dont propagate events handled by Noice to other uis. Fixes #17 (1cff24c)
  • ui: dont update on msg_ruler. Fixes #588 (ec19fc0)
  • ui: exclude search_count from realtime updates (73caffa)
  • ui: safer adding of winhl (36b1935)
  • ui: work-around for segfaults in TUI. Fixes #298 (176ec31)
  • use modeline=false for popupmenu scroll events. Fixes #572 (1f087c2)
  • use vim.F.unpack_len and vim.F.pack_len. Fixes a number of issues... (51c2179)
  • views: don't override winbar and foldenable for every view (a7d60f7)
  • views: dont highlight CurSearch for some views. Fixes #399 (0c493e5)
  • views: increase zindex for cmdline popup, popupmenu and confirm from 60 to 200 (d71c1de)
  • virtual: extra check if buffer still valid that has virtual text extmark (7ed897d)
  • virtual: remove extmark from correct buffer where it was set. Fixes #464 (e5a4c7a)
  • wait to override cmp till it loaded (712180f)
  • workaround E36: Not enough room errors (#522) (f43775f)

Performance Improvements

  • cache highlighter queries (b4eb215)
  • do redrawstatus before resetting cursor (5aa862f)
  • don't bufload when highlighting a buffer (8df4cbd)
  • dont update popupmenu state when it hasn't changed (cafdddb)
  • lazy: set package.loaded when real module was loaded (f6cc07a)
  • make noice a bit more robust when exiting to prevent possible delays on exit (35e3664)
  • popupmenu: re-use existing nui menu for rendering the popupmenu (fdd78c2)
  • re-use existing popupmenu instead of unmount/create (b209e0b)
  • shutdown Noice on VimLeave to prevent close delay (de1d5dc)

This PR was generated with Release Please. See documentation.

@github-actions github-actions bot force-pushed the release-please--branches--main--components--noice.nvim branch from 1932960 to 74da22e Compare October 25, 2023 10:15
@folke folke merged commit 9243316 into main Oct 25, 2023
@github-actions
Copy link
Contributor Author

🤖 Release is at https://github.com/folke/noice.nvim/releases/tag/v2.0.0 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment