- DATE:
- AUTHOR:
- JourneyApps Product Team
CloudCode v1.14.0
We are excited to announce that version 1.14.0 of CloudCode has been released.
Updates in this version:
In this release, we’ve addressed compilation issues with some TypeScript contexts in version 1.13.0 of CloudCode.
TypeScript Version Upgrade: CloudCode now uses TypeScript 5.6 (previously TypeScript 4.x). This major version bump brings new language and syntax features that may prompt minor code adjustments, especially if your code relies on loosely defined types. Notably, TypeScript 5 expands usage of the
unknown
type, which might trigger type-related errors in existing code. A good write up on breaking changes and best practices is available in this guide.Native
fetch()
Implementation: CloudCode’sfetch()
API now uses the native Node 18 fetch, moving away fromnode-fetch
. This update should not affect any existing code, but if you do run into an edge case, or you prefernode-fetch
, you can add it to yourpackage.json
and import it withimport fetch from 'node-fetch';
in your tasks.Updated Type Definitions:
@types/node
is now at version 20, aligning with the CloudCode Node.js version.
If any TypeScript errors arise, or you want additional configuration, you can further configure or override TypeScript settings in your task's tsconfig
with version 5 compilerOptions
.
Need help?
If you need help, or run into any persistent issues with this CloudCode version, let us know in the developer forum or by sending us an email.