Xonsh

Latest version: v0.16.0

Safety actively analyzes 623075 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 20

0.16.0

====================

**Added:**

* Square brackets can now be used in command arguments without quotes (e.g. `echo a[b]`)
* Add ``XONSH_BASH_PATH_OVERRIDE`` option (off-by-default) to override what is
returned by `xonsh.platform.bash_command`.
* Added PATH.prepend(path) to add path to the beginning.

**Changed:**

* Xonsh AppImage now on Python 3.12 that works faster.
* Xonsh AppImage: pinned prompt-toolkit version until fix upstream issue.
* Builtin aliases (xontrib, history) switched to threadable mode.
* EnvPath methods (append, remove, add, insert) prepare the path before action.
* Replaced black formatter with `ruff-format <https://docs.astral.sh/ruff/>`_
* ``source_foreign_fn`` now does not run subshells in interactive mode, so
associated RC files like ``zshrc`` and ``bashrc`` will not be auto-loaded on
sourcing.
* Removed usage of deprecated ``cgi`` module

**Removed:**

* Removed ``ArgParserAlias.hook_pre_add_argument``, ``ArgParserAlias.hook_post_add_argument``.
Please use custom action instead to modify the argument options.
* Removed deprecated module ``xonsh.proc``

**Fixed:**

* Fixed an issue with completions when using absolute paths to commands and having $UPDATE_COMPLETIONS_ON_KEYPRESS set to True. https://github.com/xonsh/xonsh/issues/5127
* Jobs: fixed "index out of range" exception.
* Expressions like ``2>1`` are now parsed correctly as Python code instead of being treated like special io-redirection operators.
* Redirect tokens in quotes (e.g. ">", "2>", "2>1") are now correctly passed to commands as regular arguments.
* Fixed NotADirectoryError during load dircolors.
* Fixed a bug that caused ``xonfig web`` to overwrite its own configuration file. See https://github.com/xonsh/xonsh/issues/5297
* If an error is encountered while loading the xonshrc file, the traceback is now output as plain text rather than as a list of Tokens

**Authors:**

* Gil Forsyth
* Noortheen Raja
* anki-code
* pre-commit-ci[bot]
* Peter Ye
* dependabot[bot]
* l-no

0.15.1

====================

**Fixed:**

* pytest: Fix pytest collection starting at pytest>=8.1.0

**Authors:**

* doronz88
* Daniel Saunders
* Andrew

0.15.0

====================

**Added:**

* `Atuin <https://atuin.sh/>`_ now has official support for xonsh. (Related PR: https://github.com/atuinsh/atuin/pull/1375)

**Changed:**

* Updated docs to reflect VS Code support for xonsh as the user's default shell.
* Pinned prompt-toolkit version 3.0.29-3.0.40 to workaround upstream issue. More info in issue 5241.

**Authors:**

* anki-code
* pre-commit-ci[bot]
* Jason R. Coombs
* dependabot[bot]
* Matthieu LAURENT

0.14.4

====================

**Added:**

* System clipboard can be fully disabled using ``$XONSH_USE_SYSTEM_CLIPBOARD``.

**Authors:**

* anki-code
* pre-commit-ci[bot]
* dependabot[bot]
* Stefano Rivera
* Nathan Monfils
* JamesParrott
* Airat Makhmutov

0.14.3

====================

**Added:**

* Added ``on_pre_spec_run`` event.
* Added ``on_post_spec_run`` event.

**Fixed:**

* ``xonsh`` now adds the user site packages directory to ``sys.path`` where
required for proper ``xontrib`` discovery

**Authors:**

* Gil Forsyth
* pre-commit-ci[bot]
* Jacqueline Leykam
* Joshix-1

0.14.2

====================

**Fixed:**

* history: fix json file permissions upon `sudo` (5220)
* ``cd`` with no arguments will always return to ``$HOME``
* Correctly parse multi line foreign aliases
* Upgrade Python version at the introduction (https://github.com/xonsh/xonsh/pull/5193)

**Authors:**

* Gil Forsyth
* Noortheen Raja
* anki-code
* pre-commit-ci[bot]
* dependabot[bot]
* doronz88
* mgunyho
* ShalokShalom
* Wilfried Pollan

Page 1 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.