Skip to content

Commit b8b13b0

Browse files
authored
v1.5.0 (#70)
1 parent c8ff80b commit b8b13b0

10 files changed

+48
-13
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
所有对 "Aliyun Serverless" 插件的更改都将记录在这个文件中。
44

5+
## 1.5.0 - 2019-08-15
6+
### Added
7+
- 模版文件 template.yml 提供层级色彩。在 template.yml 中会根据设定的缩进大小进行彩虹色渲染。
8+
9+
![rainbow](https://github.com/alibaba/serverless-vscode/blob/master/media/changelog/v1.5.0/rainbow.gif?raw=true)
10+
11+
- 支持服务级别以及函数级别的部署。在本地资源面板中,右击服务名或函数名,选择部署服务或函数,会进行相应的局部部署。
12+
13+
![partial-deploy](https://github.com/alibaba/serverless-vscode/blob/master/media/changelog/v1.5.0/partial-deploy.gif?raw=true)
14+
15+
- 本地资源面板提供触发器列表。在本地资源面板中,会在函数下列出该函数的触发器列表,左击触发器名称会跳转至模版文件 template.yml 中的对应行,该触发器描述块的背景会高亮并逐渐退去。
16+
17+
![local-resource-trigger](https://github.com/alibaba/serverless-vscode/blob/master/media/changelog/v1.5.0/local-resource-trigger.gif?raw=true)
18+
19+
- 本地资源面板提供 NAS 列表。在本地资源面板中,会在服务下列出该服务的 NAS 挂载点列表。左击 NAS 挂载点名称会跳转至模版文件 template.yml 中的对应行,该 NAS 挂载点描述块的背景会高亮并逐渐退去。
20+
- 支持将本地 NAS 资源同步到云端 NAS 服务。在本地资源面板中,左击 NAS 挂载点名称右侧的上传图标,即可将本地 NAS 资源同步到云端 NAS 服务。
21+
- 支持从本地资源面板快速打开 NAS 挂载点对应的本地 NAS 资源目录。在本地资源面板中,左击 NAS 挂载点名称右侧的文件夹图标,即可打开该 NAS 挂载点对应的本地 NAS 资源目录。
22+
23+
![local-resource-nas](https://github.com/alibaba/serverless-vscode/blob/master/media/changelog/v1.5.0/local-resource-nas.gif?raw=true)
24+
25+
### Other
26+
- 支持配置外部 Fun。在 Settings 中可以通过设定 `aliyun.fc.fun.path` 替代插件使用的 fun。
27+
28+
529
## 1.4.2 - 2019-08-10
630
### Added
731
- 补充模版文件 template.yml 资源配置信息的校验。在 template.yml 中会检测资源配置信息是否符合[规格说明](https://github.com/alibaba/funcraft/blob/master/docs/specs/2018-04-03-zh-cn.md),并在不符合的地方进行标示,鼠标移动到标示位置即可看到相关提示信息。
301 KB
Loading
Loading
200 KB
Loading

media/changelog/v1.5.0/rainbow.gif

197 KB
Loading

package-lock.json

+19-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"publisher": "aliyun",
55
"icon": "media/aliyun-serverless-extension.png",
66
"description": "Aliyun Function Compute extension. Lets you develop your serverless application of Aliyun within VSCode.",
7-
"version": "1.4.2",
7+
"version": "1.5.0",
88
"engines": {
99
"vscode": "^1.31.0"
1010
},
@@ -456,7 +456,7 @@
456456
},
457457
"dependencies": {
458458
"@alicloud/fc2": "^2.1.0",
459-
"@alicloud/fun": "^2.16.3",
459+
"@alicloud/fun": "^2.16.4",
460460
"@types/js-yaml": "^3.12.1",
461461
"@typescript-eslint/eslint-plugin": "^1.11.0",
462462
"@typescript-eslint/parser": "^1.11.0",

src/commands/showUpdateNotification.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function process(context: vscode.ExtensionContext) {
4646
});
4747
}
4848
);
49-
if (createFile(versionFilePath)) {
49+
if (isPathExists(versionFilePath) || createFile(versionFilePath)) {
5050
writeFile(versionFilePath, ALIYUN_SERVERLESS_VERSION).catch((ex) => vscode.window.showErrorMessage(ex.message));
5151
}
5252
}

src/utils/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export const ALIYUN_SERVERLESS_SERVICE_TYPE = 'Aliyun::Serverless::Service';
167167
export const ALIYUN_SERVERLESS_FUNCTION_TYPE = 'Aliyun::Serverless::Function';
168168

169169

170-
export const ALIYUN_SERVERLESS_VERSION = 'v1.4.0';
170+
export const ALIYUN_SERVERLESS_VERSION = 'v1.5.0';
171171
export const ALIYUN_SERVERLESS_CHANGELOG_URL = 'https://github.com/alibaba/serverless-vscode/blob/master/CHANGELOG.md';
172172

173173
export const ALIYUN_SERVERLESS_CUSTOMDOMAIN_TYPE = 'Aliyun::Serverless::CustomDomain';

src/utils/fun.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { cpUtils } from './cpUtils';
88
import { createFile, isPathExists, createDirectory } from './file';
99
import { ext } from '../extensionVariables';
1010

11-
const FUN_VERSION = '2.16.3';
11+
const FUN_VERSION = '2.16.4';
1212

1313
abstract class FunExecutorGenerator {
1414
async generate(): Promise<string> {

0 commit comments

Comments
 (0)