v2.9.0

ChatGPTNextWeb/NextChatv2.9.0Jul 18, 2023by Yidadaa

AI Summary

Major UX update featuring drag-and-drop support for contextual prompts and a migration to NanoID for unique identifiers. Includes a toggle for global system prompt injection.

Key Highlights

  • Drag and drop support for contextual prompts
  • Migrated internal IDs to NanoID
  • Added toggle for global system prompt injection
  • Fixed resending message behavior

New Features

  • Drag and drop in contextual prompts
  • NanoID implementation
  • Global system prompt toggle

Full Release Notes

## What's Changed
* Dev: 给是否注入全局系统prompt提供一个开关 by @imldy in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2344
* chore(deps): bump react-router-dom from 6.10.0 to 6.14.1 by @dependabot in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2339
* chore(deps-dev): bump eslint from 8.37.0 to 8.44.0 by @dependabot in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2340
* chore(deps-dev): bump @types/react from 18.2.12 to 18.2.14 by @dependabot in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2341
* chore(deps-dev): bump @tauri-apps/cli from 1.3.1 to 1.4.0 by @dependabot in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2342
* chore(deps): bump next from 13.4.6 to 13.4.9 by @dependabot in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2343
* fix: #2336 resending message should delete origional messages by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2346
* fix: 迁移面具对象的key以解决无法编辑旧面具的问题 by @imldy in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2360
* fix: cloudflare headers by @fyl080801 in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2355
* fix: sharegpt roles by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2370
* chore(deps): bump semver from 6.3.0 to 6.3.1 by @dependabot in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2372
* fixed react key by @MarkShawn2020 in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2390
* fix: enable `enableInjectSystemPrompts` attribute for old sessions by @imldy in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2392
* feat: #2297 drag and drop in contextual prompts by @yikayiyo in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2388
* fixed openai base url if empty by @MarkShawn2020 in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2389
* feat: improve dnd icon by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2404
* fix: #2367 do not copy in async callback after sharing to ShareGPT by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2405
* feat: close #2376 add babel polyfill by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2406
* Feature/typing-metadata by @Lantianyou in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2410
* fix: #2409 empty prompt id cause crash by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2412

## New Contributors
* @imldy made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2344
* @fyl080801 made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2355
* @MarkShawn2020 made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2390
* @yikayiyo made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2388
* @Lantianyou made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/2410

**Full Changelog**: https://github.com/Yidadaa/ChatGPT-Next-Web/compare/v2.8.9...v2.9.0