0.4.7
- Improve the logging service to include session id for easier identification of logs from new sessions
- The frontend page now has an option to automatically clear the logs when automatically connecting to a new session, which is enabled by default
- The fallback viewer page has been removed, and a 503 status code and a message to build and package Viewer/index.html will be returned if the Viewer/index.html cannot be found
- Now supports parsing logs with ANSI control sequences to ensure correct display in the editor environment
- It will parse the related text into a
RitsuTextSegmentlist to ensure safety, and use them to render the log text
- It will parse the related text into a
- Completely refactored the implementation of the Viewer page to achieve better display styles and interactive experiences, and correctly supports responsive layout to ensure display effects on various screen sizes
- The logging server now allows configuration to be opened to the local network to allow access to the logs on other devices
- Fix some potentially erroneous network synchronization packet processing logic
- Fix the initialization logic of the badge text to avoid outputting error information
- 优化了日志服务,现在它会携带 session id 以便于区分日志为新的会话
- 前端页面补充了一个默认为开的自动清空选项,以允许在自动连接到新会话时自动清空日志
- 删除了兜底的 Viewer 页面,并会在无法找到 Viewer/index.html 时直接返回 503 状态码并提示用户构建和打包 Viewer/index.html
- 现在支持解析带有 ANSI 控制序列的日志,以保证编辑器环境下的日志显示正确
- 会通过将相关文本 Parse 为
RitsuTextSegment列表以保证安全性,并使用它们来渲染日志文本
- 会通过将相关文本 Parse 为
- 完全重构了 Viewer 页面的实现,以实现更好的显示样式和交互体验,并且正确支持了响应式布局以保证各种屏幕尺寸下的显示效果
- 现在日志服务器允许配置为局域网开放,以允许在其他设备上访问日志
- 修正了部分可能会出现错误的网络同步包处理逻辑
- 修正了角标文本的初始化逻辑,以避免输出报错信息
Full Changelog: v0.4.6...v0.4.7