Changelog
All notable changes to the npm-api.sh script will be documented in this file.
[3.0.0] - 2025-03-15
🔄 Breaking Changes
- Host Creation Command Simplified
The
- OLD: ./npm-api.sh -d example.com -i 192.168.1.10 -p 8080 + NEW: ./npm-api.sh --host-create example.com -i 192.168.1.10 -p 8080
-d
option has been removed in favor of a more intuitive positional argument after--host-create
New Commands (2.8.0)
--access-list
: List all available access lists--access-list-show <id>
: Show detailed information for a specific access list--access-list-create
: Create a new access list--access-list-update
: Update an existing access list--access-list-delete
: Delete an access list--list-cert
: List certificates filtered by domain name--list-cert-all
: List all SSL certificates
Renamed Commands
--list-ssl-cert
→--list-cert
--create-user
→--user-create
--delete-user
→--user-delete
--list-users
→--user-list
--list-access
→--access-list
--update-host
→--host-update
Enhanced Commands
--generate-cert
: Added support for wildcard certificates and DNS challenges- Support for multiple DNS providers (Dynu, Cloudflare, DigitalOcean, etc.)
- Add Wildcard support.
Syntax Changes
- Host-related commands now consistently use the
--host-
prefix - User-related commands now consistently use the
--user-
prefix - Certificate-related commands now consistently use the
--cert-
prefix