Cloud hosting is a big emphasis in this release. There’s a new cloud deployment HOWTO to go with it:
APOS_MONGODB_URIenvironment variable is used to connect to MongoDB if present. Helpful for cloud hosting. See the new deploying Apostrophe in the cloud HOWTO.
APOS_S3_REGIONenvironment variables can be used to configure Apostrophe to use S3 for uploaded media storage. This behavior kicks in if
APOS_S3_BUCKETis set. See the new deploying Apostrophe in the cloud HOWTO.
- New advisory locking API accessible via
apostrophe-migrations:migrateis now wrapped in a lock. More locks are coming, although Apostrophe was carefully designed for benign worst case outcomes during race conditions.
- Better asset deployment for Heroku and other cloud services.
node app apostrophe:generation --create-bundle=NAMEnow creates a new folder,
NAME, containing assets that would otherwise have been written to
public. Launching a server with the
APOS_BUNDLEenvironment variable set to
NAMEwill then copy that bundle’s contents into
publicbefore listening for connections. See the new deploying Apostrophe in the cloud HOWTO.
apostrophe-pieces-pagesindex pages are about 2x faster; discovered we were inefficiently deep-cloning
reqwhen cloning a cursor.
- Helpful error message if you forget to set the
nameproperty of one of your