Latest
2026/8/9大约 3 分钟
Latest
0.8.0 (2026-08-09)
📔 Documentation
- 更新自定义注解示例文档,改为直接引用后端源码,避免文档示例与实现分叉
- 补充
@ReferencedByDocs关联,方便从源码快速定位对应文档页面
⭐ New Features
- 新增协议无关的通用 Server Builder,用于私有协议或未知协议场景
- 新增 JT/T 808 协议专用 Server Builder,覆盖指令/附件的 TCP 与 UDP 构建
- 新增 JT/T 1078 协议专用 Server Builder,覆盖音视频 TCP 与 UDP 构建
🐞 Bug Fixes
- 修复服务器启动监听器重复初始化时可能无法启动 Netty Server 的问题
❤️ Contributors
0.7.0 (2026-08-08)
📔 Documentation
- 新增文档 @EncodedLength
⭐ New Features
- 新增 @EncodedLength 注解,支持编码时自动计算指定字段范围的实际编码字节数并回填到长度字段
@EncodedLength支持from/until声明左闭右开的字段范围;未指定边界时可从长度字段之后开始,或延伸到实体末尾@EncodedLength支持u8、u16、u32无符号整数字段,并在元数据注册阶段校验非法引用、字段顺序、重复声明和不支持的长度字段格式
🚀 Improvements
- 编码器新增编码长度计划和运行时辅助逻辑;普通实体保持原有快速路径,带
@EncodedLength的实体在编码阶段按实际写入字节数回填长度 - 更新
DemoMessage005示例,演示@EncodedLength的典型协议体长度回填场景
🔨 Dependency Updates
- Gradle Wrapper 升级至
9.7.0 - 更新 Gradle Kotlin DSL 写法,替换已废弃或不推荐的
settings委托、tasks.registering和apply(plugin = "...")用法
❤️ Contributors
0.6.0 (2026-06-02)
📔 Documentation
- 新增文档 @DerivedField
- 新增文档 多版本支持
⭐ New Features
- 新增 @DerivedField 注解
❤️ Contributors
0.5.0 (2026-05-30)
📔 Documentation
- 新增 服务端自定义注解示例 文档
⚠️ Breaking Changes
@XtreamMapField.PaddingType- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.PaddingType - 使用
io.github.hylexus.xtream.codec.core.annotation.PaddingType替代
- 删除
XtreamMapField.KeyType- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.KeyType - 使用
io.github.hylexus.xtream.codec.core.annotation.ext.KeyType替代
- 删除
XtreamMapField.ValueLengthType- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.ValueLengthType - 使用
io.github.hylexus.xtream.codec.core.annotation.ext.LengthFieldType替代
- 删除
XtreamMapField.Key- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.Key - 使用
io.github.hylexus.xtream.codec.core.annotation.ext.Key替代
- 删除
XtreamMapField.ValueLength- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.ValueLength - 使用
io.github.hylexus.xtream.codec.core.annotation.ext.ValueLength替代
- 删除
XtreamMapField.FallbackValueMatcher- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.FallbackValueMatcher - 使用
io.github.hylexus.xtream.codec.core.annotation.ext.FallbackValueMatcher代替
- 删除
XtreamMapField.ValueMatcher- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.ValueMatcher - 使用
io.github.hylexus.xtream.codec.core.annotation.ext.ValueMatcher代替
- 删除
XtreamMapField.DecoderParam- 删除
io.github.hylexus.xtream.codec.core.annotation.map.XtreamMapField.DecoderParam - 使用
io.github.hylexus.xtream.codec.core.annotation.ext.ValueDecoderCommonParam代替
- 删除
⭐ New Features
- 新增内置编解码器
StringFieldCodecAscII
0.5.0-rc.3 (2026-05-27)
⭐ New Features
- 重构
AbstractMapFieldCodec
0.5.0-rc.2 (2026-05-22)
🎯 Highlights
jt-808-server-dashboard-ui 重构。感谢 @dfEric 的贡献。
⭐ New Features
❤️ Contributors
0.5.0-rc.1 (2026-01-11)
⭐ New Features
- 兼容低版本
spring-boot#11
0.4.0 (2026-01-03)
⭐ New Features
- 多表达式引擎支持 #5
- 数据类型扩展 #6
io.github.hylexus.xtream.codec.core.type.TLVio.github.hylexus.xtream.codec.core.type.Pairio.github.hylexus.xtream.codec.core.type.simple.DataField
- 可观测性 - 后端 #8
0.3.0 (2025-10-26)
🎯 Highlights
- 默认属性访问策略由
反射改为java.lang.invoke.LambdaMetafactory
⭐ New Features
- 新增
@XtreamEntity注解,支持配置类级别的属性访问策略 - 新增
@XtreamField.propertyAccessStrategy()属性,支持配置字段级别的属性访问策略
🐞 Bug Fixes
- 修复
AbstractJt808Message初始化异常
🔨 Dependency Updates
- 可空性标记全部使用 jspecify
- 彻底移除
jakarta.annotation-api
0.2.0 (2025-10-18)
⭐ New Features
- 增强
Record类型的表达式解析功能 - 增强
Record类型的CodecTracker埋点 - 重构
BeanPropertyMetadata.PropertyGetter和BeanPropertyMetadata.PropertySetter的实现类