Skip to content

Latest commit

 

History

History
599 lines (417 loc) · 20.5 KB

CHANGELOG.md

File metadata and controls

599 lines (417 loc) · 20.5 KB

v2.11.0

2023-04-26

chatgpt-web-plus new interface, complete user management

Enhancement

  • Update the default accessToken reverse address to https://ai.fakeopen.com/api/conversation [[24min](https:/ /github.com/Chanzhaoyu/pull/1567/files)]
  • Add custom temperature and top_p [quzard]
  • Optimize code [shunyue1320]
  • Optimize the feedback effect of copy code

BugFixes

Other

v2.10.9

2023-04-03

Update the default accessToken reverse address to https://ai.fakeopen.com/api/conversation of [pengzhile]

Enhancement

  • Add socks5 proxy authentication [yimiaoxiehou]
  • Add configuration of socks proxy username and password [hank-cp]
  • Add optional log printing [zcong1993]
  • Update sidebar button localization [simonwu53]
  • Optimize code block scroll bar height [Fog3211]

BugFixes

  • Fix PWA issue [bingo235]
  • Fix ESM error [kidonng]
  • Fix the problem that the flow limit fails when the reverse proxy is turned on [gitgitgogogo]
  • Fix .env may be ignored when building docker [zaiMoe]
  • Fix export exception error [KingTwinkle]
  • Fix null exception [vchenpeng]
  • Experience issues on the mobile terminal

Other

v2.10.8

2023-03-23

If you encounter problems, please delete node_modules and reinstall dependencies.

Feature

  • Option to show the original reply message [yilozt]
  • Added per IP hourly request limit. Environment variable: MAX_REQUEST_PER_HOUR [zhuxindong ]
  • Add role setting in the front end, only visible in API method [quzard]
  • The OPENAI_API_MODEL variable is now also valid for ChatGPTUnofficialProxyAPI, note: the model names of Token and API are inconsistent, and cannot be directly filled in gpt-3.5 or gpt-4 [[hncboy](https:/ /github.com/Chanzhaoyu/pull/632)]
  • Add Traditional Chinese Prompts [PeterDaveHello]

Enhancement

  • Scroll to the answer when resetting the answer [shunyue1320]
  • Increase available Max Tokens when API is gpt-4 [simonwu53]
  • Judge and ignore reply characters [liut]
  • When switching sessions, automatically focus on the input box [JS-an]
  • Rendered link opens in new window
  • Query balance optional API_BASE_URL proxy address
  • config interface added validation to prevent unlimited calls
  • PWA is not enabled by default, now you need to manually modify the .env file VITE_GLOB_APP_PWA variable
  • When the network is connected, refresh the page, the 500 error page automatically jumps to the home page

BugFix

  • scrollToBottom is now changed to scrollToBottomIfAtBottom [shunyue1320]
  • Reset abnormal loading sessions

Common

  • Created start.cmd so it can run on Windows operating system too vulgatecnn]
  • Added debugging configuration in visual-studio-code [ChandlerVer5]
  • Fixed documentation where docker port was shown as local port instead of container port [kilvn]

Other

  • Dependency updates

v2.10.7

2023-03-17

BugFixes

  • Roll back the chatgpt version, reason: the OPENAI_API_BASE_URL proxy is invalid
  • Fix usingContext defaults in default state

v2.10.6

2023-03-17

Feature

  • Show API balance [pzcn]

Enhancement

  • Beautify the scrollbar style to be consistent with UI [haydenull]
  • Optimize the style of Prompt on mobile [CornerSkyless]
  • Context switches changed to global switches, now recorded in local cache
  • Configuration information is displayed by interface type

Perf

BugFixes

  • Fix Prompt import and export compatibility errors
  • Fix highlight.js console compatibility warning

Other

  • Dependency update

v2.10.5

2023-03-13

Update dependencies, the default proxy for access_token is https://bypass.duti.tech/api/conversation of [pengzhile](https://github.com/pengzhile

Feature

  • Online import of Prompt store can import two templates mentioned in recommend.json simonwu53
  • Support HTTPS_PROXY whatwewant
  • Prompt add query filter

Enhancement

  • Adjust the maximum number of lines in the input box yi-ge
  • Optimize docker packaging whatwewant
  • Prompt add translation and optimize layout
  • "Traditional Chinese" completion and review PeterDaveHello
  • The language selection is adjusted to the form of the next box
  • The permission input box type is adjusted to password form

BugFixes

  • JSON import check Nothing1024
  • Fix cross domain exception in AUTH_SECRET_KEY mode and add support for node.js 19 version yi-ge
  • Make sure the session title should not be reset when clearing the context

Other

  • Adjustment documents
  • update dependencies

v2.10.4

2023-03-11

Feature

  • Thanks to Nothing1024 for adding Prompt template and Prompt store support

Enhancement

  • Set add close button [#495]

Demo

Prompt

v2.10.3

2023-03-10

Disclaimer: Except for the unofficial proxy used by ChatGPTUnofficialProxyAPI, the code of this project, including the upstream reference package, is open source on GitHub. If you think this project has a monitoring backdoor or has problems that cause your account and API to be blocked, then I will terribly sorry. I may write a lot about BUG, but I am not wicked. This time it is mainly for the adjustment of the front-end interface, happy weekend.

Feature

Enhancement

  • Adjust the mobile button and optimize the layout
  • Adjust the safe distance on iOS
  • Simplified docker-compose deployment [cloudGrin]

BugFixes

  • Fix the problem that clearing the session sidebar title will not reset [RyanXinOne]
  • Fixed the problem that the setting button disappeared when the setting text was too long

Other

  • update dependencies

v2.10.2

2023-03-09

衔接 2.10.1 版本详情

Enhancement

  • 移动端下输入框获得焦点时左侧按钮隐藏

BugFix

  • 修复 2.10.1 中添加 OPENAI_API_MODEL 变量的判断错误,会导致默认模型指定失效,抱歉
  • 回退 2.10.1 中前端变量影响 Docker 打包

v2.10.1

2023-03-09

注意:删除了 .env 文件改用 .env.example 代替,如果是手动部署的同学现在需要手动创建 .env 文件并从 .env.example 中复制需要的变量,并且 .env 文件现在会在 Git 提交中被忽略,原因如下:

  • 在项目中添加 .env 从一开始就是个错误的示范
  • 如果是 Fork 项目进行修改测试总是会被 Git 修改提示给打扰
  • 感谢 yi-ge 的提醒和修改

这两天开始,官方已经开始对第三方代理进行了拉闸, accessToken 即将或已经开始可能会不可使用。异常 API 使用也开始封号,封号缘由不明,如果出现使用 API 提示错误,请查看后端控制台信息,或留意邮箱。

Feature

Enhancement

  • 感谢 nagaame 优化docker打包镜像文件过大的问题
  • 感谢 xieccc 新增 API 模型配置变量 OPENAI_API_MODEL
  • 感谢 acongee 优化输出时滚动条问题

BugFix

  • 感谢 CornerSkyless 修复导出图片会丢失头像的问题
  • 修复深色模式导出图片的样式问题

v2.10.0

2023-03-07

  • 老规矩,手动部署的同学需要删除 node_modules 安装包重新安装降低出错概率,其他部署不受影响,但是可能会有缓存问题。
  • 虽然说了更新放缓,但是 issues 不看, PR 不改我睡不着,我的邮箱从每天早上8点到凌晨12永远在滴滴滴,所以求求各位,超时的issues自己关闭下哈,我真的需要缓冲一下。
  • 演示图片请看最后

Feature

  • 添加权限功能,用法:service/.env 中的 AUTH_SECRET_KEY 变量添加密码
  • 感谢 PeterDaveHello 添加「繁体中文」翻译
  • 感谢 GermMC 添加聊天记录导入、导出、清空的功能
  • 感谢 CornerSkyless 添加会话保存为本地图片的功能

Enhancement

  • 感谢 CornerSkyless 添加 ctrl+enter 发送消息
  • 现在新消息只有在结束了之后才滚动到底部,而不是之前的强制性
  • 优化部分代码

BugFix

  • 转义状态码前端显示,防止直接暴露 key(我可能需要更多的状态码补充)

Other

  • 更新依赖到最新

演示

不是界面最新效果,有美化改动

权限

权限

聊天记录导出

聊天记录导出

保存图片到本地

保存图片到本地

v2.9.3

2023-03-06

Enhancement

  • 感谢 ChandlerVer5 使用 markdown-it 替换 marked,解决代码块闪烁的问题
  • 感谢 shansing 改善文档
  • 感谢 nalf3in 添加英文翻译

BugFix

  • 感谢sepcnt 修复切换记录时编辑状态未关闭的问题
  • 修复复制代码的兼容性报错问题
  • 修复部分优化小问题

v2.9.2

2023-03-04

手动部署的同学,务必删除根目录和service中的node_modules重新安装依赖,降低出现问题的概率,自动部署的不需要做改动。

Feature

  • 感谢 hyln9 添加对渲染 LaTex 数学公式的支持
  • 感谢 ottocsb 添加支持 webAPP (苹果添加到主页书签访问)支持
  • 添加 OPENAI_API_BASE_URL 可选环境变量[#249]

Enhancement

  • 优化在高分屏上主题内容的最大宽度[#257]
  • 现在文字按单词截断[#215][#225]

BugFix

  • 修复动态生成时代码块不能被复制的问题[#251][#260]
  • 修复 iOS 移动端输入框不会被键盘顶起的问题[#256]
  • 修复控制台渲染警告

Other

  • 更新依赖至最新
  • 修改 README 内容

v2.9.1

2023-03-02

Feature

  • 代码块添加当前代码语言显示和复制功能[#197][#196]
  • 完善多语言,现在可以切换中英文显示

Enhancement

  • Zo3i 完善 docker-compose 部署文档

BugFix

  • ottocsb 修复头像修改不同步的问题

Other

  • 更新依赖至最新
  • 修改 README 内容

v2.9.0

2023-03-02

Feature

  • 现在能复制带格式的消息文本
  • 新设计的设定页面,可以自定义姓名、描述、头像(链接方式)
  • 新增403404页面以便扩展

Enhancement

  • 更新 chatgpt 使 ChatGPTAPI 支持 gpt-3.5-turbo-0301(默认)
  • 取消了前端超时限制设定

v2.8.3

2023-03-01

Feature

  • 消息已输出内容不会因为中断而消失[#167]
  • 添加复制消息按钮[#133]

Other

  • README 添加声明内容

v2.8.2

2023-02-28

Enhancement

  • 代码主题调整为 One Dark - light|dark 适配深色模式

BugFix

  • 修复普通文本代码渲染和深色模式下的问题[#139][#154]

v2.8.1

2023-02-27

BugFix

  • 修复 API 版本不是 Markdown 时,普通 HTML 代码会被渲染的问题 [#146]

v2.8.0

2023-02-27

  • 感谢 puppywang 修复了 2.7.0 版本中关于流输出数据的问题(使用 nginx 需要自行配置 octet-stream 相关内容)

  • 关于为什么使用 octet-stream 而不是 sse,是因为更好的兼容之前的模式。

  • 建议更新到此版本获得比较完整的体验

Enhancement

  • 优化了部份代码和类型提示
  • 输入框添加换行提示
  • 移动端输入框现在回车为换行,而不是直接提交
  • 移动端双击标题返回顶部,箭头返回底部

BugFix

  • 流输出数据下的问题[#122]
  • 修复了 API Key 下部份代码不换行的问题
  • 修复移动端深色模式部份样式问题[#123][#126]
  • 修复主题模式图标不一致的问题[#126]

v2.7.3

2023-02-25

Feature

  • 适配系统深色模式 #118

BugFix

  • 修复用户消息能被渲染为 HTML 问题 #117

v2.7.2

2023-02-24

Enhancement

  • 消息使用 github-markdown-css 进行美化,现在支持全语法
  • 移除测试无用函数

v2.7.1

2023-02-23

因为消息流在 accessToken 中存在解析失败和消息不完整等一系列的问题,调整回正常消息形式

Feature

  • 现在可以中断请求过长没有答复的消息
  • 现在可以删除单条消息
  • 设置中显示当前版本信息

BugFix

  • 回退 2.7.0 的消息不稳定的问题

v2.7.0

2023-02-23

Feature

  • 使用消息流返回信息,反应更迅速

Enhancement

  • 样式的一点小改动

v2.6.2

2023-02-22

BugFix

  • 还原修改代理导致的异常问题

v2.6.1

2023-02-22

Feature

  • 新增 Railway 部署模版

BugFix

  • 手动打包 Proxy 问题

v2.6.0

2023-02-21

Feature

  • 新增对 网页 accessToken 调用 ChatGPT,更智能不过不太稳定 #51
  • 前端页面设置按钮显示查看当前后端服务配置

Enhancement

  • 新增 TIMEOUT_MS 环境变量设定后端超时时常(单位:毫秒)#62

v2.5.2

2023-02-21

Feature

  • 增加对 markdown 格式的支持 Demo

BugFix

  • 重载会话时滚动条保持

v2.5.1

2023-02-21

Enhancement

  • 调整路由模式为 hash
  • 调整新增会话添加到
  • 调整移动端样式

v2.5.0

2023-02-20

Feature

  • 会话 loading 现在显示为光标动画
  • 会话现在可以再次生成回复
  • 会话异常可以再次进行请求
  • 所有删除选项添加确认操作

Enhancement

  • 调整 chat 为路由页面而不是组件形式
  • 更新依赖至最新
  • 调整移动端体验

BugFix

  • 修复移动端左侧菜单显示不完整的问题

v2.4.1

2023-02-18

Enhancement

  • 调整部份移动端上的样式
  • 输入框支持换行

v2.4.0

2023-02-17

Feature

  • 响应式支持移动端

Enhancement

  • 修改部份描述错误

v2.3.3

2023-02-16

Feature

  • 添加 README 部份说明和贡献列表
  • 添加 docker 镜像
  • 添加 GitHub Action 自动化构建

BugFix

v2.3.2

2023-02-16

Enhancement

  • 更新依赖至最新
  • 优化部份内容

v2.3.1

2023-02-15

BugFix

  • 修复多会话状态下一些意想不到的问题

v2.3.0

2023-02-15

Feature

  • 代码类型信息高亮显示
  • 支持 node ^16 版本
  • 移动端响应式初步支持
  • viteproxy 代理

Enhancement

  • 调整超时处理范围

BugFix

  • 修复取消请求错误提示会添加到信息中
  • 修复部份情况下提交请求不可用
  • 修复侧边栏宽度变化闪烁的问题

v2.2.0

2023-02-14

Feature

  • 会话和上下文本地储存
  • 侧边栏本地储存

v2.1.0

2023-02-14

Enhancement

  • 更新依赖至最新
  • 联想功能移动至前端提交,后端只做转发

BugFix

  • 修复部份项目检测有关 Bug
  • 修复清除上下文按钮失效

v2.0.0

2023-02-13

Refactor

重构并优化大部分内容

v1.0.5

2023-02-12

Enhancement

  • 输入框焦点,连续提交

BugFix

  • 修复信息框样式问题
  • 修复中文输入法提交问题

v1.0.4

2023-02-11

Feature

  • 支持上下文联想

v1.0.3

2023-02-11

Enhancement

  • 拆分 service 文件以便扩展
  • 调整 Eslint 相关验证

BugFix

  • 修复部份控制台报错

v1.0.2

2023-02-10

BugFix

  • 修复新增信息容器不会自动滚动到问题
  • 修复文本过长不换行到问题 #1