Skip to content

Commit

Permalink
Release 2.0.0 (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenw authored Jan 25, 2024
1 parent 2ec395a commit 760daa5
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,46 @@ The format is based on `Keep a Changelog`_,
and this project adheres to `Semantic Versioning`_.


Version 2.0.0 (2024-01-25)
--------------------------

* Added: ``follow_symlink`` keyword argument
to ``audeer.path()``
with default value ``False``
* Added: ``follow_symlink`` keyword argument
to ``audeer.rmdir()``
with default value ``True``
* Changed: ``audeer.path()`` does no longer
uses ``os.path.realpath()``,
but ``os.path.abspath()``.
This means it does no longer convert symlinks
to the real path,
but returns the path to the symlink.
This provides a speed up of ``audeer.path()``
up to 6x
as it no longer requires a disk operation.
The old behavior of ``audeer.path()``
can be achieved by calling
``audeer.path(..., follow_symlink=True)``.
The output of the following functions
is also affected by this change
if a symlink is part of their input path:
``audeer.common_directory()``,
``audeer.download_url()``,
``audeer.list_dir_names()``,
``audeer.list_file_names()``,
``audeer.mkdir()``,
``audeer.touch()``
* Changed: the ``files`` argument of ``audeer.create_archive()``
can no longer include symbolic links
that are located outside of ``root``
* Fixed: ``audeer.basename_wo_ext()``,
``audeer.file_extension()``,
and ``audeer.replace_file_extension()``
are no longer affected by existing files and symlinks,
but rely only on the provided input string


Version 1.21.0 (2023-12-06)
---------------------------

Expand Down

0 comments on commit 760daa5

Please sign in to comment.