Commit Graph

1024 Commits

Author SHA1 Message Date
Mlikiowa
680432bb81 release: v4.9.40 2025-11-12 05:38:39 +00:00
手瓜一十雪
86496b156f feat: png video截图 2025-11-12 13:38:08 +08:00
Mlikiowa
27ad435fb2 release: v4.9.38 2025-11-12 04:20:16 +00:00
Mlikiowa
1b82fa0139 release: v4.9.36 2025-11-11 12:30:58 +00:00
Mlikiowa
97c836efeb release: v4.9.35 2025-11-10 04:04:07 +00:00
Mlikiowa
86ee2082e0 release: v4.9.33 2025-11-09 04:54:38 +00:00
Mlikiowa
6c27dddb55 release: v4.9.32 2025-11-08 04:26:49 +00:00
手瓜一十雪
ae5bd63748 Refactor FFmpeg file conversion logic and API
Unified file conversion in FFmpegAddonAdapter to use decodeAudioToFmt for all formats, updated FFmpeg interface and service to support new conversion method, and added adapter name checks in GetRecord and DownloadFileRecordStream for optimized conversion flow. Updated native addon binaries to support these changes.
2025-11-08 12:22:51 +08:00
Mlikiowa
6661934888 release: v4.9.30 2025-11-08 02:30:01 +00:00
Mlikiowa
558b8a7e28 release: v4.9.29 2025-11-07 12:01:08 +00:00
Mlikiowa
6f264ba2ba release: v4.9.28 2025-11-07 11:35:58 +00:00
Mlikiowa
ad4d228353 release: v4.9.27 2025-11-07 09:05:14 +00:00
Mlikiowa
42a70e73b4 release: v4.9.26 2025-11-06 15:15:20 +00:00
手瓜一十雪
18451e61be feat: support node test 2025-11-06 10:57:54 +08:00
Mlikiowa
c8a8739633 release: v4.9.25 2025-11-04 13:55:32 +00:00
Mlikiowa
d8c6ffa7b6 release: v4.9.24 2025-11-04 09:53:36 +00:00
Mlikiowa
4733dd2d16 release: v4.9.23 2025-11-03 15:18:57 +00:00
Mlikiowa
cddb0b7f2f release: v4.9.22 2025-11-03 15:13:03 +00:00
手瓜一十雪
42a7771f84 Refactor Store to use per-key timers for expiration
Simplifies the Store implementation by removing batch expiration scanning and using per-key setTimeout timers for key expiration. This change improves code clarity and ensures more precise key expiration handling.
2025-11-03 17:06:44 +08:00
时瑾
2185a884b4 refactor: 优化eslint配置,提升代码质量 (#1341)
* feat: 统一并标准化eslint

* lint: napcat.webui

* lint: napcat.webui

* lint: napcat.core

* build: fix

* lint: napcat.webui

* refactor: 重构eslint

* Update README.md
2025-11-03 16:30:45 +08:00
Mlikiowa
c9b1d3fafa release: v4.9.21 2025-11-02 13:33:28 +00:00
Mlikiowa
bb8814e777 release: v4.9.20 2025-11-02 03:30:09 +00:00
Mlikiowa
47805276da release: v4.9.19 2025-11-01 15:23:54 +00:00
手瓜一十雪
8413edb78d Refactor PCM conversion to return result and sample rate
Updated the FFmpeg adapter interfaces and implementations so that PCM conversion methods now return an object containing the conversion result and sample rate, instead of a Buffer. Adjusted audio processing logic to accommodate this change and improved error logging. Updated native ffmpeg addon binaries.
2025-11-01 23:23:15 +08:00
Mlikiowa
62fa407530 release: v4.9.18 2025-11-01 13:54:19 +00:00
Mlikiowa
726603acbc release: v4.9.17 2025-11-01 10:43:55 +00:00
Mlikiowa
5cfd010345 release: v4.9.16 2025-11-01 08:19:18 +00:00
Mlikiowa
fb58c03da1 release: v4.9.15 2025-11-01 06:08:11 +00:00
Mlikiowa
b677b2e1ad release: v4.9.14 2025-10-31 08:53:45 +00:00
Mlikiowa
659d97e295 release: v4.9.13 2025-10-31 07:15:49 +00:00
Mlikiowa
e68234a77a release: v4.9.11 2025-10-31 06:43:40 +00:00
Mlikiowa
5848d6b8a2 release: v4.9.10 2025-10-31 04:38:12 +00:00
Mlikiowa
b82d63bd76 release: v4.9.9 2025-10-30 16:08:57 +00:00
Mlikiowa
562bb353ec release: v4.9.8 2025-10-30 14:28:31 +00:00
手瓜一十雪
a9ad9a0d3b Fix addon path resolution and error handling
Corrects the construction of the ffmpeg addon filename and improves error handling when the addon is not found. Also simplifies the isAvailable method by removing redundant existence checks.
2025-10-30 22:13:57 +08:00
Mlikiowa
cd76f6194f release: v4.9.7 2025-10-30 13:56:19 +00:00
Mlikiowa
19dc97bd18 release: v4.9.6 2025-10-30 13:49:11 +00:00
Mlikiowa
b5dec0b583 release: v4.9.4 2025-10-30 13:40:21 +00:00
手瓜一十雪
647f0fc03d Replace console.error with console.log in error handler
Changed error logging in FFmpegAddonAdapter from console.error to console.log when addon loading fails.
2025-10-30 21:39:17 +08:00
手瓜一十雪
7ac7488d54 Refactor addon path resolution and rename Windows addon
Simplifies the logic for resolving the ffmpeg addon path by dynamically constructing the filename from process.platform and process.arch. Also renames the Windows x64 addon file to ffmpegAddon.win32.x64.node for consistency.
2025-10-30 11:29:54 +08:00
手瓜一十雪
52289c605a refactor: 重构目录删除旧支持 2025-10-30 10:08:32 +08:00
手瓜一十雪
dfc70dce63 Remove 'bmp24' argument from getVideoInfo call
Updated the extractThumbnail method to call addon.getVideoInfo without the 'bmp24' argument, aligning with the updated addon API.
2025-10-30 09:23:25 +08:00
手瓜一十雪
c40c398c7f feat: ffmpeg enhance for native node addon 2025-10-30 09:06:48 +08:00
手瓜一十雪
378dc335bb fix: getQQBuildStr 2025-10-29 21:35:00 +08:00
手瓜一十雪
0c359abf0b feat: Add FFmpeg native addon and TypeScript definitions
Introduced FFmpeg Node.js native addon binaries for multiple platforms (darwin-arm64, linux-arm64, linux-x64, win-x64) and added TypeScript type definitions for the addon interface, including video info extraction, duration detection, audio conversion, and PCM decoding.
2025-10-29 21:14:16 +08:00
Mlikiowa
8ad8896ed3 release: v4.8.124 2025-10-22 13:12:25 +00:00
Mlikiowa
8724830545 release: v4.8.123 2025-10-21 15:06:10 +00:00
Mlikiowa
b31c080e2c release: v4.8.122 2025-10-16 13:28:29 +00:00
手瓜一十雪
8b092e7383 Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2025-10-16 21:13:54 +08:00
手瓜一十雪
83f7d1aeb2 fix: #1286 2025-10-16 21:13:50 +08:00