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

Bump version for release. Update doc. #669

Merged
merged 3 commits into from
Oct 16, 2023
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ After installation and activation of the extension:
#### Goal and info view panel
* `"vscoq.goals.diff.mode": on | off | removed` -- Toggles diff mode. If set to `removed`, only removed characters are shown (defaults to `off`)
* `"vscoq.goals.display": Tabs | List` -- Decide whether to display goals in seperate tabs or as a list of collapsibles.
* `"vscoq.goals.messages.full": bool` -- A toggle to include warning and errors in the proof view (defaults to `true`)
* `"vscoq.goals.messages.full": bool` -- A toggle to include warning and errors in the proof view (defaults to `false`)

#### Diagnostics
* `"vscoq.diagnostics.full": bool` -- Toggles the printing of `Info` level diagnostics
* `"vscoq.diagnostics.full": bool` -- Toggles the printing of `Info` level diagnostics (defaults to `false`)

#### Code completion (experimental)
* `"vscoq.completion.enable": bool` -- Toggle code completion
* `"vscoq.completion.enable": bool` -- Toggle code completion (defaults to `false`)
* `"vscoq.completion.algorithm": StructuredSplitUnification | SplitTypeIntersection` -- Which completion algorithm to use
* `"vscoq.completion.unificationLimit": int` -- Sets the limit for how many theorems unification is attempted

Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "VsCoq is an extension for Visual Studio Code with support for the Coq Proof Assistant",
"publisher": "maximedenes",
"license": "MIT",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "https://github.com/coq-community/vscoq.git"
Expand Down
4 changes: 3 additions & 1 deletion client/src/utilities/versioning.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@
[index: string]: string
};

/* Version requirements for the client. Syntax is client version : minimum server version */
const versionRequirements : VersionReq = {
'2.0.0': '2.0.0',

Check warning on line 32 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / dev-setup-opam (ubuntu-latest, 4.13.x)

Object Literal Property name `2.0.0` must match one of the following formats: camelCase

Check warning on line 32 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / install-opam (ubuntu-latest, 4.13.x)

Object Literal Property name `2.0.0` must match one of the following formats: camelCase

Check warning on line 32 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / install-windows

Object Literal Property name `2.0.0` must match one of the following formats: camelCase
'2.0.1': '2.0.0'
'2.0.1': '2.0.0',

Check warning on line 33 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / dev-setup-opam (ubuntu-latest, 4.13.x)

Object Literal Property name `2.0.1` must match one of the following formats: camelCase

Check warning on line 33 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / install-opam (ubuntu-latest, 4.13.x)

Object Literal Property name `2.0.1` must match one of the following formats: camelCase

Check warning on line 33 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / install-windows

Object Literal Property name `2.0.1` must match one of the following formats: camelCase
'2.0.2': '2.0.0'

Check warning on line 34 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / dev-setup-opam (ubuntu-latest, 4.13.x)

Object Literal Property name `2.0.2` must match one of the following formats: camelCase

Check warning on line 34 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / install-opam (ubuntu-latest, 4.13.x)

Object Literal Property name `2.0.2` must match one of the following formats: camelCase

Check warning on line 34 in client/src/utilities/versioning.ts

View workflow job for this annotation

GitHub Actions / install-windows

Object Literal Property name `2.0.2` must match one of the following formats: camelCase
};

//We will add version ranges as we start releasing
Expand Down
2 changes: 2 additions & 0 deletions docs/developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ To release a new version of VsCoq:
- flake.nix
- client/package.json
- language-server/vscoqtop/lspManager.ml

1.a Don't forget to add the version requirements in `client/src/utilities/versioning.ts`

2. Create a signed tag for the release with the new version number
```shell
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
ocamlPackages.buildDunePackage {
duneVersion = "3";
pname = "vscoq-language-server";
version = "2.0.1";
version = "2.0.2";
src = ./language-server;
buildInputs = [
coq
Expand Down
2 changes: 1 addition & 1 deletion language-server/vscoqtop/lspManager.ml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ let conf_request_id = max_int

let server_info = InitializeResult.create_serverInfo
~name:"vscoq-language-server"
~version:"2.0.1"
~version:"2.0.2"
()

type lsp_event =
Expand Down
Loading