# Developer Projects Platform Version 2023.2

**URL:** <https://community.hubspot.com/t/developer-projects-platform-version-2023-2/94482>\
**Category:** Developer Announcements\
**Tags:** announcement\
**Created:** [November 21, 2023, 3:11pm UTC](https://community.hubspot.com/t/developer-projects-platform-version-2023-2/94482 "2023-11-21T15:11:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmclaren](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jmclaren/32/38449_2.png) [@jmclaren](https://community.hubspot.com/u/jmclaren)\
**Post date:** [November 21, 2023, 3:11pm UTC](https://community.hubspot.com/t/developer-projects-platform-version-2023-2/94482/1 "2023-11-21T15:11:07Z")

</div>

The text below is [a copy of a post on the developer changelog](https://developers.hubspot.com/changelog/developer-projects-platform-version-2023.2). If there are inconsistencies between this version and the one on the changelog the one on the changelog takes precedence.

* * *

If you’re using HubSpot Developer Projects - currently used for building UI Extensions and for the CMS React Beta we’re introducing a new project version. To get the updates you’ll need to update the platform version in your project config file.

This new version comes with feature and developer experience enhancements, by updating your `platformVersion` in your project configuration file you can opt in when it’s convenient for your team.

## What’s new in version 2023.2?

App functions are getting a number of developer experience updates.

- Support for asynchronous functions (async await)
- The removal of the 4kb log limits (we heard you loud and clear). In addition to the removal of this limit, there’s now an improved logging system in-app.
- `PRIVATE_APP_ACCESS_TOKEN` has been moved from context.secrets to be accessed from `process.env` instead.
- App functions now support Node 18. In order to upgrade to this newer version of projects and get all of the updates you will need to upgrade any app functions using Node 16 or lower to Node 18.
- App functions can now have public URLs, which means they now replace Endpoint functions used for CMS development. This means we’re moving to 1 system for building with serverless functions across the platform so your knowledge and skills transfer.

### How to update your project to the latest version of the Developer Platform?

Open your hsproject.json file, it should look like this. (if yours does not show a “platformVersion” that’s okay, you’ll be adding it.)

```lia-code-sample
{
 "name": "YOUR PROJECT NAME",
 "srcDir": "src",
 "platformVersion": "2023.1"
}

```

You’ll be updating or adding the platformVersion number “2023.2”

```lia-code-sample
{
 "name": "YOUR PROJECT NAME",
 "srcDir": "src",
 "platformVersion": "2023.2"
}

```

In your serverless function files you’ll need to update how you’re grabbing the private app token. Update references to `context.secrets.PRIVATE_APP_ACCESS_TOKEN` to `process.env.PRIVATE_APP_ACCESS_TOKEN`

Additionally if you have any, [CMS endpoint functions will need to be converted to App Functions](https://developers.hubspot.com/docs/platform/platform-versioning#serverless-function-configuration).

If you want to update your functions to be asynchronous [we have guidance for that as well](https://developers.hubspot.com/docs/platform/platform-versioning#async-support).

**Questions or comments?** Join us below.

---

<div class="post-metadata">

**Author:** ![CIPS](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@CIPS](https://community.hubspot.com/u/CIPS)\
**Post date:** [November 22, 2023, 11:59pm UTC](https://community.hubspot.com/t/developer-projects-platform-version-2023-2/94482/2 "2023-11-22T23:59:27Z")

</div>

![CIPS_0-1700697537445.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/2/325a714c1cc5268b55687046cbd2226a308c084c.png)

I got this error after changing the platform version.

---

<div class="post-metadata">

**Author:** ![jmclaren](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jmclaren/32/38449_2.png) [@jmclaren](https://community.hubspot.com/u/jmclaren)\
**Post date:** [December 6, 2023, 4:49pm UTC](https://community.hubspot.com/t/developer-projects-platform-version-2023-2/94482/3 "2023-12-06T16:49:24Z")

</div>

Sounds based on that error like you still need to update your serverless.json. In the new version the version and runtime fields are deprecated.  
[Follow this guide to update your serverless.json](https://developers.hubspot.com/docs/platform/platform-versioning#serverless-function-configuration)

---

<div class="post-metadata">

**Author:** ![CIPS](https://avatars.discourse-cdn.com/v4/letter/c/59ef9b/32.png) [@CIPS](https://community.hubspot.com/u/CIPS)\
**Post date:** [March 20, 2024, 10:03pm UTC](https://community.hubspot.com/t/developer-projects-platform-version-2023-2/94482/4 "2024-03-20T22:03:20Z")

</div>

Thank you! I also had to change other things but everything was in the guide that you shared.
