Releases: alibaba/funcraft
Release 2.9.1
变更日志:
- 修复了 fun local 在 windows 下的若干问题
- 更新了英文文档的链接
- deploy 子命令支持
-t
、—template
参数指定模板文件 - 增加 install 子命令以简化依赖安装。
- 支持安装 apt 和 pip 包,带上 --save 参数可以保存安装指令到 fun.yml 文件中。
- 不带参数的 fun install 子命令,依次执行 fun.yml 中的 task。目前 task 有三种,apt、pip 和 shell。
- fun install init 可以初始化一个 fun.yml 文件。
- install 子命令安装的依赖会被放置到 .fun 目录下,local 和 deploy 子命令会添加相应的环境变量。
- 增加 RDS、MNSTopic 和 TableStore 触发器的英文规格说明
Changelog:
- fix some bug of fun local in Windows.
- update links text in English docs.
- add
-t, —template
option to deploy subcommand to specific template file. - add install subcommand to simplify dependencies installation
- support install apt and pip package, with
—save
option could save task intofun.yml
file. - running
fun install
without any arguments will execute task offun.yml
step by step. supported tasks: apt, pip and shell fun install init
could initialize afun.yml
file.- installed files are placed into .fun directory, local and deploy subcommand will add necessary Environment variables.
- support install apt and pip package, with
- 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
变更日志:
修复 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
变更日志:
-
增强的本地开发体验 —— 新增了大量的 Fun Local 新特性:
-
支持本地 HttpTrigger 触发运行、单步调试函数。
- 支持 ANONYMOUS、FUNCTION 两种认证
- 支持 GET、POST、PUT、DELETE、HEAD 等 HTTP 方法
- 支持 headers、queries 多值请求
-
支持本地 Api 触发运行、单步调试函数,行为与线上一致,支持 HandledInvocationError 以及 UnhandledInvocationError 等。
-
支持本地 NAS 函数的运行、单步调试
-
事件触发、HttpTrigger、Api 触发运行、单步调试皆支持 NAS 配置
-
无论是 Http Trigger 还是 Api 的方式,均支持热加载——无需重启服务,编写代码,刷新页面,实时预览效果
-
-
deploy 支持 NAS,本地调试完成,直接 deploy 到线上预览效果
-
deploy Http Trigger 时,可以看到 url,直接打开链接预览效果
Changelog:
-
Enhanced local development experience - Added a lot of new Fun Local features:
-
Support HttpTrigger functions local running and debugging.
- Support ANONYMOUS, FUNCTION auth type.
- Support HTTP methods such as GET, POST, PUT, DELETE, HEAD, etc.
- Support headers and queries multi-value request
-
Support Api local running, debugging, supporting HandledInvocationError and UnhandledInvocationError.
-
Support NAS function local running and debugging
-
Event trigger, HttpTrigger, Api local all three support NAS configuration
-
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
-
-
deploy command supports NAS. After local debugging is completed, deploying to online preview directly
-
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
变更日志:
- 修复存在 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
变更日志:
- 修复生成的 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
变更日志:
- 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 execfun 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
变更日志:
- 全新的本地开发、调试体验 —— Fun Local 新功能发布,并包含了大量的新特性:
- 支持本地运行函数
- 支持本地单步调试函数
- 支持本地事件触发函数
- 本地开发时,支持环境变量
- 本地开发时支持 Initializer
- 本地开发时支持 Credentials
- 单步调试时支持展示 IDE 配置
- 新功能均支持所有运行时环境
- 等等...
- 支持 rds 以及 mns trigger
Changelog:
- A new local development and debugging experience - Fun Local [released] (https://yq.aliyun.com/articles/672656), and contains a lot of new features:
- add local running support
- add local debugging support
- add event trigger support
- add environment variables support when local debugging
- add Initializer support when local debugging
- add Credentials support when local debugging
- add ide config details when local debugging
- all feature support alll runtimes
- and many more
- 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
变更日志:
添加函数计算 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
变更日志:
添加自定义域名的支持
Changelog:
add custom domain support
Download:
fun-v2.4.0-linux-x64.zip
fun-v2.4.0-linux-x86.zip
fun-v2.4.0-macos-x64.zip
fun-v2.4.0-macos-x86.zip
fun-v2.4.0-win-x64.exe.zip
fun-v2.4.0-win-x86.exe.zip
Release 2.3.0
变更日志:
- 添加了 php7.2 的支持
- 修复默认的 role 可能包含不合法字符的问题
- 修复填写了错误 role 的报错信息
- 修复 Api 网关命名冲突的问题
Changelog:
- add php7.2 support
- fix generated role contains invalid char bug
- fix error message for invalid role
- 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