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
self.apos.utils.readOnlySession
inapos.notify
, preventing crashes when this is invoked from a command line task. This fixesapostrophe-favicons
. It also permits notifications to be sent from routes that do update the session on purpose. -
Also updated
self.apos.utils.readOnlySession
so it will gracefully ignore calls made with no session inreq
(typically command line tasks). -
Eliminated uses of
async/await
in 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 stillawait
most of our APIs in your own projects, becauseawait
works with anything that returns a promise.