@@ -5,6 +5,7 @@ All notable changes to the npm-api.sh script will be documented in this file.
55## [ 3.0.0] - 2025-03-15
66
77### 🔄 Breaking Changes
8+
89- ** Host Creation Command Simplified**
910 ``` diff
1011 - 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.
1314 The ` -d ` option has been removed in favor of a more intuitive positional argument after ` --host-create `
1415
1516### New Commands (2.8.0)
17+
1618- ` --access-list ` : List all available access lists
19+ - ` --access-list-show <id> ` : Show detailed information for a specific access list
1720- ` --access-list-create ` : Create a new access list
1821- ` --access-list-update ` : Update an existing access list
1922- ` --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.
2225
2326
2427### Renamed Commands
28+
2529- ` --list-ssl-cert ` → ` --list-cert `
2630- ` --create-user ` → ` --user-create `
2731- ` --delete-user ` → ` --user-delete `
@@ -30,11 +34,13 @@ All notable changes to the npm-api.sh script will be documented in this file.
3034- ` --update-host ` → ` --host-update `
3135
3236### Enhanced Commands
37+
3338- ` --generate-cert ` : Added support for wildcard certificates and DNS challenges
3439 - New parameters: ` dns-provider ` and ` dns-api-key `
3540 - Support for multiple DNS providers (Dynu, Cloudflare, DigitalOcean, etc.)
3641
3742### Syntax Changes
43+
3844- Host-related commands now consistently use the ` --host- ` prefix
3945- User-related commands now consistently use the ` --user- ` prefix
4046- 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.
5763 * HSTS
5864 * HSTS Subdomains
5965
60-
6166- ** Enhanced Host Creation**
6267 - Simplified command syntax with positional domain argument
6368 - Improved parameter validation
@@ -82,13 +87,20 @@ All notable changes to the npm-api.sh script will be documented in this file.
8287 - DNS challenge management for wildcard certificates
8388 - Support for multiple DNS providers (Cloudflare, DigitalOcean, etc.)
8489
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
90101
91102### 🛠️ Code Optimizations
103+
92104- Removed redundant parameter validations
93105- Streamlined host creation logic
94106- Unified error message format
@@ -103,28 +115,37 @@ All notable changes to the npm-api.sh script will be documented in this file.
103115 - Better error handling
104116 - Advanced configuration support
105117
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+
106125### 📚 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
111131
112132### 🔐 Security
133+
113134- Enhanced input validation
114135- Better parameter sanitization
115136- Improved error handling for invalid inputs
116137
117138### 🛠️ Fixes and Optimizations
139+
118140- Fixed SSL certificate management bugs
119141- Improved user input validation
120142- Optimized API requests
121143- Enhanced HTTP error handling
122144
123-
124-
125145## [ 2.7.0] - 2025-03-08
126146
127147### Added
148+
128149- DNS Challenge Support
129150 - Added support for multiple DNS providers (Dynu, Cloudflare, DigitalOcean, etc.)
130151 - 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.
142163 - Enhanced certificate search to match wildcard patterns
143164
144165### Changed
166+
145167- Command Structure
146168 - Modified --generate-cert command to accept DNS parameters after email:
147169 ``` bash
@@ -159,6 +181,7 @@ All notable changes to the npm-api.sh script will be documented in this file.
159181 - Added clarification for supported DNS providers
160182
161183# ## Improved
184+
162185- Error Handling
163186 - Added validation for DNS challenge parameters
164187 - Enhanced error messages for certificate operations
0 commit comments