@@ -5,6 +5,7 @@ All notable changes to the npm-api.sh script will be documented in this file.
5
5
## [ 3.0.0] - 2025-03-15
6
6
7
7
### 🔄 Breaking Changes
8
+
8
9
- ** Host Creation Command Simplified**
9
10
``` diff
10
11
- OLD: ./npm-api.sh -d example.com -i 192.168.1.10 -p 8080
@@ -13,7 +14,9 @@ All notable changes to the npm-api.sh script will be documented in this file.
13
14
The ` -d ` option has been removed in favor of a more intuitive positional argument after ` --host-create `
14
15
15
16
### New Commands (2.8.0)
17
+
16
18
- ` --access-list ` : List all available access lists
19
+ - ` --access-list-show <id> ` : Show detailed information for a specific access list
17
20
- ` --access-list-create ` : Create a new access list
18
21
- ` --access-list-update ` : Update an existing access list
19
22
- ` --access-list-delete ` : Delete an access list
@@ -22,6 +25,7 @@ All notable changes to the npm-api.sh script will be documented in this file.
22
25
23
26
24
27
### Renamed Commands
28
+
25
29
- ` --list-ssl-cert ` → ` --list-cert `
26
30
- ` --create-user ` → ` --user-create `
27
31
- ` --delete-user ` → ` --user-delete `
@@ -30,11 +34,13 @@ All notable changes to the npm-api.sh script will be documented in this file.
30
34
- ` --update-host ` → ` --host-update `
31
35
32
36
### Enhanced Commands
37
+
33
38
- ` --generate-cert ` : Added support for wildcard certificates and DNS challenges
34
39
- New parameters: ` dns-provider ` and ` dns-api-key `
35
40
- Support for multiple DNS providers (Dynu, Cloudflare, DigitalOcean, etc.)
36
41
37
42
### Syntax Changes
43
+
38
44
- Host-related commands now consistently use the ` --host- ` prefix
39
45
- User-related commands now consistently use the ` --user- ` prefix
40
46
- Certificate-related commands now consistently use the ` --cert- ` prefix
@@ -57,7 +63,6 @@ All notable changes to the npm-api.sh script will be documented in this file.
57
63
* HSTS
58
64
* HSTS Subdomains
59
65
60
-
61
66
- ** Enhanced Host Creation**
62
67
- Simplified command syntax with positional domain argument
63
68
- Improved parameter validation
@@ -82,13 +87,20 @@ All notable changes to the npm-api.sh script will be documented in this file.
82
87
- DNS challenge management for wildcard certificates
83
88
- Support for multiple DNS providers (Cloudflare, DigitalOcean, etc.)
84
89
85
- - New Access List Management Interface:
86
- - Interactive access list creation
87
- - Basic authentication support
88
- - IP whitelist management
89
- - Rule satisfaction options (ANY/ALL)
90
+ - ** Enhanced Access List Management** :
91
+ - Detailed view for individual access lists
92
+ - Colored output for better readability
93
+ - Display of users and IP counts
94
+ - Clear visualization of allow/deny rules
95
+ - Authentication status indicators
96
+ - Satisfaction mode display (Any/All)
97
+ - Proxy host count integration
98
+ - Improved formatting and layout
99
+ - Better error handling for null values
100
+ - Comprehensive legend for status indicators
90
101
91
102
### 🛠️ Code Optimizations
103
+
92
104
- Removed redundant parameter validations
93
105
- Streamlined host creation logic
94
106
- Unified error message format
@@ -103,28 +115,37 @@ All notable changes to the npm-api.sh script will be documented in this file.
103
115
- Better error handling
104
116
- Advanced configuration support
105
117
118
+ - Improved access list display with:
119
+ - Dynamic column sizing
120
+ - Proper null value handling
121
+ - Efficient data processing
122
+ - Better color management
123
+ - Enhanced table formatting
124
+
106
125
### 📚 Documentation
107
- - Updated help messages with new command syntax
108
- - Added more detailed examples
109
- - Improved parameter descriptions
110
- - Better organization of command options
126
+
127
+ - Updated access list command documentation:
128
+ - Added examples for detailed view
129
+ - Improved command descriptions
130
+ - Better parameter explanations
111
131
112
132
### 🔐 Security
133
+
113
134
- Enhanced input validation
114
135
- Better parameter sanitization
115
136
- Improved error handling for invalid inputs
116
137
117
138
### 🛠️ Fixes and Optimizations
139
+
118
140
- Fixed SSL certificate management bugs
119
141
- Improved user input validation
120
142
- Optimized API requests
121
143
- Enhanced HTTP error handling
122
144
123
-
124
-
125
145
## [ 2.7.0] - 2025-03-08
126
146
127
147
### Added
148
+
128
149
- DNS Challenge Support
129
150
- Added support for multiple DNS providers (Dynu, Cloudflare, DigitalOcean, etc.)
130
151
- Implemented automatic DNS challenge detection for wildcard certificates
@@ -142,6 +163,7 @@ All notable changes to the npm-api.sh script will be documented in this file.
142
163
- Enhanced certificate search to match wildcard patterns
143
164
144
165
### Changed
166
+
145
167
- Command Structure
146
168
- Modified --generate-cert command to accept DNS parameters after email:
147
169
``` bash
@@ -159,6 +181,7 @@ All notable changes to the npm-api.sh script will be documented in this file.
159
181
- Added clarification for supported DNS providers
160
182
161
183
# ## Improved
184
+
162
185
- Error Handling
163
186
- Added validation for DNS challenge parameters
164
187
- Enhanced error messages for certificate operations
0 commit comments