Hilbish v2.0 has been released! Well actually, it was released a week ago, but I only wrote this Hilbish blog after that.
This is a *big* release, coming 9 months after the previous v1.2.0 and featuring over 40+ bug fixes and tons of new features and enhancements, so let's see what is in this release.
hilbish.timers
,
hilbish.jobs
and all that).I have tried to improve this by working on documenting all the
interfaces (except for some functions of hilbish.runner
, that's hard to do)
and made the documentation markdown for use on this website. This means
that users can look at documentation here or with the doc
command.
Hopefully this addresses documentation complaints, and if not, please open an issue.
A few of the fixes (and additions) include:
Fixing various crashes, including when there is a "stray" newline at the end of text
Grid completion menu causing spam and duplicate text when there are items longer than
the terminal and/or contain Japanese or other characters. - Cursor positioning with CJK characters - Adding new keybinds and fixing others
Moving from 5.1 to 5.4 does have breaking changes even if it doesn't seem like it, and since these are different Lua implementations, there may be some differences there too.
input
(user input)
- exitCode
(exit code)
- error
(error message)
- continue
(whether to prompt for more input)
User input has been added to the return to account for runners wanting to
prompt for continued input, and to add it properly to history. continue
got added so that it would be easier for runners to get continued input
without having to actually handle it at all.The MacOS config paths now match Linux, since it makes more sense for a program like Hilbish.
The Hilbish greeting is now an opt, and is printed by default.
Some new hooks have been added, like hilbish.cancel
and hilbish.init
.
You can look at all the hooks via the doc hooks
command
Job management functions have also been added. You can now put jobs in the foreground/background and disown them via the expected commands and also via the Lua API.
The hilbish.timers
API interface was also added in this release!
If you want to check the FULL changelog, you can do so here. This v2.0 release marks an advancement in Hilbish (and also how long one of my projects hasn't died) and I hope it can advance even further.
Thanks for reading, and I'll be back for the v2.1 release notes, or maybe something else in between.