Releases: sayanarijit/xplr
Releases · sayanarijit/xplr
v0.17.0
Changes & fixes
- Deprecated
app.directory_buffer,app.history, andapp.last_modesin
the custom dynamic layout renderer context.
As of now, there's no way to access these fields in dynamic layouts. While
app.historyandapp.last_modescan be re-added upon request
(with justification),app.directory_bufferhas been deprecated for good.
However, there's no change in theCallLua*context. - As a result, change directory performance has been restored.
- Set
xplr.config.general.hide_remaps_in_help_menutotrueto hide the remaps in
help menu. Nonewill be serialized tonilin Lua.LuaEvalcan now return a function that will be called with the Lua Context
argument. Refer to theFull List of Messagesdoc for example.
v0.16.4
Changes & fixes
- Fixed a nasty performance issue with rendering custom dynamic layouts in a big directory.
- Fixed another nasty issue of cursor jumping back to the initial item after visiting a big directory.
v0.16.3
Changes & fixes
- Deprecated
config.general.cursor. The default terminal cursor will be used
for the time being. - The input buffer now supports cursor movement and other readline-like editing
features. - You can now replace most boilerplate configuration handling keys to send
BufferInputFromKey,RemoveInputBufferLastCharacter,
RemoveInputBufferLastWord,SetInputBuffer = ""etc. messages with a
singleUpdateInputBufferFromKeymessage. - Pass multiple paths as command-line arguments or via stdin to select paths,
e.g.xplr -- $PWD /path/to/select/1 /path/to/select/2. - Pass
--force-focusto focus on the first path even if it's a directory,
e.g.xplr . --force-focus. - Order of logs has been reversed in the UI. Now the most recent log will be
displayed at the top. - Added new messages
LuaEvalandLuaEvalSilentlyto run Lua code without
needing to define a function. However, theappcontext won't be available. - Added new key handlers:
- on_alphanumeric
- on_character
- on_navigation
- on_function
- Fixed a bug where opening xplr inside a symlink opened xplr in the physical
path. - Fixed a bug where passing invalid CLI arguments didn't cause any error.
v0.15.2
Changes & fixes
- Fixed incorrect count of selected files.
- Mime type of directories will be set as
inode/directory. - Fixed typo:
MaxthLessThanLayoutWidth->MaxLessThanLayoutWidth. - Top-level configuration has been fully documented.
- Slight improvement in responsiveness and CPU usage.
- Minor refactor and cleanups.
v0.15.0
Changes & fixes
- Added
CustomContentas layout option that can be used to render custom
paragraphs, lists and tables. Both static and dynamic. - Added support for optionally defining custom layouts for different modes.
- Added
xplr.config.general.focus_selection_uito highlight selected files
under focus differently than files under focus that are not selected. - Added
PopModeKeepingInputBuffer, and SwitchMode alternatives to allow
switching to different modes without resetting the input buffer. - Removed
configfield fromCallLuaArgas it's already available globally
asxplr.config. - Fixed a bug which caused xplr to misbehave when used with specific tools and
environment (e.g. neovim, fzf, zsh4humans etc.). - Recover mode will be disabled by default.
i.e.xplr.config.general.disable_recover_modehas been deprecated. Use
xplr.config.general.enable_recover_modeinstead. - Library users please refer to the latest API docs and examples.
- New homepage: https://xplr.dev
v0.14.7
Changes & fixes
- Core: Fixed a bug where xplr logs a missing file error when the default config file is missing.
- Core: xplr will now fall back to temp directory if runtime directory is inaccessible.
- Deps: Updated dependencies to the latest versions.
- Doc: Added new plugin - alacritty.xplr
v0.14.6
v0.14.5
Changes & fixes
- Added support for loading (unsafe) c modules via Lua
require. - Removed termion from dependency list.
- Optimized performance and memory usage.
- Minor fixes.
v0.14.4
Changes & files
- Fixed
ToggleSelectionByPath. - Added support for relative paths in
ChangeDirectory. - xplr will now recursively delete
$XPLR_SESSION_PATHupon exit. Hence, session related temp data can be stored here. - Upgrade guide URL now points to https://arijitbasu.in/xplr/en/upgrade-guide.html
- Running
xplr /path/to/symlinkwill not resolve the symlink to physical path.
v0.14.3
Changes & fixes
- Fixed high CPU usage.
StartFifoandToggleFifowill write to the FIFO file immediately after opening it.- General config
xplr.config.general.start_fifois available that can be used to start a FIFO when xplr loads. - Published xplr book as the new home for documentation.
- Removed the auto-refresh service that used to send
Refreshevery second.