| 1 |
# Changelog |
| 2 |
|
| 3 |
# 4.0.1 |
| 4 |
|
| 5 |
* Fix "Implicitly nullable parameter" PHP 8.4 warning (libraryupgrader) |
| 6 |
|
| 7 |
## 4.0.0 |
| 8 |
|
| 9 |
The library now requires PHP 7.4 or later. |
| 10 |
|
| 11 |
Changed: |
| 12 |
|
| 13 |
* Switch to PSR-4 autoloader. |
| 14 |
|
| 15 |
Removed: |
| 16 |
|
| 17 |
* PHP 7.2, and 7.3 are no longer supported. |
| 18 |
|
| 19 |
## 3.0.0 |
| 20 |
|
| 21 |
The library now requires PHP 7.2 or later. |
| 22 |
|
| 23 |
Changed: |
| 24 |
|
| 25 |
* Add strict type hints to `RelPath::joinPath()` and other RelPath methods. |
| 26 |
|
| 27 |
Removed: |
| 28 |
|
| 29 |
* The `RelPath` namespace, deprecated in 2.1.0, has been removed. |
| 30 |
Use `Wikimedia\RelPath` instead. |
| 31 |
* PHP 5.5, 5.6, 7.0, and 7.1 are no longer supported. |
| 32 |
|
| 33 |
## 2.1.1 |
| 34 |
|
| 35 |
Fixed: |
| 36 |
|
| 37 |
* The `RelPath\joinPath` function was calling an undefined |
| 38 |
function `oinPath`. This has been fixed. |
| 39 |
|
| 40 |
## 2.1.0 |
| 41 |
|
| 42 |
Changed: |
| 43 |
|
| 44 |
* The `RelPath` namespace functions are now static methods on a new |
| 45 |
`RelPath` class in the `Wikimedia` namespace. |
| 46 |
For example, change `RelPath\joinPath` to `Wikimedia\RelPath::joinPath`. |
| 47 |
The old functions are kept for backward compatibility. |
| 48 |
|
| 49 |
## 2.0.0 |
| 50 |
|
| 51 |
The library now requires PHP 5.5 or later. |
| 52 |
|
| 53 |
Removed: |
| 54 |
|
| 55 |
* PHP 5.3 and PHP 5.4 are no longer supported. |
| 56 |
|
| 57 |
## 1.0.4 |
| 58 |
|
| 59 |
Fixed: |
| 60 |
|
| 61 |
* Normalize root directory slash on Windows to forward slash. |
| 62 |
The leading slash could sometimes change from a forward slash |
| 63 |
to a backslash due to how `dirname()` behaves on Windows. |
| 64 |
|
| 65 |
## 1.0.3 |
| 66 |
|
| 67 |
Changed: |
| 68 |
|
| 69 |
* Collapse redundant path segments in `RelPath\joinPath()`. |
| 70 |
The method could previously return `/foo/./bar` or `/foo/baz/../bar`, |
| 71 |
but would now return `/foo/bar` instead. |
| 72 |
|
| 73 |
## 1.0.1 |
| 74 |
|
| 75 |
Added: |
| 76 |
|
| 77 |
* New `RelPath\joinPath()` method. This is analogous to Python's `os.path.join()`. |
| 78 |
|
| 79 |
## 1.0.0 |
| 80 |
|
| 81 |
Initial release |