meta-json-schema 1.19.1 → 1.19.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,9 +1,39 @@
1
+ ## v1.19.3
2
+
3
+ ### Changes
4
+
5
+ - 调整: `external-ui-url` 补充说明支持的压缩包格式
6
+ - 新增: proxy 新增 `anytls` 协议
7
+ - 新增: inbound 新增 anytls、trojan `listeners` 配置项
8
+ - 新增: inbound(trojan、vless、vmess) 部分新增 `grpc-service-name` 配置项
9
+ - 调整: inbound 端口支持使用ports格式
10
+ - 调整: inbound (socks5、http、mixed)支持 tls 配置
11
+
12
+ ### Bugs Fixes
13
+
14
+ - 修复: inbound (socks5、http、mixed)缺失 `reality-config` 配置项
15
+
16
+ ---
17
+
18
+ ## v1.19.2
19
+
20
+ ### Changes
21
+
22
+ - 新增: hy2 新增 `initial-stream-receive-window`、`max-stream-receive-window`、`initial-connection-receive-window`、`max-connection-receive-window` quic-go配置项
23
+ - 新增: inbound 新增 vless `listeners` 配置项
24
+
25
+ ### Bugs Fixes
26
+
27
+ - 修复: 枚举 `cipher` 缺失加密方法 `2022-blake3-aes-128-ccm`、`2022-blake3-aes-256-ccm`、`2022-blake3-chacha8-poly1305`、`chacha20-poly1305`、`chacha8-ietf-poly1305`、`xchacha8-ietf-poly1305`、`zero`
28
+
29
+ ---
30
+
1
31
  ## v1.19.1
2
32
 
3
33
  ### Changes
4
34
 
5
- - 新增:rule-providers 新增 `inline` 内联规则配置
6
- - 新增:proxy-providers 新增 `inline` 内联proxies配置
35
+ - 新增: rule-providers 新增 `inline` 内联规则配置
36
+ - 新增: proxy-providers 新增 `inline` 内联proxies配置
7
37
  - 调整: outbound 的 `header` 配置项宽松,不再限制value的类型为 string
8
38
 
9
39
  ### Bugs Fixes
@@ -55,8 +85,6 @@
55
85
  - 新增: `dns` 新增 `fake-ip-filter-mode` 配置项
56
86
  - 调整: 规则 `GEOIP`、`IP-ASN`、`IP-CIDR`、`IP-CIDR6`、`IP-SUFFIX`、`RULE-SET` 支持追加 `,src` 选项
57
87
 
58
- ### Bugs Fixes
59
-
60
88
  ---
61
89
 
62
90
  ## v1.18.7
@@ -70,8 +98,6 @@
70
98
  - 新增: 全局配置新增 `keep-alive-idle` 和 `disable-keep-alive` 保持连接相关配置
71
99
  - 移除: 不再支持 `ebpf` 配置
72
100
 
73
- ### Bugs Fixes
74
-
75
101
  ---
76
102
 
77
103
  ## v1.18.6
@@ -135,8 +161,6 @@
135
161
 
136
162
  ### Features
137
163
 
138
- - 首个JSON Schema版本
139
-
140
- ### Bugs Fixes
164
+ - 首个 JSON Schema 版本
141
165
 
142
166
  ---
package/README.md CHANGED
@@ -21,59 +21,59 @@ VS Code 扩展商店搜索 `Meta JSON Schema` 或 `ClashMeta.meta-json-schema`
21
21
  <details>
22
22
  <summary>Monaco Editor中使用</summary>
23
23
 
24
- 1. 安装 `monaco-editor` (编辑器)和 `monaco-yaml` (YAML支持)。
25
-
26
- ```
27
- npm install monaco-editor
28
- npm install monaco-yaml
29
- ```
30
-
31
- 2. 如果是vite项目,可通过安装插件简化初始化(其他构建工具如 `webpack` 请参考[monaco-yaml文档](https://github.com/remcohaszing/monaco-yaml?tab=readme-ov-file#using-monaco-webpack-loader-plugin))。
32
-
33
- 1. 安装 `vite-plugin-monaco-editor` 。
34
-
35
- ```
36
- npm install vite-plugin-monaco-editor
37
- ```
38
-
39
- 2. 配置 `vite.config.ts` 。
40
-
41
- ```javascript
42
- import { defineConfig } from "vite";
43
- import monacoEditor from "vite-plugin-monaco-editor";
44
-
45
- export default defineConfig({
46
- plugins: [
47
- monacoEditor({
48
- languageWorkers: ["editorWorkerService"],
49
- customWorkers: [
50
- {
51
- label: "yaml",
52
- entry: "monaco-yaml/yaml.worker"
53
- }
54
- ]
55
- })
56
- ]
57
- });
58
- ```
59
-
60
- 3. 代码中配置schema(请根据需求自行修改 `fileMatch` )。
61
-
62
- ```javascript
63
- import * as monaco from "monaco-editor";
64
- import { configureMonacoYaml } from "monaco-yaml";
65
-
66
- configureMonacoYaml(monaco, {
67
- validate: true,
68
- enableSchemaRequest: true,
69
- schemas: [
70
- {
71
- uri: "https://fastly.jsdelivr.net/gh/dongchengjie/meta-json-schema@main/schemas/meta-json-schema.json",
72
- fileMatch: ["**/*.clash.yaml"]
73
- }
74
- ]
75
- });
76
- ```
24
+ 1. 安装 `monaco-editor` (编辑器)和 `monaco-yaml` (YAML支持)。
25
+
26
+ ```
27
+ npm install monaco-editor
28
+ npm install monaco-yaml
29
+ ```
30
+
31
+ 2. 如果是vite项目,可通过安装插件简化初始化(其他构建工具如 `webpack` 请参考[monaco-yaml文档](https://github.com/remcohaszing/monaco-yaml?tab=readme-ov-file#using-monaco-webpack-loader-plugin))。
32
+
33
+ 1. 安装 `vite-plugin-monaco-editor` 。
34
+
35
+ ```
36
+ npm install vite-plugin-monaco-editor
37
+ ```
38
+
39
+ 2. 配置 `vite.config.ts` 。
40
+
41
+ ```javascript
42
+ import { defineConfig } from "vite";
43
+ import monacoEditor from "vite-plugin-monaco-editor";
44
+
45
+ export default defineConfig({
46
+ plugins: [
47
+ monacoEditor({
48
+ languageWorkers: ["editorWorkerService"],
49
+ customWorkers: [
50
+ {
51
+ label: "yaml",
52
+ entry: "monaco-yaml/yaml.worker"
53
+ }
54
+ ]
55
+ })
56
+ ]
57
+ });
58
+ ```
59
+
60
+ 3. 代码中配置schema(请根据需求自行修改 `fileMatch` )。
61
+
62
+ ```javascript
63
+ import * as monaco from "monaco-editor";
64
+ import { configureMonacoYaml } from "monaco-yaml";
65
+
66
+ configureMonacoYaml(monaco, {
67
+ validate: true,
68
+ enableSchemaRequest: true,
69
+ schemas: [
70
+ {
71
+ uri: "https://fastly.jsdelivr.net/gh/dongchengjie/meta-json-schema@main/schemas/meta-json-schema.json",
72
+ fileMatch: ["**/*.clash.yaml"]
73
+ }
74
+ ]
75
+ });
76
+ ```
77
77
 
78
78
  </details>
79
79
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-json-schema",
3
- "version": "1.19.1",
3
+ "version": "1.19.3",
4
4
  "description": "JSON Schema for Clash Meta",
5
5
  "keywords": [
6
6
  "clash",
@@ -27,15 +27,14 @@
27
27
  "prepare": "lefthook install",
28
28
  "dev": "npx json-schema-artifact --watch",
29
29
  "release": "npx json-schema-artifact",
30
- "preview": "pnpm publish --dry-run"
30
+ "preview": "npm publish --dry-run"
31
31
  },
32
32
  "devDependencies": {
33
- "@commitlint/cli": "^19.6.0",
34
- "@commitlint/config-conventional": "^19.6.0",
35
- "@trivago/prettier-plugin-sort-imports": "^4.3.0",
33
+ "@commitlint/cli": "^19.7.1",
34
+ "@commitlint/config-conventional": "^19.7.1",
35
+ "dprint": "^0.49.0",
36
36
  "json-schema-artifact": "^1.1.3",
37
- "lefthook": "^1.9.0",
38
- "prettier": "^3.4.2"
37
+ "lefthook": "^1.11.2"
39
38
  },
40
39
  "commitlint": {
41
40
  "extends": [
@@ -46,5 +45,5 @@
46
45
  "node": ">=18",
47
46
  "pnpm": ">=9"
48
47
  },
49
- "packageManager": "pnpm@9.15.0"
48
+ "packageManager": "pnpm@9.15.4"
50
49
  }