PackageTrack
Sign in Get early access

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 2024
2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 60 of 76
  1. 1.9.1 17 Oct 2024
    Release notes
    • Require Dart 3.4
    • Move to dart-lang/core monorepo.
    Open source →
  2. 1.9.0 05 Dec 2023
    Release notes
    • Allow percent-encoded colons (%3a) in drive letters in fromUri.
    • Fixed an issue with the split method doc comment.
    • Require Dart 3.0
    Open source →
  3. 1.8.3 05 Dec 2022
    Release notes
    • Support up to 16 arguments in join function and up to 15 arguments in absolute function.
    Open source →
  4. 1.8.2 18 May 2022
    Release notes
    • Enable the avoid_dynamic_calls lint.
    • Populate the pubspec repository field.
    Open source →
  5. 1.8.1 17 Dec 2021
    Release notes
    • Don't crash when an empty string is passed to toUri().
    Open source →
  6. 1.8.0 02 Feb 2021
    Release notes
    • Stable release for null safety.
    Open source →
  7. 1.8.0-nullsafety.3 03 Nov 2020 pre-release
    Release notes
    • Update SDK constraints to >=2.12.0-0 <3.0.0 based on beta release guidelines.
    Open source →
  8. 1.8.0-nullsafety.2 23 Oct 2020 pre-release
    Release notes
    • Allow prerelease versions of the 2.12 sdk.
    Open source →
  9. 1.8.0-nullsafety.1 22 Sep 2020 pre-release
    Release notes
    • Allow 2.10 stable and 2.11.0 dev SDK versions.
    Open source →
  10. 1.8.0-nullsafety 29 Jul 2020 pre-release
    Release notes
    • Migrate to null safety.
    Open source →
  11. 1.7.0 13 Apr 2020
    Release notes
    • Add support for multiple extension in context.extension().
    Open source →
  12. 1.6.4 25 Jul 2019
    Release notes
    • Fixed a number of lints that affect the package health score.

    • Added an example.

    Open source →
  13. 1.6.3 24 Jul 2019
    Release notes
    • Don't throw a FileSystemException from current if the working directory has been deleted, but we have a cached one we can use.
    Open source →
  14. 1.6.2 18 Jul 2018
    Release notes
    • Set max SDK version to <3.0.0, and adjust other dependencies.
    Open source →
  15. 1.6.1 13 Jun 2018
    Release notes
    • Drop the retype implementation for compatibility with the latest SDK.
    Open source →
  16. 1.6.0 05 Jun 2018
    Release notes
    • Add a PathMap class that uses path equality for its keys.

    • Add a PathSet class that uses path equality for its contents.

    Open source →
  17. 1.5.1 21 Nov 2017
    Release notes
    • Fix a number of bugs that occurred when the current working directory was / on Linux or Mac OS.
    Open source →
  18. 1.5.0 07 Nov 2017
    Release notes
    • Add a setExtension() top-level function and Context method.
    Open source →
  19. 1.4.2 08 Jun 2017
    Release notes
    • Treat package: URLs as absolute.

    • Normalize c:\foo\. to c:\foo.

    Open source →
  20. 1.4.1 08 Dec 2016
    Release notes
    • Run dart format with the new style.
    • Performance improvement for non-BMP characters.
    Open source →
    Release notes
    • Root-relative URLs like /foo are now resolved relative to the drive letter for file URLs that begin with a Windows-style drive letter. This matches the WHATWG URL specification.
    • When a root-relative URLs like /foo is converted to a Windows path using fromUrl(), it is now resolved relative to the drive letter. This matches IE's behavior.
    Open source →
  21. 1.4.0 10 Oct 2016
    Release notes
    • Add equals(), hash() and canonicalize() top-level functions and Context methods. These make it easier to treat paths as map keys.

    • Properly compare Windows paths case-insensitively.

    • Further improve the performance of isWithin().

    Open source →
  22. 1.3.9 02 Dec 2015
    Release notes
    • Further improve the performance of isWithin() when paths contain /. sequences that aren't /../.
    Open source →
  23. 1.3.8 01 Dec 2015
    Release notes
    • Improve the performance of isWithin() when the paths don't contain asymmetrical . or .. components.

    • Improve the performance of relative() when from is null and the path is already relative.

    • Improve the performance of current when the current directory hasn't changed.

    Open source →
  24. 1.3.7 18 Nov 2015
    Release notes
    • Improve the performance of absolute() and normalize().
    Open source →
  25. 1.3.6 09 Jul 2015
    Release notes
    • Ensure that path.toUri preserves trailing slashes for relative paths.
    Open source →
  26. 1.3.5 09 Apr 2015
    Release notes
    • Added type annotations to top-level and static fields.
    Open source →
  27. 1.3.4 27 Mar 2015
    Release notes
    • Fix dev_compiler warnings.
    Open source →
  28. 1.3.3 18 Feb 2015
    Release notes
    • Performance improvement in Context.relative - don't call current if from is not relative.
    Open source →
  29. 1.3.2 29 Jan 2015
    Release notes
    • Fix some analyzer hints.
    Open source →
  30. 1.3.1 19 Dec 2014
    Release notes
    • Add a number of performance improvements.
    Open source →
  31. 1.3.0 06 Aug 2014
    Release notes
    • Expose a top-level context field that provides access to a Context object for the current system.
    Open source →
  32. 1.2.2 24 Jul 2014
    Release notes
    • Remove the documentation link from the pubspec so this is linked to pub.dev by default.

    1.2.1

    • Many members on Style that 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.fromUri now accepts strings as well as Uri objects.
    Open source →
  33. 1.2.1 02 Jun 2014

    Nothing published for this version

  34. 1.2.0 23 May 2014

    Nothing published for this version

  35. 1.1.0 19 Mar 2014

    Nothing published for this version

  36. 1.0.0 10 Dec 2013

    Nothing published for this version

  37. 1.0.0-rc.1 22 Nov 2013 pre-release

    Nothing published for this version

  38. 0.9.0 06 Nov 2013

    Nothing published for this version

  39. 0.8.10 01 Nov 2013

    Nothing published for this version

  40. 0.8.10+3 04 Nov 2013

    Nothing published for this version

  41. 0.8.10+4 05 Nov 2013

    Nothing published for this version

  42. 0.8.9 31 Oct 2013

    Nothing published for this version

  43. 0.8.8 30 Oct 2013

    Nothing published for this version

  44. 0.8.7 28 Oct 2013

    Nothing published for this version

  45. 0.8.6 24 Oct 2013

    Nothing published for this version

  46. 0.8.5 21 Oct 2013

    Nothing published for this version

  47. 0.8.4 19 Oct 2013

    Nothing published for this version

  48. 0.8.3 17 Oct 2013

    Nothing published for this version

  49. 0.8.2 14 Oct 2013

    Nothing published for this version

  50. 0.8.1 04 Oct 2013

    Nothing published for this version

  51. 0.8.0 03 Oct 2013

    Nothing published for this version

  52. 0.7.6 27 Sep 2013

    Nothing published for this version

  53. 0.7.6+4 01 Oct 2013

    Nothing published for this version

  54. 0.7.5 21 Sep 2013

    Nothing published for this version

  55. 0.7.4 18 Sep 2013

    Nothing published for this version

  56. 0.7.3+1 16 Sep 2013

    Nothing published for this version

  57. 0.7.2 06 Sep 2013

    Nothing published for this version

  58. 0.7.2+1 08 Sep 2013

    Nothing published for this version

  59. 0.7.1 03 Sep 2013

    Nothing published for this version

  60. 0.7.0 28 Aug 2013

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive