Skip to content

Latest commit

 

History

History
284 lines (235 loc) · 10 KB

CHANGELOG.md

File metadata and controls

284 lines (235 loc) · 10 KB

Change Log

All notable changes to the "Haskutil" extension will be documented in this file.

[0.14.0] - 2024-06-23

Added

  • Organize imports now also sorts imported element lists (#86):
    When sorting import declaration if "haskutil.sortImportedElementLists" is set to true (default value)
  • An option to place operators at the end of imported element lists #88:
    When inserting new elements via Add import or sorting imported elements via Organize imports operators can now be placed after other type of elements, i.e. after functions, constructors or types.
    This behavior is controlled via new configuration setting "haskutil.placeOperatorsAfterFunctions" which is set to false by default

Changed

  • Switch to c8 for code coverage (fix #87)

[0.13.3] - 2024-06-19

Fixed

  • Add import action's handling of operators containing . (dot)(#80):
    Previously no quick fix action was emitted for such operators (e.g. (.&.) or (.=))
  • Add import action's handling of names containing ' (single quote) (#81):
    Previously no quick fix action was emitted for such names (e.g. foldl')

[0.13.2] - 2024-05-19

Fixed

  • Remove unused imports action when import declaration contains elements with (..) (#40):
    Fix behaviour of RemoveUnusedImportProvider in regards to removal from import lists containing elements with export lists, e.g. Sum(..) or Sum(fromSum);
  • Replace wildcard action under GHC 9.6.5 (#79):
    Fix TypeWildcardProvider behavior when running with latest GHC handling changes in corresponding GHC error message format;

Changed

  • Switch branch CI build to run tests against the latest GHC

[0.13.1] - 2024-05-11

Fixed

  • Intermittent test failures
    Failures with Cancelled error message
  • CHANELOG formatting

[0.13.0] - 2024-05-07

Added

Fixed

  • CI build on MacOS

[0.12.3] - 2023-09-09

Added

  • Extension icon

[0.12.2] - 2023-08-31

Changed

  • Dependency not installed warning message extension links:
    Instead of linking to extension's Marketplace page link to VSCode EXTENSIONS view
    Focused to linked extension via workbench.extensions.search command-link

[0.12.1] - 2023-08-30

Fixed

  • CHANGELOG formatting:
    Add missing spaces to CHANGELOG.md for proper newline rendering

[0.12.0] - 2023-08-30

Added

  • haskutil.supportedDependencies configuration option:
    Make the list of supported Haskell diagnostic generating extensions configurable

[0.11.4] - 2023-08-27

Fixed

  • OrganizeExtensionProvider: false positive of Extension are unorganised
    Aligned extension were incorrectly detected as being not aligned
  • ImportProvider: Organize imports behaviour on Windows
    Fix invalid parsing of imports in file with \r\n (Windows) line ending
    As a result applying Organize imports would previously lead to corrupted imports
  • Fail CI build in case of test failure:
    Previously build would still be green even if some of the test wer failing

[0.11.3] - 2023-08-26

Fixed

  • ImportProvider:
    Do not add (..) when adding import for operators

[0.11.2] - 2023-08-26

Fixed

  • OrganizeExtensionProvider:
    Make sure all LANGUAGE extension are aligning using minimal padding
    Fixes #41
  • ImportProvider:
    Suggest adding class or data type with (..), i.e. with all defined constructors/members
    Fixes #44

[0.11.0] - 2023-08-26

Added

  • haskutil.checkDiagnosticsExtension configuration option:
    Check if any of recommended VSCode extensions which generate Haskell diagnostics is installed Optional, default is true

[0.10.8] - 2023-08-21

Fixed

  • QualifiedImportProvider:
    • Suppress Add: "import qualified ... as undefined" suggestions
    • Avoid annecessary alias in qualified import: fixes #48
  • certificate has expired error in tests:
    Switch to VSCode version 1.66.2 which does not have this problem

Changed

  • Oldest supported VSCode version is now 1.48.0

[0.10.7] - 2023-08-20

Fixed

  • RemoveUnusedImportProvider on GHC > 9.0.2:
    Fix Cannot read properties of undefined (reading 'removeElement') exception
  • TypeWildcardProvider:
    Handle various error message formats:
    • old from GHC <= 9.0.2
    • new from GHC > 9.0.2
  • QualifiedImportProvider on GHC > 9.0.2:
    Newer GHC uses a different error message format
  • ExtensionProvider:
    • Do not create duplicated QuickFix actions
    • Switch to DataKinds extension in test
  • Update all dependencies to the latest versions

Added

  • Extend matrix build with various supported GHC versions

[0.10.5] - 2021-03-31

Fixed

  • Bump dependencies to fix security vulnerability

[0.10.4] - 2020-09-26

Fixed

  • Stop putting images into *.vsix package
    This fix reduces in ~20 times (oops...) and README.md points to Github-hosted files anyway
  • Better isolation for tests:
    Set custom --user-data-dir so the test would not interfere with the VSCode installed locally

[0.10.3] - 2020-09-25

Fixed

  • Fix extension publishing via npm run publish

[0.10.2] - 2020-09-22

Added

  • Github actions build:
    • Matrix builds on multiple platforms
    • Publish to Marketplace on version tag push

Fixed

  • Test coverage
  • CHANGELOG.md warnings

Removed

  • Travis-ci build

[0.10.1] - 2020-09-17

Fixed

  • Bump lodash dependency version to fix security vulnerabilitiy

[0.10.0] - 2020-05-09

Added

  • haskutil.organiseImportsOnInsert configuration option

Fixed

  • Run multiple Hoogle requests in parallel

[0.9.2] - 2020-05-04

Added

  • Test coverage

[0.9.1] - 2020-05-04

Fixed

  • Exclude unrelated files from .vsix package
  • CHANGLELOG (add missing contributer)

[0.9.0] - 2020-05-04

Added

  • Add ghcide as an option for base extension populating PROBLEMS
    (#29 - thanks to ArturGajowy for contribution)

[0.8.1] - 2020-04-20

Fixed

  • Untitled files re-opening themselves after closing
    (#28 - thanks to dramforever for contribution)
  • Haskutil complaining about non-Haskell files with unorganized imports
  • Organize import can produce code that the extension considers unorganized (#26)

[0.8.0] - 2020-04-13

Added

  • Align remaining imports when removing unused imports

Fixed

  • Adjust Unused imports diagnostic range when imports are edited/moved

[0.7.0] - 2020-04-12

Added

  • Add Remove unused imports feature

[0.6.0] - 2020-04-10

Added

  • Add ghcid as an option for base extension populating PROBLEMS

[0.5.3] - 2020-04-09

Fixed

  • Background color of Marketplace banner

[0.5.2] - 2020-04-09

Fixed

  • Fix detection of missing qualified import on Linux

[0.5.1] - 2020-04-09

Fixed

  • Fix wildcard replacement under GHC 8.8
  • Better handling of wildcards
    (nested parenthesis and () as replacement)

[0.5.0] - 2020-04-01

Added

  • Settings for turning on/off individual features

Fixed

  • Fix 'Not in scope' error detection (different platforms)
    (#16 - thanks to serras for contribution)
  • Make LANGUAGE pragma handling case insensitive

[0.4.5] - 2019-07-26

Fixed

  • Fix type wildcard error detection on Linux

[0.4.4] - 2019-07-26

Fixed

  • Fix type hole error detection on Linux

[0.4.3] - 2019-05-21

Fixed

  • Upgrade dependent packages to fix security vulnerabilities

[0.4.2] - 2019-03-27

Fixed

  • Rolling back version 0.4.1. This version is identical to 0.4.0

[0.4.0] - 2019-03-26

Added

  • Replace type wildcard with GHC suggestion

[0.3.1] - 2019-03-25

Changed

  • Minor fix: remove redundant workaround

[0.3.0] - 2019-03-24

Added

  • Fill typed hole with GHC suggestion

[0.2.2] - 2019-03-10

Fixed

  • Bump dependencies to fix security warning in node.extend

[0.2.1] - 2018-09-30

Added

  • Check if dependent extension is installed

[0.2.0] - 2018-09-30

Added

  • Organize LANGUAGE extensions (split, align and sort)
  • Configuration of the padding of import in qualified area
    (should we always pad with 9 spaces even if there is no qualified import)

[0.1.0] - 2018-09-20

Changed

  • Organize imports (sort and align)
  • Add top-level signature (documented)

[0.0.4] - 2018-09-19

Added

  • Sort import statements
  • Add top-level signature (undocumented)

[0.0.3] - 2018-09-15

Added

  • Additional supported LANGUAGE extensions

Changed

  • Removed dependency on Haskero

Fixed

  • Broken ordering on LANGUAGE pragma insert

[0.0.2] - 2018-09-14

Fixed

  • Insert imports after all LANGUAGE pragmas
  • Show only exactly matched suggestion in Add import
    (previously runErrorT's module would be included for runE variable)

[0.0.1] - 2018-09-13

Added

  • Add missing import statement
  • Add missing LANGUAGE pragma