v2.2

ChatGPTNextWeb/NextChatv2.2May 5, 2023by Yidadaa

AI Summary

Adds Mermaid diagram support and refactors the API structure, along with various proxy and bug fixes.

Key Highlights

  • Add Mermaid support for diagrams
  • Refactor API endpoints (merge chat-stream to openai)
  • Fix mask and proxy bugs
  • Fix basic auth when behind a proxy server
  • Arrow key selection for prompts

New Features

  • Mermaid support
  • Arrow key selection for prompts
  • Refactor API structure
  • Determine userInput by trimming
  • Update registry mirror

Full Release Notes

## What's Changed
* feat: #782 select prompt with arrow down / up by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1220
* refactor: merge /api/chat-stream to /api/openai by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1222
* chore: update registry mirror by @sanding0 in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1232
* fix: bug #1240 by @yanCode in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1241
* fix: #1237 #1233 mask bug and proxy bug by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1247
* resolve problem about basic auth when the app is behind a proxy server by @xesrc in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1235
* refactor: determine userInput by trimming by @wsw2000 in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1248
* feat: #951 mermaid support by @Yidadaa in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1276

## New Contributors
* @sanding0 made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1232
* @yanCode made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1241
* @xesrc made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1235
* @wsw2000 made their first contribution in https://github.com/Yidadaa/ChatGPT-Next-Web/pull/1248

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