Learn about the changes released for each version of the HubSpot developer platform
HubSpot developer projects include a platformVersion field that enables you to control which version of the projects platform you’re developing on. This enables you to access updated functionality and ensure any new features don’t break an app you’ve released on a previous version of the platform.Below, learn about the available versions and their associated updates to specific APIs and features.
To check which version of the developer platform your projects are running on, locate the platformVersion field in your project’s top-level hsproject.json file.
Available as of Sept 2, 2025. This platform version increases the minimum required version of Node.js to v22. Changes include a new file-based build-and-deploy framework. This framework contains an app’s configuration, assets, and other source code. Learn more in the developer platform overview.
2025.1
Available as of April 1, 2025. This platform version increases the minimum required version of Node.js to v20.
2023.2Sunset
This version was sunset on October 1, 2025, and attempts to upload projects at this version will fail. To continue building and deploying, upgrade to platform version 2025.1 or 2025.2.
Note that you’ll need to be using Node version 20 or higher for compatibility. Learn more about this version below.
2023.1Sunset
Initial release of the developer platform. This version is no longer be available as of March 31, 2024. Attempts to upload projects at this version will fail.
The latest version of the developer platform provides a number of new features, a streamlined build-and-deploy process, and other productivity tools to help you build powerful integrations with HubSpot.Learn more about how to build an app, edit your app configuration, manage your app in HubSpot, and how to install the latest version of the HubSpot CLI.More details are available in the developer platform overview
Please note: if you opt to migrate a legacy private app or public app to version 2025.2, you won’t be able to downgrade back to a previous version after the migration process is complete.
This version was sunset on October 1, 2025. If you have a project that’s still on 2023.2, you can continue building it by migrating to either 2025.1 or 2025.2.
For posterity, below are the changes included for version 2023.2.
Show serverless function updates
The following changes have been made for serverless function configuration (serverless.json):
Previously, serverless functions in projects supported two types of functions: app and API endpoint. App functions have been updated to support public URLs for making API requests, so you no longer need to build these as separate types.
With this update, the runtime and version fields have also been removed.
This version uses Node18, and lower versions cannot be specified.
2023.2 projects now support asynchronous functions. Callbacks are no longer supported in this version.To update your serverless functions to use async:
Add async to the function definition.
Remove the callback (sometimes referred to as sendResponse), and use return statements to return response.
Use await and try/catch instead of promise chaining.
Whereas previously you would refer to private app access tokens with context.secrets.PRIVATE_APP_ACCESS_TOKEN, you’ll now use process.env rather than context.secrets. For example:
Report incorrect code
Copy
Ask AI
// Include HubSpot node API clientconst hubspot = require('@hubspot/api-client');exports.main = async (context = {}) => { // instantiate HubSpot node API client const hubspotClient = new hubspot.Client({ accessToken: process.env['PRIVATE_APP_ACCESS_TOKEN'], }); //your function return response;};
Show logging changes
Version 2023.2 increases log size from 4KB to 256KB and guarantees logs to be in order of execution. You can also take advantage of improved in-app logging, such as log tracing.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.