Install
Works with Drupal: ^11.4Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
639.34 KB
MD5: 63640374045c48ffb9f3a4226b625133
SHA-1: 0c48d52d0e0d7e79abfc536c02d2de940f19078b
SHA-256: a6ac4a9f9302de1815f5053b4562578077352ebceff20768bc8821462a1e6500
Download zip
1.02 MB
MD5: 8233c96ddb37f516eb6ca4052d981ac6
SHA-1: 60490b5e0a8c8f8220e06309f4182450b67761c9
SHA-256: 0f2dac33e60ef94be2b5fa4f7617e88f89d2b8d19b791384bff1ee0f1334a1df
Release notes
New features
Choose how often registrations refresh
- Interval: registrars with Refresh registration details turned on now have a Refresh every setting: 1, 6, 12 or 24 hours. Existing providers stay at 24 hours.
- Cron drift fixed: a refresh counts as due up to 10 minutes early, so an hourly cron no longer pushes it back an hour.
- Commerce Domains Import: Also add the domains the account holds that the catalog lacks now runs on the same interval.
Refresh registrations now
- Registrations tab: a new Refresh now button on the provider's Registrations tab reads the whole account and applies the changes straight away, as cron does.
- Provider list: the list has a matching Refresh registrations operation.
DNS templates
- Where: a new configuration page at Commerce → Configuration → Domains → DNS templates.
- What a template holds: up to 20 records.
{domain}in a value becomes the domain name. Templates can include registrar-specific types such as Dynadot URL forwards. - On a domain's DNS tab: Use a DNS template loads the template into the record table for review before anything is applied. You choose to either keep the existing records and add the missing ones, or replace them all.
- CNAMEs and forwards: when keeping existing records, a template's CNAME or forward takes the place of the one already on that host.
- Unsupported types: record types the registrar doesn't support are left out, with a warning.
- Commerce Domains Bulk editing: a new Apply a DNS template action for selected domains on the Domains overview.
- It writes to each registrar straight away, without a review per domain.
- Each previous zone is kept and can be restored from the domain's DNS tab.
- Domains whose nameservers point elsewhere, sold domains, and registrars whose API can't edit DNS are skipped and counted.
Bug fixes
- DNS tab: Add a record crashed with a
TypeErrorinDnsRecord::fromArray()on a domain with no DNS records. - Dynadot: a URL forward without a redirect type is now sent as a 302 (temporary). Dynadot requires a redirect type, and forwards added on the DNS tab never had one.
Upgrading
- Run database updates (
drush updb):commerce_domains_update_11008installs the DNS template entity type.commerce_domains_bulk_update_11001creates the Apply a DNS template action and adds it to the Domains overview's bulk form. It only adds it when the view lists its allowed actions explicitly.
- Then export configuration: the new
system.action.commerce_domains_dns_templateand the updatedviews.view.commerce_domains_overview. - Permissions:
- DNS templates are managed with Administer domain providers.
- The bulk action needs Manage domains at registrars, as the DNS tab does.
- API change:
RegistrarSync::INTERVALis removed. The interval is now per provider (ProviderInterface::getRegistrationInterval()), and the shared refresh isRegistrarSync::refresh().