All Versions
103
Latest Version
Avg Release Cycle
23 days
Latest Release
-

Changelog History
Page 3

  • v0.9.15 Changes

    March 19, 2020

    βž• Added:

    • βž• Adds documentation for how to setup an emacs editing mode for xonsh.
    • New $XONSH_TRACE_SUBPROC environment variable.
    • βž• Added -l, -c and -a options to xexec, works now like exec in bash/zsh
    • $HISTCONTROL - errordups support for history-sqlite backend

    πŸ”„ Changed:

    • -l switch works like bash, loads environment in non-interactive shell
    • βœ… The xonsh pytest plugin no longer messes up the test order for pytest. Xsh test are still executed first to avoid a bug were other tests would prevent test_*.xsh files to run correctly.
    • πŸ†• New repo name for xxh

    πŸ›  Fixed:

    • Correctly follow symlinks when using dot-dot paths with cd -P.
    • execx does not require the input string to be newline-terminated.
    • evalx accepts newline-terminated input string.
    • πŸ›  Fixed issue where negative exit codes (such as those produced by core dumps) where treated as logical successes when chaining processes with other boolean expressions.
    • Fixed XONSH_TRACE_SUBPROC for pipeline command.
    • ⚑️ updated CONTRIBUTING.rst about running pylint for changed files

    Authors:

    • Anthony Scopatz
    • Morten Enemark Lund
    • David Strobach
    • anki-code
    • Samuel Lotz
    • Gyuri Horak
    • Noortheen Raja
    • Gabriel Vogel
    • anki
    • Jerzy Drozdz
  • v0.9.14 Changes

    βž• Added:

    • βž• Added building process of standalone rootless AppImage for xonsh.
    • pyproject.toml -- so vscode can use black as python formatter interactively
    • πŸ‘€ The xonsh/interactive container has been added, in addition to the previous xonsh/xonsh and xonsh/action containers. See https://hub.docker.com/u/xonsh
    • πŸ†• New $THREAD_SUBPROCS environment variable allows you to specify whether threadable subprocesses should actually be run in a thread or not. Default True.
    • event on_lscolors_changed which fires when an item in $LS_COLORS changed.
    • dict pyghooks.file_color_tokens containing color tokens for file types defined in $LS_COLORS.
    • file pyproject.toml containing config rules for black formatter consistent with flake8
    • πŸ†• New umask utility to view or set the file creation mask
    • πŸ†• New xonfig web command that launches a web UI (in your browser) that allows users to configure their $XONSH_COLOR_STYLE, $PROMPT, and loaded xontribs in an interactive way. This is the prefered way to initialize the ~/.xonshrc file on a new system or for new users. It supersedes the old xonfig wizard command.
    • πŸ†• New xonsh.webconfig subpackage for creating and launching xonfig web.
    • βž• Added localtime entry to the $PROMPT_FIELDS dictionary, allowing users to easily place the current time in their prompt. This can be formatted with the time_format entry of $PROMPT_FIELDS, which defaults to "%H:%M:%S". These are implemented in the new xonsh.prompt.times module.
    • The html module in xonsh.lazyimps was added to lazily import pygments.formatters.html.
    • πŸ†• New xonsh.pyghooks.XonshHtmlFormatter class that enables HTML formatting of xonsh color strings.

    πŸ”„ Changed:

    • πŸ’» the feature list: subprocess mode colorizes files per $LS_COLORS, when they appear as arguments in the command line. Yet another approximation of ls -c file coloring behavior.
    • βœ… file setup.cfg to declare flake8 rules for all tools (not just pytest)
    • 🚚 Moved python 3.8 parsing out of base parser
    • The xonsh.pyghooks.XonshLexer now inherits from Python3Lexer, rather than PythonLexer.
    • πŸ’… xonsh.pyghooks.XonshStyle now presents the highlight_color and background_color from the underlying style correctly.

    βœ‚ Removed:

    • βœ‚ Removed deprecated xonda xontrib from list

    πŸ›  Fixed:

    • [color] in .gitconfig (#3427) <https://github.com/xonsh/xonsh/issues/3427>_ now stripped from {curr_branch}

      • Before <https://i.imgur.com/EMhPdgU.png>_
      • After <https://i.imgur.com/sJiqgsb.png>_
    • The autovox xontrib now preserves activated environment on cd

    • βœ… setup.cfg -- duplicated flake8 config so interactive use and test runs enforce same rules. (Implementation is arguably a regression.)

    • Pressing Ctrl+Z no longer deadlocks the terminal, allowing further input from the user, even for threaded subprocesses.

    • XonshImportHook.get_source() now takes a dotted module name instead of a file path, as it should

    • Fixed documentation on environment variable $PROMPT_REFRESH_INTERVAL.

    • 🏁 Using rmtree on windows no longer attempts to use invalid rm command and uses del instead.

    • βš™ Avoid crash in SubprocessSpec._run_binary() when command line has 2 real subprocesses piped together.

    • πŸ›  Fixed an issue on Windows where pressing ctrl-c could sometimes result in a traceback if the process had already quit before being killed by xonsh.

    • Modified base_shell._TeeStdBuf to feed bytes not str to console window under VS Code.

    • πŸ’» Command line with leading whitespace improperly formated (PTK2/PTK3).

    • πŸ›  Fix Ctrl-C event causing Atribute error on Windows (for reals this time).

    • βœ… Unit test failures in test_integrations under ubuntu 19.10 with Python 3.8.0

    • .gitignore entries for venv under project root (as for autovox) and for VS Code.

    • πŸ›  Minor typo fixes to xontrib descriptions.

    Authors:

    • Anthony Scopatz
    • Gil Forsyth
    • Morten Enemark Lund
    • Jamie Bliss
    • Bob Hyman
    • David Strobach
    • Burak Yiğit Kaya
    • anki-code
    • adam j hartz
    • Nickolay Bukreyev
    • Edmund Miller
    • Mike Crowe
    • Sylvain Corlay
    • Chris Lasher
    • Marcio Mazza
  • v0.9.13 Changes

    πŸ”„ Changed:

    • The $LS_COLORS environment variable will no longer raise exceptions when trying to convert ANSI color sequences to xonsh color names.

    βœ‚ Removed:

    • βœ‚ Remove built in support for "win unicode console". Full unicode support on windows is now provided by using the new Windows terminal <https://github.com/microsoft/terminal>__.

    πŸ›  Fixed:

    • πŸ›  Fixed issue converting ANSI color codes that contained both slow blink and set foreground or set background sequences.
    • πŸ›  Fix coreutils cat behaviour on empty input (e.g. cat -).

    • πŸ›  Fix Ctrl-C event causing Atribute error on Windows.

    • πŸ›  Fix Added OpenBSD as a platform

    • πŸ›  Fix Corrected aliases for OpenBSD to not include --color=auto and -v

    • πŸ›  Fixed a regession with xonsh superhelp ?? operator and which -v which showed Pythons builtin doc strings.

    Authors:

    • Anthony Scopatz
    • Morten Enemark Lund
    • David Kalliecharan
  • v0.9.12 Changes

    βž• Added:

    • βž• Added autovox xontrib
    • xonsh.lib.itertools.as_iterable for making sure that strings are turned into iterables
    • The percol command no longer predicts as threadable.

    πŸ”„ Changed:

    • The source alias is now unthreaded, enabling contextvars to be used correctly in sourced files.
    • πŸ”„ Changed the ExecAlias to only be applied when the logical operators (and, or) are surrounded by whitespace.

    πŸ›  Fixed:

    • πŸ›  Fixed missing ANSI color modifiers which causes traceback when they were used by $LS_COLORS.
    • ⚑️ gray empty bottom bar when using $XONSH_UPDATE_PROMPT_ON_KEYPRESS
    • xonsh.lib.subprocess.check_output() now properly captures output.
    • 0️⃣ Correct ANSI colors for the default color scheme to stop suppressing the bold / italic / underline modifiers.
    • tab completion for cd correctly handles the CDPATH environment variable
    • On Windows, send CTRL_C_EVENT to subprocesses instead of SIGINT.
    • xonsh will return a non-zero exit code if it is run in file mode and cannot find the file specified, e.g.

    .. code-block::

     $ xonsh thisfiledoesntexist.xsh
     xonsh: thisfiledoesntexist.xsh: No such file or directory.
     $ _.returncode
     1
    
    • πŸ›  Fixed issue with Jedi xontrib incorrectly raising errors during tab completion.
    • Defining functions inside of the shell no longer crashes on Python 3.8.
    • The encoding for xonsh script are now always assumed to be utf-8, even on Windows where the default encoding can be different. This allows for writing real unicode characters in the xonsh script files.

    Authors:

    • Anthony Scopatz
    • Gil Forsyth
    • Morten Enemark Lund
    • Jamie Bliss
    • christopher
    • Carmen Bianca Bakker
    • Caleb Hattingh
    • Sean Farley
    • Allan Crooks
    • micimize
    • nedsociety
    • fanosta
  • v0.9.11 Changes

    πŸ”„ Changed:

    • 🏁 vox activate will now prepend the absolute path of the virtualenv bin/ directory (or Scripts/ on Windows) to $PATH; before this was a relative path.

    πŸ›  Fixed:

    • "lou carcolh" example and description of endidx in completer tutorial
    • Logical operators in aliases are now executed as expected, e.g. aliases['echocat'] = 'echo "hi" and echo "there"' will, when run, return

    .. code-block::

     hi
     there
    

    Authors:

    • Gil Forsyth
    • con-f-use
    • Caleb Hattingh
  • v0.9.10 Changes

    βž• Added:

    • $PROMPT_REFRESH_INTERVAL: Automatically invalidate the PROMPT every so many seconds.
    • πŸ‘ Allow disabling individual items in gitstatus prompt

    πŸ›  Fixed:

    • Fix cat can't read pseudo files with zero size such as /proc/* or /sys/* (#3182, #3199)
    • command-not-found: now works on non-Debian bansed distributions
    • Implemented 'target' psuedo-color in $LS_COLORS for link coloring based off of the link target. This was causing issues on some systems where this is the default.

    Authors:

    • Anthony Scopatz
    • Gil Forsyth
    • Morten Enemark Lund
    • virus
    • vaaaaanquish
    • K.-Michael Aye
    • Alexander Steffen
    • Jan Chren
    • Sean Farley
    • LΓ‘szlΓ³ VaskΓ³
    • Nils ANDRΓ‰-CHANG
    • chengxuncc
  • v0.9.9 Changes

    βž• Added:

    • $COMPLETION_IN_THREAD: When this is True, background theads is used for completion.
    • Open man page when requesting help for subprocess commands, e.g. using sh?
    • βž• Add several cmds/tools for predict list

    πŸ”„ Changed:

    • πŸ”„ Changed XonshSession.link_builtins to set a DynamicAccessProxy for each builtin link
    • events is now unlinked from builtins

    βœ‚ Removed:

    • βœ‚ Removed DeprecationWarningProxy; no longer needed
    • Removed load_proxies and unload_proxies; moved functionality to XonshSession.link_builtins, XonshSession.unlink_builtins, respectively.
    • Removed deprecated builtin.__xonsh_*__ alises, please use builtins.__xonsh__.* instead.

    πŸ›  Fixed:

    • Added proxied __dir__ method to DynamicAccessProxy to restore tab-completion for objects that use the proxy (especially events)
    • Avoid displaying finished tasks in title.
    • inspect.getsource now works correctly and the __xonsh__.execer resets <filename> correctly. This was causing several very strange buggy behaviors.
    • Hitting Enter while $VI_MODE=True now executes the current code block irrespective of cursor position

    Authors:

    • Anthony Scopatz
    • Gil Forsyth
    • David Dotson
    • vaaaaanquish
    • Alexander Steffen
    • Ke Zhang
    • Daniel Smith
  • v0.9.8 Changes

    πŸ›  Fixed:

    • πŸ›  Fixed a bug in sourcing Bash functions, where delare -F contained newlines, meaning that the read command that followed it would only pick up the first function declaration. echo is used to normalize whitespace.

    Authors:

    • Anthony Scopatz
  • v0.9.7 Changes

    βž• Added:

    • βž• add xontrib (xontrib-readable-traceback)
    • Registered kitty xontrib.
    • The zipapp extra was added to install the importlib.resources backport on <3.7

    πŸ”„ Changed:

    • ⚠ turn off warning on completer
    • πŸ“‡ xontrib metadata loading is now zipapp safe when possible

    πŸ›  Fixed:

    • ⚑️ Updated py-bash-completion that is vended with xonsh to v0.2.6 which includes a fix completion which uses a subshell environment and a fix for string index error in stripped prefix.
    • βœ‚ Removed obsolte "Alt+." keybinding in xontrib-bashisms that was causing built-in binding to malfunction.
    • πŸ›  Fixed that occurs when type a command before rendering.

    Authors:

    • Anthony Scopatz
    • Jamie Bliss
    • con-f-use
    • vaaaaanquish
    • Gyuri Horak
  • v0.9.6 Changes

    πŸ›  Fixed:

    • πŸ›  Fixed exception in help/version threadable predictor
    • πŸ›  Fixed gitstatus prompt so that it also now reports deleted files
    • πŸ›  Fixed issue where the prompt-toolkit2 shell could not display and would end up in an infinite error loop if $MULTILINE_PROMPT was a suitably "false" value, such as None or an empty string.
    • Fixed issue where setting $XONSH_STDERR_PREFIX and $XONSH_STDERR_POSTFIX and running a command in the xonshrc file would throw an error.

    Authors:

    • Anthony Scopatz
    • David Strobach
    • virus
    • shadow-light