Oh look! A new release of Hilbish! This time is the v2.1 release, with a small amount of features and mainly documentation changes and bug fixes.
Documentation There have been a few documentation enhancements for this release. This includes:
Adding the return types for all functions that need them Documenting Hilbish types like job objects and timers properly." property="og:description"><metacontent="Thereleasewithfullchangelogsandprebuiltbinariescanbeseenatthev2.1.0tag.
Oh look! A new release of Hilbish! This time is the v2.1 release, with a small amount of features and mainly documentation changes and bug fixes.
Documentation There have been a few documentation enhancements for this release. This includes:
<emclass=text-muted>by <strong>sammyette</strong><time> // February 7, 2023</time></em><divclass=my-4><blockquote><p>The release with full changelogs and prebuilt binaries can be
seen at the <ahref=https://github.com/Rosettea/Hilbish/releases/tag/v2.1.0target=_blankrel=noopener>v2.1.0</a>
tag.</p></blockquote><p>Oh look! A new release of Hilbish! This time is the v2.1 release,
with a small amount of features and mainly documentation changes and
<ahref=#documentationclass=heading-link><iclass="fas fa-paperclip"></i></a></h2><p>There have been a few documentation enhancements for this release.
This includes:</p><ul><li>Adding the return types for all functions that need them</li><li>Documenting Hilbish types like job objects and timers properly.
They now have a separate heading and listing of properties and methods.</li><li>Fixing outdated documentation</li></ul><h2id=featuresclass=heading>Features
<ahref=#sinksclass=heading-link><iclass="fas fa-paperclip"></i></a></h3><p>A major addition is the new “sink” type for commanders to write
their output to. This was the solution to pipes and other shell
operators not working with builtins. If you wrote a commander
and made it <code>print</code>, use <code>sinks.out:write</code> instead.</p><p>This is also documented at the <ahref=./docs/api/commander>commander docs</a>
<ahref=#doc-commandclass=heading-link><iclass="fas fa-paperclip"></i></a></h3><p>Since API documentation has been moved to an API folder and also includes
interfaces, a change has been made to get the module name from the
passed from the requested page. This means that
<code>doc api hilbish hilbish.jobs</code> is now shortened to <code>doc api hilbish.jobs</code></p><h2id=bug-fixesclass=heading>Bug Fixes
<ahref=#bug-fixesclass=heading-link><iclass="fas fa-paperclip"></i></a></h2><p>Small release, small amount of bug fixes. Even though, this is the main
part of this release.</p><h3id=completions-and-symlinksclass=heading>Completions and Symlinks
<ahref=#completions-and-symlinksclass=heading-link><iclass="fas fa-paperclip"></i></a></h3><p>Previously Hilbish completions did not work with symlinks properly.
This can be tested in the previous 2.0 release by attempting to
path complete to <code>/bin</code>. Since this is (or can be?) a symlink to
<code>/usr/bin</code>, it was not marked as a directory and therefore did not
automatically add the ending slash. This has been fixed.</p><h3id=segfaultsclass=heading>Segfaults
<ahref=#segfaultsclass=heading-link><iclass="fas fa-paperclip"></i></a></h3><p>I found that when I updated my terminal of choice (<ahref=https://github.com/endaaman/tymtarget=_blankrel=noopener>Tym</a>
) for the new
daemon feature, Hilbish would sometimes segfault on startup. This is due
to it getting a resize event on startup while <code>bait</code> was not initialized
yet.</p><h3id=api-fixesclass=heading>API Fixes
<ahref=#api-fixesclass=heading-link><iclass="fas fa-paperclip"></i></a></h3><ul><li>The <code>hilbish.which</code> function works with aliases.</li><li><code>hilbish.completion.files</code> and <code>hilbish.completion.bins</code> will no longer
cause a panic with all empty arguments passed.</li></ul><h2id=next-releaseclass=heading>Next Release
<ahref=#next-releaseclass=heading-link><iclass="fas fa-paperclip"></i></a></h2><p>Stay tuned for the v2.2 release, which will have a bigger set of features