Skip to content

Commit c19f85f

Browse files
committed
Release: v5.1.0
1 parent e369ae7 commit c19f85f

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# [v5.1.0](https://github.com/coder-hxl/x-crawl/compare/v5.0.2...v5.1.0) (2023-04-12)
2+
3+
### 🚀 Features
4+
5+
- The beforeSave lifecycle function of crawlFile needs to return a Promise and resolve is a Buffer .
6+
- The description, characteristics and type of the document change.
7+
8+
### 🐞 Bug Fixes
9+
10+
- Incorrect type hints and type restrictions, using overloaded functions instead.
11+
12+
---
13+
14+
### 🚀 特征
15+
16+
- crawlFile 的 beforeSave 生命周期函数需要返回一个 Promise 并且 resolve 是 Buffer 。
17+
- 文档的描述、特征和类型发生变化。
18+
19+
### 🐞 漏洞修复
20+
21+
- 错误的类型提示和类型限制,改用重载函数。
22+
123
# [v5.0.2](https://github.com/coder-hxl/x-crawl/compare/v5.0.1...v5.0.2) (2023-04-10)
224

325
### 🚀 Features

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "x-crawl",
4-
"version": "5.0.2",
4+
"version": "5.1.0",
55
"author": "coderHXL",
66
"description": "x-crawl is a flexible nodejs crawler library.",
77
"license": "MIT",

publish/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "x-crawl",
3-
"version": "5.0.2",
3+
"version": "5.1.0",
44
"author": "coderHXL",
55
"description": "x-crawl is a flexible nodejs crawler library.",
66
"license": "MIT",

0 commit comments

Comments
 (0)