Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

surgio

geekdada5.6kMIT3.10.7TypeScript support: included

Generating rules for Surge, Clash, Quantumult like a PRO

surgio, surge, quantumult, clash, mihomo, singbox, shadowrocket

readme

logo

NPM version Nodejs Github Actions Test coverage Known Vulnerabilities npm download

文档

查看完整使用文档,前往 surgio.js.org

交流

Sponsors

Deployed on Zeabur


MorseGPT

无需海外信用卡和手机号码使用 gpt-4o 模型,支持微信、支付宝付款。

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

MIT

changelog

3.10.7 (2025-03-11)

Bug Fixes

  • 处理 check 方法可能的错误情况 (23684c4)

3.10.6 (2025-01-06)

3.10.5 (2024-12-31)

Features

  • Enable dual-stack resolving for ioredis (d28922b)

3.10.4 (2024-12-31)

3.10.3 (2024-11-20)

Bug Fixes

  • clash wireguard config pre-shared-key key name wrong (760af58)
  • correct formatting of peers in Loon configuration (096db3d)
  • distinguish pre-shared-key by clashCore (f43be62)
  • update Loon node configuration to include keepalive and correct peers formatting (76782f4)
  • utils: HTTP(S) optional username & password (805b93e)

3.10.2 (2024-09-21)

3.10.1 (2024-09-17)

Bug Fixes

  • Output correct port-hopping config for Surge (ecc6901)

Features

  • Support port-hopping config from Clash subscription (1869a1f)

3.10.0 (2024-09-08)

Features

  • Add port hopping support to Clash and Surge config (8d867cc)

3.9.3 (2024-08-12)

Bug Fixes

  • singbox wireguard ipv6 endpoint parsing; singbox test case (b013657)

3.9.2 (2024-06-30)

Features

  • singbox: Support network=tcp in VMESS/VLESS (5e56602)

3.9.1 (2024-06-11)

Bug Fixes

3.9.0 (2024-05-22)

Features

  • support dialer-proxy and smux property in clash.meta config (64c9575)

3.8.2 (2024-05-21)

3.8.1 (2024-05-09)

3.8.0 (2024-05-06)

Features

  • make resolveHostname a global option (3b6f3a7)

3.7.1 (2024-05-03)

Features

  • per proxy test-timeout for Surge nodes (e4bee65)

3.7.0 (2024-05-03)

Bug Fixes

3.7.0-beta.1 (2024-05-01)

Features

  • change how sing-box config is generated (46d5faa)
  • introduce sing-box support (d6d9403)

3.6.6 (2024-03-22)

3.6.5 (2024-03-18)

Features

  • allow setting ECN and blockQuic in provider config (77f7ac9)

3.6.4 (2024-03-18)

Bug Fixes

  • vless isn't available in custom provider (06d3efd)

3.6.3 (2024-03-17)

Features

  • add blockQuic option for surge (23fed38)

3.6.2 (2024-03-16)

Bug Fixes

  • vless + reality config lacks of client fingerprint (7c66c01)

3.6.1 (2024-03-16)

Bug Fixes

  • Expand condition check to include Vless nodes in ClashProvider (e2f54fc)

3.6.0 (2024-03-16)

Bug Fixes

Features

  • add clashConfig.enableVless (050c0a3)
  • add support for vless protocol (960c851)
  • input and output vless configuration (f09a66e)

3.5.1 (2024-03-05)

Bug Fixes

  • discard more than one HTTP headers from Vmess+HTTP when reading or outputting a Clash subscription (ebed482)

3.5.0 (2024-03-05)

Bug Fixes

Features

  • add CLASH_META_SUPPORTED_RULE (4e6f600)
  • add new filters clashMeta and stash (654ceba)
  • add support for more VMESS transport protocol (08b88b9)

3.4.3 (2024-02-17)

Bug Fixes

3.4.2 (2024-02-17)

Features

  • add isClashMetaForAndroid (4e5f10d)

3.4.1 (2024-02-04)

Features

3.4.0 (2024-02-03)

Features

  • types: ArtifactConfig add subscriptionUserInfoProvider (ec18a1d)

3.3.0 (2024-01-21)

Features

  • getClashNodeNames 增加默认节点 (97b710a)

3.2.3 (2023-12-15)

Bug Fixes

  • command hangs (398a07b)
  • remote snippets containing IP-ASN with no-resolve (1b00a6c)

Features

  • getLoonNodes: trojan support tfo and upd params (c70581a)

3.2.2 (2023-11-05)

Bug Fixes

  • 上一个版本节点层级的客户端配置不生效 (392d090)

3.2.1 (2023-11-04)

Features

  • remove internal relay service (88227d0)
  • 优化了不同 Clash 核心的 Hysteria 密码兼容性问题 (6f95489)

3.2.0 (2023-10-28)

Features

  • 新增判断 UserAgent 的工具方法 (9a8d0f0)

3.1.0 (2023-10-14)

Features

3.0.2 (2023-07-08)

Bug Fixes

  • Surge Wireguard 节点某些配置不生效的问题 (30df8f9)

3.0.1 (2023-06-26)

Bug Fixes

  • forgot to include tuicFilter in template rendering context (e141c0a)

3.0.0 (2023-06-24)

3.0.0-beta.1 (2023-06-21)

Bug Fixes

Features

  • add new cache key (4eec1b6)
  • new env SURGIO_RENDERED_ARTIFACT_CACHE_MAXAGE (0be992d)

3.0.0-alpha.7 (2023-06-19)

Bug Fixes

  • alterId shoud accept a number (866b6cf)
  • 在模板中提供以下: (6a4a728)

3.0.0-alpha.6 (2023-06-18)

Bug Fixes

  • 多个 peer 的 Wireguard 节点在 Surge 上的格式问题 (17ec9c9)

Features

3.0.0-alpha.5 (2023-06-17)

Bug Fixes

Features

3.0.0-alpha.4 (2023-06-15)

Features

  • support Surge tuic-v5 format (bedff82)

3.0.0-alpha.3 (2023-06-15)

Bug Fixes

3.0.0-alpha.2 (2023-06-15)

Bug Fixes

3.0.0-alpha.1 (2023-06-15)

Bug Fixes

Features

  • improve error logs (a695a5e)
  • make sure properties of customParams are consistent (e39692c)

3.0.0-alpha.0 (2023-05-31)

Features

  • add tuic v5 support (39b5c94)
  • address compatibility issues (ceaecb4)
  • apply changes in #226 (3dd0135)
  • defineProvider 和 defineSurgioConfig (ac81dc4)
  • nodeConfig no longer has kebab naming properties (43ea656)
  • re-organize package (ea60904)
  • remove all deprecated features (7d76184)
  • reverseFilter and mergeReversedFilters (5f643f6)
  • use mocha to test the CLI (6ee4f93)
  • use zod to validate node configurations (ab1d7fe)
  • 优化 filter (31c6fb2)
  • 优化 get*NodeNames (53672ca)
  • 支持多 Peer 配置 (9756a73)
  • 支持新版 Surge (1103933)
  • 新增 getSurgeWireguardNodes (ac68299)
  • 新的模板方法 (dd8cc7b)
  • 细化 getNodeNames;增加 Clash 的 shadow-tls 和 Wireguard 支持 (1d477e6)

2.25.0 (2023-02-12)

Features

  • add underlyingProxy support to provider (7beca7c)
  • add tuicFilter (1dbac5f)
  • support underlyingProxy in CustomProvider (754982c)

2.24.1 (2022-12-31)

2.24.0 (2022-11-30)

Bug Fixes

Features

  • add new config for surge (509ab5a)

2.23.0 (2022-10-21)

Features

  • add SURGIO_GFW_FREE environment variable (2aaf242)
  • add Tuic support for Clash (Stash) and Surge (5bf51a6)

2.22.1 (2022-10-05)

Reverts

2.22.0 (2022-10-04)

Bug Fixes

Features

  • support getSurfboardNodes and surfboard vmess aead config (4099f98)
  • support surfboard rule format (b7abfb2)

2.21.0 (2022-10-03)

Features

  • support QuantumultX server_check_url (0919d00)

2.20.1 (2022-08-14)

Bug Fixes

  • getDownloadUrl and getUrl doesn't use viewerToken first (c574642)

2.20.0 (2022-06-30)

2.20.0-0 (2022-06-29)

Features

  • 支持 viewerToken 的配置 (d7a74da)

2.19.0 (2022-06-12)

Features

2.19.0-1 (2022-05-28)

Bug Fixes

2.19.0-0 (2022-05-28)

Features

2.18.4 (2022-05-26)

Bug Fixes

2.18.3 (2022-05-21)

Bug Fixes

Features

2.18.2 (2022-04-16)

Bug Fixes

  • wrong Trojan WSS config format for Quantumult X (e953288)

2.18.1 (2022-04-15)

Bug Fixes

  • 流量查询工作不正常 (95ea0dc)

2.18.0 (2022-04-13)

Features

  • support assign an user agent string to providers (22ceb5d)

2.17.0 (2022-04-10)

Features

2.16.0 (2022-03-19)

Features

  • format wsHeaders keys (5c745fe)
  • support trojan websocket for loon (63e66d6)
  • support trojan WebSocket for quantumultx generating (5ded7b0)

2.15.0 (2022-03-18)

Features

  • add support for trojan web-socket config (394f65d)
  • add tls-verification to quantumult x vmess config (b24f071)

2.14.2 (2022-01-13)

Bug Fixes

  • encrypt-method=auto in Surge config (4693bd4)

2.14.1 (2022-01-12)

Features

  • re-enable Vmess AEAD on Surge (602d999)

2.14.0 (2022-01-11)

Features

  • add support for QuantumultX vmess AEAD config (1e02c49)

2.13.1 (2022-01-11)

Bug Fixes

  • back compatibility with Gateway (39b266e)

2.13.0 (2022-01-10)

Features

  • support surge vmess aead config (628b999)

2.12.0 (2022-01-09)

Features

  • support new clash config format for vmess (a3502bb)

2.11.0 (2022-01-01)

Features

  • parse shadowsocks in V2rayN subscription (e26fe15), closes #167
  • support trojan subscription (e241f4b)
  • support trojan subscription (75a90c4)

2.10.3 (2021-11-24)

2.10.2 (2021-10-24)

Bug Fixes

2.10.1 (2021-08-27)

Bug Fixes

2.10.0 (2021-08-25)

Bug Fixes

2.9.1 (2021-07-22)

Features

2.9.0 (2021-06-20)

Bug Fixes

Features

2.8.0 (2021-03-10)

Features

2.7.7 (2021-02-16)

2.7.6 (2021-01-01)

Bug Fixes

Features

2.7.5 (2020-12-11)

Features

  • 在生成 surge 的 ssr 订阅时强制校验 startPort (879080b)
  • 调整了 dns 解析的参数 (b7aa7eb)

2.7.4 (2020-12-10)

Bug Fixes

  • simple-obfs in ss subscribe should be treated as obfs-local (368c422)

2.7.3 (2020-11-10)

Features

  • support gateway new config (2e34d4b)

2.7.2 (2020-11-09)

Features

  • will not remove dist folder before generating (bb495ef)

2.7.1 (2020-11-06)

Bug Fixes

2.7.0 (2020-10-31)

Bug Fixes

Features

  • load surgio remote snippets (591cae2)

2.6.1 (2020-10-19)

Bug Fixes

  • dns test may failed on github (36fe961)
  • help option conflict with common-bin and yargs (1f401c0)

2.6.0 (2020-10-14)

Features

2.5.2 (2020-09-30)

Bug Fixes

  • 覆盖内部国旗映射时顺序没有重置 (0443bed)

2.5.1 (2020-09-27)

Bug Fixes

  • Russia may be interpreted as the USA (70db06d)

2.5.0 (2020-09-12)

Features

  • 支持去掉节点名称中的国旗 emoji (7b363d6)
  • 支持用户自定义 emoji 替换规则 (bce9ec5)

2.4.0 (2020-09-06)

Bug Fixes

Features

  • 允许通过命令行开启远程片段缓存 (128c9c5)
  • 支持自定义订阅请求转发的地址 (3f4fb3b)
  • 清除缓存命令 (4daaf1c)

2.3.6 (2020-08-31)

Bug Fixes

  • clash vmess 配置中输出 udp (d77f75c)

2.3.5 (2020-08-28)

Bug Fixes

2.3.4 (2020-08-16)

Features

  • 支持指定阿里云 OSS endpoint (1b796a5)

2.3.3 (2020-08-16)

Features

2.3.2 (2020-08-08)

Bug Fixes

  • Taiwan should be enabled for youtube premium filter (aa8ef4d)

Features

2.3.1 (2020-08-02)

Bug Fixes

  • 请求 clash 订阅时增加 ua header (54b29ae)

2.3.0 (2020-08-02)

Features

  • discard domains not resolvable (71a26a8)
  • ignore hostnames without corresponding ip (ebe5a7d)
  • using global dns on github actions and gitlab ci (042bbd1)

2.2.1 (2020-07-26)

Features

2.2.0 (2020-07-26)

Bug Fixes

  • underlying-proxy in custom format (938a550)

Features

  • add process-name rule for clash config (f518957)
  • add support surge underlying-proxy (1a094fb)
  • add type checking (ebafa30)

2.1.0 (2020-07-24)

Bug Fixes

  • crash when unwanted input (3edfa1e)

Features

  • support clash ssr native format (47f6a1e)
  • template function snippet (602685e)

2.0.0 (2020-07-12)

chore

Features

  • add support for ssd subscription (46e5d2d)
  • filter 行为修改 (9e0ddf7)
  • surgeconfig 默认值修改 (7b004bd)
  • udp-relay 改为强制布尔值 (86a5dfc)
  • Vmess 配置的 udp 改为 udp-relay (9460bc8)
  • 修改默认网络请求超时时间和重试次数 (7753d20)
  • 内置协议过滤器更名 (6aa6531)

BREAKING CHANGES

  • 原有命名已不做支持
  • useProviders, discardProviders 默认为严格模式
  • 原有的字符串型 udp-relay 已不兼容
  • Custom Provider 如果有使用到 Vmess,需要将 udp 改为 udp-relay,于其他类型节点统一
  • Builtin gateway has been removed, please use @surgio/gateway
  • Drop Node v10 support

1.24.4 (2020-07-03)

Bug Fixes

  • utils:v2ray: lack of transport settings (4491e60), closes #91
  • 配置 boolean 进行严格类型检查 (1a42306)

Features

1.24.3 (2020-06-21)

Bug Fixes

  • raw tcp over tls doesn't support tls13 in quantumultx format (cb21447)

1.24.2 (2020-06-19)

Bug Fixes

  • quantumultx should respect vmessConfig.udp (73381f9)
  • v2rayn provider tls13 not effective (50d60fb)

1.24.1 (2020-06-19)

1.24.0 (2020-06-13)

Bug Fixes

  • surge script reformat incorrectly (1f14408)

Features

  • add scheme check for v2rayn_subscribe (37c820b)
  • add tls13 config support to clash provider (481c7e7)
  • add tls13 config support to v2rayn_subscribe provider (233876e)
  • new protocol filters (212892d)

1.23.4 (2020-05-29)

Features

  • 加入改变重试次数的环境变量 (34ecfec)

1.23.3 (2020-05-17)

Features

  • change emoji rules (a4f41e9)
  • convert surge's new script format to quantumult x config (9ddb8f5)

1.23.2 (2020-05-06)

Bug Fixes

  • 修复 now.sh 下运行的依赖问题 (e413c60)

1.23.1 (2020-05-05)

Bug Fixes

  • eslint 修复文件未生效 (0e41b77)

1.23.0 (2020-05-05)

Bug Fixes

  • command:new: 生成 custom 类型 provider 报错 (be83268)
  • SSR URI 中包含 ipv6 地址解析错误 (1cd8436)
  • 服务器地址为 ipv6 时触发解析 (aa79c93)

Features

  • 支持解析 ipv6 地址 (b96489b)
  • 支持转换 surge ip-cidr6 至 quantumult x ip6-cidr (c823677)
  • 生成规则前进行 eslint 检查 (a769458)

1.22.0 (2020-05-04)

Bug Fixes

  • 在配置了 vmess 的 host 的情况下,为 surge 增加 sni 参数 (55cf85a)

Features

  • useProviders 和 discardProviders 增加严格模式 (bcd9fe9)
  • 优化未设置 binPath 的错误文案 (f6d3e89)
  • 支持从 Clash 订阅中读取 v2ray-plugin mux 信息 (f06f279)
  • 更新内置默认 UA (640ee2c)
  • 错误信息补充 (ef4946c)

1.21.1 (2020-05-01)

Bug Fixes

  • doctor command throws error (1635aaa)

1.21.0 (2020-04-30)

Features

  • 增加 doctor 命令方便检查环境信息 (14e9141)

1.20.2 (2020-04-24)

Bug Fixes

  • should not enable proxy on now.sh and heroku (3713850)
  • 无法识别外部资源的 EOL (bee0c12)

Features

  • turn on keepalive for requesting remote resources (5cdfeaf)

1.20.1 (2020-04-17)

1.20.0 (2020-04-13)

Bug Fixes

  • artifact 配置应该允许其他 key (efdde7d)

Features

  • 允许直接定义 Artifact 的下载地址 (bade49b)

1.19.0 (2020-04-11)

Features

  • add template method getUrl (d02df8f)
  • 支持定义全局 customParams (a8a092f)

1.18.4 (2020-04-08)

Bug Fixes

  • change types definition (ea9aaa3)

1.18.3 (2020-04-07)

Features

  • v2rayn_subscribe 支持强制覆盖 skipCertVerifyudpRelay (3a326d4)
  • add support for quantumultx tls1.3 (007db56)
  • 支持从 Surge 配置中解析转换 Quantumult X 的以下几种脚本 (066060d)

1.18.2 (2020-04-05)

Bug Fixes

  • sni is missing in surge trojan config (be0c340)

Features

  • 优化国家地区识别 (2d01be4)

1.18.1 (2020-03-26)

Features

  • Provider: v2rayn_subscribe add compatible mode (534e883)

1.18.0 (2020-03-25)

Features

  • add a relay service for subscriptions (4b789a8)
  • 更新模板生成工具 (fd8eed0)

1.17.1 (2020-03-23)

Bug Fixes

  • should now be able to get trojan config from clash subscriptions (dfb9d5e)
  • unable to parse trojan config in Clash subscription (14a3cb7)

1.17.0 (2020-03-22)

Bug Fixes

  • optimize error handling for Clash subscription (5cdd916)

Features

  • add a new command option --skip-fail for surgio generate (3c5023e)
  • add support for generating Trojan config for QuantumultX and Clash. (f0c7936)
  • add support for snell v2 (3afe5bd)

1.16.0 (2020-03-17)

Features

1.15.0 (2020-03-15)

Bug Fixes

Features

  • render 支持额外参数拓展 (3638eb9)

1.14.0 (2020-03-12)

Features

  • 支持为 mellow 输出 ss uri (c26cdb5)
  • 支持加入自定义 trojan 节点 (40b6714)
  • 支持检查模板方法中无效的 filter (9c2690b)

1.13.5 (2020-03-11)

Bug Fixes

  • surge ws-headers 值应用引号包裹 (6be6ef4)

1.13.4 (2020-03-08)

Bug Fixes

  • 流量 header 解析容错不足 (f00c539)

Features

  • 优化 check 命令体验 (b6e6094)

1.13.3 (2020-03-05)

Bug Fixes

  • quantumultx 模板处理器不再使用 /qx-script API 地址 (e39366c)

1.13.2 (2020-03-04)

Features

  • 支持从 Clash 订阅中读取 vmess 自定义 header (2ce351a)

1.13.1 (2020-02-28)

Bug Fixes

  • chinaBackFilter 无法使用 (26f03a2)

1.13.0 (2020-02-28)

Bug Fixes

  • 避免有的 Provider 不支持获取流量的方法 (3f6a6ee)

Features

  • Artifact 初始化后返回实例 (7ca04cf)
  • 为常用 Provider 类型增加订阅流量信息接口 (ed68cab)
  • 修改 Artifact 初始化接口 (4c3ac84)
  • 增加查询流量命令 (a94eeab)
  • 支持从 SSR 订阅中读取剩余流量 (fb2e886)
  • 支持在 Artifact 初始化时传入 Environment (75ae51f)

1.12.3 (2020-02-24)

Bug Fixes

  • external provider 的 addresses 参数只应该写 IP (f7006d6)
  • 某些情况下 v2ray 配置 port 为字符串 (b8af4d7), closes #59

Features

  • 新增回国节点 Filter chinaBackFilter (4f86829), closes #57

1.12.2 (2020-02-19)

Features

  • allow new unknown keys to gateway (ec0d3a9)

1.12.1 (2020-02-15)

Bug Fixes

  • 修复某些情况下代理环境变量不生效的问题 (7deb7d9)

1.12.0 (2020-02-11)

Bug Fixes

  • package.json & yarn.lock to reduce vulnerabilities (aea1843)

Features

  • Artifact 增加 categories 字段 (967fc7c)
  • Clash 规则处理优化 (bec9abe)

1.11.3 (2020-01-23)

Bug Fixes

  • quanx 规则处理优化 (036696a)

1.11.2 (2020-01-05)

Features

1.11.1 (2020-01-02)

Bug Fixes

  • 代理环境变量失效 (469b031)

1.11.0 (2020-01-02)

Features

  • useProviders, discardProviders (e11cb75), closes #51
  • 支持 Clash 的 Provider 片段 (5c42328)
  • 支持新的 Clash 规则配置方法 (48b90e1)

1.10.1 (2019-12-29)

Features

  • remove speed test command (47dfaa0)

1.10.0 (2019-12-29)

Bug Fixes

  • broken test (25fcde6)
  • LRU 缓存可能会被污染 (929f7bd)
  • Provider 组合后生成结果排序错乱 (d051b28)
  • 在 external 中开启 tfo 和 mptcp 是没有意义的 (8b0e6f0)

Features

  • v2ray-plugin 强制输出 mux: false (ba635c5)
  • 域名解析失败后跳过 (66f5af8)
  • 支持从 Clash 订阅中读取 skipCertVerify (c856731)
  • 支持配置 Provider 缓存 (16dc8fc)

1.9.0 (2019-12-25)

Bug Fixes

Features

  • add support for v2ray-plugin (118a94a)

1.8.5 (2019-12-11)

Features

1.8.4 (2019-12-10)

Bug Fixes

  • Ruleset 中 IP-CIDR6 的处理不当 (edee2bd)

1.8.3 (2019-12-04)

Bug Fixes

  • broken test (794be85)
  • 在某些情况下 Clash 的策略组中没输出 url 和 interval (3884014)

1.8.2 (2019-11-27)

Bug Fixes

1.8.1 (2019-11-27)

Bug Fixes

  • remote-snippet cache throw error in non-now deployment (a848988)

1.8.0 (2019-11-27)

Bug Fixes

  • gateway: content-type validation (9b73c03)

Features

  • gateway: 支持批量转换 rewrite-remote 中的 URL (f589a83)

1.7.1 (2019-11-26)

Features

  • utils: 重写了 Ruleset 的解析,支持所有 Ruleset 规则了 (1717964)

1.7.1-2 (2019-11-26)

Features

  • always add domain to surge external provider's args (98ebd89)

1.7.1-1 (2019-11-26)

Features

  • gateway: 延长缓存时间至 12 个小时并增加环境变量配置 (c7bdc5e)
  • utils: 优化远程片段缓存读取 (e8133f5)

1.7.1-0 (2019-11-24)

Features

  • 在 Now 平台上开启文件缓存,加快启动速度 (4456d2e)
  • 支持转换 Surge 的 Script 部分规则到 Quantumult X 格式 (82633d2)

1.7.0 (2019-11-23)

Bug Fixes

  • destDir 兼容 windows 地址 (e9b60e8)

Features

  • 支持给 qx 远程 script 添加 device id (e9b9790)

1.6.2 (2019-11-21)

Bug Fixes

  • 规则过滤会吃掉内容的问题 (699b875)

1.6.1 (2019-11-20)

Bug Fixes

  • getDownloadUrl 某些情况下无法正确输出 access_token (ce5cb2d)
  • urlBase 错误 (d1e87dd)

1.6.0 (2019-11-20)

Bug Fixes

Features

  • 优化 dns 解析 (345790e)
  • 在模板中输出 proxyTestUrl (b95cd8b)
  • 网关 get-artifact 支持直接输出 surge 和 qx 的节点列表 (97f78c4)

1.5.0 (2019-11-18)

Bug Fixes

  • 某些情况下 clash 配置没有输出 interval 和 url (1978429)
  • 空文件不会返回 404 (271c398)

Features

  • nodeFilter 也支持过滤排序 (6dd7f66)
  • 增加规则过滤关键词 (128f648)
  • 支持在输出 external 时解析域名 (1f78f44)
  • 支持排序类型的过滤器 (db69447)

1.4.3 (2019-11-15)

Bug Fixes

  • 某些情况下 Provider 中的 customFilters 未生效 (48f1b32)

1.4.2 (2019-11-14)

Features

  • Provider 处理改为并发 (8bf2738)
  • 优化远程片段获取的并发请求 (7552fa0)

1.4.1 (2019-11-13)

Bug Fixes

1.4.0 (2019-11-13)

Bug Fixes

  • Close #35 (491b655)
  • 由于 mellow 对 shadowsocks 支持有限,忽略该类型节点 (8ae0561)

Features

  • 可配置 Clash 的 proxy test url (89b0b92)
  • 增加 mellow 规则处理方法 (b646199)
  • 支持 Clash 的 'fallback-auto', 'load-balance' 策略 (18f106f), closes #34
  • 支持单独定义某个 artifact 的输出目录 (bef00c7)
  • 支持在 surgio.conf.js 中定义全局 customFilters (1701b85)
  • 支持导出 Mellow 节点 (9a72ca2)

1.3.5 (2019-11-08)

Bug Fixes

  • QuantumultX 的兼容性问题 (dfb5c2e)

1.3.4 (2019-11-07)

Bug Fixes

  • vmess method 为 auto 时 qx 会无法识别 (9adbe77)

Features

  • add snell support for clash output #33 (8c3df9e)

1.3.3 (2019-11-06)

Bug Fixes

  • 没有在 QuantumultX vmess 节点中添加 obfs-host (2d9ceb5)

Features

  • check command (2db635f)
  • 面板增加添加 Clash 的按钮 (b66e5f3)

1.3.2 (2019-11-05)

Features

  • youtubePremiumFilter 增加新加坡 (7b32873)
  • youtubePremiumFilter 增加香港 (821bf3c)

1.3.1 (2019-11-03)

Bug Fixes

  • 没有在 getQuantumultXNodes 中正确输出支持 udp 的 ssr 节点 (7815b42)

1.3.0 (2019-11-03)

Bug Fixes

1.3.0-1 (2019-11-02)

Bug Fixes

1.3.0-0 (2019-11-02)

Features

  • udp-relay 的值改为布尔类型,兼容字符串类型 (f3eaaed)
  • 仅支持读取 ws 和 tcp 类型的 vmess 节点 (de5bb35)
  • 新增 getQuantumultXNodes (d284d04)
  • 节点增加 tfo 参数 (a820b89)

1.2.1 (2019-11-01)

Bug Fixes

  • 遗漏了一种 clash 的 ss 混淆格式 (4791328)

1.2.0 (2019-11-01)

Bug Fixes

  • protoparam 和 obfsparam 中不能有空格 (6cdb978)
  • 加国旗正确识别中转节点了 (3751dbf)

Features

  • proxyGroupModifier 支持 filter 和 proxies 组合 (ba0f0c6)
  • 不合法 yaml 文件识别 (1654534)
  • 允许用户覆盖 clash 订阅的 udp 转发支持 (bb58c50)
  • 兼容v2rayn 订阅格式 (8ba4625)
  • 增加 netflixFilter 规则 (5cc52f1)
  • 支持读取 Clash 订阅 (45ef59f)

1.1.1 (2019-10-29)

Features

  • better error message (26fcaa3)
  • gateway request log (891168b)
  • quick editing from list-artifact (2d1d605)
  • 新增过滤器 discardKeywords (b9f0ecb)

1.1.0 (2019-10-28)

Features

  • add koa server for gateway (bc4e9fc)
  • gateway authentication (48d5371)

1.0.3 (2019-10-28)

Bug Fixes

  • add new validation schema (8cfcdb4)

Features

  • 优化 list-artifact 样式 (e03f807)

1.0.2 (2019-10-27)

Bug Fixes

  • user config got contaminated during execution in now.sh (5c64975)

1.0.1 (2019-10-27)

Bug Fixes

  • better hot start for now.sh (8781c56)

Features

  • list-artifact 支持展示 combineProviders (1526c6b)

1.0.0 (2019-10-27)

Bug Fixes

Features

  • getNodeNames 和 getClashNodeNames 不再过滤 nodeType (6571511)
  • schema validation for config (9f11254)
  • schema validation for provider (d738e0f)
  • 合并 Provider 接口定义 (f197e19)

0.13.2 (2019-10-25)

Bug Fixes

  • package.json to reduce vulnerabilities (76165a4)

Features

  • add customParams for templates (8658aa2)
  • add timeout env (7835e2c)
  • getQuantumultNodes 增加 filter 支持 (9b1d280)

0.13.1 (2019-10-20)

Features

0.13.0 (2019-10-19)

Features

  • gateway 支持查看所有 artifact (7cd7dc3)

0.12.6 (2019-10-16)

Features

0.12.5 (2019-10-15)

Bug Fixes

0.12.4 (2019-10-15)

Bug Fixes

0.12.3 (2019-10-15)

Bug Fixes

  • config dir write permission problem (90b6d71)

0.12.2 (2019-10-15)

0.12.1 (2019-10-15)

Features

  • add cache to remote snippet (265c42c)
  • add support to now.sh (9e23a25)

0.12.0 (2019-10-14)

Features

  • support aliyun serverless service (0108097)

0.11.6 (2019-10-13)

Bug Fixes

  • 如果节点名中已经存在 emoji 则不处理 (7fb1140)

0.11.5 (2019-10-10)

Bug Fixes

  • clash 规则中出现了 URL-REGEX (057269d)

Features

  • 增加了 Flag 识别字段 (86c1489)
  • 增加错误文案方便调试 (ff28793)

0.11.4 (2019-10-10)

Bug Fixes

0.11.3 (2019-10-09)

Bug Fixes

  • clash 规则不输出 ssr 节点名 (7360c7b)
  • 不手动指定不使用代理 (d89198a)
  • 文件名在 win 上取值错误 (310518b)

0.11.2 (2019-10-09)

Bug Fixes

  • clash 中 raw tcp 的节点没有 network 字段 (56244c1)

0.11.1 (2019-10-08)

Features

  • add support for clashr (43c4862)
  • 远程片段支持读取原始内容 (a1f9e0f)

0.11.0 (2019-10-08)

Bug Fixes

  • cannot assign value to read only object (5bcbecd)

Features

0.10.0 (2019-10-04)

Bug Fixes

  • .snyk & package.json to reduce vulnerabilities (33547e4)
  • add quote to user-agent (e60ee8a)

Features

  • native support for surge vmess (02c063c)

0.9.0 (2019-09-30)

Bug Fixes

  • v2ray json 应该区分本地端口 (3a7cfe8)

Features

0.8.0 (2019-09-26)

Features

0.7.3 (2019-09-16)

0.7.2 (2019-09-05)

Features

0.7.1 (2019-09-04)

Features

  • 优化模板错误提示 (a6cf815)

0.7.0 (2019-09-02)

Bug Fixes

Features

0.6.0 (2019-08-30)

Features

0.5.1 (2019-08-29)

0.5.0 (2019-08-27)

Bug Fixes

Features

  • add shadowsocks subscribe support (e993d1b)
  • add v2rayn subscribe support (067ad43)
  • clash 输出 vmess (05cc557)
  • 支持导出 Quantumult 的 HTTPS, Shadowsocksr 节点 (dd728e0)
  • 生成 quan 订阅 scheme (afe0a21)
  • 生成 v2rayn scheme (981e6d7)

0.4.0 (2019-08-25)

Features

  • remote rule set (a820cdb), closes #5
  • 初始化配置时使用 defaultsDeep (ab8f695)

0.3.1 (2019-08-25)

Bug Fixes

Features

0.3.0 (2019-08-25)

Bug Fixes

  • udp_over_tcp should be false (302d445)

Features

  • 在模板中暴露 nodeList 变量 (c2eeb29)
  • 属性判空 (13eb455)
  • 支持从 gui-config.json 中解析混淆配置 (bc135a7)

0.2.0 (2019-08-21)