Functions are blocks of code that run on demand without the need to manage any infrastructure. Develop on your local machine, test your code from the command line (using doctl
), then deploy to a production namespace or App Platform — no servers required.
All Functions API calls now require read-write tokens, even if they are for read-only actions. See the Functions section of the DigitalOcean API reference for more details.
DigitalOcean Functions now supports functions written in Go 1.20, PHP 8.2, and Python 3.11.
Visit the Functions documentation to learn more about which runtimes are available.
DigitalOcean Functions now has limited beta access to scheduled triggers.
Scheduled function triggers allow you to set a cron-like schedule for running your function. An optional payload may be included with each invocation. Each function may have multiple triggers with different schedules and payloads.
Visit How to Schedule Functions to learn more about creating and working with scheduled triggers from the command line or control panel interface.
DigitalOcean Functions now support a maximum timeout of 15 minutes.
Longer timeouts enable functions to handle more complex and compute-intensive tasks such as video and image processing, data transformation, and report generation.
Visit the Functions documentation to learn more about creating and working with long-running functions.
For more information, see all Functions release notes.