Skip to content

Commit 9f83530

Browse files
metowolfclaude
andcommitted
chore: bump version to v1.6.0 and remove Xiami Music support
BREAKING CHANGE: Xiami Music platform support has been removed as the service has been discontinued. Changes: - Remove Xiami Music provider implementation (src/providers/xiami.js) - Update supported platforms list from 6 to 5 (NetEase, Tencent, KuGou, Baidu, Kuwo) - Update all documentation (README.md, CLAUDE.md, ARCHITECTURE.md) - Update package.json version to 1.6.0 and remove Xiami references - Add CHANGELOG.md with detailed migration guide Migration: Users should switch to alternative platforms. The library will automatically fallback to 'netease' if 'xiami' is specified. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 451e5c4 commit 9f83530

File tree

8 files changed

+80
-359
lines changed

8 files changed

+80
-359
lines changed

ARCHITECTURE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ src/
1515
├── base.js # 基础 Provider 接口
1616
├── netease.js # 网易云音乐 Provider
1717
├── tencent.js # 腾讯音乐 Provider
18-
├── xiami.js # 虾米音乐 Provider
1918
├── kugou.js # 酷狗音乐 Provider
2019
├── baidu.js # 百度音乐 Provider
2120
└── kuwo.js # 酷我音乐 Provider

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [1.6.0] - 2025-10-25
9+
10+
### Removed
11+
- **BREAKING CHANGE**: Removed Xiami Music platform support
12+
- Deleted `src/providers/xiami.js` provider implementation
13+
- Removed Xiami from all documentation and examples
14+
- Updated supported platforms list: NetEase, Tencent, KuGou, Baidu, Kuwo (5 platforms)
15+
- Reason: Xiami Music service has been discontinued
16+
17+
### Changed
18+
- Updated `package.json` description to reflect current supported platforms
19+
- Updated `README.md` to remove Xiami references from features list, platform codes, and support table
20+
- Updated `CLAUDE.md` project overview
21+
- Updated `ARCHITECTURE.md` structure documentation
22+
- Updated `test/example.js` comments
23+
- Cleaned up keywords in `package.json`
24+
25+
### Migration Guide
26+
If you were using Xiami platform (`'xiami'`), please switch to one of the supported platforms:
27+
- NetEase Cloud Music (`'netease'`)
28+
- Tencent Music (`'tencent'`)
29+
- KuGou Music (`'kugou'`)
30+
- Baidu Music (`'baidu'`)
31+
- Kuwo Music (`'kuwo'`)
32+
33+
```javascript
34+
// Before
35+
const meting = new Meting('xiami');
36+
37+
// After - choose an alternative platform
38+
const meting = new Meting('netease');
39+
```
40+
41+
Note: The library will automatically fallback to `'netease'` if an unsupported platform is specified.
42+
43+
## [1.5.14] - 2025-01-XX
44+
45+
### Fixed
46+
- Added HTML entity decoding for Tencent Music lyrics
47+
48+
### Changed
49+
- Improved npm authentication configuration in GitHub Actions
50+
- Simplified npm authentication using `~/.npmrc`
51+
52+
## [1.5.13] - Earlier
53+
54+
### Added
55+
- Initial stable release with 6 platform support
56+
- Provider pattern architecture
57+
- Zero-dependency implementation
58+
- Built-in encryption support
59+
- Promise-based async/await APIs
60+
- Unified data format across platforms
61+
- Version number injection at build time
62+
63+
---
64+
65+
## Version History
66+
67+
- **v1.6.0** - Removed Xiami Music support (breaking change)
68+
- **v1.5.14** - Bug fixes and CI improvements
69+
- **v1.5.13** - Stable release with complete platform support
70+
71+
[1.6.0]: https://github.com/metowolf/Meting/compare/v1.5.14...v1.6.0
72+
[1.5.14]: https://github.com/metowolf/Meting/compare/v1.5.13...v1.5.14
73+
[1.5.13]: https://github.com/metowolf/Meting/releases/tag/v1.5.13

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
44

55
## 项目概述
66

7-
Meting Node.js 版本是一个强大的音乐 API 框架,用于加速音乐相关应用的开发。这是原版 PHP Meting 项目的 Node.js 移植版本,支持多个主流音乐平台的 API 调用,包括网易云音乐(netease)、腾讯音乐(tencent)、虾米音乐(xiami)、酷狗音乐(kugou)、百度音乐(baidu)和酷我音乐(kuwo)。
7+
Meting Node.js 版本是一个强大的音乐 API 框架,用于加速音乐相关应用的开发。这是原版 PHP Meting 项目的 Node.js 移植版本,支持多个主流音乐平台的 API 调用,包括网易云音乐(netease)、腾讯音乐(tencent)、酷狗音乐(kugou)、百度音乐(baidu)和酷我音乐(kuwo)。
88

99
## 开发相关命令
1010

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Meting is a powerful music API framework designed to accelerate music-related de
1010

1111
### Features
1212

13-
- **🎵 Multi-Platform Support** - Supports NetEase Cloud Music, Tencent Music, Xiami, KuGou, Baidu Music, and Kuwo
13+
- **🎵 Multi-Platform Support** - Supports NetEase Cloud Music, Tencent Music, KuGou, Baidu Music, and Kuwo
1414
- **🚀 Lightweight & Fast** - Zero external dependencies, built with Node.js native modules only
1515
- **📱 Modern Async/Await** - Promise-based APIs with full async/await support
1616
- **🔄 Unified Interface** - Standardized data format across all music platforms
@@ -44,7 +44,7 @@ yarn add @meting/core
4444
import Meting from '@meting/core';
4545

4646
// Initialize with a music platform
47-
const meting = new Meting('netease'); // 'netease', 'tencent', 'xiami', 'kugou', 'baidu', 'kuwo'
47+
const meting = new Meting('netease'); // 'netease', 'tencent', 'kugou', 'baidu', 'kuwo'
4848

4949
// Enable data formatting for consistent output
5050
meting.format(true);
@@ -115,7 +115,7 @@ musicExample();
115115
const meting = new Meting(server);
116116
```
117117

118-
- `server` (string): Music platform ('netease', 'tencent', 'xiami', 'kugou', 'baidu', 'kuwo')
118+
- `server` (string): Music platform ('netease', 'tencent', 'kugou', 'baidu', 'kuwo')
119119

120120
### Core Methods
121121

@@ -167,7 +167,6 @@ await meting.pic(id, size) // Get album artwork
167167
|----------|------|--------|------|-------|--------|----------|-----|-------|---------|
168168
| NetEase Cloud Music | `netease` |||||||||
169169
| Tencent Music | `tencent` |||||||||
170-
| Xiami Music | `xiami` |||||||||
171170
| KuGou Music | `kugou` |||||||||
172171
| Baidu Music | `baidu` |||||||||
173172
| Kuwo Music | `kuwo` |||||||||

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@meting/core",
3-
"version": "1.5.14",
4-
"description": "A powerful music API framework to accelerate development - Node.js port. Support Netease, Tencent, Xiami, Kugou, Baidu, Kuwo music platforms.",
3+
"version": "1.6.0",
4+
"description": "A powerful music API framework to accelerate development - Node.js port. Support Netease, Tencent, Kugou, Baidu, Kuwo music platforms.",
55
"main": "./lib/meting.js",
66
"module": "./lib/meting.esm.js",
77
"type": "module",
@@ -26,7 +26,6 @@
2626
"api",
2727
"netease",
2828
"tencent",
29-
"xiami",
3029
"kugou",
3130
"baidu",
3231
"kuwo",

src/providers/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import NeteaseProvider from './netease.js';
22
import TencentProvider from './tencent.js';
3-
import XiamiProvider from './xiami.js';
43
import KugouProvider from './kugou.js';
54
import BaiduProvider from './baidu.js';
65
import KuwoProvider from './kuwo.js';
@@ -12,7 +11,6 @@ export default class ProviderFactory {
1211
static providers = {
1312
netease: NeteaseProvider,
1413
tencent: TencentProvider,
15-
xiami: XiamiProvider,
1614
kugou: KugouProvider,
1715
baidu: BaiduProvider,
1816
kuwo: KuwoProvider

0 commit comments

Comments
 (0)