|
| 1 | +## 1.9.1-wip |
| 2 | + |
| 3 | +- Require Dart 3.4 |
| 4 | + |
| 5 | +## 1.9.0 |
| 6 | + |
| 7 | +* Allow percent-encoded colons (`%3a`) in drive letters in `fromUri`. |
| 8 | +* Fixed an issue with the `split` method doc comment. |
| 9 | +* Require Dart 3.0 |
| 10 | + |
| 11 | +## 1.8.3 |
| 12 | + |
| 13 | +* Support up to 16 arguments in join function and up to 15 arguments in absolute function. |
| 14 | + |
| 15 | +## 1.8.2 |
| 16 | + |
| 17 | +* Enable the `avoid_dynamic_calls` lint. |
| 18 | +* Populate the pubspec `repository` field. |
| 19 | + |
| 20 | +## 1.8.1 |
| 21 | + |
| 22 | +* Don't crash when an empty string is passed to `toUri()`. |
| 23 | + |
| 24 | +## 1.8.0 |
| 25 | + |
| 26 | +* Stable release for null safety. |
| 27 | + |
| 28 | +## 1.8.0-nullsafety.3 |
| 29 | + |
| 30 | +* Update SDK constraints to `>=2.12.0-0 <3.0.0` based on beta release |
| 31 | + guidelines. |
| 32 | + |
| 33 | +## 1.8.0-nullsafety.2 |
| 34 | + |
| 35 | +* Allow prerelease versions of the 2.12 sdk. |
| 36 | + |
| 37 | +## 1.8.0-nullsafety.1 |
| 38 | + |
| 39 | +* Allow 2.10 stable and 2.11.0 dev SDK versions. |
| 40 | + |
| 41 | +## 1.8.0-nullsafety |
| 42 | + |
| 43 | +* Migrate to null safety. |
| 44 | + |
| 45 | +## 1.7.0 |
| 46 | + |
| 47 | +* Add support for multiple extension in `context.extension()`. |
| 48 | + |
| 49 | +## 1.6.4 |
| 50 | + |
| 51 | +* Fixed a number of lints that affect the package health score. |
| 52 | + |
| 53 | +* Added an example. |
| 54 | + |
| 55 | +## 1.6.3 |
| 56 | + |
| 57 | +* Don't throw a FileSystemException from `current` if the working directory has |
| 58 | + been deleted, but we have a cached one we can use. |
| 59 | + |
| 60 | +## 1.6.2 |
| 61 | + |
| 62 | +* Set max SDK version to `<3.0.0`, and adjust other dependencies. |
| 63 | + |
| 64 | +## 1.6.1 |
| 65 | + |
| 66 | +* Drop the `retype` implementation for compatibility with the latest SDK. |
| 67 | + |
| 68 | +## 1.6.0 |
| 69 | + |
| 70 | +* Add a `PathMap` class that uses path equality for its keys. |
| 71 | + |
| 72 | +* Add a `PathSet` class that uses path equality for its contents. |
| 73 | + |
| 74 | +## 1.5.1 |
| 75 | + |
| 76 | +* Fix a number of bugs that occurred when the current working directory was `/` |
| 77 | + on Linux or Mac OS. |
| 78 | + |
| 79 | +## 1.5.0 |
| 80 | + |
| 81 | +* Add a `setExtension()` top-level function and `Context` method. |
| 82 | + |
| 83 | +## 1.4.2 |
| 84 | + |
| 85 | +* Treat `package:` URLs as absolute. |
| 86 | + |
| 87 | +* Normalize `c:\foo\.` to `c:\foo`. |
| 88 | + |
| 89 | +## 1.4.1 |
| 90 | + |
| 91 | +* Root-relative URLs like `/foo` are now resolved relative to the drive letter |
| 92 | + for `file` URLs that begin with a Windows-style drive letter. This matches the |
| 93 | + [WHATWG URL specification][]. |
| 94 | + |
| 95 | +[WHATWG URL specification]: https://url.spec.whatwg.org/#file-slash-state |
| 96 | + |
| 97 | +* When a root-relative URLs like `/foo` is converted to a Windows path using |
| 98 | + `fromUrl()`, it is now resolved relative to the drive letter. This matches |
| 99 | + IE's behavior. |
| 100 | + |
| 101 | +## 1.4.0 |
| 102 | + |
| 103 | +* Add `equals()`, `hash()` and `canonicalize()` top-level functions and |
| 104 | + `Context` methods. These make it easier to treat paths as map keys. |
| 105 | + |
| 106 | +* Properly compare Windows paths case-insensitively. |
| 107 | + |
| 108 | +* Further improve the performance of `isWithin()`. |
| 109 | + |
| 110 | +## 1.3.9 |
| 111 | + |
| 112 | +* Further improve the performance of `isWithin()` when paths contain `/.` |
| 113 | + sequences that aren't `/../`. |
| 114 | + |
| 115 | +## 1.3.8 |
| 116 | + |
| 117 | +* Improve the performance of `isWithin()` when the paths don't contain |
| 118 | + asymmetrical `.` or `..` components. |
| 119 | + |
| 120 | +* Improve the performance of `relative()` when `from` is `null` and the path is |
| 121 | + already relative. |
| 122 | + |
| 123 | +* Improve the performance of `current` when the current directory hasn't |
| 124 | + changed. |
| 125 | + |
| 126 | +## 1.3.7 |
| 127 | + |
| 128 | +* Improve the performance of `absolute()` and `normalize()`. |
| 129 | + |
| 130 | +## 1.3.6 |
| 131 | + |
| 132 | +* Ensure that `path.toUri` preserves trailing slashes for relative paths. |
| 133 | + |
| 134 | +## 1.3.5 |
| 135 | + |
| 136 | +* Added type annotations to top-level and static fields. |
| 137 | + |
| 138 | +## 1.3.4 |
| 139 | + |
| 140 | +* Fix dev_compiler warnings. |
| 141 | + |
| 142 | +## 1.3.3 |
| 143 | + |
| 144 | +* Performance improvement in `Context.relative` - don't call `current` if `from` |
| 145 | + is not relative. |
| 146 | + |
| 147 | +## 1.3.2 |
| 148 | + |
| 149 | +* Fix some analyzer hints. |
| 150 | + |
| 151 | +## 1.3.1 |
| 152 | + |
| 153 | +* Add a number of performance improvements. |
| 154 | + |
| 155 | +## 1.3.0 |
| 156 | + |
| 157 | +* Expose a top-level `context` field that provides access to a `Context` object |
| 158 | + for the current system. |
| 159 | + |
| 160 | +## 1.2.3 |
| 161 | + |
| 162 | +* Don't cache path Context based on cwd, as cwd involves a system-call to |
| 163 | + compute. |
| 164 | + |
| 165 | +## 1.2.2 |
| 166 | + |
| 167 | +* Remove the documentation link from the pubspec so this is linked to |
| 168 | + pub.dev by default. |
| 169 | + |
| 170 | +# 1.2.1 |
| 171 | + |
| 172 | +* Many members on `Style` that provided access to patterns and functions used |
| 173 | + internally for parsing paths have been deprecated. |
| 174 | + |
| 175 | +* Manually parse paths (rather than using RegExps to do so) for better |
| 176 | + performance. |
| 177 | + |
| 178 | +# 1.2.0 |
| 179 | + |
| 180 | +* Added `path.prettyUri`, which produces a human-readable representation of a |
| 181 | + URI. |
| 182 | + |
| 183 | +# 1.1.0 |
| 184 | + |
| 185 | +* `path.fromUri` now accepts strings as well as `Uri` objects. |
0 commit comments