path
A string-based path manipulation library. All of the path operations you know and love, with solid support for Windows, POSIX (Linux and Mac OS X), and the web.
1.9.1
1000K downloads/mo
#11 most downloaded on pub.dev
dart-lang/core
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
Some releases are documented
notes for 28 of 71 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
76 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
76 releases · Jul 2013 to Oct 2024Releases
latest 60 of 76-
1.9.117 Oct 2024 -
1.9.005 Dec 2023Release notes
Open source →- Allow percent-encoded colons (
%3a) in drive letters infromUri. - Fixed an issue with the
splitmethod doc comment. - Require Dart 3.0
- Allow percent-encoded colons (
-
1.8.305 Dec 2022Release notes
Open source →- Support up to 16 arguments in join function and up to 15 arguments in absolute function.
-
1.8.218 May 2022Release notes
Open source →- Enable the
avoid_dynamic_callslint. - Populate the pubspec
repositoryfield.
- Enable the
-
1.8.117 Dec 2021 -
1.8.002 Feb 2021 -
1.8.0-nullsafety.303 Nov 2020 pre-releaseRelease notes
Open source →- Update SDK constraints to
>=2.12.0-0 <3.0.0based on beta release guidelines.
- Update SDK constraints to
-
1.8.0-nullsafety.223 Oct 2020 pre-release -
1.8.0-nullsafety.122 Sep 2020 pre-release -
1.8.0-nullsafety29 Jul 2020 pre-release -
1.7.013 Apr 2020 -
1.6.425 Jul 2019Release notes
Open source →-
Fixed a number of lints that affect the package health score.
-
Added an example.
-
-
1.6.324 Jul 2019Release notes
Open source →- Don't throw a FileSystemException from
currentif the working directory has been deleted, but we have a cached one we can use.
- Don't throw a FileSystemException from
-
1.6.218 Jul 2018 -
1.6.113 Jun 2018 -
1.6.005 Jun 2018Release notes
Open source →-
Add a
PathMapclass that uses path equality for its keys. -
Add a
PathSetclass that uses path equality for its contents.
-
-
1.5.121 Nov 2017Release notes
Open source →- Fix a number of bugs that occurred when the current working directory was
/on Linux or Mac OS.
- Fix a number of bugs that occurred when the current working directory was
-
1.5.007 Nov 2017 -
1.4.208 Jun 2017 -
1.4.108 Dec 2016Release notes
Open source →- Run
dart formatwith the new style. - Performance improvement for non-BMP characters.
Release notes
Open source →- Root-relative URLs like
/fooare now resolved relative to the drive letter forfileURLs that begin with a Windows-style drive letter. This matches the WHATWG URL specification.
- When a root-relative URLs like
/foois converted to a Windows path usingfromUrl(), it is now resolved relative to the drive letter. This matches IE's behavior.
- Run
-
1.4.010 Oct 2016Release notes
Open source →-
Add
equals(),hash()andcanonicalize()top-level functions andContextmethods. These make it easier to treat paths as map keys. -
Properly compare Windows paths case-insensitively.
-
Further improve the performance of
isWithin().
-
-
1.3.902 Dec 2015Release notes
Open source →- Further improve the performance of
isWithin()when paths contain/.sequences that aren't/../.
- Further improve the performance of
-
1.3.801 Dec 2015Release notes
Open source →-
Improve the performance of
isWithin()when the paths don't contain asymmetrical.or..components. -
Improve the performance of
relative()whenfromisnulland the path is already relative. -
Improve the performance of
currentwhen the current directory hasn't changed.
-
-
1.3.718 Nov 2015 -
1.3.609 Jul 2015 -
1.3.509 Apr 2015 -
1.3.427 Mar 2015 -
1.3.318 Feb 2015Release notes
Open source →- Performance improvement in
Context.relative- don't callcurrentiffromis not relative.
- Performance improvement in
-
1.3.229 Jan 2015 -
1.3.119 Dec 2014 -
1.3.006 Aug 2014Release notes
Open source →- Expose a top-level
contextfield that provides access to aContextobject for the current system.
- Expose a top-level
-
1.2.224 Jul 2014Release notes
Open source →- Remove the documentation link from the pubspec so this is linked to pub.dev by default.
1.2.1
-
Many members on
Stylethat provided access to patterns and functions used internally for parsing paths have been deprecated. -
Manually parse paths (rather than using RegExps to do so) for better performance.
1.2.0
- Added
path.prettyUri, which produces a human-readable representation of a URI.
1.1.0
path.fromUrinow accepts strings as well asUriobjects.
-
1.2.102 Jun 2014Nothing published for this version
-
1.2.023 May 2014Nothing published for this version
-
1.1.019 Mar 2014Nothing published for this version
-
1.0.010 Dec 2013Nothing published for this version
-
1.0.0-rc.122 Nov 2013 pre-releaseNothing published for this version
-
0.9.006 Nov 2013Nothing published for this version
-
0.8.1001 Nov 2013Nothing published for this version
-
0.8.10+304 Nov 2013Nothing published for this version
-
0.8.10+405 Nov 2013Nothing published for this version
-
0.8.931 Oct 2013Nothing published for this version
-
0.8.830 Oct 2013Nothing published for this version
-
0.8.728 Oct 2013Nothing published for this version
-
0.8.624 Oct 2013Nothing published for this version
-
0.8.521 Oct 2013Nothing published for this version
-
0.8.419 Oct 2013Nothing published for this version
-
0.8.317 Oct 2013Nothing published for this version
-
0.8.214 Oct 2013Nothing published for this version
-
0.8.104 Oct 2013Nothing published for this version
-
0.8.003 Oct 2013Nothing published for this version
-
0.7.627 Sep 2013Nothing published for this version
-
0.7.6+401 Oct 2013Nothing published for this version
-
0.7.521 Sep 2013Nothing published for this version
-
0.7.418 Sep 2013Nothing published for this version
-
0.7.3+116 Sep 2013Nothing published for this version
-
0.7.206 Sep 2013Nothing published for this version
-
0.7.2+108 Sep 2013Nothing published for this version
-
0.7.103 Sep 2013Nothing published for this version
-
0.7.028 Aug 2013Nothing published for this version