Path

Latest version: v17.0.0

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

Scan your dependencies

Page 1 of 16

17.0.0

=======

Deprecations and Removals
-------------------------

- Removed deprecated methods ``getcwd``, ``abspath``, ``ext``, ``listdir``, ``isdir``, ``isfile``, and ``text``.
- Removed deprecated support for passing ``bytes`` to ``write_text`` and ``write_lines(linesep=)`` parameter.

16.16.0

========

Features
--------

- Implement .replace. (214)
- Add .home classmethod. (214)

16.15.0

========

Features
--------

- Replaced 'open' overloads with 'functools.wraps(open)' for simple re-use. (225)


Bugfixes
--------

- Add type hints for .with_name, .suffix, .with_stem. (227)
- Add type hint for .absolute. (228)

16.14.0

========

Features
--------

- Add .symlink_to and .hardlink_to. (214)
- Add .cwd method and deprecated .getcwd. (214)

16.13.0

========

Features
--------

- Create 'absolute' method and deprecate 'abspath'. (214)
- In readlink, prefer the display path to the substitute path. (222)

16.12.1

========

Bugfixes
--------

- Restore functionality in .isdir and .isfile.

Page 1 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.