Releases: sarugaku/vistir
Releases · sarugaku/vistir
Release 0.5.2
Version 0.5.2 Features -------- - vistir.compat now includes a backport of os.path.samefile for use on Windows on python 2.7. _
0.5.1 (2020-05-14)
0.5.1 (2020-05-14)
Bug Fixes
Release 0.5.0
0.5.0 (2020-01-13)
Features
- Reimplemented
vistir.contextmanagers.open_file
to fall back tourllib.urlopen
in the absence ofrequests
, which is now an optional extra. #102
Bug Fixes
- Fixed a bug which caused
path_to_url
to sometimes fail to properly encode surrogates using utf-8 on windows using python 3. #100
0.4.2 (2019-05-19)
0.4.2 (2019-05-19)
Features
- Shortened windows paths will now be properly resolved to the full
path byvistir.path.normalize_path
. #90
Bug Fixes
0.4.1 (2019-05-15)
0.4.1 (2019-05-15)
Features
- Added expanded functionality to assist with the removal of read-only
paths on Windows viaicacls
system calls if necessary. #81 - Improved
fs_encode
compatibility shim invistir.compat
for
handling of non-UTF8 data. #83
Bug Fixes
- Fixed a bug with
vistir.misc.echo
accidentally wrapping streams
withcolorama
when it was not needed. Fixed a bug with rendering
colors in text streams. #82 - Fixed
vistir.misc.to_bytes
implementation to respect supplied
encoding. #83 - Blocking calls to
vistir.misc.run
will now properly handle
KeyboardInterrupt
events by terminating the subprocess and
returning the result. #84
0.4.0
0.4.0 (2019-04-10)
Features
- Added full native support for windows unicode consoles and the
extended unicode character set when using
vistir.misc.StreamWrapper
instances via
vistir.misc.get_wrapped_stream
andvistir.misc.get_text_stream
. #79
Bug Fixes
- Fixed a bug which caused test failures due to generated paths on
*nix based operating systems which were too long. #65 - Fixed a bug which caused spinner output to sometimes attempt to
double encode on python 2, resulting in failed output encoding. #69 - Fixed a bug with the
rmtree
error handler implementation in
compat.TemporaryDirectory
which caused cleanup to fail
intermittently on windows. #72 - Fixed an issue where paths could sometimes fail to be fs-encoded
properly when using backportedNamedTemporaryFile
instances. #74 - Fixed a bug in
vistir.misc.locale_encoding
which caused invocation
of a non-existent method calledgetlocaleencoding
which forced all
systems to use default encoding ofascii
. #78
0.3.1 (2019-03-02)
0.3.1 (2019-03-02)
Features
- Added a custom cursor hiding implementation to avoid depending on
the cursor library, which was re-released under the GPL. #57
0.3.0 (2019-01-01)
0.3.0 (2019-01-01)
Features
- Added a new
vistir.misc.StreamWrapper
class with
vistir.misc.get_wrapped_stream()
to wrap existing streams and
vistir.contextmanagers.replaced_stream()
to temporarily replace a
stream. #48 - Added new entries in
vistir.compat
to support movements to
collections.abc
:Mapping
,Sequence
,Set
,ItemsView
. #51 - Improved
decode_for_output
to handle decoding failures gracefully
by moving to anreplace
strategy. Now also allows a translation
map to be provided to translate specific non-ascii characters when
writing to outputs. #52 - Added support for properly encoding and decoding filesystem paths at
the boundaries across python versions and platforms. #53