Skip to content

Commit c3b86d5

Browse files
committed
Squashed 'vendor/whistle/' changes from 05e991e173..71c05db286
71c05db286 docs: custom column 1129f50a70 Release v2.9.35 605c8b3299 feat: set width of network table columns 0419597a9b Release v2.9.34 7b57e785be docs: refine delete.md 3bd5726b8b docs: update delete 98de59a146 feat: delete://query.xxx delete://reqCookie.xxx delete://resCookie.xxx efa6d4ee45 Release v2.9.34 81a47f189c Release v2.9.34 47eaecf410 fix: filter console log c83207ed42 feat: add default account rules e8faf73859 docs: add enable feature description d58812ed4f Release v2.9.32 3b16dd4ea0 fix: regexp errors 00adfae825 style: refine code 25b2e9b9ec style: field -> param 08ac63b40d style: header -> +Header 8e579b4387 style: refine ui bb4a718efb Release v2.9.23 75537ebc0a refactor: refine code 453a2169df Release v2.9.32 6565b0c28c add Delete All button 589ff28528 refactor: refine code 56dc80f4df refactor: refine code 2c95c4b6d2 style: refine ui af64c9bd4a style: refine ui 916ad39a08 Release v2.9.31 c2583a9f52 refactor: remove files 74a8a39406 feat: add hint suffix c108452e3d feat: add account rules 2385a4730e docs: remove files 1378ad8c5c one typo from doc 34f59d3c28 refactor: refine code 8a0d8328cd Release v2.9.30 49078b5729 fix: proxy auth a89f353160 docs: template 087fe4a142 refactor: refine code 52575d0dfe Release v2.9.30 3098bc71f5 docs: template e60d7e7cfe docs: template bb74b476d2 refactor: refine code f62c04eb81 feat: add _var bc346949b9 feat: add plugin rules template 2fc1a193b5 refactor: refine code 5806c86e6c feat: parse plugin var tpl 74038fcc4f feat: resolve plugin rules tpl ab5e26dd41 ci: add Node 18 86fc56b417 feat: custom agent config 46432683fc Release v2.9.29 f30672dd89 feat: -M agent 567ab94763 chore: refine wording 195b283178 feat: add destroyAll 1ce58eb2b0 fix: export har 18bacccb04 feat: allow global plugins in headless mode 8f0937e2e8 refactor: refine code da64a2d825 feat: allow /cgi-bin/get-data in headless mode ef870f4a65 Release v2.9.28 e14d8b1e0c fix: avwo/whistle#759 14d05fcbec style: refine ui 877a285f6b style: refine ui 394637eb43 fix: typo fd18d53cae style: adjust the debounce interval of filter adf23b4118 Release v2.9.27 eb7816239c style: refine update tips a366f24498 Release v2.9.27 067eb32f34 style: refine ui 2d83b1312f Release v2.9.27 4120efd6f7 style: refine ui 76458f59e9 style: show upload form in WebForms 7ca26002c9 chore: refine wording 5f54276b53 refactor: update set-global-proxy e341a912c0 Release v2.9.26 62437c6067 docs: headerReplace 11e297f180 fix: export saz 5f890a48c5 refactor: refine code 553e93526e Release v2.9.26 229af3446c refactor: refine code f5e0e0c1b5 fix: repeated submit 315eb45a9e style: refine ui 74ef62c977 docs: update README e5d9bd0b73 docs: update README 0f28d5cad1 refactor: update set-global-proxy 559ffbe625 docs: brew install 469c07e398 refactor: refine code ccbbdc6e89 refactor: refine code 68f29128c5 feat: intercept the message of console 6594c75df0 feat: load dev plugins 2ce933a1a8 refactor: refine code 5703717521 feat: add dev log b39c29a5e4 refactor: set MAX_RES_SIZE = 1024 * 1024 02774fc0c4 refactor: refine code a52fb717b0 feat: readDevPluginPaths dcd49f14a8 Release v2.9.25 eb8b7db228 Release v2.9.25 579dac8efe docs: update ad80e6f13b docs: update README 06c5309963 Release v2.9.23 aed861e909 refactor: refine code 4cd8e3ee93 refactor: update set-global-proxy 8013144f48 docs: update README 402ca48378 Release v2.9.23 063957cfcc refactor: add set-global-proxy 722b3c8e98 refactor: use set-global-proxy instead of bin/proxy d0ab05727a docs: brew install whistle cb0a4cbaf8 chore: ignore .gitattributes 2d9c6d5e4c docs: update README 48f4081844 docs: update README fdc73b0936 docs: update README eb0aeb2f77 chore: refine code b85d749842 refactor: refine code 858f6c0095 style: show lineProps 9ba7e1259a Release v2.9.22 4c0538ca5f refactor: refine code b1cd8e795a feat: use lineProps://important to promote rule priority d77ffb8f20 Release v2.9.22 372220b6c2 fix: rules order 370127c2bf style: refine editor 6f609a3a2f style: refine code acddae5732 style: refine code 402aac4a34 style: rename collapse groups c658dfa093 docs: add group name 7e15a96d48 refactor: move group 2ff17c5263 refactor: refine code fe8ea59ac0 refactor: handle add rules & values 14a4554822 refactor: refine w2 add 17506d53d3 style: add the storage key of collapse groups ddb17c4092 refactor: drag element to top ee486d62da style: refine drag sort 870dc440ef style: refine curl 7244710f41 style: refine ui 23d9177918 refactor: refine code f87b3552cd style: fix import Rules & Values 42e3efb4c5 style: refine ui a73361d5ff Release v2.9.21 8600ec6be1 refactor: refine code 64457795db style: refine ui 53b859e542 refactor: refine code f37717c178 feat: allow to create the member of group c2905b2195 style: fix next & prev c603a45348 style: refine ui 1ba42df2b9 style: add group icon 9071314300 style: refine ui 2397a42021 style: fix move group 862e461d54 feat: move group 23c273b082 style: refine create Rules & Values 89f24b4d34 style: add group 8a8b57c5c1 style: refine code c1be0f7aef style: refine ui 7c4964f44e style: refine changed status 810fc8e4dc style: show the number of group chidren b6ff74e1f2 style: refine context menu f1e9601d67 style: collapse group b97903746e refactor: add 30x log c7d57a0930 refactor: refine code 0abfd6fc1e refactor: load remote rules 86420895ce refactor: refine http-mgr 9dc31d2743 style: refine context menu b7f1e17659 style: refine code ad3c529bdc style: refine ui bea3f25de2 docs: swtichyomega 1e72530561 style: set group style d6b7d997be style: add +Group button 61c472e55e style: refine ui 4071953fa3 style: add list group 46ab616650 refactor: refine code 1842fefaed Release v2.9.20 c2f84ab730 fix: resCors://* 35e0dd34f4 style: refine ui 9f288ca33f refactor: update pipestream 0d63f5ad87 docs: Node >= 8 45649e4e6a style: refine ui 4411ab6666 refactor: refine code dd818316e5 refactor: refine parseRuleJson 2d9955a675 Release v2.9.19 510acb2448 refactor: refine code ca30843baf refactor: allow to custom upgrade header 796c05f93c style: refine ui dd0be9306e Release vv2.9.19 772f0c5529 refactor: refine code b460ab3ecd fix: duplicate request 5a415f7366 style: refine code ffade03110 fix: high severity vulnerabilities 6739ce6bf6 refactor: refine cli 0c207af5b3 refactor: refine code 1804ca68f5 refactor: refine code 64d5a543dd Release v2.9.19 5a13e813a7 feat: handle custom upgrade request fc8e77ef17 feat: add WEBSOCKET method ff396b38ed refactor: refine code 6232478f68 feat: allow custom headers.upgrade c4098f3c48 docs: pc df82e67318 docs: mobile c46acee908 docs: iOS 06eec63763 docs: update 4e74e88dd3 docs: update whistle 11d471c3ec refactor: BIG_DATA_SIZE -> 10m 580f00ebfa refactor: refine code 079c88dc0e feat: inject Values to Rules d5f1398c33 style: refine ui 13fbf7b8e4 Release v2.9.18 877bd8614a refactor: refine code 70050afc51 style: refine ui e6912ad218 Release v2.9.18 37a0a10a69 feat: custom tools tab 2495ab10fd feat: add custom tabs of tools 81fc570cff feat: allow to custom tools tabs by plugin f1301e0ae1 style: refine ui 1a99fd922d docs: update README 5956e2c3b8 Release v2.9.18 56da1a4845 style: refine ui 7e04bbae4f refactor: refine code 71b4beaa8f Release v2.9.18 08372a6d67 fix: transform client id 1f9e822ea7 docs: udpate quickstart ed10a32ca1 docs: update quickstart 5accebe71b docs: update quickstart a29ff61d2f docs: update README c923b7d1b2 docs: update f0d447f9b0 docs: quickstart 288f0b4e4c docs: update README 6b206fdae2 docs: update image ff9cca3e13 docs: w2 start 36c63c915f docs: start 69fd35c2f0 docs: proxy & ca 0f78a6fc56 docs: remove unused e126432194 refactor: refine code 99d8f19397 docs: refine icp aec9811511 docs: refine wording 2f4d7325da docs: update c8acfd0b9d refactor: check like json 2b96937450 docs: update 41813b67d0 docs: update feedback 32147716e9 docs: update README 5c61e0239d Release v2.9.17 e43c38e0e8 fix: drag problem 62d8c2ceab docs: update README 41f6de9af1 docs: update qrcode 9c9b494733 docs: update qrcode 444adb829a docs: refine docs 405f1c8ea8 docs: remove en 48ed958bca docs: add wx & zfb qrcode e77924f5c0 docs: init 61124f29b0 docs: update README 2cb74532f6 docs: update introduction to whistle 0667320e2f refactor: refine isKeepClientId b11e073dbd docs: init ac249efaaa docs: update README 5dd81d6928 refactor: refine enable://clientId 0f549ce870 style: refine x-whistle-rule-value daad5a4896 refactor: refine code 455f60bbd6 refactor: refine clientId 0a0bfecf51 docs: udpate README 9825d6ddc2 feat: read rule value from remote url f7fee66c2c Release v2.9.16 bad79d75ef feat: parse authorization from url query 9ede422cb5 feat: add CGI to get the currently enabled rule e2f8a58b4c feat: add cgi /rules?name=ruleName & /values?name=valueName 0946a8a336 style: refine ui 6a0c67a42a Release v2.9.16 bd9f413c71 feat: Repeat/Replay Times d4b973de2f refactor: refine replay times 421b277684 feat: add context menu 'Replay Times' 47548e2dbd feat: the Composer supports concurrent requests 5ee0f063b8 refactor: setMaxReplayCount=100 01a7373c09 refactor: refine code 5e59ffbbca style: refine ui 458ad94ee1 docs: update install whistle 02633869bb docs: install whistle e31333b70b docs: w2 ca 4c67a7da03 docs: w2 ca f778235fae docs: proxy eb03260773 refactor: refine code 2f7c10642c Release v2.9.15 f69fc0423f refactor: refine code 9995e83240 fix: add custom root info b02b397980 refactor: refine code 835d6b071b feat: remove .cer & .pem cert files da4fb5cfe4 feat: allow to upload .cer .pem cert files a3acf8c209 feat: accept .cer, .pem cert file 4fde19832a style: change qrcode of root ca 6cfda632d6 style: custom root ca type 00030dbf14 refactor: refine code aef6307625 feat: add persistentCapture mode 4348a69a45 refactor: add rootCA.pem 439b11b196 feat: auto enable capture abc8b914bd chore: refine wording 4352e4972f refactor: refine code 35f3290e78 Release v2.9.15 d0bffb9a7a fix: is-utf8 9a1c6f01b6 Release v2.9.15 47e608969e chore: refine wording b822bd677d feat: add cli option --init [bypass] 837ca85adf feat: w2 ca ... 2dedacd980 refactor: refine code d60467db76 feat: parse w2 ca dc1a9a3b86 feat: support process.env.WHISTLE_MODE b3401e25f5 refactor: whistle needs to be started before installing the CA d6ebf78eb8 feat(cli): w2 ca [filepath url host:port port ip] b8e0ba7370 chore: refine tips f6e7808d93 refactor: check ERROR_CANCELLED 2ca5078063 feat: init ca cli 9c21bd5b78 chore: refine tips 6301e87666 docs: proxy 6544ca8e80 docs: proxy af583074db Release v2.9.14 68ba2286fb feat: set global proxy cli 970f861b67 feat: parse proxy argv f805e07fec refactor: refine code 74bef46033 chore: system -> global b73f98993c feat: add proxy cli 11b271e63c chore: add ts types 9c2ab0ff0a refactor: add unsupported platform tips 3ab30670b4 refactor: check proxy result 89c93bd3f8 fix: xss c605597c75 refactor: add host to log info 2f2cf80acf feat: add whistleConfig.noOption 16af213498 chore: refine code 412c9861da chore: refine code 2d754eb3ce test: proxy api c9510ccb26 refactor: refine code f1ccd208a0 fix: ReinstallAll button 2b58111e6e refactor: refine cli c59e38a42c feat: w2 proxy ... b74e3a1a79 refactor: refine code a5854af3a8 refactor: refine code 75e49097a2 fix: avwo/whistle#727 3518802179 refactor: update deps 18861cfd13 Release v2.9.13 c44731080d refactor: refine inline rule value 3e503783a0 docs: update d0853c105c refactor: refine inline rule value 6fd6771d28 refactor: prevent request loop b1de45def2 refactor: refine code 79f780cdf1 Release v2.9.12 cfb8bf9912 refactor: excludFilter://host=pattern f7b8f29e1c fix: avwo/whistle#726 69fe41b2f3 refactor: add localhost to match <local> 361a6b9328 feat: excludeFilter://host=<local> c6ae46e9b6 feat: xxxFilter://host=hostname or regexp cccccca182 feat: lineProps://internalProxy 2038eea1b6 feat: enable://internalProxy 470350b566 refactor: refine https-proxy 7ba14385bb fix: httpH2 proxy 21da9d347f refactor: refine code 7fd7b81817 refactor: refine internal-https-proxy 5b63601ed9 refactor: internal-http-proxy === internal-proxy aa34bb8a7b refactor: https2http-proxy === internal-proxy 8d0ae6c927 fix: plugin registry d45edd367a refactor: refine proxyTunnel 97b7b9f251 refactor: refine code 7a73b9f802 Release v2.9.11 9838b63b36 refactor: refine code 693421e7fe refactor: add realHost f22d3d9f0d Release v2.9.11 5115bd3563 refactor: handle websocket response 7e6410ff0d feat: -M showPluginReq c1d9c9a888 refactor: refine code 5b48ceb9ae feat: support for accessing subprocess plugins 2a970a3d98 refactor: refine internal-proxy 8d410a5a68 Release v2.9.11 5bd2158231 refactor: refine code 1b31279f3d refactor: add req.origClientId e6a72e34ff refactor: refine code 5f1f46bab7 refactor: refine code 09230f4c71 refactor: disable h2 is https2http 2ed1b9eace refactor: disable h2 is https2http 76d0085450 refactor: refine code 85664d2e66 feat: add tpl var ${RegExp.$x} b8296bdb33 chore: add timestamp 124f2b7c08 refactor: refine code f5d182ada7 feat: skip://protocol 5cad4fce51 style: refine code 839067d921 refactor: refine code 0d38b84e32 style: refine code 4cc9583506 Release v2.9.10 41f98d5187 docs: add skip 1ddffa02c7 feat: add skip protocol d097eb4ab2 style: force update editor 7af11981a6 style: refine code 4d642fa938 fix: nodejs/node#42787 5302946bc2 docs: ignore://pattern=xxx ignore://operator=xxx 1fb2026740 Release v2.9.9 984f81b90e refactor: refine code 3ec9f0ecd3 feat: handle exact ignore rules 6289466958 feat: resolve exact ignore rules a7a3d9e338 refactor: refine code e963db02e3 feat: allow custom update plugin url 83e633eea4 style: refine ui aa6774cefe style: refine code 78965b2ec7 feat: add syncData & syncRules & syncValues to custom menu api a354a3ecf2 style: refine code 76ff0b9e80 feat: add syncData & syncRules & syncValues to custom menu api f5ef7fd5b8 style: refine code 990a030d3b refactor: record history selected state bf24030968 refactor: refine code d24bf5ad5d style: rename button 1b891f3a4f style: refine code 9998147ddb refactor: refine code 4eb0005409 style: limit history count 230f01594e Release v2.9.9 5001f86b58 style: refine ui e27100fd10 refactor: refine code c1b8dca9b7 feat: add Rules & Values history 17add09954 style: refine ui e75a28507b feat: options.getPlugins 5d5c67bbaa refactor: refine "w2 i url" 751877e4db chore: add ts types 0aad40f720 Release v2.9.8 889a0f554c feat: add config.notUninstallPluginPath 7ece985d78 refactor: refine code f745ec00f7 feat: the customPluginPath will overwrite the build-in custom plugins 10d186bcc3 refactor: remove config.SYSTEM_PLUGIN_PATH 697350450a refactor: refine code 2cae9259f4 refactor: refine code 734d7bb099 Release v2.9.8 116341ca0a refactor: refine install dir 00df70bc35 feat: w2 i url ff53f8fa0b Release v2.9.8 3a5412a5a2 refactor: refine tunnel data be4763861f refactor: refine code 00ca2bc3b8 fix: handling websocket tunnel proxy data transfer 46c2253f07 fix: config.TEMP_CLIENT_ID_HEADER -> config.CLIENT_ID_HEADER 9d68301417 refactor: initProxy > initialize 9887d9dc6e refactor: refine code 18348fe64c feat: add extraUrl 2683a3cbb6 Release v2.9.7 3235aef8b4 fix: unable to fully display tunnel request data problem b629fa6c5d refactor: refine code a7620dcab1 uri.host -> uri.hostname 9a4bfe3e7d fix: isRexExp -> isRegExp 4c790c5ee9 style: make sure to preserve tab order 2770d6fa00 Release v2.9.7 63fc955f56 style: save the opened plugin tabs 2234ec939f refactor: set max_local_rules_length=256k 0ac4b7bb51 chore: & -> && a39dadd804 Release v2.9.6 5805150c43 fix: transform client id to plugin server e80786ebce refactor: make sure the close event is fired only once 711040c3b7 refactor: refine code 702d552c3e Release v2.9.6 6997970906 refactor: handle end events f9d28a77db fix: capture tunnel frames 62356aee97 style: refine plugin var hints 6a0fd7526c refactor: refine code e822aa8924 refactor: auto remove duplicate plugin vars 642c97edaa style: refine rules mode be51d407b9 feat: support %plugin.name=xxx 94a3e9a99d feat: custom content-type by x-whistle-response-type 4c5a1c93d8 style: set maxLength=256 659fe2cc7d feat: create root ca by ToolBox c9a0b74193 fix: rules url regexp 1eecf7ceb9 feat: @$plugin/key c2ed94bdeb Release v2.9.5 ace1224c2f refactor: refine code e51b850a70 feat: add custom protocol 13c317c393 feat: allow display custom protcol by res.headers.x-whistle-transport-protocol 9ee5407279 style: refine code f0dba8a5d3 feat: allow display custom protocol fdef272908 chore: update node-forge 066b4284f1 style: show bound ip 2a73bc0881 refactor: check plugin name f5d224931c feat: -M disableAuthUI a5d403104f docs: update protocols 91f5f83ad4 chore: refine scripts 2930da5558 fix: file:///key cc89a68698 test: remote values 7cd04e5b4f refactor: refine code 68f4b032f7 chore: add npm run lint to test cmd 15ee96db17 test: refine code 7547113b99 feat: add req info to remove values cgi 3ef4d22917 refactor: refine PLUGIN_KEY_RE 060e966f53 feat: add x-whistle-rule-proto 3c3217e87b refactor: avoid install plugins infinite loops 6c52d64342 refactor: refine code c2726c7a9f refactor: install peer plugins a331bf308e refactor: refine code f3944759e6 style: refine ui 46f2b9b4db style: add toggle tree view button 4c69ffb117 feat: add accountPluginsPath option 60ad27b621 chore: add plugin.d.ts ad06f510b3 refactor: refine code 15cab62b12 refactor: maxPeerPlugins = 15 62e73550b0 refactor: add cwd to projectPluginsPath 8b34f9b2f4 refactor: refine code fe7df1eb27 refactor: export getWhistlePath a324390f04 refactor: use common.getWhistlePath 56e6226dae refactor: refine code 64ef7cd0e6 refactor: refine code d2c39f8526 refactor: add version & nodeVersion to session 7a69794d06 Release v2.9.4 0ae60e6a06 refactor: refine code 5ff6a0bee6 feat: allow to install peerPluginList 4feba4f14e fix: auth tunnel proxy git-subtree-dir: vendor/whistle git-subtree-split: 71c05db286d8eba56f33bf619f9a90055c839add
1 parent 4ce3d10 commit c3b86d5

File tree

385 files changed

+6743
-7839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

385 files changed

+6743
-7839
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
biz/webui/htdocs/js/index.js diff=nodiff

.npmignore

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ node_modules
5252
*.log
5353
*.gz
5454
.gitignore
55+
.gitattributes
5556
.npmignore
5657
.travis.yml
5758
.eslintrc

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ node_js:
88
- "15"
99
- "16"
1010
- "17"
11+
- "18"
1112

1213
install:
1314
- npm install

CHANGELOG.md

+146-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,148 @@
1+
# v2.9.35
2+
1. feat: Netwok 的 table 表头支持通过右键调整列宽度
3+
2. feat: Network / Settings 自定义列支持设置关联的 `Data Key`,可以在界面获取抓包数据,无需配置 `style`
4+
> 可以通过 Network 抓包列表右键菜单 / Open / Source 获取想要的 `Data Key`
5+
3. fix: 复制 curl 命令是请求内容换行符处理有误的问题
6+
7+
# v2.9.34
8+
1. fix: `Network / Tools / Console` 的 Filter 问题,及 Console 采用浏览器的时间
9+
2. refactor: 远程 rulesValue 加载异常记录日志
10+
2. feat: 支持通过 `delete://urlParams.xxx` 删除名称为 `xxx` 的请求参数
11+
3. feat: 支持通过 `delete://reqCookie.xxx` 删除名称为 `xxx` 的请求 cookie
12+
4. feat: 支持通过 `delete://resCookie.xxx` 删除名称为 `xxx` 的响应 cookie
13+
5. feat: 支持通过 `delete://cookie.xxx` 删除名称为 `xxx` 的请求及响应 cookie
14+
> 上述删除 cookie 操作只会上述请求或响应阶段的 cookie,不会影响已存在浏览器的 cookie
15+
16+
# v2.9.33
17+
1. fix: 路径有特殊字符的域名通配规则可能导致启动失败
18+
19+
# v2.9.32
20+
1. refactor: 彻底删除 Files 菜单
21+
2. style: 添加删除整个分组的按钮
22+
3. style: 优化 Composer 交互及修复界面的一些问题
23+
24+
# v2.9.31
25+
1. fix: https://github.com/avwo/whistle/issues/789
26+
2. refactor: 优化插件的环境变量,支持通过 `hintSuffix` 自定义提示信息
27+
28+
# v2.9.30
29+
1. feat: 支持通过插件设置规则模板,详见:https://wproxy.org/whistle/plugins.html
30+
2. fix: 修复代理响应 407 问题:https://github.com/avwo/whistle/issues/776
31+
32+
# v2.9.29
33+
1. fix: 导出 har 后再导入改 har 时请求内容可能发生变化问题
34+
2. feat: headless 模式支持加载插件及抓包数据
35+
3. feat: 支持通过 `-M agent` 启动复用连接模式
36+
37+
# v2.9.28
38+
1. fix: https://github.com/avwo/whistle/issues/759
39+
40+
# v2.9.27
41+
1. style: 支持在 `Request / WebForms` 显示上传表单数据
42+
2. style: 弱化有新版本时的界面提醒
43+
3. refactor: 减少安装包体积
44+
45+
# v2.9.26
46+
1. fix: 分组状态下保留数据发送两次请求导致无法一直启用规则问题
47+
2. fix: 导出 saz 后原始 url 可能无法正常显示问题
48+
49+
# v2.9.25
50+
1. refactor: 优化插件开发调试,参见:https://github.com/avwo/lack
51+
# v2.9.24
52+
为跟 Homebrew 版本保持一致,跳过此版本
53+
# v2.9.23
54+
1. refactor: 设置代理只需输入一次 root 密码:https://github.com/avwo/whistle/issues/746
55+
2. fix: M1 Pro 上执行 `brew install whistle` 安装 Whistle 失败问题
56+
57+
# v2.9.22
58+
1. fix: 修复部分插件规则优先级问题
59+
2. feat: 支持通过 `pattern operation lineProps://important` 提升规则的优先级
60+
61+
# v2.9.21
62+
1. feat: Rules 与 Values 支持分组
63+
2. fix: `resCors://origin=xxx` 失效问题
64+
65+
# v2.9.20
66+
1. fix: `resCors://*` 失效问题
67+
68+
# v2.9.19
69+
1. feat: 支持自定义 `Upgrade` 请求协议
70+
2. fix: `enable://proxyFirst` 可能出现重复请求问题
71+
72+
# v2.9.18
73+
1. fix: 请求经过代理后 `x-whistle-client-id` 丢失问题
74+
2. feat: 支持在 `Network / Tools` 里面自定义 Tab,详见:https://github.com/whistle-plugins/examples/tree/master/whistle.view-md5
75+
76+
# v2.9.17
77+
1. fix: 规则列表无法拖动排序问题
78+
2. refactor: `enable://clientId` 对所有请求生效(之前只对批评设置代理规则的请求生效)
79+
3. docs: 调整 README
80+
81+
# v2.9.16
82+
1. style: 添加 `Replay Times``Repeat Times` 菜单,最多可以重放请求 100 次
83+
2. refactor: `compose` cgi 支持设置 `repeatTimes`(不能超过 100 次)
84+
3. feat: 新增 CGI `/rules` `/values` `/rules?name=xxx` `/values?name=xxx` 获取 Whistle 的当前启用的规则和指定规则
85+
86+
# v2.9.15
87+
1. feat: 支持通过 `w2 ca [host:port]` 安装对应 Whistle 代理的根证书(不填参数,默认加载当前本机运行版本)
88+
2. feat: 支持通过 `w2 start[restart|run] --init [bypass]` 启动时同时设置代理和安装根证书,利用此特性可以实现通过 `npm i -g whistle && w2 restart --init` 一键安装 Whistle
89+
3. feat: 支持上传 `.cer``.pem` 证书
90+
4. feat: 支持通过 `process.env.WHISTLE_MODE` 定义启动参数 `-M xxx`
91+
5. fix: `utf8` 编码不支持 `0x7f` 字符问题
92+
93+
# v2.9.14
94+
1. feat: 支持通过命令行 `w2 proxy [off] [port] [host:port] [-x bypass]` 设置系统的全局代理
95+
- `w2 proxy`: 设置全局代理 `127.0.0.1:port`,port 为运行的默认实例的端口(`storage` 为空),如果没有默认实例则为 `8899`
96+
- `w2 proxy -x "<local>, domain1, domain2"`: 设置全局代理 `127.0.0.1:port`,port 为运行的默认实例的端口(`storage` 为空),如果没有默认实例则为 `8899`,**并设置不代理域名白名单**
97+
- `w2 proxy 8899`: 设置指定端口的代理,host 默认为 `127.0.0.1`
98+
- `w2 proxy www.test.com:8080` 或 `w2 proxy www.test.com:auto`: 指定代理的 host 和 port
99+
- `w2 proxy www.test.com:8080 -x "<local>, domain1, domain2"`: 组合应用
100+
- `w2 proxy off`: 关闭全局代理
101+
102+
# v2.9.13
103+
1. refactor: 内联规则 `protocol://(key1=value1&key2=value2...)` 不再自动 `decodeURIComponent`
104+
2. refactor: 如果内联规则 `protocol://key1=value1&key2=value2...``()`,会先检测下对应文件是否存在,不存在就当成 `protocol://(key1=value1&key2=value2...)` 处理
105+
106+
# v2.9.12
107+
1. fix: https://github.com/avwo/whistle/issues/726
108+
2. refactor: 优化 `excludeFilter://host=pattern`
109+
110+
# v2.9.11
111+
1. fix: 使用 `https2http-proxy://host:port` 时,某些 `post` 请求无法正常发送问题
112+
2. fix: 确保模板字符串的 `clientId` 优先获取传过来的请求 `clientId`(需要用本地的 `clientId` 可以使用 `localClientId`
113+
114+
# v2.9.10
115+
1. feat: 添加 `skip` 协议, skip 与 ignore 的区别,ignore 是将匹配的规则删除掉,skip 是跳过指定的规则不做匹配
116+
2. fix: https://github.com/nodejs/node/issues/42787
117+
118+
# v2.9.9
119+
1. feat: 支持通过 `w2 i 任意url` 安装插件
120+
2. feat: 支持插件通过 `options.getPlugins(cb)` 获取当前 Whistle 安装的插件信息
121+
3. feat: 支持通过 `ignore://matcher=xxx` (等价于 `ignore://operator=xxx`)、`ignore://pattern=xxx` 删除指定匹配的规则
122+
4. style: 插件 `Sync` 功能支持获取历史记录列表
123+
124+
# v2.9.8
125+
1. fix: TUNNEL 代理的 HTTP 请求被拦截后一些代理请求头的透传问题
126+
2. feat: 支持通过 `w2 i git-url` 安装插件
127+
128+
# v2.9.7
129+
1. style: 下次打开 Plugins 页面自动打开之前已打开的插件 Tab
130+
2. refactor: `w2 add` 可以设置的规则大小由 16k 改成 256k
131+
3. fix: TUNNEL 请求帧数据可能显示不全问题
132+
133+
# v2.9.6
134+
1. fix: 长连接里面的帧数据可能展示补全问题
135+
2. fix: 经过插件转发后的请求 client id 丢失问题
136+
137+
# v2.9.5
138+
1. refactor: 如果启动绑定网卡,将网卡显示到 Online 里面
139+
2. style: Tunnel 代理,支持通过请求头或响应头的 `x-whistle-transport-protocol` 自定义 `Protocol` 显示,响应头优先
140+
141+
# v2.9.4
142+
1. fix: auth 插件钩子可能对被拦截的 tunnel 请求不生效问题
143+
2. style: 支持导出的数据自带 Node 和 Whistle 的版本号
144+
3. feat: 插件支持通过 package.whistleConfig.peerPluginList 配置安装插件式自动加载的关联插件列表(最多不超过 15 个插件)
145+
1146
# v2.9.3
2147
1. feat: `redirect` 归类为 `rule``file``statusCode` 等协议同级别
3148
2. refactor: 添加 ts 描述文件
@@ -1247,7 +1392,7 @@ TypeError: Cannot read property 'res' of null
12471392

12481393
### v1.9.2
12491394
1. refactor: 界面微调,及Log界面的性能优化
1250-
2. refactor: 去掉HTTPS里面 `Hide TUNNEL CONNECTs` 选项
1395+
2. refactor: 去掉HTTPS里面 `Hide TUNNEL CONNECTS` 选项
12511396

12521397
### v1.9.1
12531398
1. feat: 增强[v1.8.9](v189)版本的 `ignore://allRules`功能,支持双ignore的规则,即:`ignore://allRules|ignore.host|ignore.whistle.script``ignore://allRules|ignore:host|ignore:whistle.script` 这个时候whistle会忽略 `host``whistle.script` 以外的所有规则

README-zh_CN.md

-222
This file was deleted.

0 commit comments

Comments
 (0)