meta-json-schema 1.19.19 → 1.19.21

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,3 +1,37 @@
1
+ ## v1.19.21
2
+
3
+ ### Changes
4
+
5
+ - 调整: listener vmess 配置项 `alterId` 为可选项
6
+ - 新增: proxy 新增 `trusttunnel` 协议
7
+ - 新增: inbound 新增 trusttunnel `listeners` 配置项
8
+ - 新增: mieru 新增配置项 `traffic-pattern`
9
+ - 新增: sudoku HTTP掩码支持 `ws` 模式
10
+ - 调整: sudoku HTTP掩码相关配置 迁移至 `httpmask` 配置项
11
+ - 新增: sudoku `listeners` 新增配置项 `fallback`
12
+
13
+ ### Bugs Fixes
14
+
15
+ - 修复: `proxy-server-nameserver` 在未显式配置 `respect-rules` 或 `proxy-server-nameserver-policy` 时变为必填项
16
+
17
+ ---
18
+
19
+ ## v1.19.20
20
+
21
+ ### Changes
22
+
23
+ - 新增: `ech-opts` 新增配置项 `query-server-name`
24
+ - 新增: proxy 新增 `masque` 协议
25
+ - 调整: 调整 sudoku 配置项描述
26
+ - 新增: DNS 新增配置项 `proxy-server-nameserver-policy`
27
+
28
+ ### Bugs Fixes
29
+
30
+ - 修复: `reality-opts` 的 `short-id` 配置项为可选项
31
+ - 修复: `fake-ip-filter-mode` 未配置时,错误地使用了 `rule` 规则进行校验
32
+
33
+ ---
34
+
1
35
  ## v1.19.19
2
36
 
3
37
  ### Changes
package/README.md CHANGED
@@ -9,10 +9,23 @@ VS Code 扩展商店搜索 `Meta JSON Schema` 或 `ClashMeta.meta-json-schema`
9
9
 
10
10
  1. 安装YAML语法支持插件 `redhat.vscode-yaml` 。
11
11
  2. 在 `.vscode` 目录下的 `settings.json` 文件中(如不存在则手动创建),填入以下内容。其中,key为schema文件的地址(url或本地文件),value为路径通配符,请根据需求自行修改。
12
+
13
+ 使用最新版本:
14
+
15
+ ```json
16
+ {
17
+ "yaml.schemas": {
18
+ "https://unpkg.com/meta-json-schema/schemas/meta-json-schema.json": "**/*.yaml"
19
+ }
20
+ }
21
+ ```
22
+
23
+ 使用特定版本:
24
+
12
25
  ```json
13
26
  {
14
27
  "yaml.schemas": {
15
- "https://fastly.jsdelivr.net/gh/dongchengjie/meta-json-schema@main/schemas/meta-json-schema.json": "**/*.yaml"
28
+ "https://unpkg.com/meta-json-schema@1.19.21/schemas/meta-json-schema.json": "**/*.yaml"
16
29
  }
17
30
  }
18
31
  ```
@@ -68,7 +81,7 @@ VS Code 扩展商店搜索 `Meta JSON Schema` 或 `ClashMeta.meta-json-schema`
68
81
  enableSchemaRequest: true,
69
82
  schemas: [
70
83
  {
71
- uri: "https://fastly.jsdelivr.net/gh/dongchengjie/meta-json-schema@main/schemas/meta-json-schema.json",
84
+ uri: "https://unpkg.com/meta-json-schema/schemas/meta-json-schema.json",
72
85
  fileMatch: ["**/*.clash.yaml"]
73
86
  }
74
87
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meta-json-schema",
3
- "version": "1.19.19",
3
+ "version": "1.19.21",
4
4
  "description": "JSON Schema for Clash Meta",
5
5
  "keywords": [
6
6
  "clash",
@@ -30,11 +30,11 @@
30
30
  "preview": "npm publish --dry-run"
31
31
  },
32
32
  "devDependencies": {
33
- "@commitlint/cli": "^20.2.0",
34
- "@commitlint/config-conventional": "^20.2.0",
35
- "dprint": "^0.50.2",
33
+ "@commitlint/cli": "^20.4.4",
34
+ "@commitlint/config-conventional": "^20.4.4",
35
+ "dprint": "^0.52.0",
36
36
  "json-schema-artifact": "^2.0.3",
37
- "lefthook": "^2.0.9"
37
+ "lefthook": "^2.1.4"
38
38
  },
39
39
  "commitlint": {
40
40
  "extends": [