CanonicalPath v0.3.0.0
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
UnsafePath
data type. It was a synonym toFilePath
and was confusing me sometimes, so I decided to cut it off. - Rename
cpathToText
totoText'
. - Remove
pathToText
andtextToPath
. - Export
toText
andfromText
fromFilesystem.Path.CurrentOS
. - Export
fromPrelude
andtoPrelude
functions. - Improve performance (path canonicalization now is performed 1.6x faster than before). Now that I have tests and criterion, I can measure performance.
- Improve
canonicalPath
error 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!