chore: Update change log, add removal of svg default fill color value and direct import optimization of Option

This commit is contained in:
Harvey Zack committed 2025-08-03 19:48:34 +08:00
1 parent 4fa1730242
commit f1fcbd75fe
1 file changed
+12
+12
View File
@@ -6,6 +6,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
- 移除 `svg` 默认的 `fill` 颜色值
- 优化 `artplayer.d.ts`, 现在可以直接导入 `Option`
```ts
import type { Option } from 'artplayer'
const option: Option = {
container: '.artplayer-app',
url: './assets/sample/video.mp4',
}
```
## [5.2.5] - 2025-08-01
- 为所有包添加 `ESM` 版本如 `artplayer/dist/artplayer.esm.js`