Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare server release version 2.0.0 #309

Merged
merged 2 commits into from
Aug 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 52 additions & 46 deletions server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,144 +1,150 @@
# Bash Language Server

## 2.0.0

- BREAKING: Drop node 10 support
- Upgrade dependencies
- Adds support for completing command line arguments (https://github.com/bash-lsp/bash-language-server/pull/294)

## 1.17.0

* Default configuration change: parsing errors are not highlighted as problems (as the grammar is buggy)
- Default configuration change: parsing errors are not highlighted as problems (as the grammar is buggy)

## 1.16.1

* Fix brace expansion bug (https://github.com/bash-lsp/bash-language-server/pull/240)
* Do not crash if bash is not installed (https://github.com/bash-lsp/bash-language-server/pull/242)
- Fix brace expansion bug (https://github.com/bash-lsp/bash-language-server/pull/240)
- Do not crash if bash is not installed (https://github.com/bash-lsp/bash-language-server/pull/242)

## 1.16.0

* Improved completion handler for parameter expansions (https://github.com/bash-lsp/bash-language-server/pull/237)
- Improved completion handler for parameter expansions (https://github.com/bash-lsp/bash-language-server/pull/237)

## 1.15.0

* Use comments above symbols for documentation (https://github.com/bash-lsp/bash-language-server/pull/234, https://github.com/bash-lsp/bash-language-server/pull/235)
- Use comments above symbols for documentation (https://github.com/bash-lsp/bash-language-server/pull/234, https://github.com/bash-lsp/bash-language-server/pull/235)

## 1.14.0

* onHover and onCompletion documentation improvements (https://github.com/bash-lsp/bash-language-server/pull/230)
* support 0/1 as values for `HIGHLIGHT_PARSING_ERRORS` (https://github.com/bash-lsp/bash-language-server/pull/231)
- onHover and onCompletion documentation improvements (https://github.com/bash-lsp/bash-language-server/pull/230)
- support 0/1 as values for `HIGHLIGHT_PARSING_ERRORS` (https://github.com/bash-lsp/bash-language-server/pull/231)

## 1.13.1

* Gracefully handle glob failures (https://github.com/bash-lsp/bash-language-server/pull/224, https://github.com/bash-lsp/bash-language-server/pull/226)
* Maintenance (https://github.com/bash-lsp/bash-language-server/pull/222, https://github.com/bash-lsp/bash-language-server/pull/225)
- Gracefully handle glob failures (https://github.com/bash-lsp/bash-language-server/pull/224, https://github.com/bash-lsp/bash-language-server/pull/226)
- Maintenance (https://github.com/bash-lsp/bash-language-server/pull/222, https://github.com/bash-lsp/bash-language-server/pull/225)

## 1.13.0

* Upgrade `vscode-languageserver` from 5 to 6 (https://github.com/bash-lsp/bash-language-server/pull/217)
- Upgrade `vscode-languageserver` from 5 to 6 (https://github.com/bash-lsp/bash-language-server/pull/217)

## 1.12.0

* Completion handler improvements: remove duplicates, include symbols from other files, ensure that programs found on the paths are actually executable (https://github.com/bash-lsp/bash-language-server/pull/215)
- Completion handler improvements: remove duplicates, include symbols from other files, ensure that programs found on the paths are actually executable (https://github.com/bash-lsp/bash-language-server/pull/215)

## 1.11.3

* Recover from file reading errors (https://github.com/bash-lsp/bash-language-server/pull/211)
- Recover from file reading errors (https://github.com/bash-lsp/bash-language-server/pull/211)

## 1.11.2

* Fix invalid documentHighlight response when word cannot be found (https://github.com/bash-lsp/bash-language-server/pull/209)
- Fix invalid documentHighlight response when word cannot be found (https://github.com/bash-lsp/bash-language-server/pull/209)

## 1.11.1

* Workspace symbols are resolved using fuzzy search (not just starting with it)
- Workspace symbols are resolved using fuzzy search (not just starting with it)

## 1.11.0

* Support for workspace symbols (https://github.com/bash-lsp/bash-language-server/pull/195)
- Support for workspace symbols (https://github.com/bash-lsp/bash-language-server/pull/195)

## 1.10.0

* Improved completion handler and support auto-completion and documentation for [bash reserved words](https://www.gnu.org/software/bash/manual/html_node/Reserved-Word-Index.html) (https://github.com/bash-lsp/bash-language-server/pull/192)
* Upgrade tree-sitter
- Improved completion handler and support auto-completion and documentation for [bash reserved words](https://www.gnu.org/software/bash/manual/html_node/Reserved-Word-Index.html) (https://github.com/bash-lsp/bash-language-server/pull/192)
- Upgrade tree-sitter

## 1.9.0

* Skip analyzing files with a non-bash shebang
- Skip analyzing files with a non-bash shebang

## 1.8.0

* Extend file glob used for pre-analyzing files from `**/*.sh` to `**/*@(.sh|.inc|.bash|.command)`
* Make file glob configurable with `GLOB_PATTERN` environment variable
- Extend file glob used for pre-analyzing files from `**/*.sh` to `**/*@(.sh|.inc|.bash|.command)`
- Make file glob configurable with `GLOB_PATTERN` environment variable

## 1.7.0

* Add PATH tilde expansion
* Builtins and man pages formatting
- Add PATH tilde expansion
- Builtins and man pages formatting

## 1.6.1

* Expose TypeScript typings from server
* Update vscode-languageserver dependency
- Expose TypeScript typings from server
- Update vscode-languageserver dependency

## 1.6.0

* Switch to tree-sitter-wasm instead of tree-sitter (native bindings) to support node 12 and to ease installation (https://github.com/bash-lsp/bash-language-server/pull/147)
- Switch to tree-sitter-wasm instead of tree-sitter (native bindings) to support node 12 and to ease installation (https://github.com/bash-lsp/bash-language-server/pull/147)

## 1.5.6

* Fix crash when parsing directories with `.sh` suffix (https://github.com/bash-lsp/bash-language-server/pull/111)
* Fix invalid LSP response (https://github.com/bash-lsp/bash-language-server/pull/110)
- Fix crash when parsing directories with `.sh` suffix (https://github.com/bash-lsp/bash-language-server/pull/111)
- Fix invalid LSP response (https://github.com/bash-lsp/bash-language-server/pull/110)

## 1.5.5

* Upgrade `tree-sitter` from `0.13.5` to `0.13.22`
* Upgrade `tree-sitter-bash` from `0.13.3` to `0.13.7`
- Upgrade `tree-sitter` from `0.13.5` to `0.13.22`
- Upgrade `tree-sitter-bash` from `0.13.3` to `0.13.7`

## 1.5.4

* Fix explain shell configuration issue (https://github.com/bash-lsp/bash-language-server/issues/80)
- Fix explain shell configuration issue (https://github.com/bash-lsp/bash-language-server/issues/80)

## 1.5.3

* Support for showing warning for missing nodes
* Upgrade `tree-sitter-bash` to `0.13.3`
- Support for showing warning for missing nodes
- Upgrade `tree-sitter-bash` to `0.13.3`

## 1.5.2

* Upgrade `tree-sitter` to `0.13.5` and `tree-sitter-bash` to `0.13.2`
- Upgrade `tree-sitter` to `0.13.5` and `tree-sitter-bash` to `0.13.2`

## 1.5.1

* Upgrade `tree-sitter` and `tree-sitter-bash`
* Fixed build issue with 1.5.0
- Upgrade `tree-sitter` and `tree-sitter-bash`
- Fixed build issue with 1.5.0

## 1.5.0

* Upgrade `tree-sitter` and `tree-sitter-bash`
- Upgrade `tree-sitter` and `tree-sitter-bash`

## 1.4.1

* It's now possible to disable error reporting by setting the environment variable
- It's now possible to disable error reporting by setting the environment variable
`HIGHLIGHT_PARSING_ERRORS` to `false`.

## 1.4.0

* Add support for explainshell implemented by [@chrismwendt][chrismwendt] [#45][45]
* Prefer explainshell output if it's enabled by [@maximbaz][maximbaz] [#58][58]
- Add support for explainshell implemented by [@chrismwendt][chrismwendt] [#45][45]
- Prefer explainshell output if it's enabled by [@maximbaz][maximbaz] [#58][58]

## 1.3.1

* More reliable NPM command execution on Windows [#40][40]
- More reliable NPM command execution on Windows [#40][40]

## 1.3.0

* Improved completions by adding support for
- Improved completions by adding support for

* Suggestions based on the programs on your PATH [#17][17]
* Suggestions based on the bash builtins [#33][33]
- Suggestions based on the programs on your PATH [#17][17]
- Suggestions based on the bash builtins [#33][33]

* Implemented the `onHover` message that now shows documentation for programs
- Implemented the `onHover` message that now shows documentation for programs
and builtins when you hover your cursor over words in the document. [#17][17]
[#33][33]

* Improved outline hierarchy [#31][31]
- Improved outline hierarchy [#31][31]

* Upgraded tree-sitter bash and other libraries. [#28][28]
- Upgraded tree-sitter bash and other libraries. [#28][28]

## 1.1.2

Expand Down
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A language server for Bash",
"author": "Mads Hartmann",
"license": "MIT",
"version": "1.17.0",
"version": "2.0.0",
"publisher": "mads-hartmann",
"main": "./out/server.js",
"typings": "./out/server.d.ts",
Expand Down
42 changes: 22 additions & 20 deletions vscode-client/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,74 +2,76 @@

## 1.11.0

* Default configuration change: parsing errors are not highlighted as problems (as the grammar is buggy)
- Default configuration change: parsing errors are not highlighted as problems (as the grammar is buggy)

## 1.10.2

* Upgrade language server to 1.16.1 (fix brace expansion bug and crash when bash is not installed)
- Upgrade language server to 1.16.1 (fix brace expansion bug and crash when bash is not installed)

## 1.10.1

* Upgrade language server to 1.16.0 (improved completion support for parameters)
- Upgrade language server to 1.16.0 (improved completion support for parameters)

## 1.10.0

* Upgrade language server to 1.15.0 (improved hover and completion documentation)
- Upgrade language server to 1.15.0 (improved hover and completion documentation)

## 1.9.1

* Upgrade language server to 1.13.1 (improved file lookup error handling)
- Upgrade language server to 1.13.1 (improved file lookup error handling)

## 1.9.0

* Upgrade language server to 1.13.0 (improved completion handler with suggestions based on variables and functions found in the workspace)
- Upgrade language server to 1.13.0 (improved completion handler with suggestions based on variables and functions found in the workspace)

## 1.8.0

* Upgrade language server to 1.11.1 (support for workspace symbols). This can for example be used by doing `Command + P` and then write `# someSearchQuery`
- Upgrade language server to 1.11.1 (support for workspace symbols). This can for example be used by doing `Command + P` and then write `# someSearchQuery`

## 1.7.0

* Upgrade language server to 1.10.0 (improved completion handler)
- Upgrade language server to 1.10.0 (improved completion handler)

## 1.6.0

* Upgrade language server to 1.9.0 (skip analyzing files with a non-bash shebang)
- Upgrade language server to 1.9.0 (skip analyzing files with a non-bash shebang)

## 1.5.0

* Upgrade language server to 1.8.0 (PATH tilde expansion, builtins and man pages formatting, pre-analyzes more files than just .sh)
- Make file glob configurable
* Remove unused `bashIde.path` configuration parameter
- Upgrade language server to 1.8.0 (PATH tilde expansion, builtins and man pages formatting, pre-analyzes more files than just .sh)

* Make file glob configurable

- Remove unused `bashIde.path` configuration parameter

## 1.4.0

* Remove additional installation step by integrating the `bash-language-server` (version 1.6.1)
- Remove additional installation step by integrating the `bash-language-server` (version 1.6.1)

## 1.3.3

* Force people to upgrade their `bash-language-server` installation to `1.5.2`.
- Force people to upgrade their `bash-language-server` installation to `1.5.2`.

## 1.3.2

* Added a new configuration option `bashIde.highlightParsingErrors` which defaults
- Added a new configuration option `bashIde.highlightParsingErrors` which defaults
to `true`. When enabled it will report parsing errors as 'problems'. This means you
can now disable the error reporting which is convenient as `shellcheck` performs a
better job of linting and our parser still has many issues.

## 1.3.1

* Added new configuration option `bashIde.path` for specifying the exact
- Added new configuration option `bashIde.path` for specifying the exact
location of the binary.
* Added new configuration option `bashIde.explainshellEndpoint` that you can use
- Added new configuration option `bashIde.explainshellEndpoint` that you can use
to enable explainshell integration.

## 1.3.0

* The client will now prompt to upgrade the Bash Language Server if you're running
an old version.
- The client will now prompt to upgrade the Bash Language Server if you're running
an old version.

## 1.2.1

* Attempt to support windows by appending `cmd` to the command to start the
- Attempt to support windows by appending `cmd` to the command to start the
server.