From bbc4504c79c8b994e1e9cc473368d9e06f2db210 Mon Sep 17 00:00:00 2001 From: krassowski Date: Tue, 1 Sep 2020 00:06:43 +0100 Subject: [PATCH 1/4] Bump version to release v2.0.0 of frontend and 0.9.2 of backend --- azure-pipelines.yml | 4 ++-- packages/jupyterlab-lsp/package.json | 2 +- packages/metapackage/package.json | 2 +- py_src/jupyter_lsp/_version.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index be04d02ec..87ca03a64 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,8 +15,8 @@ variables: ATEST_RETRIES: 3 YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn - PY_JLSP_VERSION: 0.9.1 - JS_JLLSP_VERSION: 1.1.2 + PY_JLSP_VERSION: 0.9.2 + JS_JLLSP_VERSION: 2.0.0 JS_JLG2D_VERSION: 1.0.0 FIRST_PARTY_LABEXTENSIONS: >- diff --git a/packages/jupyterlab-lsp/package.json b/packages/jupyterlab-lsp/package.json index a80fee449..6cf0a6ef4 100644 --- a/packages/jupyterlab-lsp/package.json +++ b/packages/jupyterlab-lsp/package.json @@ -1,6 +1,6 @@ { "name": "@krassowski/jupyterlab-lsp", - "version": "1.1.2", + "version": "2.0.0", "description": "Language Server Protocol integration for JupyterLab", "keywords": [ "jupyter", diff --git a/packages/metapackage/package.json b/packages/metapackage/package.json index 9ddeaadf7..ff073ed28 100644 --- a/packages/metapackage/package.json +++ b/packages/metapackage/package.json @@ -1,6 +1,6 @@ { "name": "@krassowski/jupyterlab-lsp-metapackage", - "version": "1.1.2", + "version": "2.0.0", "description": "JupyterLab LSP - Meta Package. All of the packages used by JupyterLab LSP", "homepage": "https://github.com/krassowski/jupyterlab-lsp", "bugs": { diff --git a/py_src/jupyter_lsp/_version.py b/py_src/jupyter_lsp/_version.py index c528a0c78..8307dbe50 100644 --- a/py_src/jupyter_lsp/_version.py +++ b/py_src/jupyter_lsp/_version.py @@ -1,3 +1,3 @@ """ single source of truth for jupyter_lsp version """ -__version__ = "0.9.1" +__version__ = "0.9.2" From eaa8c3d772e10affdc986ce012b23cc028d2af1e Mon Sep 17 00:00:00 2001 From: krassowski Date: Tue, 1 Sep 2020 00:51:57 +0100 Subject: [PATCH 2/4] Add release date in changelog --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 978d5b2f7..c35eb9a5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## CHANGELOG -### `jupyter-lsp 0.9.2` (unreleased) +### `jupyter-lsp 0.9.2` (2020-09-01) - autodetects the `sql` language server for `.sql` files ([#328][]) - diagnostics are provided by `sqlint` which requires Node 11+ @@ -8,7 +8,7 @@ [#328]: https://github.com/krassowski/jupyterlab-lsp/pull/328 -### `@krassowski/jupyterlab-lsp 2.0.0` (unreleased) +### `@krassowski/jupyterlab-lsp 2.0.0` (2020-09-01) - features From 2fa3b86bbd882a9284dc57889a3fdd01eaa609ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Krassowski?= <5832902+krassowski@users.noreply.github.com> Date: Thu, 3 Sep 2020 23:08:53 +0100 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c35eb9a5a..c57cd67f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## CHANGELOG -### `jupyter-lsp 0.9.2` (2020-09-01) +### `jupyter-lsp 0.9.2` (2020-09-03) - autodetects the `sql` language server for `.sql` files ([#328][]) - diagnostics are provided by `sqlint` which requires Node 11+ @@ -8,7 +8,7 @@ [#328]: https://github.com/krassowski/jupyterlab-lsp/pull/328 -### `@krassowski/jupyterlab-lsp 2.0.0` (2020-09-01) +### `@krassowski/jupyterlab-lsp 2.0.0` (2020-09-03) - features From 13ac863165869502204275af5b8fe08cd49be232 Mon Sep 17 00:00:00 2001 From: krassowski Date: Thu, 3 Sep 2020 23:31:13 +0100 Subject: [PATCH 4/4] Update the release instructions --- docs/Releasing.ipynb | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/docs/Releasing.ipynb b/docs/Releasing.ipynb index 359161776..539ccb001 100644 --- a/docs/Releasing.ipynb +++ b/docs/Releasing.ipynb @@ -16,6 +16,12 @@ "source": [ "### Updating Version Strings\n", "\n", + "Use the `bump_versions` script to manage the version strings:\n", + "\n", + "```bash\n", + "python scripts/bump_versions.py\n", + "```\n", + "\n", "Check the version strings across the various files:\n", "\n", "```bash\n", @@ -25,12 +31,6 @@ "- TODO: create a `release.py` script\n", " [#88](https://github.com/krassowski/jupyterlab-lsp/issues/88)\n", "\n", - "Use the `bump_versions` script to manage the version strings:\n", - "\n", - "```bash\n", - "python scripts/bump_versions.py\n", - "```\n", - "\n", "The PyPI version (jupyter-lsp) must be updated in the following places:\n", "\n", "- `py_src/jupyter_lsp/_version.py` (canonical)\n", @@ -64,10 +64,19 @@ "\n", "```bash\n", "cd packages/lsp-ws-connection\n", - "npm publish\n", + "npm publish --access public\n", + "cd -\n", + "cd packages/completion-theme\n", + "npm publish --access public\n", + "cd -\n", + "cd packages/theme-material\n", + "npm publish --access public\n", + "cd -\n", + "cd packages/theme-vscode\n", + "npm publish --access public\n", "cd -\n", "cd packages/jupyterlab-lsp\n", - "npm publish\n", + "npm publish --access public\n", "cd -\n", "./scripts/publish_pypi.sh\n", "```"