Release notes
First release as a separate plugin, moved out of the Hostpanel host.
Added
- Namecheap registrar through
IRegistrarOperationsPlugin,IRegistrarEmailForwardingPlugin,IRegistrarDnsManagementPluginandIRegistrarWhoisPluginofHostpanel.Sdk3.6.0: availability, registration, transfer in, renewal, order check, lock, outgoing transfer, privacy, contact, nameservers, DNS records, DNS management, email forwarding, WHOIS, the price list and the connection test. - Every request goes out through the host's
IPanelTransport. A repeat after a lost answer is a success: the account is asked what it holds before a purchase, and a renewal compares the expiry with the one the host held. - Settings
api_username,api_key,client_ip,api_urlandtest_mode, the keys the built in provider stored, with English, Russian and Armenian texts. - Tests against a fake Namecheap account at the HTTP boundary, including the SDK's
RegistrarContractchecks, and an architecture test for the layers. - Marketplace listing: tags, the official logo as the icon, a cover and three screenshots at 1600 by 1000 in
screenshots/, with their sources indesign/. - A signed release workflow with the key held in a protected environment.
Changed from the built in provider
- Settings: the host wide
Namecheapsection is gone.Sandboxistest_modeand selects the sandbox address; the live API is never called in test mode. A saved address must be https. - An account without a user, a key or a calling address refuses every operation as access denied, the availability check included, and sends nothing.
client_ipis required in the manifest and in the code alike. - A refusal is a
RegistrarRefusalReason. Error numbers follow Namecheap's published list:2019166is "domain not found" on every command, and is no longer read as too little balance for a purchase;2030280is "TLD not supported", not "domain unavailable" (that is3019166and4019166);2011170is no longer an invalid authorization code. Authentication numbers are listed one by one. - An error number that is not a listed refusal, such as Namecheap's "unknown exceptions" (
5050900,5050169,5019169) and the errors of its upstream registry (3050900,3031510), is an unknown outcome: the call throws and the host retries, where the built in provider answered a refusal that could make the host refund a purchase that had gone through. - The log carries the command and the error number, never Namecheap's sentence. The transport does not retry reads as the built in client did.
- Register sends
DomainName, keeps the domain name as the reference, reads the expiry from the account and not as now plus the years, reports a premium name as not available, and refuses a period outside 1 to 10 years. - Transfer sends
Years=1andWGenable, base64 encodes a code with special characters, finds a held domain or a transfer in progress first (asked for in the in-progress transfer list, since the status text of a transfer is free text), and is answered as still being worked on. - Renew reads the expiry first and is not repeated for a domain that is already renewed.
- Auto renewal and the authorization code were sent as commands that are not in Namecheap's API; they are not supported. Cancelling a transfer is not supported, as before.
- Privacy switched on forwards to the registrant's address, which Namecheap requires. A contact that has not changed is not sent again, and an incomplete one is refused.
- DNS records: the built in provider dropped the record types the SDK has no value for and wrote the zone back without them, removed a record by its position in the list, and gave a record with no time to live the default of 1800 seconds. The plugin keeps every record, including types the SDK has no value for, finds a record by id or by type, host and value, and refuses SRV, a time to live outside 60 to 60000 and an MX record without a priority. It reads the mail mode of the zone and writes it back (
MXwhen it adds an MX record), because Namecheap drops an MX record without an error in any other mode. It refuses a domain that is not on Namecheap's nameservers. - E-mail forwarding is read and written in the element
DomainEmailForwardingResultwith the destination in theForwardToattribute, as the open source Namecheap client reads it; the README lists this among the shapes to verify in the sandbox. - DNS management cannot be switched off (not supported while the domain uses Namecheap's nameservers). Email forwarding switched on is refused for a domain on other nameservers. A forwarding source given as an address is reduced to its mailbox.
- WHOIS reads the dates and the registrant from the account; a name the account does not hold is not found. The built in provider answered made up values.
- The price list is read (exact decimals, years only, the
domainsproduct type with theregister,renewandtransfercategories); the built in provider answered an empty list. Namecheap quotes the price of one year and its fee under every duration, so the price of a period is the years times that price plus the fee. The connection test is new. - Answers are read with
DtdProcessing.Prohibitand a size limit, and dates with the invariant culture as UTC. The date of a renewal may carry a narrow no-break space before AM or PM, and is read all the same. An answer larger than 32 MiB is not read. - The package carries
NOTICEbesideLICENSE, and the manifest names the licenceAGPL-3.0-or-later, as the host does.
Install this version
- 1
Open the plugin list in your Hostpanel admin.
- 2
Install the plugin with the id "namecheap" and choose version 1.0.0.
- 3
Hostpanel downloads this signed package from the registry and checks the signature and the SDK version before it loads.