Skip to content

Commit

Permalink
Update: 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KiWi233333 committed Feb 12, 2025
1 parent 4ce88bb commit f1b62b4
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 14 deletions.
Binary file added .github/releasemd/assets/v1.6.0/image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/releasemd/assets/v1.6.0/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions .github/releasemd/v1.6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# 1.6.0 版本说明

这是一个较重要的更新,包括以下功能 🧪

## 🔮 新功能

- [x] feat: 添加`XunFei DeepSeek R1` AI机器人,支持长思考 🐳 ([#706bce2](https://github.com/KiWi233333/JiwuChat/commit/706bce2))
- [x] feat: 添加`群通知`消息,与系统消息相独立 ([#6984aae](https://github.com/KiWi233333/JiwuChat/commit/6984aae90a2a238bc57620c7569fb2aa9139e709))

## 🔨 更新和修复了以下问题

- [x] update: 修改部分样式,过滤@机器人的选项列表(#部分人一直@AI)([#bcb96b6](https://github.com/KiWi233333/JiwuChat/commit/bcb96b6))
- [x] update: 修改部分样式、nuxt配置、唤起机器人匹配 ([#706bce2](https://github.com/KiWi233333/JiwuChat/commit/706bce2))
- [x] update: 调整消息表单代码、添加主页链接按钮、修改部分错误样式 ([#7327f97](https://github.com/KiWi233333/JiwuChat/commit/7327f9705c0b739abbdf51bfbb40a9b856ff01f4))
- [x] update: Ai消息添加对话加载中的动画,优化聊天体验 ([#63dd86f](https://github.com/KiWi233333/JiwuChat/commit/63dd86f7555a05f79e6a1a1e2371972cef617b2c))
- [x] fix: 修复聊天AI markdown `line-height+word-break: break-all` 多行高叠加错误问题 ([#706bce2](https://github.com/KiWi233333/JiwuChat/commit/706bce2))
- [x] Full Changelog: [v1.5.9...v1.6.0](https://github.com/KiWi233333/JiwuChat/compare/v1.5.9...v1.6.0)

## 🤯 更新描述

- 群通知 演示 ([#bcb96b6](https://github.com/KiWi233333/JiwuChat/commit/bcb96b6))
![群通知](/.github/releasemd/assets/v1.6.0/image-1.png)
- XunFei DeepSeek R1 演示 ([#706bce2](https://github.com/KiWi233333/JiwuChat/commit/706bce2))
![XunFei DeepSeek R1 演示](/.github/releasemd/assets/v1.6.0/image.png)

## 🧿 其他更新

- [x] 更新项目依赖

## 📌 待办

- [ ] 七牛OSS迁移Minio
- [ ] 本地消息存储
- [ ] 用户版本埋点
- [ ] 安卓通话悬浮窗(考虑)

## 🧪 下载

| 平台 | 下载地址 |
| --- | --- |
| Windows x86_64 setup | [JiwuChat_1.6.0_x64_zh-CN.setup](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat_1.6.0_x64-setup.exe) |
| Windows x86_64 msi | [JiwuChat_1.6.0_x64_zh-CN.msi](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat_1.6.0_x64_zh-CN.msi) |
| MacOS x64系列 | [JiwuChat_1.6.0_x64.dmg](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat_1.6.0_x64.dmg) |
| MacOS M系列 | [JiwuChat_1.6.0_aarch64.dmg](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat_1.6.0_aarch64.dmg) |
| Android arm64 | [JiwuChat_1.6.0.apk](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat_1.6.0.apk) |
| Linux AppImage | [JiwuChat_1.6.0_amd62.AppImage](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat_1.6.0_amd64.AppImage) |
| Linux RPM | [JiwuChat_1.5.x86_64.rpm](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat-1.6.0-1.x86_64.rpm) |
| Linux DEB | [JiwuChat_1.5.9_amd64.deb](https://github.com/KiWi233333/JiwuChat/releases/download/v1.6.0/JiwuChat_1.6.0_amd64.deb) |

- `Android arm64 版本` 安卓下载:

![QR Code](https://api.jiwu.kiwi2333.top/res/qrcode/stream?content=/releases/download/v1.6.0/JiwuChat_1.6.0.apk&w=200&h=200)

- 其他版本可在Release页面下载。:
**Dowload Link**: [v1.6.0 Release](https://github.com/KiWi233333/JiwuChat/releases/tag/v1.6.0)

- 版本全部变化:
**Version Info**: [v1.6.0](https://github.com/KiWi233333/JiwuChat/blob/main/.github/releasemd/v1.6.0.md)

感谢您的支持!
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ onUnmounted(useUmounted);
class="h-100dvh flex-row-c-c"
>
<div
class="h-full w-full overflow-hidden rounded-1.5 border-default bg-color"
class="h-full w-full overflow-hidden sm:(border-default rounded-1.5) bg-color"
:class="{ 'sm:(w-1150px mx-a h-860px) md:(w-1360px mx-a h-860px) shadow-lg shadow-[#00000010]': !isIframe && setting.isWeb }"
>
<NuxtLayout>
Expand Down
28 changes: 15 additions & 13 deletions pages/msg/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
<script lang="ts" setup>
const unReadContactList = ref<ChatContactVO[]>([]);
const channel = new BroadcastChannel("main_channel");
const unreadCount = computed(() => unReadContactList.value?.reduce((acc, cur) => acc + cur.unreadCount, 0) || 0);
// 监听消息
async function handleReadMessage(p: ChatContactVO) {
// 标记已读
channel.postMessage({ type: "readContact", data: JSON.parse(JSON.stringify(p)) });
unReadContactList.value = unReadContactList.value.filter(item => item.roomId !== p.roomId);
}
// 全部已读
async function readAllContact() {
channel.postMessage({ type: "readAllContact" });
unReadContactList.value = [];
}
onMounted(async () => {
// 监听locakStorage
window.addEventListener("storage", (e) => {
Expand All @@ -19,19 +34,6 @@ onBeforeUnmount(() => {
channel.close();
window.removeEventListener("storage", () => {});
});
async function handleReadMessage(p: ChatContactVO) {
// 标记已读
channel.postMessage({ type: "readContact", data: JSON.parse(JSON.stringify(p)) });
unReadContactList.value = unReadContactList.value.filter(item => item.roomId !== p.roomId);
}
// 全部已读
async function readAllContact() {
channel.postMessage({ type: "readAllContact" });
unReadContactList.value = [];
}
const unreadCount = computed(() => unReadContactList.value?.reduce((acc, cur) => acc + cur.unreadCount, 0) || 0);
definePageMeta({
key: route => route.fullPath,
Expand Down

0 comments on commit f1b62b4

Please sign in to comment.