-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Description
After recent communication with @huan (ref)We here preview some of the features planned in wechaty 2.0.
New updates:
On April 15th, 2025 Huan and Juzi dev team (mostly senior developer and contributer of Wechaty e.g. @su-chang and @windmemory ) had an online meeting (notes.). We are glad to announce that we have come to aggrement on many important issues. And heres a brief plan:
Merge most of @juzi/wechaty features into community version and make into a 2.0-preview version.
Trim and make it aggree to wechaty philosophy to make up a 2.0 version.
Setup a code regulation on both generic (what functions should be accepted into Wechaty) and detailed (how the code should be written) so that not every PR requires Huan's review.
Huan will review when new version releases.
As many of you may know, @juzi/wechaty package introduced many new features e.g. Verify-code events and Chat history and many more. We are working on make these code fits Wechaty requirements and bring it to Wechaty Community ASAP.
I'll create a sub-issue for each and every of the new features (and there might be more than the list in the notes cause I might missed some at that time) and talk about about the plan.
The following info was out dated
Huan (Apr 27, 2025): Let’s keep the old issue content—it’s really valuable and will be useful for the community in the future! (Immutability is key for continuous improvement!)
经过最近与 @huan 的交流(参考),在这里预告一下 Wechaty 2.0 版本的到来,以及规划中的一些新功能。
视频号消息
- 设计确认 Wechaty should support Channel Messages #2467 已在讨论,结构没啥大问题,可能会改名
- PR:
- wechaty-puppet Feat/channel message wechaty puppet#212
- wechaty-grpc Feat/channel message wechaty grpc#190
- wechaty-puppet-service feat: 🎸 channel puppet-service#228
- wechaty feat: 🎸 channel #2525
系统消息
- 设计确认 [FEAT] New message type: System #2522
- PR:
- wechaty-puppet Feat/system message wechaty puppet#213
- wechaty-grpc Feat/system message wechaty grpc#191
引用消息
- 设计确认 Feature Request: Wechaty Could Support Quote Message #2387
- PR:
- 根据讨论结果,在 wechaty 层需要修改的不多,需要实现一个 message.reply() 方法作为引用当条消息的语法糖。
- wechaty feat: 🎸 message reply #2534
朋友圈
- 设计确认 [FEAT]get post sayable from server posts #2530
- PR:
- 根据讨论结果,在 wechaty 层需要修改的不多,主要是 puppet 层支持将 post 的 payload 缓存并且用 messageId 读取。这里 message 的概念有些扩大,任何可以收发的内容都可以作为一个 message ,而不仅限于聊天框中的内容。例如朋友圈的一张图片,他在 IM 中没有自己的 id ,但 puppet 应该给他一个 uuid 并可以作为 message 来读取。朋友圈的这种 message 的 talker 和 listener 都是 bot 自己。
@所有人消息
- 设计确认 Feature Request: Message Could Mention All Members in Room but Not Announcement. #2394
- PR:
- wechaty-puppet feat: 🎸 messageSendTextV2 puppet#216
- wechaty-grpc feat: 🎸 send text as list grpc#194
- wechaty-puppet-service feat: 🎸 send text as list grpc#194
- wechaty Feat/at all #2533
批量删除/添加群成员
- 设计确认 [FEAT] Allow batch remove / add room member #2523
- PR:
- wechaty-puppet Feat/batch room add remove wechaty puppet#215
- wechaty-grpc feat: 🎸 batch add and remove room member grpc#192
- wechaty-puppet-service Feat/batch room add remove wechaty puppet-service#229
- wechaty Feat/batch room add remove wechaty #2526
群公告事件
- 设计确认 [FEAT] New event: ROOM_ANNOUNCE #2524
- PR:
- wechaty-puppet Feat/room announce wechaty puppet#214
-[+] wechaty-grpc https://github.com/wechaty/grpc/pull/193[/+][-] wechaty-grpc https://github.com/wechaty/grpc/pull/193[/-] - wechaty-puppet-service feat: 🎸 implement room announce event puppet-service#230
- wechaty feat: 🎸 implement room announce #2527