Skip to content

Commit

Permalink
Forth public release 0.0.4-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Jan 9, 2024
1 parent b8423f6 commit 2d5d12e
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: 💬 General Questions and Answers about v-analyzer
url: https://github.com/v-analyzer/v-analyzer/discussions/categories/q-a
url: https://github.com/vlang/v-analyzer/discussions/categories/q-a
about: You can ask and answer questions about v-analyzer in the discussions forum.

- name: 💬 V Discord Server
Expand Down
66 changes: 53 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,71 @@
# v-analyser Changelog

## [0.0.4-beta.1] - 2024/01/09
Forth public release.

Note: this is still a beta version, do expect bugs, and report them in
our [issues tracker](https://github.com/vlang/v-analyzer/issues) .

### Syntax enhancements & bug fixes:
∙ Update comment rule (#5).
∙ Fix string interpolation.
∙ Fix comment string parse error (https://github.com/v-analyzer/v-analyzer/pull/85).
∙ Fix attribute shading (#2).
∙ Fix `parameters`.
∙ Fix the type descriptions in the primitives.v stub.
∙ Simplify `handle_jsonrpc` (https://github.com/v-analyzer/v-analyzer/pull/86).

### VSCode Extension:
∙ Show the full path to the found v-analyzer binary,
when the VSCode extension runs its bootstrap, to make
diagnosing problems easier.
∙ Update the vscode extension package to vscode-v-analyzer-0.0.4.vsix

### CI enhancements:
∙ Use `ubuntu-20.04` for building the executables, to be compatible with more Linux distros.
∙ Use `v build.vsh debug` for nightly releases, so the executables produce usable backtraces.
∙ Silence the nightly releases, simplify the .yml script that builds
them (https://github.com/v-analyzer/v-analyzer/pull/83).

### Others:
∙ Update README.md to also include instructions for the mason.nvim Neovim
package manager (https://github.com/v-analyzer/v-analyzer/pull/90).
∙ Fix notices and warnings with latest V.
∙ Exclude .git/* and `_test.v` files from indexing by the language server,
see (https://github.com/v-analyzer/v-analyzer/pull/89).
∙ Use a git submodule for https://github.com/tree-sitter/tree-sitter.git, see
(https://github.com/v-analyzer/v-analyzer/pull/81).
∙ Use gcc for building on windows (https://github.com/v-analyzer/v-analyzer/pull/87).
∙ Update build scripts (https://github.com/v-analyzer/v-analyzer/pull/84).
∙ Fix version comparison in install.vsh .
∙ Migrate from https://github.com/v-analyzer/v-analyzer/ to https://github.com/vlang/v-analyzer/ .

## [0.0.3-beta.1] - 2023/12/13
Third public release.

Syntax enhancements & bug fixes:
∙ Fix support for multiline comments (#75)
∙ Fix interface ref type highlight (#76)
∙ Fix support for struct field attributes (#74)
∙ Fix interface embeds and interface fields (#78)
∙ Fix `assert cond, message` statements (#65)
### Syntax enhancements & bug fixes:
∙ Fix support for multiline comments (https://github.com/v-analyzer/v-analyzer/pull/75)
∙ Fix interface ref type highlight (https://github.com/v-analyzer/v-analyzer/pull/76)
∙ Fix support for struct field attributes (https://github.com/v-analyzer/v-analyzer/pull/74)
∙ Fix interface embeds and interface fields (https://github.com/v-analyzer/v-analyzer/pull/78)
∙ Fix `assert cond, message` statements (https://github.com/v-analyzer/v-analyzer/pull/65)
∙ Support @[attribute], fix signature, fix interface highlights

Language server enhancements:
### Language server enhancements:
∙ Enable exit commands, to prevent lingering v-analyzer processes after
an editor restart (#77)
∙ server: fix NO_RESULT_CALLBACK_FOUND in neovim (#59)
an editor restart (https://github.com/v-analyzer/v-analyzer/pull/77)
∙ server: fix NO_RESULT_CALLBACK_FOUND in neovim (https://github.com/v-analyzer/v-analyzer/pull/59)
∙ Build the v-analyzer executable on linux as static in release mode, to
make it more robust and usable in more distros.

Others:
∙ docs: add neovim install instructions (#63)
### Others:
∙ docs: add neovim install instructions (https://github.com/v-analyzer/v-analyzer/pull/63)
∙ CI improvements, to make releases easier, and to keep the code quality high.
∙ Update the vscode extension package to vscode-v-analyzer-0.0.3.vsix
∙ Make `v-analyzer --version` show the build commit as well.

Note: this is still a beta version, expect bugs and please report them in
our [issues tracker](https://github.com/v-analyzer/v-analyzer/issues) .
our [issues tracker](https://github.com/vlang/v-analyzer/issues) .

## [0.0.2-beta.1] - 2023/11/21
Second public release.
Expand All @@ -38,7 +78,7 @@ Update https://github.com/v-analyzer/v-tree-sitter from the latest
upstream version from https://github.com/tree-sitter/tree-sitter .

This is still a beta version, expect bugs and please report them in
our [issues tracker](https://github.com/v-analyzer/v-analyzer/issues) .
our [issues tracker](https://github.com/vlang/v-analyzer/issues) .


## [0.0.1-beta.1] - 2023/07/03
Expand Down
6 changes: 3 additions & 3 deletions install.vsh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ fn install_from_binary(asset ReleaseAsset, update bool) ! {
}

fn find_latest_asset() !ReleaseAsset {
text := http.get_text('https://api.github.com/repos/v-analyzer/v-analyzer/releases/latest')
text := http.get_text('https://api.github.com/repos/vlang/v-analyzer/releases/latest')
res := json.decode(ReleaseInfo, text) or {
errorln('Failed to decode JSON response from GitHub: ${err}')
return error('Failed to decode JSON response from GitHub: ${err}')
Expand Down Expand Up @@ -289,7 +289,7 @@ fn install_from_sources(no_interaction bool) ! {
warnln('${term.bold('v-analyzer')} is not installed!')
println('')
println('${term.bold('[NOTE]')} If you want to build it from sources manually, run the following commands:')
println('git clone https://github.com/v-analyzer/v-analyzer.git')
println('git clone https://github.com/vlang/v-analyzer.git')
println('cd v-analyzer')
println('v build.vsh')
println(term.gray('# Optionally you can move the binary to the standard location:'))
Expand Down Expand Up @@ -319,7 +319,7 @@ fn install_from_sources(no_interaction bool) ! {
fn clone_repository() ! {
println('Cloning ${term.bold('v-analyzer')} repository...')

exit_code := run_command('git clone https://github.com/v-analyzer/v-analyzer.git ${analyzer_sources_path} 2>&1') or {
exit_code := run_command('git clone https://github.com/vlang/v-analyzer.git ${analyzer_sources_path} 2>&1') or {
errorln('Failed to clone v-analyzer repository: ${err}')
return
}
Expand Down
4 changes: 2 additions & 2 deletions metadata/v.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Module {
name: 'stubs'
description: 'Stubs definitions for the V programming language'
version: '0.0.1'
version: '0.0.2'
license: 'MIT'
repo_url: 'https://github.com/v-analyzer/v-analyzer'
repo_url: 'https://github.com/vlang/v-analyzer'
dependencies: []
}
7 changes: 5 additions & 2 deletions tree_sitter_v/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ This grammar is heavily derived from the following language grammars:

This project initially started by
[nedpals](https://github.com/nedpals)
and after that in 2023 it was heavily modified by the
and after that, till July 2023, it was heavily modified by the
[VOSCA](https://github.com/vlang-association).

The project is now developed by *all interested contributors*,
just like [V itself](https://github.com/vlang/v).

## License

This project is under the **MIT License**. See the
[LICENSE](https://github.com/v-analyzer/v-analyzer/blob/main/LICENSE)
[LICENSE](https://github.com/vlang/v-analyzer/blob/main/LICENSE)
file for the full license text.
4 changes: 2 additions & 2 deletions tree_sitter_v/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "tree-sitter-v",
"version": "0.0.3-beta.1",
"version": "0.0.4-beta.1",
"main": "bindings/node",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/v-analyzer/v-analyzer.git"
"url": "https://github.com/vlang/v-analyzer.git"
},
"scripts": {
"test": "tree-sitter test",
Expand Down
2 changes: 1 addition & 1 deletion tree_sitter_v/v.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Module {
name: 'tree_sitter_v'
description: 'Tree sitter grammar for V'
version: '0.0.3-beta.1'
version: '0.0.4-beta.1'
license: 'MIT'
dependencies: []
}
2 changes: 1 addition & 1 deletion v.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Module {
name: 'v-analyzer'
description: 'Language server implementation for V language'
version: '0.0.3-beta.1'
version: '0.0.4-beta.1'
license: 'MIT'
dependencies: []
}

0 comments on commit 2d5d12e

Please sign in to comment.