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

Changelog History
Page 8

  • v0.6.6 Changes

    โž• Added:

    • A multipurpose add method to EnvPath. For example:

    .. code-block:: xonshcon

    >>> $PATH
    EnvPath(
    ['/usr/bin', '/usr/local/bin', '/bin']
    )
    >>> $PATH.add('~/.local/bin', front=True); $PATH
    EnvPath(
    ['/home/user/.local/bin', '/usr/bin', '/usr/local/bin', '/bin']
    )
    >>> $PATH.add('/usr/bin', front=True, replace=True); $PATH
    EnvPath(
    ['/usr/bin', '/home/user/.local/bin', '/usr/local/bin', '/bin']
    )
    
    • โž• Added pygments-cache project in order to reduce startup time.

    ๐Ÿ”„ Changed:

    • built_ins.py, corrected a typo.
    • โœ… test/test_news.py It now uses regex to verify the format of rst files
    • Mercurial (hg) will no longer run in a threadable subprocess when it is run in interactive mode.

    ๐Ÿ›  Fixed:

    • issue 2313
  • v0.6.5 Changes

    โž• Added:

    • Wizard FileInsterter node class now has dumps() method for converting a mapping to a string to insert in a file.

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed issue with xonfig wizard writer failing to write valid run control files for environment variables that are containter types. In particular, the storage of $XONSH_HISTORY_SIZE has been fixed.
  • v0.6.4 Changes

    ๐Ÿ”„ Changed:

    • Error message improved for sourcing foreign shells, when file cannot be found or there is a syntax error.

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed issues with readline completer tab completing entries with spaces.
    • ๐Ÿ›  Fixed xonsh.tools.columnize() bug the prevented single-row input from being columnized correctly.
    • Now honor ASYNC and AWAIT as keywords in tokenizer on Python 3.7.
  • v0.6.3 Changes

    โž• Added:

    • ๐Ÿ“„ Docs for using @(<expr>) as a way to run commands and a gotcha about list of strings vs single string expressions.
    • ๐Ÿ“ฆ Ubuntu versions which xonsh is packaged for (with xonsh versions)

    ๐Ÿ”„ Changed:

    • ๐Ÿ‘‰ When reporting errors without a traceback (i.e. $XONSH_SHOW_TRACEBACK = False) and the error is a XonshError the exception type is not longer printed.
    • CommandPipeline.proc may now be None, to accomodate when the process fails to even start (i.e. a missing command or incorrect permisions).

    ๐Ÿ›  Fixed:

    • The curl command will now be run in a thread, which prevents documents that do not end in a newline from writing over the next prompt and vice versa.
    • ๐Ÿ›  Fix bug on Windows when PATHEXT environment variable did not exist. This also fixes building the xonsh documentation on Windows.
    • ๐Ÿ†“ Fixed a bug in the free_cwd <http://xon.sh/xontribs.html#free-cwd>__ Windows Xontrib, which caused the prompt to error if the current directory is deleted/renamed from an other process.
    • ๐Ÿ‘‰ Fixed issue with $XONSH_SHOW_TRACEBACK not being respected in subprocess mode when the command could not be found or had incorrect permissions.
  • v0.6.2 Changes

    โž• Added:

    • ๐Ÿ“š Release tarballs now include licenses and minimal documentation for xonsh and ply
    • Wizard now has a FileInserter node that allows blocks to be inserted and replaced inside of a file. This adheres to conversion rules fordumping as provided on this node.
    • ๐Ÿ†• New xonsh.wizard.StateVisitor.flatten() method for flattening the current state.

    ๐Ÿ”„ Changed:

    • The xonsh startup wizard will only be triggered if no xonshrc files exist and the file ~/.local/config/xonsh/no-wizard is not present.
    • The xonfig wizard command will now run write out to the xonshrc file.
    • Wizard nodes Save and Load had their names changed to SaveJSON and LoadJSON.

    โœ‚ Removed:

    • ๐Ÿ”ง Static configuration is dead (config.json), long live run control (xonshrc)!
    • ๐Ÿšš The following evironment variables have been removed as they are no longer needed: $LOADED_CONFIG and $XONSHCONFIG.
    • ๐Ÿ”ง Many support functions for static configuration have also been removed.

    ๐Ÿ›  Fixed:

    • Files starting with # are auto-escaped by TAB completion
  • v0.6.1 Changes

    โž• Added:

    • ๐Ÿ‘Œ Support for MSYS2.
    • ๐Ÿ†• New xonsh.main.setup() function for starting up xonsh in 3rd party packages.

    ๐Ÿ”„ Changed:

    • โšก๏ธ Updated CircleCI to use circle version 2.0
    • Replaced StopIteration with return in CommandPipeline.iterraw.
    • Xonsh run control now also looks for the XDG-compliant file ~/.config/xonsh/rc.xsh at startup.

    ๐Ÿ›  Fixed:

    • Clean out $LINES and $COLUMNS if set, preventing some programs from drawing weirdly
    • ๐Ÿ”ง cat from xoreutils now outputs in configured encoding
    • ๐Ÿ›  Fixed hanging issue with pipelines whose middle processes exit before the first or last process.
    • ๐Ÿ›  Fixed issue where xonsh would deduplicate spaces from bash autocompletions.
    • ๐Ÿ›  Fixed failing redirections from stderr to stdout when the command being executed was a callable alias.
    • ๐Ÿ Ensure that the free_cwd contrib can only be active on pure Windows.
    • Made an exceptional case in iglobpath() more robust when Python globbing fails for due to strange scrandir issue.
    • Unexpected process suspension on Cygwin and MSYS2.
    • $XONSH_APPEND_NEWLINE will now default to True when in interactive mode.
    • ๐Ÿ›  Fixed issue with uncalled lambdas being run in subproc mode.
    • Lambda nodes not have proper line and column numbers in AST.
    • Properly throw SyntaxError when no kwargs are defined in a kwarg-only function. This used to throw a TypeError: 'NoneType' object is not iterable.
    • โž• Addressed issue where encoding and errors were None when teeing output.
    • Commands like git c would complete to git 'checkout ' because git adds an extra space to the end of the completion, which was being captured in the completion. Xonsh now fixes the git issue while retaining all whitespace when there is other internal whitespace.
  • v0.6.0 Changes

    โž• Added:

    • โž• Added an alias command, matching bash's implementation, available as part of bashisms.
    • New $AUTO_SUGGEST_IN_COMPLETIONS environment variable that enables/disables whether the auto-suggestion result appears in the tab completions.
    • โž• Added __add__() and __radd__() methods to EnvPath.
    • ๐Ÿ‘ Xonsh now supports f-strings, as in Python v3.6+.
    • โž• Added ipython as unthreadable in command cache threadabilty predictors.
    • Added whole_word_jumping xontrib
    • Added $XONSH_APPEND_NEWLINE environment variable
    • ๐Ÿ‘Œ Support for PEP 515: Underscores in Numeric Literals
    • xonsh.color_tools.make_palette()

    Simple rename of the pre-existing xonsh.color_tools.make_pallete() function.

    • xonsh.tools.decorator() function/method decorator.

    This allows for an API function to be annotated with a decorator that documents deprecation, while also tying in functionality that will warn a user that the function has been deprecated, and, raise an AssertionError if the function has passed its expiry date.

    • ๐Ÿ†• New xontrib schedule (Xonsh Task Scheduler)

    ๐Ÿ”„ Changed:

    • on_pre_prompt is now fired before prompt calculations are made, allowing modifications to the prompt.
    • emacsclient will now return false in the threadable predictors.
    • ๐Ÿ‘Œ Improved the autopair behavior to match that of popular code editors.
    • ๐Ÿ“ฆ Moved the lazy pkg_resources package back to its original place. The will hopefully address some of the slowdown issues experiances on some platforms.
    • When xonsh is used to run an xsh script, the xonshrc is not loaded
    • ๐Ÿ”„ Change in the behavior of the default predictor with binary analysis. The pattern libgpm is use, assuming when gpm is used the program is not threadable. This change solves issues with programs as links.
    • Error messages added to the source command if it is used with a language that is not xonsh or Python.

    ๐Ÿ—„ Deprecated:

    • xonsh.color_tools.make_pallette()

    Deprecated in release 0.5.10 and will be removed in release 0.6.0.

    ๐Ÿ›  Fixed:

    • Now f-strings can be used inside @() without explicit enclosing command in ![]
    • ๐Ÿ›  Fix for x, y, *z = ... unpacking.
    • Git branch detection now correctly passes the environment down to the subprocess call. This allows for branch detection when git is installed into a non-standard location.
    • ๐Ÿ“œ Escape regex characters in path_complete to avoid regex parsing errors for certain combinations of characters in path completer
    • ๐Ÿ›  gistatus: Fixed hash not being shown when in detaced HEAD and there are no tags
    • ๐Ÿ›  Fix branch colorization when git or hg are aliases.
    • ๐Ÿ›  Fixed leftover .git/index.lock in gitstatus
    • Made JSON history loading more robust to corrupt files.
    • Starting a new command with an open parentheses will no longer throw a traceback when $UPDATE_COMPLETIONS_ON_KEYPRESS is True.
    • Automatically wrapping subprocess calls would sometimes include semincolons and other line-ending tokens, rather than stopping at them. This has been fixed.
    • ๐Ÿ“š Numerous spelling errors in documentation, docstrings/comments, text strings and local variable names.

    • Spelling error in the xonsh.color_tools.make_pallete() public function declaration. This was fixed by renaming the function to xonsh.color_tools.make_palette() while maintaining a binding of make_pallete() to the new make_palette() in case users are already used to this API.

    • ๐Ÿ›  Fixed issue with starting triple quote strings being run as a command.

    • ๐Ÿ›  Fixed a problem with escaping charet () character for cmd.exe in the source-cmd function.

    • EOF in multi-line statement errors were misreported as being on line 0. Now they are correctly reported as being on the last line of the file.

  • v0.5.12 Changes

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed release.xsh to prevent it from dirtying the repo on release and leading to an unwanted .dev suffix on the version number
  • v0.5.11 Changes

    โž• Added:

    • ๐Ÿš€ release.xsh creates a github release with the merged news entries as the release body

    ๐Ÿ›  Fixed:

    • ๐Ÿง xonfig now displays the proper value for "on linux"
  • v0.5.10 Changes

    โž• Added:

    • โž• Added xclip and repo to default threadable predictors (Issues #2355 and #2348)
    • ๐Ÿ–จ Pretty printing of the $PATH variable
    • โž• Add "fzf-widgets" xontrib which provides fuzzy search productivity widgets with on custom keybindings to xontrib list.
    • ๐Ÿ†• New free_cwd xontrib for Windows, which prevent the current directory from being locked when the prompt is shown. This allows the other programs or Windows explorer to delete the current or parent directory. This is accomplished by resetting the CWD to the users home directory temporarily while the prompt is displayed. The directory is still locked while any commands are processed so xonsh still can't remove it own working directory.

    ๐Ÿ”„ Changed:

    • Codecov threshold to 2%

    โœ‚ Removed:

    • ๐Ÿ On Windows environments variables in wrapped like%foo% are no longer expanded automatically.

    ๐Ÿ›  Fixed:

    • ๐Ÿ›  Fixed the --rc option so it now runs xonsh with the specified rc file
    • @$ operator now functions properly when returned command is an alias
    • ๐Ÿ Correct line continuation would not work on Windows if the line continuations were used in the xonshrc file.
    • ๐Ÿ›  Fixed a regression in the Windows sudo command, that allows users to run elevated commands in xonsh.
    • ๐Ÿ›  Fix echo command from xoreutils.
    • ๐Ÿ›  Fixed a bug on Windows which meant xonsh wasn't using PATH environment variable but instead relying on a default value from the windows registry.