You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,25 @@
15
15
# <br><b>Changelog</b><br>
16
16
17
17
18
+
<spanid="v1-9-4" />
19
+
20
+
## 06.01.2026 `v1.9.4`
21
+
22
+
* Added a new base module `base.decorators` which contains custom decorators used throughout the library.
23
+
* Made `mypy_extensions` an optional dependency by wrapping all uses of `mypy_extensions.mypyc_attr` in a custom decorator that acts as a no-op if `mypy_extensions` is not installed.
24
+
* The methods from the `env_path` module that modify the PATH environment variable, no longer sort all paths alphabetically, but keep the original order, to not mess with the user's intended PATH order.
25
+
* Added a new TypeAlias `PathsList` to the `base.types` module, which matches a list of paths as strings or `pathlib.Path` objects.
26
+
27
+
**BREAKING CHANGES:**
28
+
* Renamed the module `path` to `file_sys` and its main class `Path` to `FileSys`, so you can better use it alongside the built-in `pathlib.Path` class without always needing to import one of them under an alias.
29
+
* Renamed most `FileSys` methods to better describe their functionality:
30
+
-`Path.extend()` is now `FileSys.extend_path()`
31
+
-`Path.extend_or_make()` is now `FileSys.extend_or_make_path()`
32
+
* Renamed the param `use_closest_match` in `FileSys.extend_path()` and `FileSys.extend_or_make_path()` to `fuzzy_match`, since that name is more commonly used for that functionality.
33
+
* Updated all library methods that work with paths to accept `pathlib.Path` objects additionally to strings, as path inputs.
34
+
* Also, all library methods that return paths now return `pathlib.Path` objects instead of strings.
0 commit comments