Repository navigation
v0.1.0
Changelog
Features
- 913484f: feat: add many client ! add selfIds handling in EventHandler and improve context management (hackerxiao 2945294768@qq.com)
- 404fae3: feat: 事件类型分文件定义 (hackerxiao 2945294768@qq.com)
- 7fcdde5: feat: NoCommand filter (hackerxiao 2945294768@qq.com)
- d89a350: feat: READM logo (hackerxiao 2945294768@qq.com)
- be41d44: feat: READM logo (hackerxiao 2945294768@qq.com)
- 046936a: feat: READM 开发中...... (hackerxiao 2945294768@qq.com)
- cd9365f: feat: READM 简介 (hackerxiao 2945294768@qq.com)
- fbde3ed: feat: README (hackerxiao 2945294768@qq.com)
- f1a2275: feat: README OneBot11 href (hackerxiao 2945294768@qq.com)
- d345fba: feat: SelfId统一 (hackerxiao 2945294768@qq.com)
- 46e3a43: feat: add CI workflow for testing and linting Go code (hackerxiao 2945294768@qq.com)
- e40ba55: feat: add Image handling methods to MeaasgeChain and update Image struct (hackerxiao 2945294768@qq.com)
- d4d4ef5: feat: add SendGrMsg method and update Action handling in driver package (hackerxiao 2945294768@qq.com)
- d710cec: feat: base loger (hackerxiao 2945294768@qq.com)
- 25a0e7f: feat: ctx get text and face (hackerxiao 2945294768@qq.com)
- 89d416e: feat: easy bot start (hackerxiao 2945294768@qq.com)
- 14dfdf0: feat: engine add Sets (hackerxiao 2945294768@qq.com)
- 7d56534: feat: fist commit filter handler http driver ..... (hackerxiao 2945294768@qq.com)
- 2c9276d: feat: implement MeaasgeChain type with methods for appending messages and handling text, face, and image types (hackerxiao 2945294768@qq.com)
- b882188: feat: messagechain add Br() (hackerxiao 2945294768@qq.com)
- ba641ad: feat: send private msg (hackerxiao 2945294768@qq.com)
- 670d9d2: feat: supported command (hackerxiao 2945294768@qq.com)
- d6ed6ab: feat: update logging to use tint for improved output formatting (hackerxiao 2945294768@qq.com)
- aeaee81: feat: 从环境变量获取用户ID,增强代码灵活性和可配置性 (hackerxiao 2945294768@qq.com)
- 435394f: feat: 从环境变量获取管理员用户ID,增强代码灵活性 (hackerxiao 2945294768@qq.com)
- 93c7f39: feat: 仓库名称更改 (hackerxiao 2945294768@qq.com)
- 6f21843: feat: 使用上下文日志记录替换全局日志,增强私信处理的可追踪性 (hackerxiao 2945294768@qq.com)
- 93e333a: feat: 修改 EventAllMsg 结构体,继承自 BaseMessage 并添加 GroupId 和 Anonymous 字段 (hackerxiao 2945294768@qq.com)
- 108684d: feat: 修改 NewDriverHttp 函数以支持多个 emitterUrl,增强发射器管理功能 (hackerxiao 2945294768@qq.com)
- a444e71: feat: 修改 WSClient 构造函数,添加 retryDelay 参数以支持自定义重试延迟 (hackerxiao 2945294768@qq.com)
- f3764c0: feat: 在 EmitterHttp 中添加 token 支持,增强身份验证功能 (hackerxiao 2945294768@qq.com)
- add1685: feat: 在 EmitterMuxHttp 和 WSEmittersMux 中添加移除发射器功能,增强发射器管理 (hackerxiao 2945294768@qq.com)
- e5f3649: feat: 在 ListenerHttp 中添加 token 支持和身份验证逻辑,增强安全性 (hackerxiao 2945294768@qq.com)
- 0ae082e: feat: 在 README 中添加许可证徽章 (hackerxiao 2945294768@qq.com)
- e20aa99: feat: 在 WServer 中添加 token 支持,增强身份验证功能 (hackerxiao 2945294768@qq.com)
- 637ebe5: feat: 在 wsWait 函数中添加对失败状态的处理,增强错误日志记录 (hackerxiao 2945294768@qq.com)
- b98d1f9: feat: 大小写 (hackerxiao 2945294768@qq.com)
- d212e68: feat: 将消息相关的 ID 类型从 int32 修改为 int,增强数据一致性 (hackerxiao 2945294768@qq.com)
- 3415e97: feat: 更新 Image 类型的 JSON 标签,添加 omitzero 选项以优化序列化 (hackerxiao 2945294768@qq.com)
- 2c4c80d: feat: 更新 README.md,添加 Go 和 QQ 群组徽章 (hackerxiao 2945294768@qq.com)
- 2943cc8: feat: 更新 README.md,移除不必要的提示并优化框架开发说明 (hackerxiao 2945294768@qq.com)
- 95ceec8: feat: 更新 WSClient 以支持节点结构,增强 WebSocket 连接的灵活性和身份验证功能 (hackerxiao 2945294768@qq.com)
- 6b019c9: feat: 更新 WebSocket 服务器的发射器类型,优化并添加消息发送功能 (hackerxiao 2945294768@qq.com)
- 57abe5d: feat: 更新 WebSocket 服务器,添加自我 ID 管理和连接关闭处理 (hackerxiao 2945294768@qq.com)
- e97e8ad: feat: 更新README.md,修复徽章链接格式,增强可读性 (hackerxiao 2945294768@qq.com)
- be0e56b: feat: 更新README.md,调整布局并添加中心对齐,增强可读性 (hackerxiao 2945294768@qq.com)
- 6febb97: feat: 更新回复功能,支持图片消息处理 (hackerxiao 2945294768@qq.com)
- b2f2d59: feat: 更新回复机制,使用Replayer替代上下文参数 (hackerxiao 2945294768@qq.com)
- 6064bc8: feat: 更新许可证徽章链接,确保指向正确的许可证文件 (hackerxiao 2945294768@qq.com)
- 041c1bc: feat: 更新请求和响应结构,支持字符串类型的 Echo 字段;重构 WebSocket 服务器以管理发射器 (hackerxiao 2945294768@qq.com)
- 192ba4d: feat: 更新驱动接口,添加获取 selfId 方法并修改相关逻辑 (hackerxiao 2945294768@qq.com)
- 6e40950: feat: 替换日志库为 nlog,更新相关日志初始化逻辑 (hackerxiao 2945294768@qq.com)
- c2e840c: feat: 添加 Goreleaser 工作流和配置文件以支持自动发布 (hackerxiao 2945294768@qq.com)
- b52dd64: feat: 添加 Image 类型及相关方法,支持图像类型识别和解码功能 (hackerxiao 2945294768@qq.com)
- f4fcee7: feat: 添加 WebSocket 服务器实现,支持事件监听和处理 (hackerxiao 2945294768@qq.com)
- 1d4301a: feat: 添加会话处理功能,添加 ListenerHttp 的回复超时设置 (hackerxiao 2945294768@qq.com)
- 5708de4: feat: 添加删除消息功能,增强消息管理能力 (hackerxiao 2945294768@qq.com)
- e5a33b4: feat: 添加回复功能到消息链,增强消息处理能力 (hackerxiao 2945294768@qq.com)
- cf8f64a: feat: 添加好友请求和群组请求处理功能,扩展相关类型和方法,同时实现ws快速操作 (hackerxiao 2945294768@qq.com)
- 54efddc: feat: 添加恢复处理功能,增强事件处理的稳定性 (hackerxiao 2945294768@qq.com)
- 656ea28: feat: 添加日志记录功能,优化事件处理和上下文管理 (hackerxiao 2945294768@qq.com)
- ada8466: feat: 添加注释以增强代码可读性,更新 Composer 和 Replyer 相关方法的文档 (hackerxiao 2945294768@qq.com)
- 58006f3: feat: 添加版本信息结构体及相关接口,增强版本管理功能 (hackerxiao 2945294768@qq.com)
- 76644f1: feat: 添加生命周期和心跳元事件类型,增强事件处理能力 (hackerxiao 2945294768@qq.com)
- d569280: feat: 添加群组请求处理,扩展请求回复机制 (hackerxiao 2945294768@qq.com)
- eeaa9a2: feat: 添加获取消息功能,更新相关请求和响应类型 (hackerxiao 2945294768@qq.com)
- 6e99b03: feat: 添加获取状态功能,更新相关类型和方法 (hackerxiao 2945294768@qq.com)
- 3d34b27: feat: 添加获取陌生人信息功能,更新相关类型和方法 (hackerxiao 2945294768@qq.com)
- 942b82b: feat: 移动Event相关类型和常量到新文件event.go,优化代码结构 (hackerxiao 2945294768@qq.com)
- 879f5b7: feat: 移除Default和New函数中的上下文参数,简化接口 (hackerxiao 2945294768@qq.com)
- 87fe0f3: feat: 移除nsxbot.Default中的上下文参数,简化接口并修复回复逻辑 (hackerxiao 2945294768@qq.com)
- 0845c2d: feat: 重新添加 LoginInfo 和 Status 类型定义 (hackerxiao 2945294768@qq.com)
- 2296d5d: feat: 重构事件处理和驱动程序,添加 EmitterMux 支持以优化自我 ID 管理 (hackerxiao 2945294768@qq.com)
- 2b467fd: feat: 重构事件通知类型,增强事件处理的可扩展性 (hackerxiao 2945294768@qq.com)
- 6c6418e: feat: 重构回复机制,简化HttpReplyer结构并优化Reply方法 (hackerxiao 2945294768@qq.com)
- 88a9460: feat: 重构回复机制,简化接口并支持好友请求处理 (hackerxiao 2945294768@qq.com)
- 4eb3453: feat: 重构回复逻辑,优化消息处理方式并简化代码 (hackerxiao 2945294768@qq.com)
Bug fixes
- 6fb093c: fix: NewEmitterMuxHttp (hackerxiao 2945294768@qq.com)
- f6f5a12: fix: bot run error panic (hackerxiao 2945294768@qq.com)
- 31d4599: fix: correct logger variable name in Engine struct and related methods (hackerxiao 2945294768@qq.com)
- c2a7529: fix: pass emitter to consume method in EventHandler for improved context handling (hackerxiao 2945294768@qq.com)
- 382c240: fix: remove duplicate checkout steps in CI workflow (hackerxiao 2945294768@qq.com)
- 1362cba: fix: reorder Faces method in EventMsg interface for consistency (hackerxiao 2945294768@qq.com)
- 3f39c6a: fix: standardize error messages and improve logging in context and driver (hackerxiao 2945294768@qq.com)
- 656fc6b: fix: standardize error messages for consistency and clarity (hackerxiao 2945294768@qq.com)
- 4acec36: fix: update README to clarify multi-client support and context management in main function (hackerxiao 2945294768@qq.com)
- eee34f4: fix: 使用 strings.EqualFold 方法比较状态,增强失败状态判断的灵活性 (hackerxiao 2945294768@qq.com)
- 3ba4e2c: fix: 修复 WSClient 的 Listen 方法中 selfId 的清理逻辑 (hackerxiao 2945294768@qq.com)
- ec20e30: fix: 修复注释格式,确保一致性 (hackerxiao 2945294768@qq.com)
- a8e44ff: fix: 修复消息回复方法调用,确保正确传递上下文 (hackerxiao 2945294768@qq.com)
- b343c46: fix: 修改日志信息中的 NewEmitterHttp 为 NewEmitterWS (hackerxiao 2945294768@qq.com)
- 67e1918: fix: 修改日志信息的字段名称以保持一致性,httpEmitter Get加锁 (hackerxiao 2945294768@qq.com)
- 7d4042a: fix: 修正 README 中的大小写错误,确保一致性 (hackerxiao 2945294768@qq.com)
- 6478f5b: fix: 在消费事件时使用新上下文,修复潜在的上下文问题 (hackerxiao 2945294768@qq.com)
- 294c1cc: fix: 更新 Image 结构体的 ToHttp 和 Type 方法,修复 URL 处理逻辑,添加注释 (hackerxiao 2945294768@qq.com)
- 75ec32c: fix: 添加错误return,确保无效的 echo 不会导致后续处理 (hackerxiao 2945294768@qq.com)
- 13d508c: fix: 示例代码修改,debug提示修改 (hackerxiao 2945294768@qq.com)
- 4c1edf1: fix: 重构 echoStore 以支持并发处理,更新 many.go 中的日志记录方式 (hackerxiao 2945294768@qq.com)
Refactor
- cea7747: refactor: extract consumer logic into separate function for better readability (hackerxiao 2945294768@qq.com)
- 8e954f0: refactor: 将 Replayer 类型重命名为 Replyer,统一接口名称 (hackerxiao 2945294768@qq.com)
Others
- 07a8e83: Create LICENSE (Hackerxiao 113456534+atopos31@users.noreply.github.com)
- 73f2cc3: README.md (hackerxiao 2945294768@qq.com)
- 6c28f05: docs: 在 README 中添加参考链接,提供更多资源 (hackerxiao 2945294768@qq.com)
- 91bc169: fixL slog->ctx.Log (hackerxiao 2945294768@qq.com)
- c461d5f: fmt (hackerxiao 2945294768@qq.com)
- bd644f8: update: Context (hackerxiao 2945294768@qq.com)
- 249a433: update: README (hackerxiao 2945294768@qq.com)
- a92dbc3: update: golangci-lint fis issue (hackerxiao 2945294768@qq.com)
- dad5f2f: update: refact on event (hackerxiao 2945294768@qq.com)