From 278dededd8a93f324376b4e5cdff82a1f68a982f Mon Sep 17 00:00:00 2001 From: dlqqq Date: Thu, 26 Sep 2024 20:55:28 +0000 Subject: [PATCH] Publish 2.24.0 SHA256 hashes: jupyter-ai-core-2.24.0.tgz: b0fe39bee154287946c97c0a57fb40b60d486327566f06f5c0025c13074b3fcd jupyter_ai-2.24.0-py3-none-any.whl: cbfc9c427b212b1f188d5f87ea34784dc1327cc95cbd8157956ca0b1c6556fb1 jupyter_ai-2.24.0.tar.gz: 8e60b29590ecaeba354d0d9ac68dfc8b88bba45d50052e2cd6120c14177b9fe1 jupyter_ai_magics-2.24.0-py3-none-any.whl: 1c4e697f471b4c924925e33a7497955bf04a0987f4a194aa757a0d449bf3530e jupyter_ai_magics-2.24.0.tar.gz: fc27de12744088a797ead5eecf2e85ddfff400b42954f1b52159e4c805c57717 --- CHANGELOG.md | 40 +++++++++++++++++++++++-- lerna.json | 2 +- package.json | 2 +- packages/jupyter-ai-magics/package.json | 2 +- packages/jupyter-ai-test/package.json | 2 +- packages/jupyter-ai/package.json | 2 +- 6 files changed, 43 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f614d7ef..ca8c58a1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,44 @@ +## 2.24.0 + +([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/core@2.23.0...e6ec9e9ba4336168ce7874c09d07157be8bbff5a)) + +This release notably introduces a new **context command** `@file:` to the chat UI, which includes the content of the target file with your prompt when sent. This allows you to ask questions like: + +- `What does @file:src/components/ActionButton.tsx do?` +- `Can you refactor @file:src/index.ts to use async/await syntax?` +- `How do I add an optional dependency to @file:pyproject.toml?` + +The context command feature also includes an autocomplete menu UI to help navigate your filesystem with fewer keystrokes. + +Thank you @michaelchia for developing this feature! + +### Enhancements made + +- Migrate to `ChatOllama` base class in Ollama provider [#1015](https://github.com/jupyterlab/jupyter-ai/pull/1015) ([@srdas](https://github.com/srdas)) +- Add `metadata` field to agent messages [#1013](https://github.com/jupyterlab/jupyter-ai/pull/1013) ([@dlqqq](https://github.com/dlqqq)) +- Add OpenRouter support [#996](https://github.com/jupyterlab/jupyter-ai/pull/996) ([@akaihola](https://github.com/akaihola)) +- Framework for adding context to LLM prompt [#993](https://github.com/jupyterlab/jupyter-ai/pull/993) ([@michaelchia](https://github.com/michaelchia)) +- Adds unix shell-style wildcard matching to `/learn` [#989](https://github.com/jupyterlab/jupyter-ai/pull/989) ([@andrewfulton9](https://github.com/andrewfulton9)) + +### Bugs fixed + +- Run mypy on CI, fix or ignore typing issues [#987](https://github.com/jupyterlab/jupyter-ai/pull/987) ([@krassowski](https://github.com/krassowski)) + +### Maintenance and upkeep improvements + +- Upgrade to `actions/upload-artifact@v4` in workflows [#992](https://github.com/jupyterlab/jupyter-ai/pull/992) ([@dlqqq](https://github.com/dlqqq)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyterlab/jupyter-ai/graphs/contributors?from=2024-09-11&to=2024-09-26&type=c)) + +[@akaihola](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Aakaihola+updated%3A2024-09-11..2024-09-26&type=Issues) | [@andrewfulton9](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Aandrewfulton9+updated%3A2024-09-11..2024-09-26&type=Issues) | [@dlqqq](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Adlqqq+updated%3A2024-09-11..2024-09-26&type=Issues) | [@ellisonbg](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Aellisonbg+updated%3A2024-09-11..2024-09-26&type=Issues) | [@hockeymomonow](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Ahockeymomonow+updated%3A2024-09-11..2024-09-26&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Akrassowski+updated%3A2024-09-11..2024-09-26&type=Issues) | [@michaelchia](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Amichaelchia+updated%3A2024-09-11..2024-09-26&type=Issues) | [@srdas](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Asrdas+updated%3A2024-09-11..2024-09-26&type=Issues) + + + ## 2.23.0 ([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/core@2.22.0...83cbd8ea240f1429766c417bada3bfb39afc4462)) @@ -23,8 +61,6 @@ [@dlqqq](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Adlqqq+updated%3A2024-08-29..2024-09-11&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Akrassowski+updated%3A2024-08-29..2024-09-11&type=Issues) | [@michaelchia](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Amichaelchia+updated%3A2024-08-29..2024-09-11&type=Issues) | [@srdas](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Asrdas+updated%3A2024-08-29..2024-09-11&type=Issues) - - ## 2.22.0 ([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/core@2.21.0...79158abf7044605c5776e205dd171fe87fb64142)) diff --git a/lerna.json b/lerna.json index 5c205293f..84a7672f2 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useWorkspaces": true, - "version": "2.23.0", + "version": "2.24.0", "npmClient": "yarn", "useNx": true } diff --git a/package.json b/package.json index a9fd1da7e..aa68bf4c1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jupyter-ai/monorepo", - "version": "2.23.0", + "version": "2.24.0", "description": "A generative AI extension for JupyterLab", "private": true, "keywords": [ diff --git a/packages/jupyter-ai-magics/package.json b/packages/jupyter-ai-magics/package.json index 05f9cea6b..ec31a3936 100644 --- a/packages/jupyter-ai-magics/package.json +++ b/packages/jupyter-ai-magics/package.json @@ -1,6 +1,6 @@ { "name": "@jupyter-ai/magics", - "version": "2.23.0", + "version": "2.24.0", "description": "Jupyter AI magics Python package. Not published on NPM.", "private": true, "homepage": "https://github.com/jupyterlab/jupyter-ai", diff --git a/packages/jupyter-ai-test/package.json b/packages/jupyter-ai-test/package.json index 916636af6..766c9f222 100644 --- a/packages/jupyter-ai-test/package.json +++ b/packages/jupyter-ai-test/package.json @@ -1,6 +1,6 @@ { "name": "@jupyter-ai/test", - "version": "2.23.0", + "version": "2.24.0", "description": "Jupyter AI test package. Not published on NPM or PyPI.", "private": true, "homepage": "https://github.com/jupyterlab/jupyter-ai", diff --git a/packages/jupyter-ai/package.json b/packages/jupyter-ai/package.json index bd9a20a71..d3f874ce9 100644 --- a/packages/jupyter-ai/package.json +++ b/packages/jupyter-ai/package.json @@ -1,6 +1,6 @@ { "name": "@jupyter-ai/core", - "version": "2.23.0", + "version": "2.24.0", "description": "A generative AI extension for JupyterLab", "keywords": [ "jupyter",