Skip to content

Releases: sarugaku/vistir

Release 0.5.2

20 May 05:43
1c4d2e1
Compare
Choose a tag to compare
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)

14 May 22:57
b843efc
Compare
Choose a tag to compare

0.5.1 (2020-05-14)

Bug Fixes

  • Fixed an issue which caused failures when calling
    contextmanagers.atomic_open_for_write due to assumed permission to
    call chmod which may not always be possible. #110
  • Fixed several bugs with encoding of stream output on Windows and
    filesystem paths on OSX as well as Windows. #111

Release 0.5.0

13 Jan 06:07
e911f51
Compare
Choose a tag to compare

0.5.0 (2020-01-13)

Features

  • Reimplemented vistir.contextmanagers.open_file to fall back to urllib.urlopen in the absence of requests, 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)

19 May 22:54
Compare
Choose a tag to compare

0.4.2 (2019-05-19)

Features

  • Shortened windows paths will now be properly resolved to the full
    path by vistir.path.normalize_path. #90

Bug Fixes

  • Corrected argument order of icacls command for fixing permission
    issues when removing paths on windows. #86
  • Fixed an issue which caused color wrapping of standard streams on
    windows to fail to surface critical attributes. #88

0.4.1 (2019-05-15)

15 May 03:13
Compare
Choose a tag to compare

0.4.1 (2019-05-15)

Features

  • Added expanded functionality to assist with the removal of read-only
    paths on Windows via icacls system calls if necessary. #81
  • Improved fs_encode compatibility shim in vistir.compat for
    handling of non-UTF8 data. #83

Bug Fixes

  • Fixed a bug with vistir.misc.echo accidentally wrapping streams
    with colorama 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

10 Apr 20:51
Compare
Choose a tag to compare

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 and vistir.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 backported NamedTemporaryFile instances. #74
  • Fixed a bug in vistir.misc.locale_encoding which caused invocation
    of a non-existent method called getlocaleencoding which forced all
    systems to use default encoding of ascii. #78

0.3.1 (2019-03-02)

09 Apr 23:36
94c35f5
Compare
Choose a tag to compare

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)

09 Apr 23:35
19bd6fb
Compare
Choose a tag to compare

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 an replace 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

Bug Fixes

  • Fix bug where FileNotFoundError is not imported from compat for
    rmtree #46
  • Fixed a bug with exception handling during _create_process calls. #49
  • Environment variables will now be properly passed through to run. #55

0.2.5 (2018-11-21)

09 Apr 23:35
0be7225
Compare
Choose a tag to compare

0.2.5 (2018-11-21)

Features

  • Added the ability to always write spinner output to stderr using
    write_to_stdout=False. #40
  • Added extra path normalization and comparison utilities. #42

0.2.4 (2018-11-12)

09 Apr 23:34
7ef4678
Compare
Choose a tag to compare

0.2.4 (2018-11-12)

Features

  • Remove additional text for ok and fail state #35
  • Backported compatibility shims from CPython for improved cleanup
    of readonly temporary directories on cleanup. #38