基于 IoC 的 Go 后端一站式开发框架 ( All-in-One Development Framework on IoC for Go ) 🚀
[json] support custom json package [dync] update the fields that need to be updated [dync] support user-defined dync types [log] simplify and support structured log api [web] remove FilterChain.Continue [web] add HttpGet/HttpPost/* methods [web] support built-in binding and validator [redis] remove *Operations wrappers
新增 atomic.String 类型; 新增 bean convert 机制,可以实现 bean 共享; 新增 spring-core/dync 包,实现动态配置安全刷新; 统一 expr 表达式求值实现,用于结构体字段求值及校验; 使用更加严格的 conf 键值校验,完善对 nil 键值的处理; 收窄 bean 类型判断,基础类型指针不再认为是 bean 类型; 函数 bean 使用方法的名称而不再使用 bean 的类型作为名称;
继续完善日志架构,包括支持结构化日志、支持 tag 过滤器、支持 logger 注入等;
命令行修改为仅支持 -D
在经历了一年半的折腾后,go-spring 1.1.0 终于发布了。 它是一个全新的版本,命名更加符合 go 规范,模块划分更加合理,核心设计也更加简洁; 它是一个具有重大突破的版本,突破性的支持统一日志框架,突破性的支持流量录制和回放; 它是一个功能庞大的版本,涵盖了日常开发所需的方方面面,再也不用纠结使用哪个依赖包。
publish v1.1.0-rc1
"publish v1.1.0-alpha"