Skip to content

Releases: rootiest/nvim-updater.nvim

v2.2.5 termopen() Deprecation

Choose a tag to compare

@rootiest rootiest released this 20 Dec 00:39
e39b6a5

This release addresses the deprecation of vim.fn.termopen, preferring instead vim.fn.jobstart.

NOTES:

In my testing this change seems to work well even on older nvim versions but if you find otherwise please create an Issue and let me know!
I can, if necessary, implement a version check and fallback on the deprecated api function for older versions but in the interest of simplicity/efficiency I'd rather not do so unless it is needed.

v2.2.0 Bugfixes and outputs

Choose a tag to compare

@rootiest rootiest released this 29 Nov 06:45
0a6cdeb

What's Changed

Bug Fixes

  • Fixes branch handling and introduces better error handling for that option.
  • Addresses build directory permissions more gracefully.
  • Fixed a mistake in the docs regarding the show_new_commits function.

Features

  • Adds an output variable in the floating terminal callback: This allows you to retrieve the output from the floating terminal.
  • Adds an enter_insert option to allow the terminal window to be opened in insert mode.
  • Implements an option to always remove the build dir before performing an update: This helps addres the permissions issue mentioned above.

Full Changelog: v2.1.0...v2.2.0

Update Workflow Improvements

Choose a tag to compare

@rootiest rootiest released this 12 Nov 18:34
6c124b6

Update workflow

  • When update fails, prompt user to remove the build dir and retry the update.

Improve update count tracking

  • Reset count to "?" when update fails or source dir is removed.
  • Don't set count to 0 until after update succeeds.

What's Changed

Full Changelog: v2.0.0...v2.1.0

v2.0.0 Terminal Callbacks

Choose a tag to compare

@rootiest rootiest released this 09 Nov 16:11
5388008

Floating Terminal Window Callbacks

This is a major update that streamlines the approach to handling closing windows and triggering behavior after the window has closed.

This functionality is most clearly presented when opening the changelog with the intention of triggering an update prompt afterwards. Previously this behavior was achieved by a hacky use of an ispreupdate option. This was hard-coded for that particular scenario and was prone to bugginess.

The ispreupdate option is now deprecated and will be removed at some point in the future.

The callback function option allows us to provide a function to be executed when the window closes. That function is also passed some data about the window including the process exit code.

In a future update I intend to also pass the buffer contents (terminal stdout) to the callback as well.
This will allow more advanced features like a changelog UI that isn't just a basic terminal output buffer.

v1.7.5 Improved Startup Speed

Choose a tag to compare

@rootiest rootiest released this 08 Nov 07:07
66c902c

Signficantly improved startup time with async update-checker

v1.7.0 Dynamic Resizing and Repositioning

Choose a tag to compare

@rootiest rootiest released this 01 Nov 14:05
d893ed0

Features:

  • Floating windows now resize and re-center dynamically when the main viewport is resized.

Fixes:

  • Healthchecks now use standard format for consistency with other neovim plugins.

v1.6.5 Documentation Fixes

Choose a tag to compare

@rootiest rootiest released this 26 Oct 00:59
0b2afd8

What's Changed

  • fix(docs): fix namespace in show_new_commits_in_diffview example by @rootiest in #5
  • V1.6.5 Documentation Fixes by @rootiest in #6

Full Changelog: v1.6.0...v1.6.5

v1.6.0 Bugfix Release

Choose a tag to compare

@rootiest rootiest released this 26 Oct 00:25
39a2da9

What's Changed

  • 🚑 Quickfix(update_neovim): fix insertmode regression by @rootiest in #2
  • 📝 Docs(docs): update lualine example by @rootiest in #3
  • V1.6.0 Fix bugs by @rootiest in #4

New Contributors

Full Changelog: v1.5.1...v1.6.0

Quickfix: fix an insertmode regression in updater function

Choose a tag to compare

@rootiest rootiest released this 16 Oct 18:46
826d258
  • Corrects a regression where the update_neovim() function fails to enter insertmode on opening.

Full Changelog: v1.5.0...v1.5.1

v1.5.0 Features and polish

Choose a tag to compare

@rootiest rootiest released this 12 Oct 22:06
c734c02

🎉 Introduces many new features and options!

See :h nvim-updater or the README for details.

Some highlights:

  • Update notification system: Optionally generate notifications when new commits are available.
  • Improved keymapping and <Plug>: Provides a more streamlined and easier approach to creating keymaps.
  • short commit messages: show_new_commits() can now be displayed using short-format commit messages
  • Lua function polish: All of the Lua functions can now accept parameters as a table in addition to the traditional syntax
  • Terminal view polish: Floating terminals can now have a unique filetype and should properly enter/stay in insert mode.

Moving forward, development will be performed on a development branch matching its release version.
Updates will be pushed to main only when a release is completed.

This v1.5.0 release should be fairly stable.

🐞 Please report any bugs or issues you encounter! 🐛