Skip to content

v4.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 20:56

Upgrading

No action required. Existing code keeps compiling and behaves as before: the new option is sent only when you set it, and the new response field is filled in only when you ask for domain info. awaitDomainInfo is the last ZBValidateOptions parameter and domainDetectedServices the last ZBValidateResponse parameter, both with defaults.

What's new

Single email validation can now wait for the domain checks (awaitDomainInfo, sent as await) and returns the services detected on the domain (domain_detected_services). Both belong to the Website Availability and WHOIS Checker (domain_info): https://www.zerobounce.net/docs/email-validation-api-quickstart/whois-checker

Added

  • ZBValidateOptions(awaitDomainInfo:), sent as await=true|false only when set, on single validate (GET and POST), never on validateBatch. It only takes effect with domainInfo: true and can add up to about 30 seconds; keep the HTTP timeout at 60 seconds or more (the SDK default is 120).
  • ZBValidateResponse.domainDetectedServices (ZBDomainDetectedServices? with integrations and services, each a list of ZBDetectedService with name, key and category); nil when the API sends null or omits it. Batch rows carry it too.

Fixed

  • The documented values of domainWebsiteExists and domainRegistrantCompanyName: "true", "false", "unchecked" and "not_found" (the company name otherwise).

Dependencies

No dependency changes.

Why this version

Minor release: a new request option and a new response field, with no breaking changes.


Full Changelog: v4.1.0...v4.2.0