2.x vs 1.x branches

Hubspot has announced a move toward OAuth and away from API keys.

The 7.x-2.x branch of this module is compatible with the OAuth implementation.
The 1.x branches will remain until Hubspot turns off the API key authentication.
New module users should use the 7.x-2.x release to be more future proof with the changes coming from HubSpot. Existing module users can keep using 1.x branches for now until HubSpot turns off the API keys.

Updating from 1.x to 2.x releases

To update you can disable the 1.x module on your site. Don't uninstall the module or your Webform HubSpot fields will be removed from the forms Download, install, and enable the 2.x release in the normal way. Then go to the module settings page, configure your Portal ID and connect to HubSpot.