Skip to content

Releases: alibaba/funcraft

Release 2.9.1

16 Jan 03:42
Compare
Choose a tag to compare

变更日志:

  1. 修复了 fun local 在 windows 下的若干问题
  2. 更新了英文文档的链接
  3. deploy 子命令支持 -t—template 参数指定模板文件
  4. 增加 install 子命令以简化依赖安装。
    1. 支持安装 apt 和 pip 包,带上 --save 参数可以保存安装指令到 fun.yml 文件中。
    2. 不带参数的 fun install 子命令,依次执行 fun.yml 中的 task。目前 task 有三种,apt、pip 和 shell。
    3. fun install init 可以初始化一个 fun.yml 文件。
    4. install 子命令安装的依赖会被放置到 .fun 目录下,local 和 deploy 子命令会添加相应的环境变量。
  5. 增加 RDS、MNSTopic 和 TableStore 触发器的英文规格说明

Changelog:

  1. fix some bug of fun local in Windows.
  2. update links text in English docs.
  3. add -t, —template option to deploy subcommand to specific template file.
  4. add install subcommand to simplify dependencies installation
    1. support install apt and pip package, with —save option could save task into fun.yml file.
    2. running fun install without any arguments will execute task of fun.yml step by step. supported tasks: apt, pip and shell
    3. fun install init could initialize a fun.yml file.
    4. installed files are placed into .fun directory, local and deploy subcommand will add necessary Environment variables.
  5. add RDS, MNSTopic and TableStore trigger English spec.

Download:

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

Release 2.8.1

11 Jan 07:37
7a46471
Compare
Choose a tag to compare

变更日志:

修复 windows 平台使用 fun local 无运行日志的 bug

Changelog:

Fix no running logs bug using fun local on windows platform

Download:

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

Release 2.8.0

29 Dec 11:33
84b0a92
Compare
Choose a tag to compare

变更日志:

  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

Release 2.7.2

21 Dec 12:07
238abdf
Compare
Choose a tag to compare

变更日志:

  • 修复存在 TableStore、MnsTopic trigger 时无法 deploy 的 bug
  • 改变参数-n, - name默认行为。当没有设置-n, - name参数,则将模板根目录渲染到当前执行命令的目录中,模板变量projectName则是当前执行命令的目录的名称
  • 添加参数-m, - merge,默认值为false。模板项目里面的模板。[yml | yaml]文件是否与本地文件系统已存在的模板。[yml | yaml]合并。合并规则:本地的模板与模板中的模板合并,模板模板中的属性优先级比本地模板中的属性高,如果某个属性是个复杂类型的属性(包含子属性),递归合并该属性的子属性

Changelog:

  • fix could not deploy bug when exising TableStore trigger or MNSTopic trigger
  • Change the default behavior of the -n, -name parameter. When the -n, -name parameter is not set, the template root directory is rendered to the directory where the command is currently executed, and the template variable projectName is the name of the directory where the command is currently executed
  • Add the parameter -m, - merge, the default value is false. Template inside the template project. [yml | yaml] Whether the file has a template that already exists with the local file system. [yml | yaml] merge. Merge rule: The local template is merged with the template in the template. The attribute priority in the template template is higher than the attribute in the local template. If an attribute is a complex type attribute (including sub-attributes), recursively merge the sub-attributes of the attribute

Download:

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

Release 2.7.1

17 Dec 14:22
240977c
Compare
Choose a tag to compare

变更日志:

  • 修复生成的 trigger 角色不合法的问题
  • 修复 fun 在 windows 上挂载 code 目录路径不合法的问题

Changelog:

  • fix generated invalid trigger role or policy names
  • fix fun mount code dir bugs on windows and add travis test on windows, �linux and mac

Download:

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

Release 2.7.0

02 Dec 16:12
Compare
Choose a tag to compare

变更日志:

  • fun init 初始化工程模板
  • fun deploy 支持 .funignore 文件,忽略掉部分文件不打包
  • 修复 windows 平台函数运行结束后没有自动退出的 bug
  • 添加 ctrl + c 可以终止函数运行的功能
  • 修复 windows 使用二进制打包的 fun 时无法 pull 镜像的 bug

Changelog:

  • add fun init subcommand for initializing project template
  • support .funignore file for ignoring files when exec fun deploy
  • fix windows not exit bug after function invoked.
  • add ctrl + c signal support for canceling running functions.
  • fix windows could not pull image bug.

Download:

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

Release 2.6.1

23 Nov 05:20
800d25a
Compare
Choose a tag to compare

变更日志:

  1. 全新的本地开发、调试体验 —— Fun Local 新功能发布,并包含了大量的新特性:
    1. 支持本地运行函数
    2. 支持本地单步调试函数
    3. 支持本地事件触发函数
    4. 本地开发时,支持环境变量
    5. 本地开发时支持 Initializer
    6. 本地开发时支持 Credentials
    7. 单步调试时支持展示 IDE 配置
    8. 新功能均支持所有运行时环境
    9. 等等...
  2. 支持 rds 以及 mns trigger

Changelog:

  1. A new local development and debugging experience - Fun Local [released] (https://yq.aliyun.com/articles/672656), and contains a lot of new features:
    1. add local running support
    2. add local debugging support
    3. add event trigger support
    4. add environment variables support when local debugging
    5. add Initializer support when local debugging
    6. add Credentials support when local debugging
    7. add ide config details when local debugging
    8. all feature support alll runtimes
    9. and many more
  2. add rds and mns trigger support

Download:

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

Release 2.5.0

29 Oct 01:58
4898753
Compare
Choose a tag to compare

变更日志:

添加函数计算 initializer 的支持
添加 verbose 选项,支持输出更多运行日志
重试次数支持通过 fun config 配置

Changelog:

Add initializer support for Aliyun Function Compute
add verbose option to support printing out more logs
add retries for fun config

Download:

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

Release 2.4.0

20 Sep 11:41
9b1a731
Compare
Choose a tag to compare

Release 2.3.0

13 Sep 12:18
1e20f30
Compare
Choose a tag to compare

变更日志:

  1. 添加了 php7.2 的支持
  2. 修复默认的 role 可能包含不合法字符的问题
  3. 修复填写了错误 role 的报错信息
  4. 修复 Api 网关命名冲突的问题

Changelog:

  1. add php7.2 support
  2. fix generated role contains invalid char bug
  3. fix error message for invalid role
  4. fix apigateway "RepeatedPathError: The specified path conflict with the API" bug

Download:

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