Skip to content

Latest commit

 

History

History
252 lines (116 loc) · 9.54 KB

CHANGELOG.md

File metadata and controls

252 lines (116 loc) · 9.54 KB

2.1.0 (2025-01-02)

Features

  • 允许配置rpc方法名的生成规则 (38e55c0)

2.0.2 (2025-01-01)

Bug Fixes

  • 未正确区分esm和cjs (9e1356e)

2.0.1 (2025-01-01)

Bug Fixes

  • rpc-group模式下方法丢失context (c6bf3ae)
  • 未导入string命名空间 (b98a31e)

2.0.0 (2025-01-01)

Features

  • 输出文件放到src目录 (35863bc)

BREAKING CHANGES

  • client服务改为从相对路径引用

1.3.0 (2024-10-20)

Features

  • 为特殊格式增加别名 (431d551)
  • 对象动态属性布尔值判断 (0d4ccec)

1.2.0 (2024-10-20)

Features

1.1.7 (2024-10-17)

Bug Fixes

  • 多客户端场景下,cjs文件语法错误 (9bf8846)

1.1.6 (2024-10-17)

Bug Fixes

  • 数组配置只生成了最后一个客户端 (9751a58)

1.1.5 (2024-10-14)

Bug Fixes

  • 转义后的中文无法正确寻找ref源 (1dbf737)

1.1.4 (2024-10-07)

Bug Fixes

  • axios适配器不兼容foca-axios (31642aa)
  • pnpm安装时,相同的文件会使用同一个inode变成硬链接 (5fc3343)

1.1.3 (2024-10-07)

1.1.2 (2024-10-05)

1.1.1 (2024-10-05)

Bug Fixes

1.1.0 (2024-10-01)

Features

  • bin: 未提供env参数时,优先使用NODE_ENV变量 (491b793)

1.0.0 (2024-10-01)

Bug Fixes

  • adapter: keep object type body (e905a04)
  • bigint响应为字符串 (d86eca6)

Code Refactoring

  • bin名称从foca-openapi改为openapi (658b4e8)
  • 配置名path重命名为url (cfa4232)

Features

BREAKING CHANGES

  • bin名称从foca-openapi改为openapi
  • 配置名path改为url

0.8.0 (2024-08-10)

Features

  • 文档注释增加uri和method (615e787)

0.7.2 (2024-07-28)

Bug Fixes

  • 对象结构中可能包含特殊字符,需要使用引号包裹 (db14ff4)

0.7.1 (2024-07-28)

Bug Fixes

  • xxxOf可能与任意结构组合 (0e5533a)

0.7.0 (2024-07-27)

Features

0.6.0 (2024-07-22)

Features

  • classMode增加rpc-group模式 (0c4301a)
  • 文档js内容也增加注释 (664c26f)

0.5.1 (2024-07-21)

Performance Improvements

  • 优化文档保存方案 (c9735c6)

0.5.0 (2024-07-20)

Features

  • 增加onBeforeRequest回调函数 (4818999)
  • 处理taro和uniapp的异常场景 (9aedd7d)

0.4.1 (2024-07-20)

Bug Fixes

  • 唯一值使用路由转换才符合直觉 (f5d6537)
  • 执行请求时this上下文指向错误 (49c9196)

0.4.0 (2024-07-20)

Features

0.3.0 (2024-07-20)

Bug Fixes

  • 对象属性未生成注释 (8c958d3)

Features

  • uri模式下支持分组 (78a55b4)
  • 新增method+uri生成方法 (15677f6)

0.2.2 (2024-07-19)

Bug Fixes

  • 缺失patch方法 (8ee603e)
  • 获取contentType时key拼接错误 (1531c99)

0.2.1 (2024-07-19)

Bug Fixes

  • taro适配器中requestOptions是可选的 (90e1789)

0.2.0 (2024-07-19)

Bug Fixes

  • exports指向了错误的路径 (5004541)

Features

0.1.1 (2024-07-19)

Bug Fixes

  • 重新打包时无法生成.d.ts (f4174c8)

0.1.0 (2024-07-18)

Bug Fixes

  • cjs项目读取配置失败 (5e59ac5)
  • 打包时未过滤第三方库 (7870610)
  • 项目安装当前包失败 (8e06437)

Features