version bump to 0.5.7

This commit is contained in:
Anthony Scopatz 2017-03-01 11:42:00 -05:00
parent f35ac0fb12
commit adbf4a5233
36 changed files with 116 additions and 504 deletions

View file

@ -1,4 +1,4 @@
version: 0.5.6.{build}
version: 0.5.7.{build}
os: Windows Server 2012 R2
environment:

View file

@ -4,6 +4,120 @@ Xonsh Change Log
.. current developments
v0.5.7
====================
**Added:**
* New ``color_tools`` module provides basic color tools for converting
to and from various formats as well as creating pallettes from color
strings.
* Redirections may now be used in string and list-of-strings
aliases.
* Subprocess redirection may now forego the whitespace between the
redirection and a file name. For example,
``echo hello world >/dev/null``.
* Add a ``-P`` flag to the ``cd`` function in order to change directory and
following symlinks.
* ``xonfig tutorial`` command to launch the http://xon.sh/tutorial in the
browser.
* ``@(...)`` syntax now supports generators and tuples without parentheses.
* Sourcing foreign shells now have the ``--show`` option, which
lets you see when script will be run, and the ``--dryrun``
option which prevents the source from actually taking place.
Xonsh's foriegn shell API also added these keyword arguments.
* Subprocess mode now supports subshells. Place any xonsh
code between two parentheses, e.g. ``(cmd)``, to run
this command in a separate xonsh subprocess.
* Foreign shell aliases now have the ability to take extra arguments,
if needed.
* Xonsh will issue a warning message when the current working
directory has been remove out from under it and not replaced
prior to running the next command.
* Line continuation backslashes are respected on Windows in the PTK shell if
the backspace is is preceded by a space.
* Added ``ponysay`` as a command which will ususally not run in a
threaded mode in the commands cache.
* New ``jsonutils`` module available for serializing special
xonsh objects to JSON.
**Changed:**
* The literal tokens ``and`` and ``or`` must be surrounded by
whitespace to delimit subprocess mode. If they do not have
whitespace on both sides in subproc mode, they are condisered
to be part of a command argument.
* The ``xontrib`` command is now flagged as unthreadable and will be
run on the main Python thread. This allows xontribs to set signal
handlers and other operations that require the main thread.
* nvim (Neovim) has been flagged as unthreadable
* The interactive prompt will now catch ``SystemExit`` and, instead
of exiting the session, will refresh the prompt. This is the same
process as for keyboard interrupts.
* Xonsh no longer launches the wizard for new users. Instead a welcome screen is
shown which say how to launch the wizard.
* Added Windows ``expanduser()``-like function which prevents
the expansion of ``~`` that are not followed by a path
separator.
* Collecting xonsh history files was reported to have random runtime
OSError failures. This exception is now handled, just in case. The
The exception will still be printed in debug mode.
* ``Shell.stype`` has been renamed to ``Shell.shell_type``.
* The configuration wizard now displays the proper control sequence to leave
the wizard at the to start of the wizard itself. Note that this is Ctrl+D for
readline and Ctrl+C for prompt-toolkit.
* Callable alias proxy functions are now more friendly to
``functools.partial()``.
* ``prompt.vc.get_hg_branch`` now uses ``os.scandir`` to walk up the filetree
looking for a ``.hg`` directory. This results in (generally) faster branch
resolution compared to the subprocess call to ``hg root``.
* Xonsh's script and code caches will are now invalidated whenever the
xonsh version changes for a given Python version.
* Autowrapping of subprocess globs has been improved to cover
more cases that are ambiguous with Python syntax.
* Job control info when foregrounding or backgrounding jobs will now
only be displayed when xonsh is in interactive mode.
* Enabled virtual terminal processing in the prompt-toolkit shell for Windows.
**Fixed:**
* 3rd party pygments styles (like solorized or monokailight) are now
able to be used in xonsh. These styles are dynamically created upon
first use, rather than being lazily loaded by xonsh.
* On Windows, ``os.environ`` is case insensitive. This would potentially
change the case of envrionment variables set into the environment.
Xonsh now uses ``nt.envrion``, the case sensitive counterpart, to avoid
these issues on Windows.
* Fix how ``$PWD`` is managed in order to work with symlinks gracefully
* ``history replay`` no longer barfs on ``style_name`` when setting up the
environment
* ``Shell.shell_type`` is now properly set to the same value as ``$SHELL_TYPE``.
* Fixed ``source-zsh`` to work with zsh v5.2.
* Fixed issue where ``del (x, y)`` would raise a syntax error.
* Certain vim commands issue commands involving subshells,
and this is now supported.
* Null bytes handed to Popen are now automatically escaped prior
to running a subprocess. This preevents Popen from issuing
embedded null byte exceptions.
* Xonsh will no longer crash is the current working directory is
removed out from it.
* Multiline strings can now be written in subprocess mode.
* PTK completions will now correctly deduplicate autosuggest completions
and display completions values based on the cursor position.
* Fixed bug where trailing backspaces on Windows paths could be interpreted
as line continuations characters. Now line continuation characters must be
preceded by a space on Windows. This only applies to xonsh in interactive
mode to ensure scripts are portable.
* Importing ``*.xsh`` files will now respect the encoding listed in
that file and properly fallback to UTF-8. This beahviour follows
the rules described in PEP 263.
* Wizard is now able to properly serialize envrionment paths.
v0.5.6
====================

View file

@ -1,16 +0,0 @@
**Added:** None
**Changed:**
* The literal tokens ``and`` and ``or`` must be surrounded by
whitespace to delimit subprocess mode. If they do not have
whitespace on both sides in subproc mode, they are condisered
to be part of a command argument.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:**
* The interactive prompt will now catch ``SystemExit`` and, instead
of exiting the session, will refresh the prompt. This is the same
process as for keyboard interrupts.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:**
* Autowrapping of subprocess globs has been improved to cover
more cases that are ambiguous with Python syntax.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,18 +0,0 @@
**Added:**
* Xonsh will issue a warning message when the current working
directory has been remove out from under it and not replaced
prior to running the next command.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Xonsh will no longer crash is the current working directory is
removed out from it.
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fixed issue where ``del (x, y)`` would raise a syntax error.
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:**
* Foreign shell aliases now have the ability to take extra arguments,
if needed.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:**
* ``prompt.vc.get_hg_branch`` now uses ``os.scandir`` to walk up the filetree
looking for a ``.hg`` directory. This results in (generally) faster branch
resolution compared to the subprocess call to ``hg root``.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* ``history replay`` no longer barfs on ``style_name`` when setting up the
environment
**Security:** None

View file

@ -1,16 +0,0 @@
**Added:**
* Add a ``-P`` flag to the ``cd`` function in order to change directory and
following symlinks.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fix how ``$PWD`` is managed in order to work with symlinks gracefully
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:**
* ``@(...)`` syntax now supports generators and tuples without parentheses.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:**
* Xonsh's script and code caches will are now invalidated whenever the
xonsh version changes for a given Python version.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Importing ``*.xsh`` files will now respect the encoding listed in
that file and properly fallback to UTF-8. This beahviour follows
the rules described in PEP 263.
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:**
* Job control info when foregrounding or backgrounding jobs will now
only be displayed when xonsh is in interactive mode.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,16 +0,0 @@
**Added:**
* New ``jsonutils`` module available for serializing special
xonsh objects to JSON.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Wizard is now able to properly serialize envrionment paths.
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:**
* nvim (Neovim) has been flagged as unthreadable
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:**
* Subprocess redirection may now forego the whitespace between the
redirection and a file name. For example,
``echo hello world >/dev/null``.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,16 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* On Windows, ``os.environ`` is case insensitive. This would potentially
change the case of envrionment variables set into the environment.
Xonsh now uses ``nt.envrion``, the case sensitive counterpart, to avoid
these issues on Windows.
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Null bytes handed to Popen are now automatically escaped prior
to running a subprocess. This preevents Popen from issuing
embedded null byte exceptions.
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:**
* Collecting xonsh history files was reported to have random runtime
OSError failures. This exception is now handled, just in case. The
The exception will still be printed in debug mode.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:**
* Callable alias proxy functions are now more friendly to
``functools.partial()``.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:**
* Added ``ponysay`` as a command which will ususally not run in a
threaded mode in the commands cache.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* PTK completions will now correctly deduplicate autosuggest completions
and display completions values based on the cursor position.
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:**
* Enabled virtual terminal processing in the prompt-toolkit shell for Windows.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Multiline strings can now be written in subprocess mode.
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:**
* Redirections may now be used in string and list-of-strings
aliases.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,18 +0,0 @@
**Added:** None
**Changed:**
* ``Shell.stype`` has been renamed to ``Shell.shell_type``.
* The configuration wizard now displays the proper control sequence to leave
the wizard at the to start of the wizard itself. Note that this is Ctrl+D for
readline and Ctrl+C for prompt-toolkit.
**Deprecated:** None
**Removed:** None
**Fixed:**
* ``Shell.shell_type`` is now properly set to the same value as ``$SHELL_TYPE``.
**Security:** None

View file

@ -1,18 +0,0 @@
**Added:**
* Subprocess mode now supports subshells. Place any xonsh
code between two parentheses, e.g. ``(cmd)``, to run
this command in a separate xonsh subprocess.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Certain vim commands issue commands involving subshells,
and this is now supported.
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:**
* The ``xontrib`` command is now flagged as unthreadable and will be
run on the main Python thread. This allows xontribs to set signal
handlers and other operations that require the main thread.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,17 +0,0 @@
**Added:**
* ``xonfig tutorial`` command to launch the http://xon.sh/tutorial in the
browser.
**Changed:**
* Xonsh no longer launches the wizard for new users. Instead a welcome screen is
shown which say how to launch the wizard.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,19 +0,0 @@
**Added:**
* Line continuation backslashes are respected on Windows in the PTK shell if
the backspace is is preceded by a space.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fixed bug where trailing backspaces on Windows paths could be interpreted
as line continuations characters. Now line continuation characters must be
preceded by a space on Windows. This only applies to xonsh in interactive
mode to ensure scripts are portable.
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:**
* Added Windows ``expanduser()``-like function which prevents
the expansion of ``~`` that are not followed by a path
separator.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,19 +0,0 @@
**Added:**
* New ``color_tools`` module provides basic color tools for converting
to and from various formats as well as creating pallettes from color
strings.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* 3rd party pygments styles (like solorized or monokailight) are now
able to be used in xonsh. These styles are dynamically created upon
first use, rather than being lazily loaded by xonsh.
**Security:** None

View file

@ -1,18 +0,0 @@
**Added:**
* Sourcing foreign shells now have the ``--show`` option, which
lets you see when script will be run, and the ``--dryrun``
option which prevents the source from actually taking place.
Xonsh's foriegn shell API also added these keyword arguments.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fixed ``source-zsh`` to work with zsh v5.2.
**Security:** None

View file

@ -1,4 +1,4 @@
__version__ = '0.5.6'
__version__ = '0.5.7'
# amalgamate exclude jupyter_kernel parser_table parser_test_table pyghooks