haskell-ide-engine/Changelog.md
2019-07-07 13:12:23 +02:00

14 KiB

0.11.0.0

  • Bump resolvers. lts-13.27 for GHC 8.6.5, nightly-2019-07-07 for nightly build, rest are unchanged. (#1319 ,by @alanz) (#1316 , by @lorenzo)

  • Clear out pattern matching and error message of executeCodeActionByName (#1317 , by @jneira)

  • Upgrade to haskell-lsp 0.15 (#1316 , by @lorenzo)

  • Update Arch Linux install instructions (#1315 , by @friedbrice)

  • Fix liquid unit test normalizing paths (#1310 , by @jneira)

  • Add unix-time constraint to cabal file (#1306 , by @alanz)

  • Fix a memory leak found by @mpickering (#1305 , by @lorenzo)

  • Fix build for Windows 7 (#1304 , by @jneira)

  • Brittany 0.12 (#1301 , by @alanz)

  • Use ghc-mod without memory leak (#1299 , by @alanz)

  • install.hs: Make all available GHCs in PATH buildable (#1297 , by @maoe)

  • Fix file mapping state when we have a parsed module but not a typechecked module (#1295 , by @wz1000)

  • Use ghc-mod which loads ghc plugins (#1293 , by @alanz)

  • Fix UriCaches being leaked (bug fix) (#1292 , by @bubba)

  • Stack 2.1.1 (#1291 , by @alanz)

  • Render completion documentation to markdown (#1290 , by @Avi-D-coder)

  • Trying out haskell-lsp 0.14 (#1288 , by @alanz)

  • Hlint 2.1.24 (#1287 , by @alanz)

  • Improve import action of hsimport (#1284 , by @fendor)

  • Add liquid haskell smt solver to README (#1283 , by @fendor)

0.10.0.0

  • Drop GHC 8.2.1 support. (#1279, @alanz)

  • Bump resolvers and hoogle, LTS 13.23 for GHC 8.6.5, nightly-2019-05-31 for stack.yaml and hoogle version 5.0.17.9 (#1277, @alanz)

  • HsImport importlist, Offers code action to add a function to import list. (#1170, @fendor)

  • Typemap reimplementation (#1186, @fendor)

  • Add window/progress reporting for typechecking. Note: needs LSP client to support a recent spec change. (#1190, @bubba)

  • Add package to library component in package.yaml (#1237, @fendor)

  • hie sends invalid message on hover (#1246, @Hogeyama)

  • Use floskell from hackage (#1242, @bubba)

  • Adapting to new haskell-lsp (#1247, @alanz)

  • Remove HoverContentsEmpty (#1251, @alanz)

  • Use lsp-test-0.5.2.2 from hackage (#1252, @bubba)

  • Use haskell-lsp-12.1.0 from hackage (#1253, @alanz)

  • Bump haskell-lsp to 0.13.0.0 (#1260, @alanz)

  • Bump version for hsimport to 0.10.0 (#1265, @fendor)

  • Revert "Revert "Merge pull request #1237 from fendor/add-package-tests"" (#1268, @alanz)

  • Hlint 2.1.22 (#1270, @alanz)

  • Documentation

    • Add Nix cabal-helper fix to troubleshooting section (#1231, @Infinisil)

    • Troubleshooting for emacs (#1240, @Infinisil)

    • Change url for nix installation instructions (#1258, @malob)

  • Preparations for hie-bios

    • HaRe hie plugin api (#1215, @alanz)

    • Narrow ghc mod core (#1255, @alanz)

  • Build system (install.hs)

    • Extra argument causes cabal-build-doc to fail (#1239, @bflyblue)

    • Add an explicit stack file for GHC 8.6.5 (#1241, @alanz)

    • Bump shake resolver (#1272, @fendor)

    • Avoid legacy warning (#1273, @fendor)

0.9.0.0

  • GHC 8.6.5 preliminary support added via the nightly build (@alanz)

  • Resolver bumped, LTS 13.19 for GHC 8.6.4 (@alanz)

  • Add diagnosticsOnChange config parameter, default True (preserving prior hie behaviour). Setting it False only generates diagnostics on file save. (#1164, @mpickering/@lorenzo)

  • The Hsimport plugin now formats the resulting change using the formatter configured for hie. (#1167,@fendor)

  • Actually enable type definition requests, if supported by the client (e.g. vscode). (#1169/@fendor, #1172/@bubba)

  • Use LSP MarkupContent for generated documentation (#1181, @alanz)

  • remove installation of Cabal by cabal (#1184, @power-fungus)

  • Add EmptyDataDecls to available pragmas, for generating code actions to insert if needed. (#1187,@fendor)

  • Make sure the end of formatted text is properly indicated for marked up documentation (#1189, @alanz)

  • Fix some of the tests with cabal new-build (#1194, @michaelpj)

  • Update build-tool-depends for func-test (#1198, @bubba)

  • Fix version of lsp-test so cabal new-build works (#1211, @power-fungus)

  • Bump hlint to 2.1.17 (#1213, @alanz)

  • Use cabal helper that searches with exe extension on windows (#1217, @alanz)

  • Stability improvements

    • Avoid crash in case of nonsensical hoogle db (#1174, @fendor)
    • Prevent hie crash if apply-refact crashes (#1220, @Hogeyama)
  • Documentation improvements

    • Improve code documentation about formatters (#1165,@fendor)
    • Add code documentation for the Hoogle plugin (#1173,@fendor)
    • Change 'build-docs' to 'build-doc' in README (#1185, @ajeetdsouza)
    • README Nix - replace old.postFixup -> postFixup (#1193, @backuitist)
    • Expand documentation on the build system (#1200, @power-fungus)
    • Fixed a typo. (#1212, @rashadg1030)
    • Add documentation about building hie with profiling enabled. (#1225, @skress)
    • Add Documentation for Pragmas Plugin (#1222, @fendor)
  • Build system improvements

    • Further improvements and simplification of the ./install.hs build system (#1168, @power-fungus)

0.8.0.0

  • GHC 8.6.4 support added.
  • Resolver bumped, LTS 13.10 for GHC 8.6.3, LTS 13.15 for GHC 8.6.4 (@alanz)
  • Clarify install section of README.md (@antonlogvinenko)
  • Clarify the spacemacs installation (@chkl)
  • Further install.hs improvements
    • idempotent builds (@fendor)
    • Shake is now the only supported method of building HIE, remove no longer needed Makefile and build-all.ps1 (@Anrock)
    • only generate the hoogle database once (@fendor)
    • install hoogle if not found (@fendor)
  • Add support for pattern synonyms in ghc-mod plugin (@anton-dessiatov)
  • prevent hie crash if hlint crashes (@fendor)

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, @Hogeyama )
    • Improved documentation
    • can now also build via cabal new-build
    • improved cross-platform support
  • Introduce floskell as an 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)
    • 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)
  • Use internal library hie-test-utils for testing (@bubba)
  • Read files in UTF8 mode in ghc-mod (@alanz)
  • documentation updates
    • document reactorPidcache (@bubba)
    • Add a note in README about dyld path for macOS builds (@kubum)
    • document workaround for missing gmp library (@Rhywun)
    • Change --recursive to --recurse-submodules when cloning (@leifmetcalf)
  • Speed up CI on circleci (@bubba)
  • Build via make
    • Recursively sync and update submodules in Makefile (@bubba)
  • build via shake
    • Add 8.4.2 and 8.2.1 HIE versions to Shakefile (@Anrock)
    • Sync & update submodules recursively in Shakefile (@Anrock)
    • Remove v1 prefix from cabal commands in Shakefile (@Anrock)
    • Rename Shakefile.hs to install.hs (@Anrock)
    • install.hs: Sync submodules and install cabal before building dist(@fendor)
    • Display error message on stack-compilation errors (@power-fungus) Suggests doing stack clean and trying again.
    • Generate Shake help message based on GHC version (@fendor)
  • remove EKG to reduce dependency footprint (@bubba)
  • Bump hlint to 2.1.14 (@alanz) (for GHC versions from 8.2.2 to 8.6.3)

And there is work happening currently on a new implementation of cabal-helper to fully support cabal new-build, together with a rework of ghc-mod-core to make use of the new cabal-helper. This is a complex effort, and will take some time, but is being tackled by @DanielG, assisted by @fendor and @power-fungus,

0.5.0.0

  • Introduce Shakefile as build alternative (@fendor)
  • Support GHC 8.6.3
  • Stability improvements
    • fixed process dying on some code action requests (#1018)
    • Deal with missing system GHC in hie-wrapper (#1012)
    • Deal with missing system GHC in hie
    • Return an error diagnostic when a project cannot be built (#1011)
  • Completion now strips out OccName prefixes added by GHC (#996)
  • improve building on windows
  • improve building on macos
  • Run diagnostics on file save. It used to only do it on change.

0.4.0.1

  • Install cabal / Cabal (needed for Cabal 2.4.0.1 support) via stack, for when there is no other GHC installed.

0.4.0.0

  • Supports GHC 8.6
  • Preliminary support for cabal new-build projects
  • Can install via cabal new-build
  • Completions: more comprehensive filtering of name prefixes introduced by GHC
  • Replace bat script with PowerShell, update Windows instructions in README (@fsoikin)

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:

  • Add missing imports and remove redundant ones via HsImport
  • Add missing packages to .cabal or package.yaml files
  • Correct typos suggested by GHC

0.2.1.0

Include case split command, from @txsmith

0.2.0.0