The new stack brings a couple new features and many performance improvements:
All new applications are by default created on the new stack.
Apps running on the old stack can be identified by the url in format
In case your application still runs on the old stack, below you can find the recommended approach for migration:
On the new stack your app should listen on port defined by environment variable
See Hello World source for example how to configure your app.
MongoDB has been updated from version 2.6.x to version 3.0.x.
If you're using MongoDB from EvenNode, you should review your app whether it's compatible with MongoDB 3.0.x. See Compatibility changes in MongoDB 3.0 and General Compatibility Changes for more information.
We have also changed the
APP_CONFIG environment variable. You should use
process.env.APP_CONFIG.mongo.hostString variable to connect to MongoDB.
See MongoDB in our docs for more info.
We automatically detect the start script based on your
package.json. If your
a start script, it will be used instead of the old
app.js file. See Main script for more info.
After the migration, the url of your application will change.
In case you're using Custom domains, you should update your CNAME entries.