@push.rocks/smartproxy 26.1.0 → 26.2.0

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,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-03-23 - 26.2.0 - feat(protocol-cache)
4
+ add sliding TTL re-probing and eviction for backend protocol detection
5
+
6
+ - extend protocol cache entries and metrics with last accessed and last probed timestamps
7
+ - trigger periodic ALPN re-probes for cached H1/H2 entries while keeping active entries alive with a sliding 1 day TTL
8
+ - log protocol transitions with reasons and evict cache entries when all protocol fallback attempts fail
9
+
3
10
  ## 2026-03-22 - 26.1.0 - feat(rustproxy-http)
4
11
  add protocol failure suppression, h3 fallback escalation, and protocol cache metrics exposure
5
12
 
Binary file
Binary file
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartproxy',
6
- version: '26.1.0',
6
+ version: '26.2.0',
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=
@@ -120,6 +120,8 @@ export interface IProtocolCacheEntry {
120
120
  protocol: string;
121
121
  h3Port: number | null;
122
122
  ageSecs: number;
123
+ lastAccessedSecs: number;
124
+ lastProbedSecs: number;
123
125
  h2Suppressed: boolean;
124
126
  h3Suppressed: boolean;
125
127
  h2CooldownRemainingSecs: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@push.rocks/smartproxy",
3
- "version": "26.1.0",
3
+ "version": "26.2.0",
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",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@push.rocks/smartproxy',
6
- version: '26.1.0',
6
+ version: '26.2.0',
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
  }
@@ -126,6 +126,8 @@ export interface IProtocolCacheEntry {
126
126
  protocol: string;
127
127
  h3Port: number | null;
128
128
  ageSecs: number;
129
+ lastAccessedSecs: number;
130
+ lastProbedSecs: number;
129
131
  h2Suppressed: boolean;
130
132
  h3Suppressed: boolean;
131
133
  h2CooldownRemainingSecs: number | null;