Skip to content

Commit

Permalink
Release: v5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-hxl committed Apr 12, 2023
1 parent e369ae7 commit c19f85f
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# [v5.1.0](https://github.com/coder-hxl/x-crawl/compare/v5.0.2...v5.1.0) (2023-04-12)

### 🚀 Features

- The beforeSave lifecycle function of crawlFile needs to return a Promise and resolve is a Buffer .
- The description, characteristics and type of the document change.

### 🐞 Bug Fixes

- Incorrect type hints and type restrictions, using overloaded functions instead.

---

### 🚀 特征

- crawlFile 的 beforeSave 生命周期函数需要返回一个 Promise 并且 resolve 是 Buffer 。
- 文档的描述、特征和类型发生变化。

### 🐞 漏洞修复

- 错误的类型提示和类型限制,改用重载函数。

# [v5.0.2](https://github.com/coder-hxl/x-crawl/compare/v5.0.1...v5.0.2) (2023-04-10)

### 🚀 Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "x-crawl",
"version": "5.0.2",
"version": "5.1.0",
"author": "coderHXL",
"description": "x-crawl is a flexible nodejs crawler library.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion publish/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "x-crawl",
"version": "5.0.2",
"version": "5.1.0",
"author": "coderHXL",
"description": "x-crawl is a flexible nodejs crawler library.",
"license": "MIT",
Expand Down

0 comments on commit c19f85f

Please sign in to comment.