From 39decdd85d676ae78acbdb2d1e9734036cdd89a3 Mon Sep 17 00:00:00 2001 From: dlqqq Date: Thu, 7 Nov 2024 00:30:47 +0000 Subject: [PATCH] Publish 2.28.0 SHA256 hashes: jupyter-ai-core-2.28.0.tgz: e169d793b98cf73623b5c9137fc0db3daa492f1e0425e55c671930d621e19be5 jupyter_ai-2.28.0-py3-none-any.whl: f52457018d1f81b12b7719e61e3694095d928cd9b9ef38714de9e7bd35e5ec81 jupyter_ai-2.28.0.tar.gz: e9a82f403042d1c8cee4dd1a3927aa3112777d1985241113a996e5b729c2151a jupyter_ai_magics-2.28.0-py3-none-any.whl: 7073d3c67d22d5b30290aec33cf3b00d5ca3ecb4a7078d3982865a9e34e0a315 jupyter_ai_magics-2.28.0.tar.gz: 281f435417ee3f4e678b2ffc222d02bc96ce3287ab331e4668d61cb6514251ef --- CHANGELOG.md | 49 ++++++++++++++++++++++++- 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, 52 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 357e252ea..7804f16c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,53 @@ +## 2.28.0 + +([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/core@2.27.0...6eb6a625712b8a77240ddfffe70050ed9ab83576)) + +### Release summary + +This release notably includes the following changes: + +- Models from the `Anthropic` and `ChatAnthropic` providers are now merged in the config UI, so all Anthropic models are shown in the same place in the "Language model" dropdown. + +- Anthropic Claude v1 LLMs have been removed, as the models are retired and no longer available from the API. + +- The chat system prompt has been updated to encourage the LLM to express dollar quantities in LaTeX, i.e. the LLM should prefer returning `\(\$100\)` instead of `$100`. For the latest LLMs, this generally fixes a [rendering issue](https://github.com/jupyterlab/jupyter-ai/issues/1067) when multiple dollar quantities are given literally in the same sentence. + + - Note that the issue may still persist in older LLMs, which do not respect the system prompt as frequently. + +- `/export` has been fixed to include streamed replies, which were previously omitted. + +- Calling non-chat providers with history has been fixed to behave properly in magics. + +### Enhancements made + +- Remove retired models and add new `Haiku-3.5` model in Anthropic [#1092](https://github.com/jupyterlab/jupyter-ai/pull/1092) ([@srdas](https://github.com/srdas)) +- Reduced padding in cell around code icons in code toolbar [#1072](https://github.com/jupyterlab/jupyter-ai/pull/1072) ([@srdas](https://github.com/srdas)) +- Merge Anthropic language model providers [#1069](https://github.com/jupyterlab/jupyter-ai/pull/1069) ([@srdas](https://github.com/srdas)) +- Add examples of using Fields and EnvAuthStrategy to developer documentation [#1056](https://github.com/jupyterlab/jupyter-ai/pull/1056) ([@alanmeeson](https://github.com/alanmeeson)) + +### Bugs fixed + +- Continue to allow `$` symbols to delimit inline math in human messages [#1094](https://github.com/jupyterlab/jupyter-ai/pull/1094) ([@dlqqq](https://github.com/dlqqq)) +- Fix `/export` by including streamed agent messages [#1077](https://github.com/jupyterlab/jupyter-ai/pull/1077) ([@mcavdar](https://github.com/mcavdar)) +- Fix magic commands when using non-chat providers w/ history [#1075](https://github.com/jupyterlab/jupyter-ai/pull/1075) ([@alanmeeson](https://github.com/alanmeeson)) +- Allow `$` to literally denote quantities of USD in chat [#1068](https://github.com/jupyterlab/jupyter-ai/pull/1068) ([@dlqqq](https://github.com/dlqqq)) + +### Documentation improvements + +- Improve installation documentation and clarify provider dependencies [#1087](https://github.com/jupyterlab/jupyter-ai/pull/1087) ([@srdas](https://github.com/srdas)) +- Added Ollama to the providers table in user docs [#1064](https://github.com/jupyterlab/jupyter-ai/pull/1064) ([@srdas](https://github.com/srdas)) + +### Contributors to this release + +([GitHub contributors page for this release](https://github.com/jupyterlab/jupyter-ai/graphs/contributors?from=2024-10-29&to=2024-11-07&type=c)) + +[@alanmeeson](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Aalanmeeson+updated%3A2024-10-29..2024-11-07&type=Issues) | [@dlqqq](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Adlqqq+updated%3A2024-10-29..2024-11-07&type=Issues) | [@krassowski](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Akrassowski+updated%3A2024-10-29..2024-11-07&type=Issues) | [@mcavdar](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Amcavdar+updated%3A2024-10-29..2024-11-07&type=Issues) | [@srdas](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Asrdas+updated%3A2024-10-29..2024-11-07&type=Issues) + + + ## 2.27.0 ([Full Changelog](https://github.com/jupyterlab/jupyter-ai/compare/@jupyter-ai/core@2.26.0...b621aa476afc3af9e9b3dd398108b7ed9aaf7bf6)) @@ -21,8 +68,6 @@ [@dlqqq](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Adlqqq+updated%3A2024-10-21..2024-10-29&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Apre-commit-ci+updated%3A2024-10-21..2024-10-29&type=Issues) | [@srdas](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyter-ai+involves%3Asrdas+updated%3A2024-10-21..2024-10-29&type=Issues) - - ## 2.26.0 This release notably includes the addition of a "Stop streaming" button, which takes over the "Send" button when a reply is streaming and the chat input is empty. While Jupyternaut is streaming a reply to a user, the user has the option to click the "Stop streaming" button to interrupt Jupyternaut and stop it from streaming further. Thank you @krassowski for contributing this feature! 🎉 diff --git a/lerna.json b/lerna.json index 892b6cf44..9ef75ac61 100644 --- a/lerna.json +++ b/lerna.json @@ -1,7 +1,7 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useWorkspaces": true, - "version": "2.27.0", + "version": "2.28.0", "npmClient": "yarn", "useNx": true } diff --git a/package.json b/package.json index 8949d222b..f56a0cce0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jupyter-ai/monorepo", - "version": "2.27.0", + "version": "2.28.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 b87ba4e21..36c8f86f3 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.27.0", + "version": "2.28.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 46afe6459..a3b0a68ec 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.27.0", + "version": "2.28.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 26d31f6cf..a06bed0c1 100644 --- a/packages/jupyter-ai/package.json +++ b/packages/jupyter-ai/package.json @@ -1,6 +1,6 @@ { "name": "@jupyter-ai/core", - "version": "2.27.0", + "version": "2.28.0", "description": "A generative AI extension for JupyterLab", "keywords": [ "jupyter",