work 0.5.5 copy "work: ^0.5.5" to clipboard
work: ^0.5.5 copied to clipboard

outdated

Encapsulate http business interface protocol, provide limited extension functions, isolate the underlying implementation method of http (currently based on dio).

[0.5.5] - 2020/8/28 #

  • 修复Work子类中重设Options.connectTimeout没有生效的bug

[0.5.4] - 2020/8/11 #

  • 标准格式化代码
  • 增加版权声明

[0.5.3] - 2020/8/11 #

  • 使用pedantic进行静态分析以符合dart语法规范

[0.5.2] - 2020/8/3 #

  • 个别变量声明方式改为字面量,核心类处理FutureOr性能优化

[0.5.1] - 2020/7/10 #

  • 增加对multipart/form-data请求的自动装配

[0.5.0] - 2020/7/4 #

  • 修改UploadFileInfo增加直接上传字节流的能力,修改_dio_request.dart实现,分离convert以支持web

[0.4.8] - 2020/7/3 #

  • 调整请求和响应数据log输出缩进

[0.4.7] - 2020/7/2 #

  • 修复log输出遗漏错误

[0.4.6] - 2020/6/29 #

  • 修复批量文件上传转换错误,打印输出遗漏错误

[0.4.5] - 2020/6/16 #

  • 增加英文描述,增加example

[0.4.4] - 2020/6/16 #

  • 修复网址合法性检查中对baseUrl的判断错误

[0.4.3] - 2020/6/15 #

  • 开放对baseUrl的支持,需要调用work_config.dart中的mergeBaseOptions设置

[0.4.2] - 2020/2/28 #

  • 细化响应错误类型,增加响应数据解析错误和任务执行错误(应用业务逻辑失败)

[0.4.1] - 2019/11/18 #

  • 设置默认发送超时30秒,默认连接超时为10秒

[0.4.0] - 2019/11/1 #

  • 大幅度修改work的核心生命周期函数的参数,WorkData作为生命周期核心的传递句柄
  • OptionsResponse存入WorkData传递
  • WorkData中增加extra字段
  • Response中增加请求错误类型errorType和接收数据总量receiveByteCount

[0.3.3] - 2019/10/21 #

  • 修复数据解析失败任然返回请求成功的bug

[0.3.2] - 2019/10/18 #

  • 修复上传文件的bug

[0.3.1] - 2019/10/10 #

  • 增加ResponseType.bytes支持,以接收原始字节流的响应数据

[0.3.0] - 2019/10/9 #

  • 更新dio库到3.0.0版本

[0.2.9] - 2019/9/18 #

  • 移除sendTimeout默认值

[0.2.8] - 2019/9/18 #

  • 修复headers赋值方式导致的bug

[0.2.7] - 2019/9/18 #

  • 修复headers赋值顺序导致的参数覆盖bug
  • Options增加sendTimeout属性

[0.2.6] - 2019/9/18 #

  • 调整实现细节以支持dio v2.2.1 的api变更,Options.contentType替换为String类型

[0.2.5] - 2019/9/2 #

  • 将work中的生命周期函数返回值变更为FutureOr以支持异步操作
  • onStartWorkonStopWork生命周期变为私有函数,禁止重写
  • 替换部分Null泛型为void

[0.2.4] - 2019/6/14 #

  • 修复get请求参数转换错误

[0.2.3] - 2019/5/31 #

  • 将底层请求参数类型改为dynamic类型以便支持更加多请求参数格式 默认继续以Map为主要参数类型集合,如需使用其他数据结构,请实现onPostFillParams方法

[0.2.2] - 2019/2/14 #

  • 修复dio 2.0.4 接口变化导致的bug

[0.2.1] - 2019/2/1 #

  • 修复dio 2.0.0 接口变化导致的bug

[0.2.0] - 2019/2/1 #

  • 修复dio 2.0.0 接口变化导致的bug

[0.1.9] - 2019/2/1 #

  • 升级dio到2.0.0

[0.1.8] - 2019/1/31 #

  • 回滚meta库依赖到1.1.6

[0.1.7] - 2019/1/30 #

  • 升级dio到1.0.14,增加上传/发送进度监听支持

[0.1.6] - 2018/11/12 #

  • 延长请求超时时间

[0.1.5] - 2018/11/7 #

  • 修改log输出位置

[0.1.4] - 2018/11/7 #

  • 增加请求参数忽略null值的处理

[0.1.3] - 2018/10/18 #

  • 修复SimpleWorkonExtractResultonDefaultResult丢失data参数的问题

[0.1.2] - 2018/10/8 #

  • 增加输出日志的tag

[0.1.1] - 2018/9/28 #

  • 增加上传请求对File类型的支持

[0.1.0] - 2018/9/26 #

  • 首次完成提交
1
likes
0
pub points
23%
popularity

Publisher

unverified uploader

Encapsulate http business interface protocol, provide limited extension functions, isolate the underlying implementation method of http (currently based on dio).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

dio, http_parser, meta, mime, path

More

Packages that depend on work