v4.35.1
Features
- Support Apple Silicon: add pre-built binary for Apple Silicon named
v2ray-macos-arm64-v8a.zip
(#686) @Loyalsoldier - FakeDNS: add support for
FakeDNS
. FakeDNS will not take effect onRouting
andFreedom
outbound (#395 #406 #696) @yuhan6665 - Outbound: add
streamSetting
/transport
support for outbound front proxy - VMess: add
zero
pseudo encryption for better performance - VMess: add support to disable compatibility for legacy VMess MD5 (#596) @dyhkwong
- Routing: add a faster and more memory-efficient routing rule matcher
HybridDomainMatcher
(#587 #639) @darsvador - DNS: add support to disable DNS cache (#699 #705) @CalmLong
Fixes
- Test: HTTP/2 dial timeout (#570) @kslr
- Trojan: do not panic when UDP dispatcher fails to write response (#599) @maskedeken
- Transport: TCP default ALPN (#716) @AkinoKaede
- DNS: rule index out of range (#727) @Loyalsoldier
Chores
- Use Go v1.16 (#686)
- Refine issue templates (#630)
- Update dependencies
- Change module name to
github.com/v2fly/v2ray-core/v4
(#677)
Notices
- VMess: From Jan 1, 2022, compatibility for legacy VMess MD5 will be disabled by default.
- VMess: Only use
zero
pseudo encryption in trusted transport such asTLS
. - FakeDNS: FakeDNS will NOT take effect on
Routing
andFreedom
outbound. - You are able to compile exactly the same binaries as the ones in Assets section below by simply following the compiling guide.
For downstream developers
The Go module name of v2ray-core
has been changed to github.com/v2fly/v2ray-core/v4
. Do NOT use v2ray.com/core
anymore.
Documents about new features
- FakeDNS:
- Enable
fakedns
fordestOverride
and setmetadataOnly
: https://www.v2fly.org/config/inbounds.html#sniffingobject - Add
fakedns
todns
servers section: https://www.v2fly.org/config/dns.html#dnsobject - [Optional] Add
fakedns
section to config: https://www.v2fly.org/config/fakedns.html
- Enable
- VMess MD5 认证信息淘汰机制
- VMess
zero
pseudo encryption - New routing rule matcher
HybridDomainMatcher
- ProxySetting for
Outbound
- Disable DNS cache
Change log
- An improved version of domain matcher implementation ACAutomatonDomainMatcher(#639) (Hybrid AC Matcher) is added. You can enable it with configuration. The document for routing have been updated. You could expect improvement on both shorter matching time and less memory usage. Thanks @darsvador.
- The support for
FakeDNS
(#395 #406 #696) is added. It will return a synthetic DNS response when clients try to resolve domain name, and restore the domain name when clients connect to the returned address. Documents for DNS, FakeDNS, Sniffer is updated. Thanks @yuhan6665. - Added streamSetting/transport support for outbound front proxy. Document for outbound have been updated.
- The cache of V2Ray's internal DNS can be disabled now(#699). Document for DNS is updated. Thanks @CalmLong.
- You can disable compatibility for legacy VMess MD5(#596). Document for VMess have been updated. From Jan 1, 2022, compatibility for legacy VMess MD5 will be disabled by default. Thanks @dyhkwong.
- You can now completely disable VMess's content encryption and protection, and may achieve better performance than none pseudo encryption. The document for VMess is updated. This is a non-breaking change on client side.
- Added binary release of ARM Mac(#686). Thanks @Loyalsoldier.
/opt/share/v2ray/
have been added to asset search path(#715). Thanks @kidonng.- Fixed TCP's default ALPN(#716). Thanks @AkinoKaede.
- Other minor stability and internal code quality improvements. Thanks @Loyalsoldier.
- Fixed a bug cause enabling chained proxy crash the instance. Thanks @database64128.
- Allow user to set domain matching policy for all rules.
- Renamed HybridDomainMatcher's name to
hybrid
.