Changelog for
ghc-path-0.9.2-3.179.x86_64.rpm :
* Mon Dec 27 2021 Peter Simons
- Update path to version 0.9.2. 0.9.2
* Data instances for Rel, Abs, File, and Dir.
* Bump hashable upper bound to <1.5. 0.9.1
* Support for genvalidity >=1.0.0.0
* `mapSomeBase` and `prjSomeBase` for modifying or projecting SomeBase.
* Sat Jun 19 2021 psimonsAATTsuse.com- Update path to version 0.9.0. 0.9.0
* Fix inconsistencies on different platforms: [#166](https://github.com/commercialhaskell/path/issues/166)
* `replaceProperPrefix`
* Make it possible to use windows paths on posix and vice versa
* Fri Mar 12 2021 psimonsAATTsuse.com- Update path to version 0.8.0 revision 1. Upstream has revised the Cabal build instructions on Hackage.
* Thu Dec 17 2020 Ondřej Súkup - disable %{ix86} build
* Fri Aug 21 2020 psimonsAATTsuse.com- Update path to version 0.8.0. 0.8.0
* Rerelease of 0.7.1 with better version number 0.7.1:
* Test with GHC 8.8.2, 8.8.3, 8.10.1.
* Export SomeBase constructor.
* Fix Lift severe Lift instance bug
* Mon Dec 30 2019 psimonsAATTsuse.com- Update path to version 0.7.0. 0.7.0:
* BREAKING CHANGE: \"fileExtension\" now throws an exception if the file has no extension. You can use the result as a \"Maybe\" in pure code or handle the exception appropriately in any other monad.
* Old extension operations \"addFileExtension\" and \"setFileExtension\" have been deprecated and replaced by \"addExtension\" and \"replaceExtension\" respectively with new behavior. ADAPTING YOUR CODE TO THIS CHANGE:
* Code that sets an extension not starting with a \".\" e.g. \"foo\", must be changed such that it starts with a \".\" i.e. \".foo\".
* Code that sets multiple extensions in one go e.g. \".tar.gz\" must be changed to set them one at a time instead i.e. add \".tar\" first and then add \".gz\".
* Code that sets an extension starting with multiple dots e.g. \"..foo\" must be changed such as to make the extra dots part of the file name instead. Details: The new operations \"addExtension\" and \"replaceExtension\" accept only \"valid\" extension forms which is exactly the same as what \"fileExtension\" returns. A valid extension starts with a AATT.AATT followed by one or more characters not including AATT.AATT followed by zero or more AATT.AATTs in trailing position. This change allows extension operations to be principled following these laws:
* flip addExtension file >=> fileExtension == return
* (fileExtension >=> flip replaceExtension file) file == return file
* Add splitExtension operation such that:
* uncurry addExtension . swap >=> splitExtension == return
* splitExtension >=> uncurry addExtension . swap == return
* fileExtension == (fmap snd) . splitExtensionAATT
* Add \'Path.Posix\' and \'Path.Windows\' modules for manipulating Windows or Posix style paths independently of the current platform.
* Add \'Lift\' instance for \'Path\'.
* `Path.Windows` normalizes path separators throughout path, including immediately following drive letter.
* `Path.Windows` handles UNC (`\\\\host\\share\\`) and Unicode (`\\\\?\\C:\\`) path without breaking the double-separator prefix.
* Remove support for old GHC version. The oldest supported version is 8.2.
* Fri Nov 08 2019 Peter Simons - Drop obsolete group attributes.
* Sat Oct 20 2018 Peter Simons - Use https URL to refer to bugs.opensuse.org.
* Wed Jul 18 2018 psimonsAATTsuse.com- Cosmetic: replace tabs with blanks, strip trailing white space, and update copyright headers with spec-cleaner.
* Mon May 14 2018 psimonsAATTsuse.com- Update path to version 0.6.1 revision 1.
* Add \'addFileExtension\' function and its operator form: (<.>).
* Derive \'Eq\' instance for \'PathException\'.
* Deprecate PathParseException and rename it to PathException
* Allow \'parent\' to work on relative paths as well
* Deprecate isParentOf and stripDir and rename them to isProperPrefixOf and stripProperPrefix respectively.
* Allow \".\" as a valid relative dir path with the following rules:
* \"./\" > \"./\" = \"./\"
* \"./\" > \"x/\" = \"x/\"
* \"x/\" > \"./\" = \"x/\"
* dirname \"x\" = \"./\"
* dirname \"/\" = \"./\"
* dirname \"./\" = \"./\"
* Make dirname return \".\" instead of \"/\" (fixes #18).
* Remove the \'validity\' flag.
* Add synonym for setFileExtension in the form of an operator: (-<.>).