Skip to content

0.2.28

Choose a tag to compare

@github-actions github-actions released this 08 May 19:15
· 373 commits to main since this release
v0.2.28
56ca51d
  • Fixed an issue where logs could generate large amounts of unbounded noise under some weak-network conditions.
  • Fixed an issue where, during handshake negotiation, attempts to initiate the handshake could retry without limit in some cases.
  • Fixed an issue where, after a player disconnects, attempts to send messages to that player could retry without limit.
  • setting system of runtime interop now supports I18N protocol, allowing mod authors to localize the settings interface using I18N system.
  • setting system of runtime interop now supports default value protocol, allowing mod authors to set default value target in the settings interface.
  • refactored some persistence related code, unified the structure and allowed using a unified interface to handle persistence operations.
    • now SaveScope enum has two new enum values: RunSidecar and InMemory, representing session-level persistence and in-memory persistence respectively.
  • adjusted the log output level and timing of the patcher system, greatly reducing the log noise during normal operation.
    • most debug information is now downgraded to DEBUG level, if needed, please pass the --log-level parameter at runtime to adjust the log level.

  • 修正了部分弱网环境下会在日志无限制产生大量噪音的问题
  • 修正了握手协商过程中,部分情况下会无限制的尝试发起握手协商的问题
  • 修正了在玩家断连后,会重复尝试再次发送消息至该玩家的问题
  • 设置系统的弱依赖引用协议现在增加了 I18N 协议支持,以允许 mod 作者使用 I18N 系统来本地化设置界面
  • 设置系统的弱依赖引用协议现在支持了默认值协议支持,以允许 mod 作者在设置界面中设置默认值目标
  • 重构了部分持久化系统的相关代码,将结构改为更统一的形式,并允许使用统一接口来处理持久化操作
    • 现在 SaveScope 枚举增加了 RunSidecarInMemory 两个新的枚举值,分别表示对局级持久化和内存持久化
  • 调整了 Patcher 系统的日志输出 Level 和时机,现在在正常运行过程中的日志噪音被大幅降低
    • 大部分调试信息降低至了 DEBUG 级别,如果有需要,请在运行时传递 --log-level 参数来调整日志级别

Full Changelog: v0.2.27...v0.2.28