File ghc-path.changes of Package ghc-path
-------------------------------------------------------------------
Mon Dec 27 08:06:38 UTC 2021 - Peter Simons <psimons@suse.com>
- 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 17:46:20 UTC 2021 - psimons@suse.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 20:49:00 UTC 2021 - psimons@suse.com
- Update path to version 0.8.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Fri Aug 21 11:18:51 UTC 2020 - psimons@suse.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 03:01:20 UTC 2019 - psimons@suse.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 @.@ followed by one or more characters
not including @.@ followed by zero or more @.@s 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) . splitExtension@
* 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 8 16:14:24 UTC 2019 - Peter Simons <psimons@suse.com>
- Drop obsolete group attributes.
-------------------------------------------------------------------
Sat Oct 20 11:31:50 UTC 2018 - Peter Simons <psimons@suse.com>
- Use https URL to refer to bugs.opensuse.org.
-------------------------------------------------------------------
Wed Jul 18 14:26:35 UTC 2018 - psimons@suse.com
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.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: (-<.>).
-------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
-------------------------------------------------------------------
Mon Mar 27 12:39:59 UTC 2017 - psimons@suse.com
- Update to version 0.5.13 with cabal2obs.
-------------------------------------------------------------------
Wed Mar 22 09:14:36 UTC 2017 - psimons@suse.com
- Update to version 0.5.12 revision 2 with cabal2obs.
-------------------------------------------------------------------
Thu Mar 2 10:44:37 UTC 2017 - psimons@suse.com
- Update to version 0.5.12 revision 1 with cabal2obs.
-------------------------------------------------------------------
Sun Feb 5 19:32:35 UTC 2017 - psimons@suse.com
- Update to version 0.5.12 with cabal2obs.
-------------------------------------------------------------------
Fri Dec 16 17:59:45 UTC 2016 - psimons@suse.com
- Update to version 0.5.11 revision 1 with cabal2obs.
-------------------------------------------------------------------
Mon Aug 1 10:37:47 UTC 2016 - psimons@suse.com
- Update to version 0.5.9 revision 0 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:27:31 UTC 2016 - psimons@suse.com
- Update to version 0.5.8 revision 0 with cabal2obs.
-------------------------------------------------------------------
Fri Jun 17 06:28:34 UTC 2016 - mimi.vx@gmail.com
- update to 0.5.8
* Add Aeson instances.
-------------------------------------------------------------------
Tue Mar 8 08:20:22 UTC 2016 - mimi.vx@gmail.com
- update to 0.5.7
* Fix haddock problem.
* Reject only .. and .
* Use filepath's isValid function for additional sanity checks
* Disable parsing of path consisting only of "."
* Add NFData instance for Path
* Some typo/docs improvements
* Add standard headers to modules
-------------------------------------------------------------------
Sun Nov 29 17:31:30 UTC 2015 - mimi.vx@gmail.com
- update to 0.5.3
* Added conversion functions.
-------------------------------------------------------------------
Thu Nov 19 11:17:28 UTC 2015 - mimi.vx@gmail.com
- initial commit