You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PAC: To better utilize the geosite database and adapt to the needs of our users, we added options for direct and proxied groups. They are currently only available for modifications in gui-config.json. GUI with the feature fully supported is coming in v5.
Generation modes: whitelist mode and blacklist mode
When geositePreferDirect is false (default), PAC works in whitelist mode. Exception rules are generated from geositeDirectGroups. Unmatched domains goes through the proxy.
When geositePreferDirect is true, PAC works in blacklist mode. Blocking rules are generated from geositeProxiedGroups. Exception rules are generated from geositeDirectGroups. Unmatched domains are connected to directly.
Domain groups: geositeDirectGroups and geositeProxiedGroups.
geositeDirectGroups is initialized with cn and geolocation-!cn@cn.
geositeProxiedGroups is initialized with geolocation-!cn.
The new default values make sure that:
When in whitelist mode, Chinese domains, including non-Chinese companies' Chinese CDNs, are connected to directly.
When in blacklist mode, only non-Chinese domains goes through the proxy. Chinese domains, as well as non-Chinese companies' Chinese CDNs, are connected to directly.
WPF: This release includes a new update prompt window that shows release notes for you. We have also reimplemented ForwardProxyView, HotkeysView, OnlineConfigView in WPF. Your feedback is welcome on these new UIs.
Fixes and improvements
We fixed an issue where in certain locales, the PAC generation crashes the application (#2986).
We have improved the stability by adding a validation of the geosite group configuration. Invalid settings will be automatically reset to default (and logged).
pac.txt is now automatically regenerated on version updates. You can turn it off by changing regeneratePacOnUpdate to false.
Cleanup: Only one HttpClient instance is used throughout the lifecycle. StringEx.CS along with many other unnecessary stuff has been removed. All dependencies have been updated to the latest versions.