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