Xonsh

Latest version: v0.16.0

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

Scan your dependencies

Page 14 of 20

0.6.7

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

**Changed:**

* Xonsh live example has been re-added back to the documentation.


**Fixed:**

* Fixed issue where xonsh would fail to properly return the terminal prompt
(and eat up 100% CPU) after a failed subprocess command in interactive mode
if ``$RAISE_SUBPROC_ERROR = True``.
* ``xonsh.tokenize.tok_name`` no longer mutates the standard library ``tokenize.tok_name``.
A copy is made on import instead.

0.6.6

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

**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

0.6.5

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

**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.

0.6.4

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

**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.

0.6.3

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

**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.

0.6.2

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

**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

Page 14 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.