Skip to content

Commit

Permalink
Prepare pre-release 2.5.3 (#1081)
Browse files Browse the repository at this point in the history
* Bump dev dependencies

* Add new HLS plugin configurations

* Add ChangeLog for 2.5.3

* Fix GenChangelogs
  • Loading branch information
fendor authored May 10, 2024
1 parent a457684 commit 5c837fa
Show file tree
Hide file tree
Showing 4 changed files with 283 additions and 111 deletions.
11 changes: 11 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog for vscode-haskell

## 2.5.3

- Split out packaging action
([#1080](https://github.com/haskell/vscode-haskell/pull/1080)) by @fendor
- Add Session Loading style to list of known configs
([#1077](https://github.com/haskell/vscode-haskell/pull/1077)) by @fendor
- Tooling update
([#1043](https://github.com/haskell/vscode-haskell/pull/1043)) by @bzm3r
- Add `haskell.plugin.fourmolu.config.path` option
([#987](https://github.com/haskell/vscode-haskell/pull/987)) by @georgefst

## 2.5.2

- Includes changes of the 2.4.3 release
Expand Down
4 changes: 2 additions & 2 deletions GenChangelogs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import System.Process

main = do
callCommand "git fetch --tags"
tags <- filter (isPrefixOf "1.") . lines <$>
tag <- last . lines <$>
readProcess "git" ["tag", "--list", "--sort=v:refname"] ""

lastDateStr <- last . lines <$> readProcess "git" ["show", "-s", "--format=%cI", "-1", last tags] ""
lastDateStr <- last . lines <$> readProcess "git" ["show", "-s", "--format=%cI", "-1", tag] ""
lastDate <- zonedTimeToUTC <$> iso8601ParseM lastDateStr

args <- getArgs
Expand Down
130 changes: 127 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "haskell",
"displayName": "Haskell",
"description": "Haskell language support powered by the Haskell Language Server",
"version": "2.5.2",
"version": "2.5.3",
"license": "MIT",
"publisher": "haskell",
"engines": {
Expand Down Expand Up @@ -235,6 +235,18 @@
"scope": "resource",
"type": "boolean"
},
"haskell.plugin.cabal-fmt.config.path": {
"default": "cabal-fmt",
"markdownDescription": "Set path to 'cabal-fmt' executable",
"scope": "resource",
"type": "string"
},
"haskell.plugin.cabal-gild.config.path": {
"default": "cabal-gild",
"markdownDescription": "Set path to 'cabal-gild' executable",
"scope": "resource",
"type": "string"
},
"haskell.plugin.cabal.codeActionsOn": {
"default": true,
"description": "Enables cabal code actions",
Expand Down Expand Up @@ -309,13 +321,13 @@
},
"haskell.plugin.fourmolu.config.external": {
"default": false,
"markdownDescription": "Call out to an external \"fourmolu\" executable, rather than using the bundled library",
"markdownDescription": "Call out to an external \"fourmolu\" executable, rather than using the bundled library.",
"scope": "resource",
"type": "boolean"
},
"haskell.plugin.fourmolu.config.path": {
"default": "fourmolu",
"markdownDescription": "Set path to executable (for \"external\" mode)",
"markdownDescription": "Set path to executable (for \"external\" mode).",
"scope": "resource",
"type": "string"
},
Expand Down Expand Up @@ -715,6 +727,118 @@
"scope": "resource",
"type": "string"
},
"haskell.plugin.semanticTokens.config.moduleToken": {
"default": "namespace",
"description": "LSP semantic token type to use for modules",
"enum": [
"namespace",
"type",
"class",
"enum",
"interface",
"struct",
"typeParameter",
"parameter",
"variable",
"property",
"enumMember",
"event",
"function",
"method",
"macro",
"keyword",
"modifier",
"comment",
"string",
"number",
"regexp",
"operator",
"decorator"
],
"enumDescriptions": [
"LSP Semantic Token Type: namespace",
"LSP Semantic Token Type: type",
"LSP Semantic Token Type: class",
"LSP Semantic Token Type: enum",
"LSP Semantic Token Type: interface",
"LSP Semantic Token Type: struct",
"LSP Semantic Token Type: typeParameter",
"LSP Semantic Token Type: parameter",
"LSP Semantic Token Type: variable",
"LSP Semantic Token Type: property",
"LSP Semantic Token Type: enumMember",
"LSP Semantic Token Type: event",
"LSP Semantic Token Type: function",
"LSP Semantic Token Type: method",
"LSP Semantic Token Type: macro",
"LSP Semantic Token Type: keyword",
"LSP Semantic Token Type: modifier",
"LSP Semantic Token Type: comment",
"LSP Semantic Token Type: string",
"LSP Semantic Token Type: number",
"LSP Semantic Token Type: regexp",
"LSP Semantic Token Type: operator",
"LSP Semantic Token Type: decorator"
],
"scope": "resource",
"type": "string"
},
"haskell.plugin.semanticTokens.config.operatorToken": {
"default": "operator",
"description": "LSP semantic token type to use for operators",
"enum": [
"namespace",
"type",
"class",
"enum",
"interface",
"struct",
"typeParameter",
"parameter",
"variable",
"property",
"enumMember",
"event",
"function",
"method",
"macro",
"keyword",
"modifier",
"comment",
"string",
"number",
"regexp",
"operator",
"decorator"
],
"enumDescriptions": [
"LSP Semantic Token Type: namespace",
"LSP Semantic Token Type: type",
"LSP Semantic Token Type: class",
"LSP Semantic Token Type: enum",
"LSP Semantic Token Type: interface",
"LSP Semantic Token Type: struct",
"LSP Semantic Token Type: typeParameter",
"LSP Semantic Token Type: parameter",
"LSP Semantic Token Type: variable",
"LSP Semantic Token Type: property",
"LSP Semantic Token Type: enumMember",
"LSP Semantic Token Type: event",
"LSP Semantic Token Type: function",
"LSP Semantic Token Type: method",
"LSP Semantic Token Type: macro",
"LSP Semantic Token Type: keyword",
"LSP Semantic Token Type: modifier",
"LSP Semantic Token Type: comment",
"LSP Semantic Token Type: string",
"LSP Semantic Token Type: number",
"LSP Semantic Token Type: regexp",
"LSP Semantic Token Type: operator",
"LSP Semantic Token Type: decorator"
],
"scope": "resource",
"type": "string"
},
"haskell.plugin.semanticTokens.config.patternSynonymToken": {
"default": "macro",
"description": "LSP semantic token type to use for pattern synonyms",
Expand Down
Loading

0 comments on commit 5c837fa

Please sign in to comment.