Թողարկման նշումներ
Added
- The plugin accepts an API key as the credential, as an alternative to the e-mail and password of the account. A credential that starts with
nk_live_is a key of Name.am (Settings, API Keys in the account): it is sent as the bearer of every request as it stands, with no sign in and no stored token, and the e-mail is not needed. The SDK allows each connection role once, so the key and the password share thepasswordsetting, which is now labelled "API key or account password" in English, Russian and Armenian, andemailis no longer required. A key Name.am rejects is answered as access denied on a read as on a change. The connection test of a key readsGET /client/user. - The plugin implements
IPluginStatus: the Integrations page shows whether Name.am accepts the saved settings and whether a key or a password was used, and Test Connection works. The detail never carries a credential, an account or a word of Name.am. SetAutoRenewAsyncsetsautoRenewwithPUT /client/domains/{name}instead of answering not supported.- A registration that asks for WHOIS privacy buys the domain and then turns the privacy on with one change of the domain, instead of being refused. When Name.am does not take that change, for example while the new domain is still pending, the call throws a
NameAmUnexpectedReplyExceptionof the new kindSettingsNotApplied, because the domain is bought and the host creates no row for a refusal. The host repeats the call, which finds the domain, buys nothing and sets the privacy, and answers already applied. - The administrative, technical and billing contacts the host gives are sent on a registration, a transfer and a contact change, each in the block Name.am documents for the role. A role without a contact takes the registrant, as before. A role contact that is not complete is refused as
ContactInvalidbefore anything is sent. - The plugin implements
IRegistrarDnssecPluginand lists the capabilityregistrarDnssec. The records are read from thednsSecmember of the domain list and written withPUT /client/domains/{name}; an empty set turns DNSSEC off. A record that cannot be read throws, because a record left out would read as DNSSEC being off. The documentation of Name.am shows numbers in the answer and empty texts in the request example, so the numbers are sent as numbers; see the open questions in #16. - The availability check reads the map keyed by the name that the documentation of Name.am shows, as well as the list it read before, and reports the reason
InvalidNamefor a name Name.am calls not valid andPremiumfor an available premium name, which is reported as not available and without a price, because the answer states no currency for it.
Changed
- A registration does not switch on the automatic renewal of Name.am, whatever the host asks for. The host renews its domains itself, from the renewal invoice it raises, so a renewal by Name.am as well would charge twice. Only
SetAutoRenewAsyncchanges that switch. - The detail of the status report is now a locale key (
status.*) thatplugin.jsondefines in English, Russian and Armenian, so the Integrations page words it in the language of the admin. It was an English sentence. - The availability check reads an entry of the map form that has no
domainmember for the name it is keyed by. - Built on
Hostpanel.Sdk3.16.0, pinned as[3.16.0], andplugin.jsoncarriessdkPackageVersion3.16.0 as the build of the SDK stamps it. No member added after 3.11.0 is used, sominHostVersionstays 0.8.0, but a host older than SDK 3.16.0 refuses the plugin by the stamp. - A transfer that asks for WHOIS privacy is still refused as
Otherwith nothing sent: a transfer takes days and the domain is not in the account to change until it ends, so the switch cannot be set after the purchase. The refusal and the reason are now documented in the README. - A registration or a transfer that carries extended attributes is still refused as
Otherwith nothing sent. The public documentation shows no field for them on the cart item or on the domain change, and whether.amneeds any is an open question for Name.am (#16). - A read that Name.am answers with 401 or 403 is now answered as access denied. It threw before, as an answer that settles nothing.
Removed
- The
test_modesetting, its connection role and thetestmode=1parameter. The documentation of Name.am shows no test mode, no sandbox and no such parameter, so the promise that no real domain is bought could not be kept. A value saved for the setting is ignored and every request is now real: a registration, a transfer or a renewal buys the domain and charges the account, even where test mode was saved as on. A registration now always asks the host to poll until the domain is active.
Տեղադրել այս տարբերակը
- 1
Բացեք պլագինների ցանկը Hostpanel-ի ադմինում։
- 2
Տեղադրեք «nameam» նույնացուցիչով պլագինը և ընտրեք 1.4.0 տարբերակը։
- 3
Hostpanel-ը ռեեստրից ներբեռնում է այս ստորագրված փաթեթը և բեռնելուց առաջ ստուգում ստորագրությունը և SDK-ի տարբերակը։