This is a bug-fix update with no new features.
Fixed a bug that prevented page permissions from propagating properly when “Apply to Subpages” is checked in “Page Settings.” Thanks to Mayank Bansal. Unit tests were also added to prevent a regression in the future.
A bug that prevented the home page type from being changed via the UI in certain situations has also been fixed.
Removed unneeded call to
apos.notify, preventing crashes when this is invoked from a command line task. This fixes
apostrophe-favicons. It also permits notifications to be sent from routes that do update the session on purpose.
self.apos.utils.readOnlySessionso it will gracefully ignore calls made with no session in
req(typically command line tasks).
Eliminated uses of
async/awaitin core unit tests. This module still supports Node 6.x, so we use promises directly, not via async/await, in core code; of course you can still
awaitmost of our APIs in your own projects, because
awaitworks with anything that returns a promise.