From f7bae8272c7e5950641e514f5f570480d222c8e3 Mon Sep 17 00:00:00 2001 From: Alan Zimmerman Date: Sat, 2 Mar 2019 14:07:03 +0200 Subject: [PATCH 1/2] Preparing for 0.7.0.0 release --- Changelog.md | 16 ++++++++++++++++ README.md | 6 ++++++ haskell-ide-engine.cabal | 2 +- hie-plugin-api/Haskell/Ide/Engine/Config.hs | 4 ++-- stack.yaml | 6 ++++-- 5 files changed, 29 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index 2c242f8ea..18f6742a6 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,19 @@ +# 0.7.0.0 + +- Resolver bumped, LTS 13.9 for GHC 8.6.3 (@alanz) +- Ongoing improvements of `install.hs` installation process and + documentation. (@fendor, @power-fungus, @Anrock) + - Improved documentation + - can now also build via `cabal new-build` + - improved cross-platform support +- Introduce [floskell](https://github.com/ennocramer/floskell) as an + alternative formatting provider (@bubba) + - Introduces `formattingProvider` as a plugin API function. + - Can be selected via configuration option `formattingProvider` +- Respects the `only` parameter of codeAction requests (@bubba) + - So can request only `quickfix` or `refactor` code actions. +- Bump hlint to 2.1.15 (@alanz) + # 0.6.0.0 - Resolver bumped, LTS 13.5 for GHC 8.6.3 (@alanz) diff --git a/README.md b/README.md index 28c383129..3f41707de 100644 --- a/README.md +++ b/README.md @@ -380,6 +380,12 @@ There are some settings that can be configured via a `settings.json` file: "languageServerHaskell": { "hlintOn": Boolean, "maxNumberOfProblems": Number + "diagnosticsDebounceDuration" : Number + "liquidOn" : Bool (default False) + "completionSnippetsOn" : Bool (default True) + "formatOnImportOn" : Bool (default True) + "formattingProvider" : String (default "brittany", + alternate "floskell") } } ``` diff --git a/haskell-ide-engine.cabal b/haskell-ide-engine.cabal index a48b1bdc9..4ad13e03d 100644 --- a/haskell-ide-engine.cabal +++ b/haskell-ide-engine.cabal @@ -1,5 +1,5 @@ name: haskell-ide-engine -version: 0.6.0.0 +version: 0.7.0.0 synopsis: Provide a common engine to power any Haskell IDE description: Please see README.md homepage: http://github.com/githubuser/haskell-ide-engine#readme diff --git a/hie-plugin-api/Haskell/Ide/Engine/Config.hs b/hie-plugin-api/Haskell/Ide/Engine/Config.hs index a0f34dff9..e271d7ca6 100644 --- a/hie-plugin-api/Haskell/Ide/Engine/Config.hs +++ b/hie-plugin-api/Haskell/Ide/Engine/Config.hs @@ -50,8 +50,8 @@ instance FromJSON Config where <*> o .:? "diagnosticsDebounceDuration" .!= diagnosticsDebounceDuration def <*> o .:? "liquidOn" .!= liquidOn def <*> o .:? "completionSnippetsOn" .!= completionSnippetsOn def - <*> o .:? "formatOnImportOn" .!= formatOnImportOn def - <*> o .:? "formattingProvider" .!= formattingProvider def + <*> o .:? "formatOnImportOn" .!= formatOnImportOn def + <*> o .:? "formattingProvider" .!= formattingProvider def -- 2017-10-09 23:22:00.710515298 [ThreadId 11] - ---> {"jsonrpc":"2.0","method":"workspace/didChangeConfiguration","params":{"settings":{"languageServerHaskell":{"maxNumberOfProblems":100,"hlintOn":true}}}} -- 2017-10-09 23:22:00.710667381 [ThreadId 15] - reactor:got didChangeConfiguration notification: diff --git a/stack.yaml b/stack.yaml index 5ddd8012d..18dc83fef 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,4 @@ -resolver: nightly-2019-02-27 # GHC 8.6.3 +resolver: nightly-2019-03-02 # GHC 8.6.3 packages: - . - hie-plugin-api @@ -15,11 +15,13 @@ extra-deps: - butcher-1.3.2.1 - cabal-plan-0.4.0.0 - constrained-dynamic-0.1.0.0 +- deque-0.2.7 +- ghc-exactprint-0.5.8.2 - haddock-api-2.21.0 - haskell-src-exts-1.21.0 - hlint-2.1.15 -- hsimport-0.8.8 - hoogle-5.0.17.5 +- hsimport-0.8.8 - monad-dijkstra-0.1.1.2 - monad-memo-0.4.1 - multistate-0.8.0.1 From a87cf73dd4261ab3d6f19f8877032ac6719f02e5 Mon Sep 17 00:00:00 2001 From: Alan Zimmerman Date: Sat, 2 Mar 2019 14:12:47 +0200 Subject: [PATCH 2/2] Tweak Changelog --- Changelog.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 18f6742a6..d3cdc50ae 100644 --- a/Changelog.md +++ b/Changelog.md @@ -2,12 +2,12 @@ - Resolver bumped, LTS 13.9 for GHC 8.6.3 (@alanz) - Ongoing improvements of `install.hs` installation process and - documentation. (@fendor, @power-fungus, @Anrock) + documentation. (@fendor, @power-fungus, @Anrock, @Hogeyama ) - Improved documentation - can now also build via `cabal new-build` - improved cross-platform support - Introduce [floskell](https://github.com/ennocramer/floskell) as an - alternative formatting provider (@bubba) + alternative formatting provider (@bubba, @AlexeyRaga, @luigy) - Introduces `formattingProvider` as a plugin API function. - Can be selected via configuration option `formattingProvider` - Respects the `only` parameter of codeAction requests (@bubba)