Compare commits

...

4 Commits

Author SHA1 Message Date
715825b022 chore(release): publish
- @egg/path-tool@1.5.0
2025-04-09 02:23:25 +00:00
4b8b59ca22 feat(PathCheckTool): 将 url、prefix 和 pathname 属性的访问修饰符更改为 public
All checks were successful
/ release (push) Successful in 29s
2025-04-09 02:22:57 +00:00
edbdae360b chore(release): publish
- @egg/net-tool@1.34.0
2025-04-08 11:34:56 +00:00
b470fb98ca feat(logger): 更新日志记录以包含响应日志详情
All checks were successful
/ release (push) Successful in 50s
2025-04-08 11:34:12 +00:00
7 changed files with 21 additions and 8 deletions

4
package-lock.json generated
View File

@ -10468,7 +10468,7 @@
},
"packages/net-tool": {
"name": "@egg/net-tool",
"version": "1.33.0",
"version": "1.34.0",
"license": "ISC",
"dependencies": {
"@egg/logger": "^1.10.0",
@ -10478,7 +10478,7 @@
},
"packages/path-tool": {
"name": "@egg/path-tool",
"version": "1.4.1",
"version": "1.5.0",
"license": "ISC"
}
}

View File

@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.34.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.33.0...@egg/net-tool@1.34.0) (2025-04-08)
### Features
- **logger:** 更新日志记录以包含响应日志详情 ([b470fb9](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/b470fb98caa322282edff468d679be85bde048a2))
# [1.33.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/net-tool@1.32.7...@egg/net-tool@1.33.0) (2025-04-03)
### Features

View File

@ -1,6 +1,6 @@
{
"name": "@egg/net-tool",
"version": "1.33.0",
"version": "1.34.0",
"description": "Net Tools for Egg projects",
"type": "module",
"main": "src/index.ts",

View File

@ -115,7 +115,7 @@ class NetToolBase {
requestTime,
responseTime: new Date().getTime(),
}
this.logger.silly('')
this.logger.silly("response log", responseLog)
return responseLog
}

View File

@ -3,6 +3,13 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.5.0 (2025-04-09)
### Features
- **logger:** 重构服务构造函数以使用 Logger移除 requestId 参数 ([308b447](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/308b447cbc127ef4c3fedbb18d19169cbb88e425))
- **PathCheckTool:** 将 url、prefix 和 pathname 属性的访问修饰符更改为 public ([4b8b59c](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/4b8b59ca226e8a1bb2a42dfb4f93e300c46b6441))
## [1.4.1](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/path-tool@1.4.0...@egg/path-tool@1.4.1) (2024-09-26)
**Note:** Version bump only for package @egg/path-tool

View File

@ -1,6 +1,6 @@
{
"name": "@egg/path-tool",
"version": "1.4.1",
"version": "1.5.0",
"description": "Path Tools for Egg projects",
"type": "module",
"main": "src/index.ts",

View File

@ -2,9 +2,9 @@
* PathCheckTool
*/
export class PathCheckTool {
private url: string
private prefix?: string
private pathname: string
public url: string
public prefix?: string
public pathname: string
constructor(url: string, prefix?: string) {
this.url = url