@push.rocks/smartproxy 23.1.2 → 23.1.4

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/changelog.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-02-12 - 23.1.4 - fix(tests)
4
+ make tests more robust and bump small dependencies
5
+
6
+ - Bump dependencies: @push.rocks/smartrust ^1.2.1 and minimatch ^10.2.0
7
+ - Replace hardcoded ports with named constants (ECHO_PORT, PROXY_PORT, PROXY_PORT_1/2) to avoid collisions between tests
8
+ - Add server 'error' handlers and reject listen promises on server errors to prevent silent hangs
9
+ - Reduce test timeouts and intervals (shorter test durations, more frequent pings) to speed up test runs
10
+ - Ensure proxy is stopped between tests and remove forced process.exit; export tap.start() consistently
11
+ - Adjust assertions to match the new shorter ping/response counts
12
+
13
+ ## 2026-02-12 - 23.1.3 - fix(rustproxy)
14
+ install default rustls crypto provider early; detect and skip raw fast-path for HTTP connections and return proper HTTP 502 when no route matches
15
+
16
+ - Install ring-based rustls crypto provider at startup to prevent panics from instant-acme/hyper-rustls calling ClientConfig::builder() before TLS listeners are initialized
17
+ - Add a non-blocking 10ms peek to detect HTTP traffic in the TCP passthrough fast-path to avoid misrouting HTTP and ensure HTTP proxy handles CORS, errors, and request-level routing
18
+ - Skip the fast-path and fall back to the HTTP proxy when HTTP is detected (with a debug log)
19
+ - When no route matches for detected HTTP connections, send an HTTP 502 Bad Gateway response and close the connection instead of silently dropping it
20
+
3
21
  ## 2026-02-11 - 23.1.2 - fix(core)
4
22
  use node: scoped builtin imports and add route unit tests
5
23
 
Binary file
Binary file
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartproxy',
6
- version: '23.1.2',
6
+ version: '23.1.4',
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHFQQUFxUDtDQUNuUSxDQUFBIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartproxy",
3
- "version": "23.1.2",
3
+ "version": "23.1.4",
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",
@@ -34,14 +34,14 @@
34
34
  "@push.rocks/smartnetwork": "^4.4.0",
35
35
  "@push.rocks/smartpromise": "^4.2.3",
36
36
  "@push.rocks/smartrequest": "^5.0.1",
37
- "@push.rocks/smartrust": "^1.2.0",
37
+ "@push.rocks/smartrust": "^1.2.1",
38
38
  "@push.rocks/smartrx": "^3.0.10",
39
39
  "@push.rocks/smartstring": "^4.1.0",
40
40
  "@push.rocks/taskbuffer": "^4.2.0",
41
41
  "@tsclass/tsclass": "^9.3.0",
42
42
  "@types/minimatch": "^6.0.0",
43
43
  "@types/ws": "^8.18.1",
44
- "minimatch": "^10.1.2",
44
+ "minimatch": "^10.2.0",
45
45
  "pretty-ms": "^9.3.0",
46
46
  "ws": "^8.19.0"
47
47
  },
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartproxy',
6
- version: '23.1.2',
6
+ version: '23.1.4',
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
  }