@push.rocks/smartproxy 27.15.1 → 27.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.smartconfig.json +2 -1
- package/changelog.md +9 -0
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/package.json +3 -2
- package/readme.hints.md +7 -0
- package/ts/00_commitinfo_data.ts +1 -1
package/.smartconfig.json
CHANGED
package/changelog.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-06-09 - 27.15.2
|
|
4
|
+
|
|
5
|
+
### Fixes
|
|
6
|
+
|
|
7
|
+
- configure static Rust binary builds via tsrust (rust)
|
|
8
|
+
- Enabled static Rust binary builds through .smartconfig.json and updated @git.zone/tsrust to ^1.4.1.
|
|
9
|
+
- Removed repo-wide linux-gnu rustflags from Cargo config so cargo test and cargo check remain usable.
|
|
10
|
+
- Added a test:rust script and documented static linkage behavior.
|
|
11
|
+
|
|
3
12
|
## 2026-06-09 - 27.15.1
|
|
4
13
|
|
|
5
14
|
### Fixes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartproxy',
|
|
6
|
-
version: '27.15.
|
|
6
|
+
version: '27.15.2',
|
|
7
7
|
description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.'
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFNBQVM7SUFDbEIsV0FBVyxFQUFFLHFQQUFxUDtDQUNuUSxDQUFBIn0=
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@push.rocks/smartproxy",
|
|
3
|
-
"version": "27.15.
|
|
3
|
+
"version": "27.15.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.",
|
|
6
6
|
"main": "dist_ts/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@git.zone/tsbuild": "^4.4.2",
|
|
13
13
|
"@git.zone/tsrun": "^2.0.4",
|
|
14
|
-
"@git.zone/tsrust": "^1.
|
|
14
|
+
"@git.zone/tsrust": "^1.4.1",
|
|
15
15
|
"@git.zone/tstest": "^3.6.6",
|
|
16
16
|
"@push.rocks/smartserve": "^2.0.4",
|
|
17
17
|
"@types/node": "^25.9.1",
|
|
@@ -73,6 +73,7 @@
|
|
|
73
73
|
"scripts": {
|
|
74
74
|
"test:before": "(tsrust)",
|
|
75
75
|
"test": "(tstest test/**/test*.ts --verbose --timeout 60 --logfile)",
|
|
76
|
+
"test:rust": "(cd rust && cargo test)",
|
|
76
77
|
"build": "(tsbuild tsfolders) && (tsrust)",
|
|
77
78
|
"format": "(gitzone format)",
|
|
78
79
|
"buildDocs": "tsdoc"
|
package/readme.hints.md
CHANGED
|
@@ -552,3 +552,10 @@ This allows simple single-target passthrough setups to work with TLS session res
|
|
|
552
552
|
- CLIENT_IP header parsing timeout (default: 2000ms)
|
|
553
553
|
- Network congestion between SmartProxy and HttpProxy
|
|
554
554
|
- Solution: Check localhost connectivity, increase timeout if needed
|
|
555
|
+
|
|
556
|
+
## Static Rust Binaries
|
|
557
|
+
|
|
558
|
+
- The Rust binaries in `dist_rust/` are statically linked (static-pie) via `"static": true` in the `@git.zone/tsrust` block of `.smartconfig.json` (tsrust >= 1.4.1). They run on both glibc (Debian/Ubuntu) and musl (Alpine) systems.
|
|
559
|
+
- tsrust injects `RUSTFLAGS="-C target-feature=+crt-static"` only into its own per-target cargo invocations and verifies the result (no `PT_INTERP` ELF header). Keep `rust/.cargo/config.toml` free of `rustflags` entries: the injected env variable would replace them, and a repo-wide `rustflags` would also break plain `cargo test`/`cargo check` (proc-macros cannot build with `+crt-static` on linux-gnu without an explicit `--target`). The repo previously carried such `rustflags` lines; they were removed when the tsrust `static` option was adopted.
|
|
560
|
+
- `pnpm run test:rust` runs the Rust unit tests; plain `cargo test` in `rust/` works as well.
|
|
561
|
+
- Verify linkage manually with `ldd dist_rust/<binary>_linux_amd64` → "statically linked".
|
package/ts/00_commitinfo_data.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export const commitinfo = {
|
|
5
5
|
name: '@push.rocks/smartproxy',
|
|
6
|
-
version: '27.15.
|
|
6
|
+
version: '27.15.2',
|
|
7
7
|
description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.'
|
|
8
8
|
}
|