Salesforce Functions are serverless, scalable code blocks in Apex, Java, Python, NodeJS, etc.
What areSalesforce Functions?
Invoked by Apex or low-code tools like Salesforce Flow. They auto-scale, bypassing API limits of off-platform solutions.
Announcement
Dreamforce 2019
Announced as "Evergreen", a Serverless Functions & Compute for Customer 360 Platform.
Q1 2020
Alpha Release
Limited access for testing and feedback.
Salesforce Functions becomes generally available to all users.
Oct 12, 2021
General Availability
Mar 1, 2022
Container-less
Run and test Salesforce Functions locally using the Salesforce CLI, no containers required.
Jan 4, 2023
New Regions & Languages
New Regions for Salesforce Functions, Python for Salesforce Functions in Open Beta.
Feb 11, 2023
Buildback Support
Added support for custom build packs, which allows you to use other languages, libraries, and frameworks.
Sept 27, 2023
Retirement Announcement
Salesforce announced the retirement of Salesforce Functions, aka Salesforce Elastic Services.
Oct 31, 2023
End of Sale (EOS)
The last day customers can purchase new Elastic Services subscriptions.
Jan 31, 2024
End of Renewal (EOR)
The last day customers can renew their existing Elastic Services subscriptions.
Jan 31, 2025
End of Life (EOL)
The last day Salesforce Functions will be available in Salesforce orgs.
How to migrate?
https://github.com/heroku/function-migration
From the above migration guide, it involves
Understanding the differences between Salesforce Functions and Heroku apps
Set up Connected Apps
How to migrate?
https://github.com/heroku/function-migration
Update + Deploy Apex classes and triggers for function invocation
Deploy Custom metadata types and objects for function metadata and tracking
How to migrate?
Overall, the migration will require a good understanding of both Salesforce and Heroku platforms and could be a moderate to complex effort, depending on the existing setup.