•haskell · release
CanonicalPath v0.3.0.0
A summary of the third major release of CanonicalPath library, highlighting API changes, performance improvements, and enhanced testing infrastructure while maintaining compatibility with major Haskell package repositories.
Recently there was the third major release of CanonicalPath library introducing some good stuff, but unfortunately breaking API (just a tiny little bit).
The new version is available on Github, Hackage and Stackage.
- Remove
UnsafePathdata type. It was a synonym toFilePathand was confusing me sometimes, so I decided to cut it off. - Rename
cpathToTexttotoText'. - Remove
pathToTextandtextToPath. - Export
toTextandfromTextfromFilesystem.Path.CurrentOS. - Export
fromPreludeandtoPreludefunctions. - Improve performance (path canonicalization now is performed 1.6x faster than before). Now that I have tests and criterion, I can measure performance.
- Improve
canonicalPatherror messages. Most important - now it respects errors fromSystem.Directory.canonicalizePath. - Add tests.
- Add Travis support.
- Update documentation.
As always - suggestions and pull requests are welcome!