ChatGPT-Next-Web/CHANGELOG.md

116 KiB

1.0.0 (2024-12-20)

Bug Fixes

Features

  • (1) fix issues/4335 and issues/4518 (fb8b8d2)
  • [#5714] 支持GLM (d357b45)
  • #1000 client-side only and desktop app (a023308)
  • #1000 ready to support client-side only (50cd33d)
  • #112 add edit chat title (45088a3)
  • #1303 improve long text input ux and mobile modal (1b19fdf)
  • #138 add context prompt, close #330 #321 (b85245e)
  • #1640 support free gpt endpoint (203ac09)
  • #170 auto scroll after retrying (08f3c70)
  • #2 #8 add stop and retry button (86507fa)
  • #2 add access control by (2c899cf)
  • #2 add prompt hints (6782e65)
  • #2 add prompt list (7d5e742)
  • #2 trying to add stop response button (806e7b0)
  • #2144 improve input template (5f0cda8)
  • #2308 improve chat actions ux (b55b01c)
  • #2330 disable /list/models (15e063e)
  • #24 docker publish actions (0463b35)
  • #27 add docker image publish actions (cc1a1d4)
  • #3224 auto switch to first avaliable model (be97749)
  • #499 revert delete session (5952064)
  • #577 maximum / minimium icon (eae5a8a)
  • #9 add copy code button (e57bd51)
  • #920 migrate id to nanoid (8e4743e)
  • [WIP] support webdav (1dd75b6)
  • #close 1789 add user input template (be597a5)
    1. using cache storage store image data; 2. get base64image before chat to api #5013 (287fa0a)
  • 1)upload image with type 'heic' 2)change the empty message to ';' for models 3) (c10447d)
  • 补充文档 (7fcfbc3)
  • 翻译InjectSystemPrompts配置项为其他语言 (f59235b)
  • 去掉不必要的文件 (7139671)
  • 全局设置是否启用artifacts (6c8143b)
  • 新增阿里系模型代码配置 (86ffa1e)
  • 暂不支持 tauri (b2303d8)
  • 中文版锚点 (28cedb1)
  • add "Hide_Balance_Query" environment variable (c05de45)
  • add analytics (76f851b)
  • add app dev mode (80d5bfd)
  • add app logo and (6264c02)
  • add auth tip (e4fda6c)
  • add autoGenerateTitle option (20a508e)
  • add basic ui (d49b2aa)
  • add calcTextareaHeight.js from element-ui (bce020f)
  • add calcTextareaHeight.ts (de740ec)
  • add check update (29de957)
  • add claude and bard (cdf0311)
  • add confirm tips when deleting conversation on pc (4dc1e02)
  • add dark theme support (14d50f1)
  • add docker proxy (c8be5e4)
  • add Dockerfile for docker deployment support (8d0d087)
  • add error tip (065f015)
  • add export to .md button (bab470d)
  • add favicon (9912762)
  • add font size setting (f979822)
  • Add frequency_penalty request parameter (72cbb15)
  • add gemini flash into vision model list (4789a7f)
  • add getClientApi method (5e0657c)
  • add google api safety setting (7498680)
  • add i18n for mask (c7c58ef)
  • add indexDB (492b55c)
  • add indexDB (4060e36)
  • add lint-staged (e648a59)
  • add lodash-es (a17df03)
  • add log (49fc752)
  • add mask crud (a7a8aad)
  • add mask page (ffa7302)
  • add mask screen (aeb9862)
  • add max icon for modals (9e6617e)
  • add mobile support (1fae774)
  • add model and time info to prompts (cb55ce0)
  • add model config to settings (2f112ec)
  • add model name (fb5fc13)
  • add multi-model support (5610f42)
  • add nynorsk option (113bd24)
  • add o1 model (71df415)
  • add one-key setup script (3b6f93a)
  • add optimize textarea height when inputing (2a79d35)
  • add plugin entry selection (fa6ebad)
  • add proxy for docker (1bb7b4a)
  • add PWA support (5593c06)
  • add PWA support (689b7ba)
  • add PWA support (bdf17fa)
  • add robots.txt (306f085)
  • add SD page switching (d214811)
  • add session config modal (7345639)
  • add setting to hide builtin masks (74fa065)
  • add settings ui (a9940cb)
  • add shortcut key (f219515)
  • add side bar mask entry (59edcc3)
  • Add Stability API server relay sending (2b01538)
  • add stream support (74dd619)
  • add support for iFLYTEK Spark API (接入讯飞星火模型) (b2c1644)
  • add switch of send preview bubble (1db2100)
  • add tight border layout (ff0cf2f)
  • add top p config (8230326)
  • add tts stt (2f410fc)
  • add type for import (442a529)
  • add typings for metadata (e1243f3)
  • add upstash redis cloud sync (83fed42)
  • add voice action (f86b220)
  • add webdav support (6f83fbd)
  • adding iOS Webapp support (dd80c45)
  • align chat page title center on mobile screen (82ec447)
  • allow send image only (7d55a6d)
  • allow to disable chunk building by setting DISABLE_CHUNK=1 (463251d)
  • animate streaming response to make more smooth (536ace8)
  • artifacts style (c27ef6f)
  • artifacts style (21ef9a4)
  • audio to message (a494152)
  • auth: xg feature (1980f43)
  • auto detach scrolling (410a22d)
  • auto fill upstash backup name (f1e7db6)
  • better animation speed (f248593)
  • bugfix (a1493bf)
  • bump version (b972a0d)
  • bump version (3a007e4)
  • bump version (aec3c5d)
  • bump version (aacd26c)
  • bump version (#4009) (887bec0)
  • bump version (#4015) (0869455)
  • bump version (#4133) (bc1794f)
  • bump version code (b2e8a1e)
  • call claude api not in credential 'include' mode (63f9063)
  • call claude api not in credential 'include' mode (6dad353)
  • check usage throttle (fdc8278)
  • clean codes (3cb4315)
  • clear indexDB (0b75894)
  • clear session only (506cdbc)
  • close #1055 cmd/alt/ctrl + arrow up/down to switch window (2b7f72d)
  • close #1072 share mask as link (5c8be2a)
  • close #118 add stop all button (dc3883e)
  • close #1301 support message actions (2223013)
  • close #1382 only clear memory btn in chat config (05b1b8b)
  • close #1415 clear context button (a19d238)
  • close #1478 new chat use global config as default (b1ba3df)
  • close #1615 pin messages to contextual prompts (7893693)
  • close #1626 hide context prompts in mask config (6d8c7ba)
  • close #1762 add hover text for chat input actions (88df4a2)
  • close #1960 add gpt-3.5-turbo-16k-0613 (8590750)
  • close #1994 add clipboard write api (98afd55)
  • close #2 add check account balance (447dec9)
  • close #2013 add switch model button to chat actions (5d06fa2)
  • close #2025 just use a smaller to-bottom threshold (93c666b)
  • close #2136 click avatar to edit message (b044e27)
  • close #2141 danger zone (6c3d4a1)
  • close #2175 use default api host if endpoint is empty (0140f77)
  • close #2187 improve chat actions ux (3937dad)
  • close #2190 improve app auto updater (be48346)
  • close #2192 use /list/models to get model ids (4131fcc)
  • close #2194 add macos arm support (475158a)
  • close #2266 use modal to switch model (0373b2c)
  • close #2267 display a modal to export image (6c6a2d0)
  • close #2294 add documents for adding a new translation (6014b76)
  • close #2303 add custom model name config (98ac7ee)
  • close #2376 add babel polyfill (af5f67d)
  • close #2430 add a simple user maual (4904612)
  • close #2445 switch to mit license (0198c5b)
  • close #2447 pre-fill key/code/url (e5f6133)
  • close #2449 edit / insert / delete messages modal (7c2fa9f)
  • close #2545 improve lazy load message list (203067c)
  • close #2580 only use 3.5 to summarize when not using custom models (3bd76b9)
  • close #2583 do not summarize with gpt-4 (769c2f9)
  • close #2618 use correct html lang attr (e8e01aa)
  • close #2621 use better default api url (ae82269)
  • close #2638 hide auth page and use better unauth tips (ed62c87)
  • close #2752 auto re-fill unfinished input (885f2a3)
  • close #2754 add import/export to file (38f6956)
  • close #2848 click drag icon to toggle sidebar width (d713d01)
  • close #2908 allow to disable parse settings from link (c5ca278)
  • close #291 gpt-4 model uses black icon (7e8973c)
  • close #2954 chat summary should be copyable (8c0ba1a)
  • close #3031 user can set larger font size (65c4a0c)
  • close #3187 use CUSTOM_MODELS to control model list (d93f05f)
  • close #3222 share message list should start from clear context index (be6d45e)
  • close #3300 support multiple api keys (6aade62)
  • close #3301 enable or diable default models with -all / +all (dc7159a)
  • close #3304 use = instead of : to map model name in CUSTOM_MODELS (45b88eb)
  • close #380 collapse side bar (82ad057)
  • close #427 add OPENAI_ORG_ID (e3d2dd7)
  • close #444 use env var to disable gpt-4 (7e8def5)
  • close #469 support reset session and do not send memory (c2b37f8)
  • close #539 add delete message button (12d4081)
  • close #580 export messages as image (4dad7f2)
  • close #628 add chat commands (ae1ef32)
  • close #663 allow disable user api key input (074bd9f)
  • close #680 lazy load markdown dom (d790b0b)
  • close #680 lazy rendering markdown (8363cdd)
  • close #741 add auth page (ebbd012)
  • close #782 select prompt with arrow down / up (58eadd6)
  • close #813 log user ip time (bd69c8f)
  • close #864 improve long term history (d75b7d4)
  • close #887 import masks (596c9b1)
  • close #928 summarize with gpt-3.5 (06d5031)
  • close #928 summarize with gpt3.5 (209a727)
  • close #935 add azure support (b7ffca0)
  • close #951 support mermaid (d88da1f)
  • close #976 esc to close modal (e1ce1f2)
  • configs about app client (ef7617d)
  • CUSTOM_MODELS support mapper (a5a1f2e)
  • default disable balance query (638fdd8)
  • delete returned models in modals function of ClaudeApi instance (0fbb560)
  • disable auto focus on mobile screen (3e63f6b)
  • disable auto-scroll on ios device (caec012)
  • discovery icon (fd441d9)
  • display line break hints in enter mode (974c455)
  • dnd: add drag and drop feature (301cbbf)
  • drag and drop in contextual prompts (fb98050)
  • dynamic config (d6e6dd0)
  • edit session title button (47a2911)
  • enable drag area for tauri apps (698be66)
  • finish basic functions (2c9baa4)
  • fix 1)the property named 'role' of the first message must be 'user' 2)if default summarize model 'gpt-3.5-turbo' is blocked, use currentModel instead 3)if apiurl&apikey set by location, useCustomConfig would be opened (b3e856d)
  • fix illegal exports in app/api/anthropic/[...path]/route.ts (5446d8d)
  • fix no max_tokens in payload when calling openai vision model (9b982b4)
  • fix system prompt (d508127)
  • fix the logtics of client joining webdav url (fd8d0a1)
  • fix the logtics of client joining webdav url (55d7014)
  • fix webdav 逻辑 (ee15c14)
  • fix webdav 逻辑2 (b72d7fb)
  • googleApiKey & anthropicApiKey support setting multi-key (864529c)
  • handle non-stream response (5f2745c)
  • Hot keys: Escape to close settings, Up Arrow to get last input (58b956f)
  • i18n refactor and style adjustment (fb32770)
  • import ramarkBreaks plugin (2c5420a)
  • improve auto scroll ux and edit model title (b5ef552)
  • improve chat commands (6caf791)
  • improve ChatAction ux (cbabb93)
  • improve components structure (038e6df)
  • improve dnd icon (3ddedc9)
  • improve mask ui (717c123)
  • improve mask ui (132f6c8)
  • improve message item buttons style (38c8ee8)
  • improve mobile style (64e331a)
  • improve model selector ui (48a6cdd)
  • Improve SD list data and API integration (a16725a)
  • Improve setting.model selector (84a7afc)
  • improve svg viewer (b718285)
  • Improve the data input and submission acquisition of SD parameter panel (7fde932)
  • jest (1ef2aa3)
  • just disable all ngnix buffer (6410aa2)
  • language support traditional chinese (307be40)
  • mac: add sign config, fix arm64 build (#4008) (d0463b2)
  • manual refresh for title (fc27441)
  • migrate state from v1 to v2 (30040a0)
  • mobile chat overscroll-behavior none (6d62ab4)
  • modify some propmt in DEFAULT_INPUT_TEMPLATE about expressing latex (02b0e79)
  • move sd config to store (82e6fd7)
  • new chat message actions style (25ce6af)
  • new chat-item avatar (a3ca8ea)
  • new token count function (76fdd04)
  • now support gpt-4 model (b57663b)
  • now user can choose their own summarize model (93bc2f5)
  • Optimize code (df33139)
  • Optimize document (908ce3b)
  • Optimize document (4cb0655)
  • optimize getHeaders (700b06f)
  • optimize getHeaders (b58bbf8)
  • optimize loading screen (9398b34)
  • optimize usage display (bb30fdf)
  • Optimize var names (b175132)
  • parse response message (768decd)
  • partial locale type (50cfbaa)
  • prevent browser to invoke basic auth popup (c2b36cd)
  • prod/dev env settings (144eb68)
  • qwen (9bdd37b)
  • reactive isMobileScreen (55281ed)
  • realtime chat ui (d544eea)
  • realtime config (e44ebe3)
  • reduce first load js size from 500kb to 85kb (ce5abac)
  • remove debug code (6cb296f)
  • remove duplicate Input Template (264da67)
  • remove empty memoryPrompt in ChatMessages (0aa807d)
  • replace window.confirm with showConfirm (3298961)
  • replace window.prompt with showPrompt (ea6926c)
  • right-click to copy message to user input (50b1f7d)
  • roles must alternate between user and assistant in claude, so add a fake assistant message between two user messages (86b5c55)
  • run test before build (1287e39)
  • scrollable mask lists in new-chat page (f14b413)
  • scrollbar width change (32d05c9)
  • scrolling effect when switching chat windows (93c9974)
  • sd setting (3935c72)
  • session-level model config (4cdb2f0)
  • settings command dev done (15e5958)
  • setUserInput with onDoubleClickCapture in mobile phone (e68aaf2)
  • share to ShareGPT (3e65ef3)
  • Solve the problem of using openai interface protocol for user-defined claude model & add some famous webdav endpoints (79f3424)
  • some en masks (de77551)
  • sort model by name (54a5332)
  • stop all stale messages (736c66f)
  • SubmitKey: add MetaEnter option (d822f33)
  • Support a way to define default model by adding DEFAULT_MODEL env. (c96e4b7)
  • support baidu model (785d374)
  • support code highlight and markdown gfm (f5aef31)
  • support compress chat history (c133cae)
  • support custom gemini pro params (7c3dfb7)
  • support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs (9d7ce20)
  • support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs (2d1f0c9)
  • support fast chatgpt mobile models (7f13a8d)
  • support gemini flash (6612550)
  • support history message count to zero (0c9add7)
  • support i18n (7cd170b)
  • support model: claude-3-5-sonnet-20240620 (4640060)
  • support more http status check for webdav (23eb773)
  • support mort user-friendly scrolling (19facc7)
  • support safari appleWebApp (6446692)
  • support set api key from client side (20f2f61)
  • support setting up GTM (31d9d2e)
  • support streaming for Gemini Pro (#3688) (5cf58d9)
  • support using user api key (df66eef)
  • support vercel speed insight (#3686) (406530c)
  • supports the display of line breaks in Markdown (b94607f)
  • swap name and displayName for bytedance in custom models (1caa61f)
  • textarea with adaptive height (3656c84)
  • try catch indexedDB error (7b6fe66)
  • try catch indexedDB error (c2fc0b4)
  • try to add auto updater (91b871e)
  • tts (3ae8ec1)
  • tw.ts: added new translations (#4142) (f22e36e)
  • update app release workflow (e785849)
  • update apple-touch-icon.png (17e57bb)
  • update button hover style and scrollbar style (e5c441d)
  • update dependencies (b9995e7)
  • update dev config (b17a6a7)
  • update i18n (86b8bfc)
  • update new logo & cover image (#3716) (9122547)
  • update payload config (1161ada)
  • update real 'currentSession' (e49466f)
  • update style and timeout handler (5c70456)
  • update vercel deploy env (9fd7505)
  • use commit time as version id (fce3b3c)
  • use tag as version number (7783545)
  • use toast instead of alert (4af8c26)
  • user prompts (789a779)
  • using fetch to get buildin masks (88c74ae)
  • voice print (d33e772)
  • voice print (89136fb)
  • voice print (8b4ca13)
  • white url list for openai security (0d46110)
  • white webdav server domain (8b191bd)
  • wider app body (09fd743)
  • wont fetch prompts in every building (9304459)
  • wont send max_tokens (fd2f441)

Performance Improvements

  • models接口返回数据的容错处理 (6653a31)
  • avoid read localStorage on every render (2322851)
  • build in stages to reduce container size (2645540)
  • close #909 reduce message items render time (a69cec8)
  • improve prompt list performance (e509749)
  • memorize markdown rendering (962f434), closes #302

Reverts

  • Revert "Fix [TypesScript] [LLM Api] Chaining Model" (0c11625)
  • Revert "Fix & Refactor UI/UX Page [Auth]" (7df868e)
  • Revert "Fix UI/UX Page Local Language [Exporter Message]" (5ba3fc9)
  • Revert "Add Jailbreak Mask" (b68d6e9)
  • fix mobile scroll (e2c1475)
  • remove unused lines in gitignore file (d5a4527)