Releases: shadowsocks/shadowsocks-rust
Releases ยท shadowsocks/shadowsocks-rust
v1.20.1
Bug Fixes
local-online-config
: SIP008 auto reload configuration task will add online servers without replacing the existed ones. This bug will eventually causesslocal
consumes too many memories and get OOM killed.
Users are encourage to update to this version if using 1.19.4 to 1.20.0.
Features
shadowsocks-service
: Updatedrustls
to v0.23 withring
backend.local-redir
,server
: Better approach to check current platform IP stack capabilities like Go (IPv4, IPv6, IPv4-mapped-IPv6 supports).- Explicitly enable dual-stack if listen addresses (
server
,local_address
) are IPv4-mapped-IPv6, by settingIPV6_V6ONLY=0
.
Full Changelog: v1.20.0...v1.20.1
v1.20.0
Breaking Changes
- #887 shadowsocks stream cipher (
TABLE
) doesn't need to make a derived key instead of using user's predefined key directly. This change will make shadowsocks-rust not going to be compatible with its older version. Users who are usingTABLE
cipher should upgrade all your local and server instances to the latest version of shadowsocks-rust. On the other hand,TABLE
cipher is marked deprecated because it is vulnerable, users must migrate to other more secured methods immediately.
Full Changelog: v1.19.4...v1.20.0
v1.19.4
Features
local-online-config
: Making HTTP requests withlocal-http
's HttpClient implementation, mainly for supportingoutbound_*
socket configurations.
BUG Fixes
local-http
: #1508 Fixed panic if remote target supports H2.
Miscellaneous
- Fixed build failures on some platforms.
What's Changed
- chore(deps): bump sysexits from 0.7.14 to 0.8.0 by @dependabot in #1555
- chore(deps): bump idna from 0.5.0 to 1.0.0 by @dependabot in #1556
Full Changelog: v1.19.3...v1.19.4
v1.19.3
Breaking Changes
- Feature
dns-over-h3
moved from featurefull
tofull-extra
. DNS over H3 is still an experimental feature. local-fake-dns
: Disabled compression (zstd), which seems to be deprecated bysled
.
Features
local-online-config
: Set 30s timeout for update HTTP requests, enable compression (deflate, gzip, br, zstd) inAccept-Encoding
Full Changelog: v1.19.2...v1.19.3
v1.19.2
v1.19.1
Features
- Rollback
rustls
to v0.22, v0.23 first introducedaws-lc
as the default crypto implementation, but it cannot be built on some targets if there are still older versions ofrustls
in the dependency tree. local-tun
: Switch fromtun
totun2
, which is a fork oftun
.tun
seems to be abandoned.
Bug Fixes
- #1539
local-fake-dns
: Query Response Message has to include the original Query and flags.
What's Changed
- chore(deps): bump etherparse from 0.14.3 to 0.15.0 by @dependabot in #1541
- Support cross build with aws-lc-rs by @zonyitoo in #1547
Full Changelog: v1.19.0...v1.19.1
v1.19.0
Features
- #302
sslocal
support SIP008 Online Configuration. Pullservers
from remote servers automatically. (Experimental) - Add
basic
,full
,full-extra
features makes building command line arguments shorter
Bug Fixes
- #1525 Check
"users"
in server configuration ifmethod
doesn't support AEAD-2022 EIH. - #1528 Fixed FreeBSD build.
Miscellaneous
- Snap: Add alias names like
sslocal
,ssserver
, ... local-tun
feature could be enabled even if target platform is not supported.
BREAKING
- Minimal Supported Rust Version (MSRV) is v1.74
What's Changed
- Fix: release script failed to pack sswinservice.exe by @amorphobia in #1524
- Fix: FreeBSD Building by @splurge103 in #1528
- [snap] Add aliases for all the non-daemon apps by @jadolg in #1530
- chore(deps): bump thiserror from 1.0.60 to 1.0.61 by @dependabot in #1535
- chore(deps): bump sysexits from 0.7.13 to 0.7.14 by @dependabot in #1534
- chore(deps): bump mimalloc from 0.1.41 to 0.1.42 by @dependabot in #1532
- chore(deps): bump prost from 0.12.4 to 0.12.6 by @dependabot in #1533
New Contributors
- @splurge103 made their first contribution in #1528
- @jadolg made their first contribution in #1530
Full Changelog: v1.18.4...v1.19.0
v1.18.4
Features
- #1495 Binaries support
--plugin-mode
command line argument local-tun
is enabled by default for Windows targets in CI builds
Bug Fixes
- #1516
local-dns
UDP client support AEAD-2022 protocol properly
What's Changed
- fix: fix CVE-2024-32650 by @hillwoodroc in #1513
- add command argument --plugin-mode, should close #1495 by @liudongmiao in #1514
New Contributors
- @hillwoodroc made their first contribution in #1513
Full Changelog: v1.18.3...v1.18.4
v1.18.3
Features
- #1466 Support
outbound_fwmark
in server side to split outbound tunnel - #1467 Default build for
*-windows-*
targets includessswinservice
local-fakedns
: Add a basic implementation of Fake-DNS, which will allocate IPs from pool for DNS queries. This experimental feature could be useful when usinglocal-tun
,local-redir
or other features that could only receive IP destinations, the domain name that is resolved by the Fake-DNS will be translated from IP back to domain name when connecting to the remote.- #1500 Add
launchd_udp_socket_name
,launchd_tcp_socket_name
to basic config format
Bug Fixes
- Fixed build on OpenBSD
- #1491 Fixed per-server outbound options not taking effect
- #1509
local-tun
TCP socket creation made non-blocking
What's Changed
- chore(deps): bump async-trait from 0.1.77 to 0.1.78 by @dependabot in #1460
- chore(deps): bump qrcode from 0.13.0 to 0.14.0 by @dependabot in #1461
- chore(deps): bump thiserror from 1.0.57 to 1.0.58 by @dependabot in #1463
- chore(deps): bump blake3 from 1.5.0 to 1.5.1 by @dependabot in #1462
- chore(deps): bump http-body-util from 0.1.0 to 0.1.1 by @dependabot in #1464
- feature: support fwmark in server side to split outbound tunnel by @chuxi in #1466
- resolve #1467: build sswinservice for Windows by default by @amorphobia in #1468
- chore(deps): bump async-trait from 0.1.78 to 0.1.79 by @dependabot in #1477
- chore(deps): bump reqwest from 0.11.26 to 0.12.2 by @dependabot in #1481
- chore(deps): bump arc-swap from 1.7.0 to 1.7.1 by @dependabot in #1478
- chore(deps): bump bytes from 1.5.0 to 1.6.0 by @dependabot in #1476
- chore(deps): bump etherparse from 0.14.2 to 0.14.3 by @dependabot in #1485
- chore(deps): bump prost from 0.11.9 to 0.12.4 by @dependabot in #1488
- chore(deps): bump prost-build from 0.11.9 to 0.12.4 by @dependabot in #1489
- fix(shadowsocks): tokio-tfo deps only for supported platforms by @zonyitoo in #1490
- fix(shadowsocks): unbreak OpenBSD build by @heroin-moose in #1492
- chore(deps): bump reqwest from 0.12.2 to 0.12.3 by @dependabot in #1496
- add launchd_udp_socket_name / launchd_tcp_socket_name to basic config by @liudongmiao in #1500
- Fix per-server outbound options not taking effect (part 1) by @stormynoct in #1493
- chore(deps): bump sysexits from 0.7.11 to 0.7.12 by @dependabot in #1506
- chore(deps): bump async-trait from 0.1.79 to 0.1.80 by @dependabot in #1504
- chore(deps): bump time from 0.3.34 to 0.3.36 by @dependabot in #1505
- chore(deps): bump tokio-rustls from 0.25.0 to 0.26.0 by @dependabot in #1475
- chore(deps): bump hyper from 1.2.0 to 1.3.1 by @dependabot in #1507
- Fix per-server outbound options not taking effect (part 2) by @stormynoct in #1491
- Make tcp socket creation non blocking by @AzazKamaz in #1509
New Contributors
- @amorphobia made their first contribution in #1468
- @heroin-moose made their first contribution in #1492
- @liudongmiao made their first contribution in #1500
- @stormynoct made their first contribution in #1493
Full Changelog: v1.18.2...v1.18.3
v1.18.2
Features
local-tun
: Supporttun_interface_destination
configuration key
Bug Fixes
local
: macOS launch activate sockets set non-blocking
What's Changed
- Parse tun_interface_destination from ssconfig by @AzazKamaz in #1350
- chore(deps): bump socket2 from 0.5.5 to 0.5.6 by @dependabot in #1443
- chore(deps): bump serde_json from 1.0.113 to 1.0.114 by @dependabot in #1445
- chore(deps): bump hyper from 1.1.0 to 1.2.0 by @dependabot in #1442
- chore(deps): bump nix from 0.27.1 to 0.28.0 by @dependabot in #1444
- chore(deps): bump snmalloc-rs from 0.3.4 to 0.3.5 by @dependabot in #1450
- chore(deps): bump base64 from 0.21.7 to 0.22.0 by @dependabot in #1448
- chore(deps): bump arc-swap from 1.6.0 to 1.7.0 by @dependabot in #1449
- chore(deps): bump log from 0.4.20 to 0.4.21 by @dependabot in #1447
- Update Configuration part of README.md by @nailyk-fr in #1454
- chore(deps): bump pin-project from 1.1.4 to 1.1.5 by @dependabot in #1457
- chore(deps): bump env_logger from 0.11.2 to 0.11.3 by @dependabot in #1455
- chore(deps): bump reqwest from 0.11.24 to 0.11.26 by @dependabot in #1458
New Contributors
- @AzazKamaz made their first contribution in #1350
- @nailyk-fr made their first contribution in #1454
Full Changelog: v1.18.1...v1.18.2