Vistir

Latest version: v0.8.0

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

Scan your dependencies

Page 3 of 6

0.4.2

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

Features
--------

- Shortened windows paths will now be properly resolved to the full path by ``vistir.path.normalize_path``. `90 <https://github.com/sarugaku/vistir/issues/90>`_


Bug Fixes
---------

- Corrected argument order of ``icacls`` command for fixing permission issues when removing paths on windows. `86 <https://github.com/sarugaku/vistir/issues/86>`_

- Fixed an issue which caused color wrapping of standard streams on windows to fail to surface critical attributes. `88 <https://github.com/sarugaku/vistir/issues/88>`_

0.4.1

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

Features
--------

- Added expanded functionality to assist with the removal of read-only paths on Windows via ``icacls`` system calls if necessary. `81 <https://github.com/sarugaku/vistir/issues/81>`_

- Improved ``fs_encode`` compatibility shim in ``vistir.compat`` for handling of non-UTF8 data. `83 <https://github.com/sarugaku/vistir/issues/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 <https://github.com/sarugaku/vistir/issues/82>`_

- Fixed ``vistir.misc.to_bytes`` implementation to respect supplied encoding. `83 <https://github.com/sarugaku/vistir/issues/83>`_

- Blocking calls to ``vistir.misc.run`` will now properly handle ``KeyboardInterrupt`` events by terminating the subprocess and returning the result. `84 <https://github.com/sarugaku/vistir/issues/84>`_

0.4.0

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

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 <https://github.com/sarugaku/vistir/issues/79>`_


Bug Fixes
---------

- Fixed a bug which caused test failures due to generated paths on *nix based operating systems which were too long. `65 <https://github.com/sarugaku/vistir/issues/65>`_

- Fixed a bug which caused spinner output to sometimes attempt to double encode on python 2, resulting in failed output encoding. `69 <https://github.com/sarugaku/vistir/issues/69>`_

- Fixed a bug with the ``rmtree`` error handler implementation in ``compat.TemporaryDirectory`` which caused cleanup to fail intermittently on windows. `72 <https://github.com/sarugaku/vistir/issues/72>`_

- Fixed an issue where paths could sometimes fail to be fs-encoded properly when using backported ``NamedTemporaryFile`` instances. `74 <https://github.com/sarugaku/vistir/issues/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 <https://github.com/sarugaku/vistir/issues/78>`_

0.3.1

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

Features
--------

- Added a custom cursor hiding implementation to avoid depending on the cursor library, which was re-released under the GPL. `57 <https://github.com/sarugaku/vistir/issues/57>`_

0.3.0

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

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 <https://github.com/sarugaku/vistir/issues/48>`_

- Added new entries in ``vistir.compat`` to support movements to ``collections.abc``: ``Mapping``, ``Sequence``, ``Set``, ``ItemsView``. `51 <https://github.com/sarugaku/vistir/issues/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 <https://github.com/sarugaku/vistir/issues/52>`_

- Added support for properly encoding and decoding filesystem paths at the boundaries across python versions and platforms. `53 <https://github.com/sarugaku/vistir/issues/53>`_


Bug Fixes
---------

- Fix bug where FileNotFoundError is not imported from compat for rmtree `46 <https://github.com/sarugaku/vistir/issues/46>`_

- Fixed a bug with exception handling during ``_create_process`` calls. `49 <https://github.com/sarugaku/vistir/issues/49>`_

- Environment variables will now be properly passed through to ``run``. `55 <https://github.com/sarugaku/vistir/issues/55>`_

0.2.5

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

Features
--------

- Added the ability to always write spinner output to stderr using ``write_to_stdout=False``. `40 <https://github.com/sarugaku/vistir/issues/40>`_

- Added extra path normalization and comparison utilities. `42 <https://github.com/sarugaku/vistir/issues/42>`_

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.