Skip to content

Release 2.8.0

Compare
Choose a tag to compare
@tanhe123 tanhe123 released this 29 Dec 11:33
· 713 commits to master since this release
84b0a92

变更日志:

  1. 增强的本地开发体验 —— 新增了大量的 Fun Local 新特性:

    1. 支持本地 HttpTrigger 触发运行、单步调试函数。

      1. 支持 ANONYMOUS、FUNCTION 两种认证
      2. 支持 GET、POST、PUT、DELETE、HEAD 等 HTTP 方法
      3. 支持 headers、queries 多值请求
    2. 支持本地 Api 触发运行、单步调试函数,行为与线上一致,支持 HandledInvocationError 以及 UnhandledInvocationError 等。

    3. 支持本地 NAS 函数的运行、单步调试

    4. 事件触发、HttpTrigger、Api 触发运行、单步调试皆支持 NAS 配置

    5. 无论是 Http Trigger 还是 Api 的方式,均支持热加载——无需重启服务,编写代码,刷新页面,实时预览效果

  2. deploy 支持 NAS,本地调试完成,直接 deploy 到线上预览效果

  3. deploy Http Trigger 时,可以看到 url,直接打开链接预览效果

Changelog:

  1. Enhanced local development experience - Added a lot of new Fun Local features:

    1. Support HttpTrigger functions local running and debugging.

      1. Support ANONYMOUS, FUNCTION auth type.
      2. Support HTTP methods such as GET, POST, PUT, DELETE, HEAD, etc.
      3. Support headers and queries multi-value request
    2. Support Api local running, debugging, supporting HandledInvocationError and UnhandledInvocationError.

    3. Support NAS function local running and debugging

    4. Event trigger, HttpTrigger, Api local all three support NAS configuration

    5. Whether it is Http Trigger or Api, it supports hot loading - no need to restart the service, write code, refresh the page, preview the effect in real time

  2. deploy command supports NAS. After local debugging is completed, deploying to online preview directly

  3. When deploying Http Trigger, you can see the url and directly open the link to preview.

Download:

fun-v2.8.0-linux-x64.zip
fun-v2.8.0-linux-x86.zip
fun-v2.8.0-macos-x64.zip
fun-v2.8.0-macos-x86.zip
fun-v2.8.0-win-x64.exe.zip
fun-v2.8.0-win-x86.exe.zip