From 6bc66b7ae490d28d6b17d01c2959d6c8ce3e7a79 Mon Sep 17 00:00:00 2001
From: David Binder <david.binder@uni-tuebingen.de>
Date: Wed, 26 Jul 2023 20:34:23 +0200
Subject: [PATCH] Remove the Trustworthy and Safe pragmas and bump the version
 of the package to 0.7.0.0

---
 Trace/Hpc/Mix.hs      | 1 -
 Trace/Hpc/Reflect.hsc | 2 +-
 Trace/Hpc/Tix.hs      | 2 +-
 Trace/Hpc/Util.hs     | 2 +-
 changelog.md          | 3 ++-
 hpc.cabal             | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Trace/Hpc/Mix.hs b/Trace/Hpc/Mix.hs
index c5e3ef4..8907f17 100644
--- a/Trace/Hpc/Mix.hs
+++ b/Trace/Hpc/Mix.hs
@@ -1,4 +1,3 @@
-{-# LANGUAGE Safe #-}
 ---------------------------------------------------------------
 -- Colin Runciman and Andy Gill, June 2006
 ---------------------------------------------------------------
diff --git a/Trace/Hpc/Reflect.hsc b/Trace/Hpc/Reflect.hsc
index 9948bde..2ebc726 100644
--- a/Trace/Hpc/Reflect.hsc
+++ b/Trace/Hpc/Reflect.hsc
@@ -1,4 +1,4 @@
-{-# LANGUAGE ForeignFunctionInterface, Trustworthy #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
 module Trace.Hpc.Reflect
   ( clearTix
   , examineTix
diff --git a/Trace/Hpc/Tix.hs b/Trace/Hpc/Tix.hs
index df0ca23..2213d95 100644
--- a/Trace/Hpc/Tix.hs
+++ b/Trace/Hpc/Tix.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE Safe, DeriveGeneric, StandaloneDeriving #-}
+{-# LANGUAGE DeriveGeneric, StandaloneDeriving #-}
 ------------------------------------------------------------
 -- Andy Gill and Colin Runciman, June 2006
 ------------------------------------------------------------
diff --git a/Trace/Hpc/Util.hs b/Trace/Hpc/Util.hs
index a906d1b..4c56a8b 100644
--- a/Trace/Hpc/Util.hs
+++ b/Trace/Hpc/Util.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE Trustworthy, DeriveGeneric, StandaloneDeriving #-}
+{-# LANGUAGE DeriveGeneric, StandaloneDeriving #-}
 -----------------------------------------
 -- Andy Gill and Colin Runciman, June 2006
 ------------------------------------------
diff --git a/changelog.md b/changelog.md
index 0aae5a1..1603bec 100644
--- a/changelog.md
+++ b/changelog.md
@@ -1,7 +1,8 @@
 # Changelog for [`hpc` package](http://hackage.haskell.org/package/hpc)
 
-## Unreleased
+## 0.7.0.0 *July 2023* 
 
+  * The import of the modules from this package is no longer considered safe, since we use functions from the `System.Directory` module from the `directory` package which is no longer considered safe beginning from version `1.3.8`.
   * Replace uses of `String` by `FilePath` in functions `readTix`, `writeTix`, `getTixFileName`, `readMix` and `mixCreate`.
   * Remove support for version of GHC below 8.6
 
diff --git a/hpc.cabal b/hpc.cabal
index 75bab5b..1233695 100644
--- a/hpc.cabal
+++ b/hpc.cabal
@@ -1,6 +1,6 @@
 cabal-version: 2.2
 name:         hpc
-version:      0.6.2.0
+version:      0.7.0.0
 -- NOTE: Don't forget to update ./changelog.md
 license:      BSD-3-Clause
 license-file: LICENSE
-- 
GitLab