Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f25be4c55a | |||
| 05c5635a13 |
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"expiryDate": "2026-03-09T00:26:32.907Z",
|
"expiryDate": "2026-03-09T14:50:10.005Z",
|
||||||
"issueDate": "2025-12-09T00:26:32.907Z",
|
"issueDate": "2025-12-09T14:50:10.005Z",
|
||||||
"savedAt": "2025-12-09T00:26:32.907Z"
|
"savedAt": "2025-12-09T14:50:10.006Z"
|
||||||
}
|
}
|
||||||
@@ -1,5 +1,13 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-12-09 - 22.1.1 - fix(tests)
|
||||||
|
Normalize route configurations in tests to use name (remove id) and standardize route names
|
||||||
|
|
||||||
|
- Removed deprecated id properties from route configurations in multiple tests and rely on the name property instead
|
||||||
|
- Standardized route.name values to kebab-case / lowercase (examples: 'tcp-forward', 'tls-passthrough', 'domain-a', 'domain-b', 'test-forward', 'nftables-test', 'regular-test', 'forward-test', 'test-forward', 'tls-test')
|
||||||
|
- Added explicit names for inner and outer proxies in proxy-chain-cleanup test ('inner-backend', 'outer-frontend')
|
||||||
|
- Updated certificate metadata timestamps in certs/static-route/meta.json
|
||||||
|
|
||||||
## 2025-12-09 - 22.1.0 - feat(smart-proxy)
|
## 2025-12-09 - 22.1.0 - feat(smart-proxy)
|
||||||
Improve connection/rate-limit atomicity, SNI parsing, HttpProxy & ACME orchestration, and routing utilities
|
Improve connection/rate-limit atomicity, SNI parsing, HttpProxy & ACME orchestration, and routing utilities
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@push.rocks/smartproxy",
|
"name": "@push.rocks/smartproxy",
|
||||||
"version": "22.1.0",
|
"version": "22.1.1",
|
||||||
"private": false,
|
"private": false,
|
||||||
"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.",
|
"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.",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
|||||||
@@ -58,8 +58,7 @@ tap.test('should forward TCP connections correctly', async () => {
|
|||||||
enableDetailedLogging: true,
|
enableDetailedLogging: true,
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
id: 'tcp-forward',
|
name: 'tcp-forward',
|
||||||
name: 'TCP Forward Route',
|
|
||||||
match: {
|
match: {
|
||||||
ports: 8080,
|
ports: 8080,
|
||||||
},
|
},
|
||||||
@@ -107,8 +106,7 @@ tap.test('should handle TLS passthrough correctly', async () => {
|
|||||||
enableDetailedLogging: true,
|
enableDetailedLogging: true,
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
id: 'tls-passthrough',
|
name: 'tls-passthrough',
|
||||||
name: 'TLS Passthrough Route',
|
|
||||||
match: {
|
match: {
|
||||||
ports: 8443,
|
ports: 8443,
|
||||||
domains: 'test.example.com',
|
domains: 'test.example.com',
|
||||||
@@ -168,8 +166,7 @@ tap.test('should handle SNI-based forwarding', async () => {
|
|||||||
enableDetailedLogging: true,
|
enableDetailedLogging: true,
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
id: 'domain-a',
|
name: 'domain-a',
|
||||||
name: 'Domain A Route',
|
|
||||||
match: {
|
match: {
|
||||||
ports: 8443,
|
ports: 8443,
|
||||||
domains: 'a.example.com',
|
domains: 'a.example.com',
|
||||||
@@ -186,8 +183,7 @@ tap.test('should handle SNI-based forwarding', async () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: 'domain-b',
|
name: 'domain-b',
|
||||||
name: 'Domain B Route',
|
|
||||||
match: {
|
match: {
|
||||||
ports: 8443,
|
ports: 8443,
|
||||||
domains: 'b.example.com',
|
domains: 'b.example.com',
|
||||||
|
|||||||
@@ -32,8 +32,7 @@ tap.test('setup test server', async () => {
|
|||||||
tap.test('regular forward route should work correctly', async () => {
|
tap.test('regular forward route should work correctly', async () => {
|
||||||
smartProxy = new SmartProxy({
|
smartProxy = new SmartProxy({
|
||||||
routes: [{
|
routes: [{
|
||||||
id: 'test-forward',
|
name: 'test-forward',
|
||||||
name: 'Test Forward Route',
|
|
||||||
match: { ports: 7890 },
|
match: { ports: 7890 },
|
||||||
action: {
|
action: {
|
||||||
type: 'forward',
|
type: 'forward',
|
||||||
@@ -100,8 +99,7 @@ tap.test('regular forward route should work correctly', async () => {
|
|||||||
tap.skip.test('NFTables forward route should not terminate connections (requires root)', async () => {
|
tap.skip.test('NFTables forward route should not terminate connections (requires root)', async () => {
|
||||||
smartProxy = new SmartProxy({
|
smartProxy = new SmartProxy({
|
||||||
routes: [{
|
routes: [{
|
||||||
id: 'nftables-test',
|
name: 'nftables-test',
|
||||||
name: 'NFTables Test Route',
|
|
||||||
match: { ports: 7891 },
|
match: { ports: 7891 },
|
||||||
action: {
|
action: {
|
||||||
type: 'forward',
|
type: 'forward',
|
||||||
|
|||||||
@@ -32,8 +32,7 @@ tap.test('forward connections should not be immediately closed', async (t) => {
|
|||||||
enableDetailedLogging: true,
|
enableDetailedLogging: true,
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
id: 'forward-test',
|
name: 'forward-test',
|
||||||
name: 'Forward Test Route',
|
|
||||||
match: {
|
match: {
|
||||||
ports: 8080,
|
ports: 8080,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -26,8 +26,7 @@ tap.skip.test('NFTables forwarding should not terminate connections (requires ro
|
|||||||
enableDetailedLogging: true,
|
enableDetailedLogging: true,
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
id: 'nftables-test',
|
name: 'nftables-test',
|
||||||
name: 'NFTables Test Route',
|
|
||||||
match: {
|
match: {
|
||||||
ports: 8080,
|
ports: 8080,
|
||||||
},
|
},
|
||||||
@@ -42,8 +41,7 @@ tap.skip.test('NFTables forwarding should not terminate connections (requires ro
|
|||||||
},
|
},
|
||||||
// Also add regular forwarding route for comparison
|
// Also add regular forwarding route for comparison
|
||||||
{
|
{
|
||||||
id: 'regular-test',
|
name: 'regular-test',
|
||||||
name: 'Regular Forward Route',
|
|
||||||
match: {
|
match: {
|
||||||
ports: 8081,
|
ports: 8081,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ tap.test('port forwarding should not immediately close connections', async (tool
|
|||||||
// Create proxy with forwarding route
|
// Create proxy with forwarding route
|
||||||
proxy = new SmartProxy({
|
proxy = new SmartProxy({
|
||||||
routes: [{
|
routes: [{
|
||||||
id: 'test',
|
name: 'test-forward',
|
||||||
match: { ports: 9999 },
|
match: { ports: 9999 },
|
||||||
action: {
|
action: {
|
||||||
type: 'forward',
|
type: 'forward',
|
||||||
@@ -58,7 +58,7 @@ tap.test('TLS passthrough should work correctly', async () => {
|
|||||||
// Create proxy with TLS passthrough
|
// Create proxy with TLS passthrough
|
||||||
proxy = new SmartProxy({
|
proxy = new SmartProxy({
|
||||||
routes: [{
|
routes: [{
|
||||||
id: 'tls-test',
|
name: 'tls-test',
|
||||||
match: { ports: 8443, domains: 'test.example.com' },
|
match: { ports: 8443, domains: 'test.example.com' },
|
||||||
action: {
|
action: {
|
||||||
type: 'forward',
|
type: 'forward',
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ tap.test('setup two smartproxies in a chain configuration', async () => {
|
|||||||
innerProxy = new SmartProxy({
|
innerProxy = new SmartProxy({
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
|
name: 'inner-backend',
|
||||||
match: {
|
match: {
|
||||||
ports: 8002
|
ports: 8002
|
||||||
},
|
},
|
||||||
@@ -39,6 +40,7 @@ tap.test('setup two smartproxies in a chain configuration', async () => {
|
|||||||
outerProxy = new SmartProxy({
|
outerProxy = new SmartProxy({
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
|
name: 'outer-frontend',
|
||||||
match: {
|
match: {
|
||||||
ports: 8001
|
ports: 8001
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@push.rocks/smartproxy',
|
name: '@push.rocks/smartproxy',
|
||||||
version: '22.1.0',
|
version: '22.1.1',
|
||||||
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.'
|
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.'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user