From b72f1c5a5b151b4935f753906ff90b7e016f353f Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Wed, 13 Jan 2021 15:25:59 +0000 Subject: [PATCH 1/2] [ghcide] export all rule definitions --- ghcide/src/Development/IDE/Core/Rules.hs | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ghcide/src/Development/IDE/Core/Rules.hs b/ghcide/src/Development/IDE/Core/Rules.hs index 862379894f..30060ad8e3 100644 --- a/ghcide/src/Development/IDE/Core/Rules.hs +++ b/ghcide/src/Development/IDE/Core/Rules.hs @@ -11,8 +11,10 @@ -- using the "Shaker" abstraction layer for in-memory use. -- module Development.IDE.Core.Rules( + -- * Types IdeState, GetDependencies(..), GetParsedModule(..), TransitiveDependencies(..), Priority(..), GhcSessionIO(..), GetClientSettings(..), + -- * Functions priorityTypeCheck, priorityGenerateCore, priorityFilesOfInterest, @@ -28,6 +30,30 @@ module Development.IDE.Core.Rules( getDependencies, getParsedModule, getClientConfigAction, + -- * Rules + CompiledLinkables(..), + IsHiFileStable(..), + getParsedModuleRule, + getLocatedImportsRule, + getDependencyInformationRule, + reportImportCyclesRule, + getDependenciesRule, + typeCheckRule, + getDocMapRule, + loadGhcSession, + getModIfaceFromDiskRule, + getModIfaceRule, + getModIfaceWithoutLinkableRule, + getModSummaryRule, + isHiFileStableRule, + getModuleGraphRule, + knownFilesRule, + getClientSettingsRule, + getHieAstsRule, + getBindingsRule, + needsCompilationRule, + generateCoreRule, + getImportMapRule ) where import Fingerprint From 45fa3055794f3906baa57852ad577e8bb2f4d63e Mon Sep 17 00:00:00 2001 From: Pepe Iborra Date: Wed, 13 Jan 2021 18:20:13 +0000 Subject: [PATCH 2/2] Prepare for v0.7.1 --- ghcide/CHANGELOG.md | 15 +++++++++++++++ ghcide/bench/config.yaml | 2 ++ ghcide/ghcide.cabal | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/ghcide/CHANGELOG.md b/ghcide/CHANGELOG.md index 44dc80347c..91fc3350cf 100644 --- a/ghcide/CHANGELOG.md +++ b/ghcide/CHANGELOG.md @@ -1,5 +1,20 @@ +### 0.7.1 (2020-01-13) + +* Fix sticky diagnostics bug (#1188) - (Pepe Iborra) +* Use completionSnippetsOn flag (#1195) - (Yuya Kono) +* Update tested-with GHC in cabal config - (jneira) +* Do not disable parallel GC by default (#1190) - (Pepe Iborra) +* Fix module outline becoming stale after switching branches (#1189) - (Pepe Iborra) +* Make adding missing constraint work in presence of 'forall' (fixes #1164) (#1177) - (Jan Hrcek) +* Bump haskell-lsp to 0.23 (#1146) - (Potato Hatsue) +* Fix #723 (Instance declarations in hs-boot files result in GHC errors) (#781) - (Ben Simms) +* Also suggest importing methods without parent class (#766) - (Thomas Winant) +* Update links to issues/PRs in ghcide tests. (#1142) - (Peter Wicks Stringfield) +* fix suggestAddTypeAnnotation regex (#760) - (Kostas Dermentzis) + ### 0.7.0 (2020-01-03) +* Ghcide now loads HLS plugins internally - (Pepe Iborra) * Retry a failed cradle if the cradle descriptor changes (#762) - (Pepe Iborra) * Fix extend imports regression (#769) - (Pepe Iborra) * Perform memory measurement on SIGUSR1 (#761) - (Pepe Iborra) diff --git a/ghcide/bench/config.yaml b/ghcide/bench/config.yaml index 6748b339a5..97b003cfb5 100644 --- a/ghcide/bench/config.yaml +++ b/ghcide/bench/config.yaml @@ -58,5 +58,7 @@ versions: # - v0.4.0 # - v0.5.0 # - v0.6.0 +# - v0.7.0 +# - v0.7.1 - upstream: origin/master - HEAD diff --git a/ghcide/ghcide.cabal b/ghcide/ghcide.cabal index f52f922189..b870327908 100644 --- a/ghcide/ghcide.cabal +++ b/ghcide/ghcide.cabal @@ -2,7 +2,7 @@ cabal-version: 1.20 build-type: Simple category: Development name: ghcide -version: 0.7.0.0 +version: 0.7.1.0 license: Apache-2.0 license-file: LICENSE author: Digital Asset and Ghcide contributors