Releases: farseer-go/webapi
Releases · farseer-go/webapi
v0.14.0
v0.13.0
v0.12.0
v0.11.0
v0.10.0
v0.9.0
- 新增:增加
https
的支持 - 新增:
DTO
模式下的json Tag自定义字段名称
- 新增:对外使用http包的Request和Response
- 新增:minimalApi入参为
dto模式
时,支持interface注入
- 新增:
开启pprof功能
- 新增:
实现多开实例
- 新增:
实现API函数自动容器注入
- 调整:invoke接口用时
- 调整:构造Action入的函数名为BuildActionInValue
- 调整:注册失败时os.exit改为panic
- 调整:Run函数取地址不再判断第一个参数是否为空
- 调整:改为使用自定义ServeMux对象
- 调整:移除init方法
- 调整:httpContext.Header改为只读字典类型
- 调整:BodyString赋值,交由callResult处理
- 调整:Method支持多个类型,用|分隔,如(POST|GET|PUT|DELETE)
- 调整:修改HttpRequest字段命名
- 优化:优化中间件初始化过程,大幅提升每次API请求的性能。
- 优化:提前确定基础类型,减少运行时判断
- 修复:异常时,无法转换exp为string的错误
- 修复:routing中间件未过滤OPTIONS引起CORS失败的问题
v0.8.0
1. 调整:json输出时,Content-Type设置为application/json 2. 新增:支持action入参的接口类型IocName设置 3. 新增:Cookies功能 4. 新增:Session功能(支持本地存储、Redis存储) 5. 新增:minimalApi支持获取HttpContext 6. 调整:重写路由机制,自定义实现serveMux 7. 新增:实现正则路由匹配(占位符变量) 8. 修复:multipart/form-data取不到值的BUG 9. 修复:视图路径查找缺失PATH的问题
v0.3.0
- 新增:增加https的支持
- 新增:DTO模式下的json Tag自定义字段名称
- 新增:对外使用http包的Request和Response
- 新增:minimalApi入参为dto模式时,支持interface注入
- 新增:开启pprof功能
- 新增:实现多开实例
- 新增:实现API函数自动容器注入
- 调整:invoke接口用时
- 调整:构造Action入的函数名为BuildActionInValue
- 调整:注册失败时os.exit改为panic
- 调整:Run函数取地址不再判断第一个参数是否为空
- 调整:改为使用自定义ServeMux对象
- 调整:移除init方法
- 调整:httpContext.Header改为只读字典类型
- 调整:BodyString赋值,交由callResult处理
- 调整:Method支持多个类型,用|分隔,如(POST|GET|PUT|DELETE)
- 调整:修改HttpRequest字段命名
- 优化:优化中间件初始化过程,大幅提升每次API请求的性能。
- 优化:提前确定基础类型,减少运行时判断
- 修复:异常时,无法转换exp为string的错误
- 修复:routing中间件未过滤OPTIONS引起CORS失败的问题
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.