Releases: farseer-go/fs
Releases · farseer-go/fs
v0.8.0
- 调整:FarseerModule接口拆分成FarseerPreInitializeModule、FarseerInitializeModule、FarseerPostInitializeModule、FarseerShutdownModule
- 调整:框架启动时的日志内容
- 修复:FarseerKernelModule模块需要去重
- 修复:时间轮的时间格超出下标的错误
- 新增:数据库事务接口
core.ITransaction
- 新增:日志接口
core.ILog
- 调整:重写日志组件
- 调整:执行配置文件初始化逻辑改到FarseerKernelModule模块中
- 新增:日志打印json格式支持
- 新增:flog.ErrorIfExists方法
- 新增:container支持移除已注册的实例
container.Remove
、container.RemoveUnused
- 新增:获取系统环境资源
system.GetResource
- 新增:日志写入到文件功能
v0.7.0
- 新增:IsDtoModelIgnoreInterface函数
- 调整:flog.panic,err非nil时才执行
- 新增:事件通用接口
- 新增:container.ResolveIns将现有中实例内的字段做注入操作
- 新增:日志等级判断
- 新增:增加毫秒打印
- 新增:时间轮算法
- 新增:控制台颜色打印输出
- 新增:GetSubNodes增加对环境变量的支持
- 新增:ResolveAll从容器中获取所有实例
- 新增:健康检查,不通过则直接退出应用
- 调整:配置设置默认值时,增加GetSubNodes读取
- 调整:将事件参数移到fs模块
- 调整:订阅函数统一到fs模块
- 调整:打印日志,取消使用chan
- 调整:框架启动回调,增加标题
- 调整:error日志增加源文件、行号输出
- 调整:日志输出格式
- 修复:types.GetRealType获了取真实类型时,需判断值是否为nil
- 修复:容器增加读写锁,解决并发读写问题
v0.6.0
- 修复:parse.Convert转换时,需要对source判断nil
- 修复:reflect.Type类型不需要判断reflect.Interface
- 调整:配置读取Getxxx的方式
- 调整:flog.Error改为error返回类型
- 调整:优化字段赋值,使用parse.ConvertValue方式
- 增加:core.NewApiResponseByReader方法
- 增加:parse.Convert增加time.Time与dateTime.DateTime类型互转
- 增加:configure.ParseCofnig增加配置文件转实体结构的方法
- 增加:flog.Panic函数
- 优化代码
v0.5.0
v0.4.1
v0.4.0
v0.3.0
v0.2.0
v0.1.0
We are very happy to release the first external version number v0.1.0
Before this, our team has been working hard to add various features to the framework to meet the needs of the business system.
After 3 months, we have commonly used features added to the framework and verified by initial testing.
As a result, our team decided to release this version number.
It is important to note that until v1 arrives, v0, there will still be a lot of minor issues. However, we will try to fix the problems found quickly.
If you find any bugs in the process of using it, please also send issues or PRs, thanks.