-
Notifications
You must be signed in to change notification settings - Fork 237
Releases: dvorka-oss/hstr
HSTR 3.2 - ioctl/TIOCSTI config
a7635ce This minor minor release brings ioctl/TIOCSTI configuration enforcement, SIGQUIT handling to cleanup terminal state on quit, and number of 🐞 fixes.
Kudos to Augment Code for providing the augmentcode[bot] to help with PR reviews. It made several great catches - which were missed by me and other tools, making this release more stable. Big up to @jakedane @NotAShelf @regob and @happylynx for their contributions!
Full Changelog: 3.1...v3.2
- Update manpage and append -- to hstr calls by @jakedane in #491
- update Nix installation instructions by @NotAShelf in #512
- Fix passing arguments in hstrnotiocsti by @regob in #527
- Bash tab completion fix by @happylynx in #545
- feat(tiocsti): ✨ adding interactive "TIOCSTI not configured" warning #548 by @dvorka in #549
- bug(views): fixing buffer overflow vulnerability in HSTR that caused crashes when pressing Ctrl+/ - on wide terminals (>2048 characters), fixed CMDLINE_LNG caused a buffer overflow, corrupting memory and crashing the application when wgetch() tried to read input by @dvorka in #552
- fix(search): 🐛 fixing undesired " on insert of the pattern w/ whitespace by @dvorka in #558
- [Release] HSTR 3.2.0 by @dvorka in #557
Contributors
Assets 5
HSTR 3.1 - Minor fix release
4dca4c7 This minor minor release brings fix of Bash function 🐞 which replaces TIOCSTI syscall.
Kudos to @jakedane for finding the bug in 3.0.0 and help with repro and fix.
Assets 5
HSTR 3.0 - Syscall ioctl/TIOCSTI no longer required
This major release adds ability of HSTR to work on operating systems and Linux kernels without ioctl/TIOCSTI syscall support (#478). Please make sure to add/update your Bash/Zsh configuration in case you use HSTR on such systems.
Assets 5
HSTR 2.6 - Stabilization Release
New HSTR release brings several memory leak and overflow fixes, MacPorts and Debian documentation, Snap script fix and GitHub Actions workflow.
Kudos to @juppytt, @herbygillot, @ihsinme and others for contributions!
Assets 3
HSTR 2.5 - Minor fix release
This minor minor release brings build stabilization by fix of mvprintw() compilation 🐞
Assets 3
HSTR 2.4 - Insert command in command prompt
New HSTR release brings parameter which can be used to insert commands in terminal prompt:
$ hstr --insert-in-terminal="ls -hal"
$ ls -hal|
It is useful whenever you need to:
- construct complex command using a shell script to modify current shell with source and check and/or edit it prior running:
$ hstr --insert-in-terminal="`my-script-which-constructs-command.sh`"
$ export CONDA_INSTALL_DIR=/opt/conda/acme && unset PYTHONPATH && source ../.rc_conda && conda activate env_prj|
- insert command to terminal prompt directly from a shell script to modify current shell:
$ cat my-script-which-inserts-command.sh
...
hstr --insert-in-terminal="${CMD} -vvv ${REQUIRED_PARAMS} ${OPTIONAL_PARAMS} ${2}"
...
$ ./my-script-which-inserts-command.sh
ACME builder:
clean ... DONE
build ... DONE
Ready to test product:
$ pytest -vvv -n 8 --use-fixture-cache tests/feature_test.py::test_case|
Overall this feature aims to help you to be faster and get more out of your shell scripts.
Enjoy!
| in the examples above indicates cursor position
Assets 5
HSTR 2.3 - Extended zsh history
This HSTR release brings zsh extended history fixes contributed by @thibaultcha and various minor fixes.
Assets 4
HSTR 2.2 - Help visibility and control
This HSTR release brings ability to toggle help lines visibility and location (contributed by @bibermann), zsh support improvements and major code review/fixes of memory leaks.
Assets 6
HSTR 2.1 - Improved zsh support
This minor release brings improved zsh support and important fixes.
Assets 3
HSTR 2.0 brings consistency and stability
This major HSTR release resolves confusing hstr/hh ambuiguity by choosing hstr to be the only name used. hh becomes just a shell alias. Therefore this release introduces backward incompatible changes:
- All
HH_starting environment variables were changed to be prefixed withHSTR_. - Similarly configuration file names starting with
.hh_were renamed to start with.hstr_. - Identifiers used in
HSTR_CONFIGenvironment variable were changed to avoid clashes e.g.favoritestofavorites-view. Please check man page for details and update your 1.x.x configuration. - Ubuntu package name was changed - use:
apt install hstrto install HSTR. - Tarball name was changed as well to have
hstr-prefix - please update your scripts. - See #309 for more details.
In addition to that Bash autocomplete configuration has been added, long commands handling improved and all memory leaks fixed.
If you have any questions, suggestions or problem (package maintainers in particular) please don't hesitate to contact me.