diff --git a/.circleci/config.yml b/.circleci/config.yml index c9ac7d57a..78858e706 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,9 +22,9 @@ defaults: &defaults - restore_cache: keys: - - stack-cache-10-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }} - - stack-cache-10-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }} - - stack-cache-10-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }} + - stack-cache-11-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }} + - stack-cache-11-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }} + - stack-cache-11-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }} - run: name: Stack setup @@ -55,7 +55,7 @@ defaults: &defaults command: rm -fr ~/.cache/cabal-helper - save_cache: - key: stack-cache-10-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }} + key: stack-cache-11-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "resolver.txt" }} paths: - ~/.stack - ~/.cache @@ -77,7 +77,7 @@ defaults: &defaults path: test-logs - save_cache: - key: stack-cache-10-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }} + key: stack-cache-11-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }} paths: - ~/.stack - ~/.cache @@ -90,7 +90,7 @@ defaults: &defaults - ~/build/submodules/cabal-helper/.stack-work - save_cache: - key: stack-cache-10-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }} + key: stack-cache-11-{{ arch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "stack-build.txt" }}-{{ checksum "all-cabal.txt" }} paths: - ~/.stack - ~/.cache diff --git a/Changelog.md b/Changelog.md index b52569bfd..d72984ddc 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,46 @@ +# 0.3.0.0 + + - LSP mode is now the default, and the `--lsp` flag has no effect + - The `--json` flag can be used for JSON transport + - HIE now warns you if there is mismatch between the HIE GHC verison and the project GHC version + - Add Liquid Haskell support + - Add support for hierarchical document symbols + - Add many new types of code actions + - Typed holes + - HaRe refactoring + - Misspelled variables + - Missing top-level signatures + - Prefix unused terms with `_` + - Case splitting + - Suggested pragmas and language extensions + - The parsed output from a module is now cached + - Some features are now available without the need for the module to typecheck first + - Improve code completion + - Suggests modules that can be imported + - Suggests GHC extensions + - Recognizes when completing a type or expression + - Provides snippets for arguments to functions + - Add the ability to set an explicit hoogle database + +Thanks to the contributors for this release: + - @Avi-D-coder + - @Gurkenglas + - @Technix + - @alanz + - @apeyroux + - @bbarker + - @bubba + - @cblp + - @cronokirby + - @expipiplus1 + - @jhrcek + - @jkachmar + - @lorenzo + - @m13m + - @meck + - @mpilgrem + - @waddlaw + # 0.2.2.0 Add more code actions for various diagnostics: diff --git a/haskell-ide-engine.cabal b/haskell-ide-engine.cabal index 3c8e0245b..8f2b98b30 100644 --- a/haskell-ide-engine.cabal +++ b/haskell-ide-engine.cabal @@ -1,5 +1,5 @@ name: haskell-ide-engine -version: 0.2.2.0 +version: 0.3.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/stack-8.4.3.yaml b/stack-8.4.3.yaml index 489214121..c4f6463c4 100644 --- a/stack-8.4.3.yaml +++ b/stack-8.4.3.yaml @@ -8,6 +8,7 @@ extra-deps: - ./submodules/HaRe - ./submodules/ghc-mod - ./submodules/ghc-mod/core + - base-compat-0.9.3 - cabal-helper-0.8.1.0@rev:0 - cabal-plan-0.3.0.0 diff --git a/stack-8.4.4.yaml b/stack-8.4.4.yaml index 8129f9fef..0d4ce313f 100644 --- a/stack-8.4.4.yaml +++ b/stack-8.4.4.yaml @@ -1,4 +1,4 @@ -resolver: lts-12.16 # LTS 12.15 is first to support GHC 8.4.4 +resolver: lts-12.17 # LTS 12.15 is first to support GHC 8.4.4 packages: - . - hie-plugin-api @@ -8,6 +8,7 @@ extra-deps: - ./submodules/HaRe - ./submodules/ghc-mod - ./submodules/ghc-mod/core + - base-compat-0.9.3 - cabal-helper-0.8.1.0@rev:0 - cabal-plan-0.3.0.0 diff --git a/stack.yaml b/stack.yaml index eb5b8cc9f..2661643c7 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,4 @@ -resolver: nightly-2018-09-28 # Last GHC 8.4.3 +resolver: lts-12.17 # GHC 8.4.4 packages: - . - hie-plugin-api @@ -9,22 +9,19 @@ extra-deps: - ./submodules/ghc-mod - ./submodules/ghc-mod/core -- aeson-1.3.1.1 - base-compat-0.9.3 -- base-orphans-0.7 - cabal-helper-0.8.1.0@rev:0 - cabal-plan-0.3.0.0 - constrained-dynamic-0.1.0.0 -- ekg-json-0.1.0.6 -- ekg-wai-0.1.0.3 +- ghc-exactprint-0.5.8.2 - haddock-api-2.20.0 +- haddock-library-1.6.0 +- haskell-lsp-0.8.0.1 +- haskell-lsp-types-0.8.0.1 - hsimport-0.8.6 - lsp-test-0.4.0.0 -- monad-memo-0.4.1 -- semigroupoids-5.2.2 - syz-0.2.0.0 - temporary-1.2.1.1 -- yaml-0.8.32 flags: haskell-ide-engine: