All Versions
109
Latest Version
Avg Release Cycle
23 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v0.13.3 Changes
π Fixed:
pygments
startup crash when incorrect prependingbg:
tonoinherit
style directives
Authors:
- Gil Forsyth
-
v0.13.2 Changes
π Changed:
- When there is no git repository, the values of all
gitstatus
prompt fields are nowNone
. - With
$THREAD_SUBPROCS=False
: When a callable alias is executed with![]
, its standard output and standard error are no longer captured. This is because a separate thread is required in order to both capture the output and stream it to the terminal while the alias is running.
π Fixed:
- π Fixed timeit syntax error
- When there is no git repository,
$PROMPT
format strings like{gitstatus: hello {}}
now work as expected. - With
$THREAD_SUBPROCS=False
: Whencd
is used with an invalid directory, the error message is now correctly displayed. - π Fixed case when xpip returns None instead of command.
Authors:
- anki-code
- Peter Ye
- pre-commit-ci[bot]
- Lie Ryan
- amukher3
- Ashish Kurmi
- When there is no git repository, the values of all
-
v0.13.1 Changes
β Added:
- π¦ The ujson (faster version of json) added to xonsh[full] package.
π Changed:
- β¬οΈ Bumped Python version in
xonsh.AppImage
to 3.10 - β‘οΈ The terminal's title is updated with the current command's name even if the command is a captured command or a callable alias
π Fixed:
- π
Warn and continue if a user without
pygments
tries to load an unknown style - π Fixed a bash completion bug when prefixing a file path with '<' or '>' (for redirecting stdin/stdout/stderr)
- π Fixed a bash completion bug when completing a git branch name when deleting a remote branch (e.g.
git push origin :dev-branch
) - A callable alias containing subprocess commands no longer freezes when piped to another command
less
no longer stops when a callable alias containing subprocess commands is piped into itgitstatus
Prompt-field would be empty on paths without git setup.- When using the sway window manager,
swaymsg -t get_inputs
no longer fails with the error "Unable to receive IPC response" - π· The
current_job
variable now works as expected when used in$TITLE
π Security:
xpip
will never addsudo
under any circumstances and will instead append--user
as needed
Authors:
- Gil Forsyth
- Noortheen Raja
- anki-code
- Peter Ye
- pre-commit-ci[bot]
- Stefano Rivera
- jbw3
- jgart
- Michael Panitz (at Cascadia College)
- Tim Gates
-
v0.13.0 Changes
β Removed:
- The
xonsh
code-base is no longer amalgamated, so tracebacks should be human-readable without intervention. This may have (minor) impacts on startup speed.
π Fixed:
- π Fix xontrib loading for
free_cwd
- Fixed
whole_word_jumping
xontrib failing on Linux, conditional import ofptk_win32
β Windows only - π Fixed error caused by unintialized Xonsh session env when using Xonsh as a library just for its Pygments lexer plugin.
Authors:
- Gil Forsyth
- Noortheen Raja
- anki-code
- Eddie Peters
- cmidkiff87
- Hannes RΓΆmer
- The
-
v0.12.6 Changes
π Fixed:
- String literal concatenation now works with f-strings and path literals
- A SyntaxError is raised when string literal concatenation is attempted with literals of different types (e.g. str and bytes)
Authors:
- Gil Forsyth
- Noortheen Raja
- Peter Ye
-
v0.12.5 Changes
β Added:
- π Support for f-glob strings (e.g.
fg`{prefix}*
`) - π Now xontribs support
loading and unloading <https://github.com/xonsh/xonsh/issues/4541>
_ with functions_load_xontrib_(xsh: XonshSession, **kwargs) -> dict
,_unload_xontrib_(xsh: XonshSession, **kwargs) -> None
defined in their module.Updated doc <https://xon.sh/tutorial_xontrib.html>
_ - Added a special '$LAST_RETURN_CODE' environment variable to access the return code of the last issued command. (Only set during interactive use).
- New prompt-customization fields: 'last_return_code_if_nonzero', 'last_return_code'.
- Documented the HISTCONTROL ignorespace option
π Changed:
- ![] now returns a HiddenCommandPipeline when run with a background command (e.g.
![sleep 10 &]
) - Extended
whole_word_jumping
xontrib with matching bindings fordelete
andbackspace
. TheXONSH_WHOLE_WORD_CTRL_BKSP
environment variable can be set toFalse
to avoid bindingcontrol+backspace
in incompatible terminals. - 0οΈβ£ The default prompt (on unix-systems) now includes a red [] field in case a command failed.
- π New docs theme
furo
- completions from fish are now filter based on the current prefix.
β Removed:
- xontrib
prompt_ret_code
is now removed. Now the default prompt already shows the last-return-code when the previous command fails. Please use the new prompt fieldslast_return_code
,last_return_code_if_nonzero
from thePR <https://github.com/xonsh/xonsh/pull/4798>
_
π Fixed:
- Using
fg
for commands started in the background (e.g.![sleep 10 &]
) now works - π· SIGHUP (instead of SIGKILL) is sent to unfinished jobs when exiting the shell. This allows the
nohup
command to work properly. - π·
bg
now properly resumes jobs in the background - ExecAlias now sets the returncode of a command correctly
- Empty/comment-only commands no longer get added to the history
- π· On prompt-toolkit, when there is a job like
sleep 500 &
running in the background, pressing Ctrl+D twice to force quit now works properly - Environment Variables are now completed correctly when in quotes
- Silence spurious errors on exit due to out-of-order cleanup
Authors:
- Gil Forsyth
- Noortheen Raja
- Peter Ye
- dev2718
- dependabot[bot]
- Stefano Rivera
- Naveen
- jbw3
- Italo Cunha
- Timmy Welch
- π Support for f-glob strings (e.g.
-
v0.12.4 Changes
Authors:
- Gil Forsyth
-
v0.12.3 Changes
π Changed:
- fix: remove os.path.basename from _get_git_branch()
- now 3rd party xontrib list is maintained at
Awesome Xontribs <https://github.com/xonsh/awesome-xontribs/>
_ page. Going forward, new contributions will be updated here, making it not depending onthe xonsh release <https://github.com/xonsh/xonsh/issues/4679>
_.
β Removed:
- Removed Python 3.7 support following
NEP0029 <https://numpy.org/neps/nep-0029-deprecation_policy.html>
_
π Fixed:
- π¨ Dictionaries are now pretty-printed with their items in the correct order
Authors:
- Gil Forsyth
- Noortheen Raja
- Peter Ye
- doronz88
- Stefano Rivera
-
v0.12.2 Changes
π Fixed:
- π Fixed completions for command argument paths after equal signs
- A trailing space no longer gets appended when tab-completing command arguments that involve equals signs. For example
dd sta
gets completed todd status=
, without a space space after the equals sign. - π regression on
gitstatus <https://github.com/xonsh/xonsh/pull/4771>
_ prompt is fixed now. It will display the value now instead of the name. - π
fixed <https://github.com/xonsh/xonsh/pull/4763>
_vox rm
crashing when user input is required
Authors:
- Gil Forsyth
- Noortheen Raja
- Peter Ye
-
v0.12.1 Changes
π Fixed:
- π fixed regression issue in loading
xontrib-abbrevs <https://github.com/xonsh/xonsh/pull/4757>
_ - π Allow xonsh to start gracefully even if modal cursors aren't in the available prompt_toolkit version
Authors:
- Gil Forsyth
- Noortheen Raja
- π fixed regression issue in loading