version bump to 0.4.4

This commit is contained in:
Anthony Scopatz 2016-07-20 21:42:28 -04:00
parent cd468a45ce
commit aa8b7352fc
27 changed files with 103 additions and 384 deletions

View file

@ -1,4 +1,4 @@
version: 0.4.3.{build}
version: 0.4.4.{build}
os: Windows Server 2012 R2
install:
- C:\Python35\Scripts\pip install --upgrade -r requirements-tests.txt

View file

@ -4,6 +4,107 @@ Xonsh Change Log
.. current developments
v0.4.4
====================
**Added:**
* New ``lazyobject()``, ``lazydict()``, and ``lazybool()`` decorators to turn
functions into lazy, global objects.
* ``vox remove`` command can remove multiple environments at once.
* Added FreeBSD support.
* Tab completion for pip python package manager.
* Regular expressions for enviroment variable matching
* __contains__ method on Env
* Added news tests to enforce changelog conformity.
* A new way to add optional items to the prompt format string has been added.
Instead of relying on formatter dict items being padded with a space, now the
padding characters are specified in the format string itself, in place of the
format spec (after a ``:``).
For example, previously the prompt string ``{cwd}{curr_branch} $`` would rely
on ``curr_branch`` giving its output prepended with a space for separation,
or outputting nothing if it is not applicable. Now ``curr_branch`` just
outputs a value or ``None``, and the prompt string has to specify the
surrounding characters: ``{cwd}{curr_branch: {}} $``. Here the value of
``curr_branch`` will be prepended with a space (``{}`` is a placeholder for
the value itself). The format string after ``:`` is applied only if the value
is not ``None``.
* ``xonsh.completers`` subpackage is now amalgamated.
* amalgamate.py will now warn if the same name is defined across multiple
different files.
* xonsh_builtins, xonsh_execer fixtures in conftest.py
* Docs on how to tweak the Windows ConHost for a better color scheme.
* Docs: how to fix Thunar's "Open Terminal Here" action.
* A new API class was added to Vox: ``xontrib.voxapi.Vox``. This allows programtic access to the virtual environment machinery for other xontribs. See the API documentation for details.
* History now accepts multiple slices arguments separated by spaces
**Changed:**
* amalgamate now works on Python 2 and allows relative imports.
* Top-level xonsh package now more lazy.
* Show conda environement name in prompt in parentheses similiar what conda does.
* Implementation of expandvars now uses regex
* Because of the addition of "optional items" to the prompt format string, the
functions ``xonsh.environ.current_branch``, ``xonsh.environ.env_name`` and
formatter dict items ``curr_branch``, ``current_job``, ``env_name`` are
no longer padded with a separator.
* many test cases to use fixtures and parametrization
* Public interface in ``xonsh.ansi_colors`` module now has ``ansi_``
prefix to prevent name conflicts with other parts of xonsh.
* Vox was moved to xontrib. Behaves exactly the same as before, just need to add it to your xontribs.
* is_int_as_str and is_slice_as_str are now reimplemented in EAFP style
**Deprecated:**
* yield statements (nose style) and for loops in tests
* is_int_or_slice
**Removed:**
* _is_in_env, _get_env_string functions on tools
* ``xonsh.environ.format_prompt`` has been dropped; ``partial_format_prompt``
can be used instead.
* for loops and yield statements in test cases, unused imports
* is_int_or_slice
**Fixed:**
* Fixed bug on Windows preventing xonsh from changing the console title.
* Unrecognized ``$XONSH_COLOR_STYLE`` values don't crash terminal.
* Writing the window title will no longer accidentally answer interactive
questions, eg ``rm -i`` now works as expected.
* more matching cases for envvar reference
* Certain linux VTE terminals would not start new tabs in the previous CWD.
This may now be rectified by adding ``{vte_new_tab_cwd}`` somewhere to the
prompt.
* Unqualified usage of Unstorable in xonsh setup wizard that was causing the
wizard to crash and burn
* Bare ``except:`` was replaced with ``except Exception`` to prevent
accidentally catching utility exceptions such as KeyboardInterrupt, which
caused unexpected problems like printing out the raw $PROMPT string.
* Fixed multiple definition of ``EQUAL``.
* Fixed multiple definition of ``pprint``.
* Fixed multiple definition of ``pyghooks``.
* Fixed multiple definition of ``pygments``.
* Fixed multiple definition of ``tokenize``.
* redundant and 'leaky' tests in nose
* Fix bug that prevented disabling $INTENSIFY_COLORS_ON_WIN in ``xonshrc``
* ``LazyJSON`` will now hide failures to close, and instead rely on reference
counting if something goes wrong.
* Fixed maximum recurssion error with color styles.
* Parser tables will no longer be generated in the current directory
by accident.
* Error messages when zsh or bash history file is not found
v0.4.3
====================

View file

@ -1,21 +0,0 @@
**Added:**
* ``xonsh.completers`` subpackage is now amalgamated.
* amalgamate.py will now warn if the same name is defined across multiple
different files.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fixed multiple definition of ``EQUAL``.
* Fixed multiple definition of ``pprint``.
* Fixed multiple definition of ``pyghooks``.
* Fixed multiple definition of ``pygments``.
* Fixed multiple definition of ``tokenize``.
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:**
* amalgamate now works on Python 2 and allows relative imports.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:**
* Show conda environement name in prompt in parentheses similiar what conda does.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,16 +0,0 @@
**Added:** None
**Changed:**
* Public interface in ``xonsh.ansi_colors`` module now has ``ansi_``
prefix to prevent name conflicts with other parts of xonsh.
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fixed maximum recurssion error with color styles.
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Unqualified usage of Unstorable in xonsh setup wizard that was causing the
wizard to crash and burn
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:**
* Added FreeBSD support.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,21 +0,0 @@
**Added:**
* History now accepts multiple slices arguments separated by spaces
**Changed:**
* is_int_as_str and is_slice_as_str are now reimplemented in EAFP style
**Deprecated:**
* is_int_or_slice
**Removed:**
* is_int_or_slice
**Fixed:**
* Error messages when zsh or bash history file is not found
**Security:** None

View file

@ -1,16 +0,0 @@
**Added:**
* New ``lazyobject()``, ``lazydict()``, and ``lazybool()`` decorators to turn
functions into lazy, global objects.
**Changed:**
* Top-level xonsh package now more lazy.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* ``LazyJSON`` will now hide failures to close, and instead rely on reference
counting if something goes wrong.
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:**
* Added news tests to enforce changelog conformity.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Bare ``except:`` was replaced with ``except Exception`` to prevent
accidentally catching utility exceptions such as KeyboardInterrupt, which
caused unexpected problems like printing out the raw $PROMPT string.
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Parser tables will no longer be generated in the current directory
by accident.
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:**
* Tab completion for pip python package manager.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,33 +0,0 @@
**Added:**
* A new way to add optional items to the prompt format string has been added.
Instead of relying on formatter dict items being padded with a space, now the
padding characters are specified in the format string itself, in place of the
format spec (after a ``:``).
For example, previously the prompt string ``{cwd}{curr_branch} $`` would rely
on ``curr_branch`` giving its output prepended with a space for separation,
or outputting nothing if it is not applicable. Now ``curr_branch`` just
outputs a value or ``None``, and the prompt string has to specify the
surrounding characters: ``{cwd}{curr_branch: {}} $``. Here the value of
``curr_branch`` will be prepended with a space (``{}`` is a placeholder for
the value itself). The format string after ``:`` is applied only if the value
is not ``None``.
**Changed:**
* Because of the addition of "optional items" to the prompt format string, the
functions ``xonsh.environ.current_branch``, ``xonsh.environ.env_name`` and
formatter dict items ``curr_branch``, ``current_job``, ``env_name`` are
no longer padded with a separator.
**Deprecated:** None
**Removed:**
* ``xonsh.environ.format_prompt`` has been dropped; ``partial_format_prompt``
can be used instead.
**Fixed:** None
**Security:** None

View file

@ -1,21 +0,0 @@
**Added:**
* xonsh_builtins, xonsh_execer fixtures in conftest.py
**Changed:**
* many test cases to use fixtures and parametrization
**Deprecated:**
* yield statements (nose style) and for loops in tests
**Removed:**
* for loops and yield statements in test cases, unused imports
**Fixed:**
* redundant and 'leaky' tests in nose
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:**
* Docs: how to fix Thunar's "Open Terminal Here" action.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,21 +0,0 @@
**Added:**
* Regular expressions for enviroment variable matching
* __contains__ method on Env
**Changed:**
* Implementation of expandvars now uses regex
**Deprecated:** None
**Removed:**
* _is_in_env, _get_env_string functions on tools
**Fixed:**
* more matching cases for envvar reference
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:**
* ``vox remove`` command can remove multiple environments at once.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:**
* A new API class was added to Vox: ``xontrib.voxapi.Vox``. This allows programtic access to the virtual environment machinery for other xontribs. See the API documentation for details.
**Changed:**
* Vox was moved to xontrib. Behaves exactly the same as before, just need to add it to your xontribs.
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Certain linux VTE terminals would not start new tabs in the previous CWD.
This may now be rectified by adding ``{vte_new_tab_cwd}`` somewhere to the
prompt.
**Security:** None

View file

@ -1,15 +0,0 @@
**Added:**
* Docs on how to tweak the Windows ConHost for a better color scheme.
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fix bug that prevented disabling $INTENSIFY_COLORS_ON_WIN in ``xonshrc``
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Fixed bug on Windows preventing xonsh from changing the console title.
**Security:** None

View file

@ -1,14 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Writing the window title will no longer accidentally answer interactive
questions, eg ``rm -i`` now works as expected.
**Security:** None

View file

@ -1,13 +0,0 @@
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:**
* Unrecognized ``$XONSH_COLOR_STYLE`` values don't crash terminal.
**Security:** None

View file

@ -1,4 +1,4 @@
__version__ = '0.4.3'
__version__ = '0.4.4'
# amalgamate exclude jupyter_kernel parser_table parser_test_table pyghooks
# amalgamate exclude winutils wizard