Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Releases: CMHopeSunshine/nonebot-adapter-villa

v1.4.2

21 Dec 06:57
Compare
Choose a tag to compare

Feature

  • 支持获取引用的原消息中的图片链接

Fix

  • 修复引用+艾特机器人时无法触发 on_command 的问题

Full Changelog: v1.4.1...v1.4.2

v1.4.1

15 Dec 07:00
b8e706d
Compare
Choose a tag to compare

Fix

  • 部分事件字段应为可选

Full Changelog: v1.4.0...v1.4.1

v1.4.0

07 Dec 15:11
Compare
Choose a tag to compare

新特性

  • Bot 新增 iter_villa_members 接口,可以对别野成员进行异步迭代:
async for members in bot.iter_villa_members(event.villa_id):
        print(members)

修复

  • 根据最新官方文档修正以下模型:
    • 移除 MemberBasic 的 avatar 字段
    • Member 的 joined_at 字段改为 datetime 类型
    • MemberRole 补充一下字段
      • member_num
      • font_color
      • bg_color
      • has_manage_perm
      • is_all_room
      • room_ids
      • color_scheme_id
      • priority

破坏性变更

  • 修改 get_villa_members 接口的返回值结构
  • 移除已经下线的 sort_group_listsort_room_list 接口

依赖

  • 重构 protobuf 实现,移除 betterproto 依赖

Full Changelog: v1.3.4...v1.4.0

v1.3.4

02 Dec 00:55
Compare
Choose a tag to compare

What's Changed

修复

  • 🐛 修复发送单图+组件时组件无法显示的问题(但 web 端将无法显示图片)
  • 🐛 修复ClickMsgComponentEvent事件解析 by @KimigaiiWuyi in #37

New Contributors

Full Changelog: v1.3.3...v1.3.4

v1.3.3

30 Nov 05:52
Compare
Choose a tag to compare

修复

  • 修复大尺寸按钮组件构造报错
  • 修复README typo

Full Changelog: v1.3.2...v1.3.3

v1.3.2

30 Nov 03:20
Compare
Choose a tag to compare

修复

  • 修复部分 api 鉴权失败问题

Full Changelog: v1.3.1...v1.3.2

v1.3.1

29 Nov 16:19
Compare
Choose a tag to compare

修复

  • 图片宽高字段可选 #36

Full Changelog: v1.3.0...v1.3.1

v1.3.0

29 Nov 15:33
Compare
Choose a tag to compare

新特性

  • 添加了 websocket 连接方式支持,配置详见 README(ws 官方正在测试中,预计下月开放)

Full Changelog: v1.2.2...v1.3.0

v1.2.2

22 Nov 16:11
Compare
Choose a tag to compare

Fix

  • 修复用户头像为自定义头像时的 avatar 字段类型错误问题

Full Changelog: v1.2.1...v1.2.2

v1.2.1

16 Nov 15:03
Compare
Choose a tag to compare

Fix

  • 修复消息组件排版非预期问题

Full Changelog: v1.2.0...v1.2.1