- Starting with MongoDB 3.3.x (?), it is an error to pass
safe: true
when callingensureIndex
, and it has never done anything in any version. In our defense, this cargo-cult practice was probably adopted back in the days when MongoDB would invoke your write callback without actually confirming anything unless you passedsafe: true
, but apparently this was never a thing for indexes. Removed all thesafe: true
arguments fromensureIndex
calls. - Added a
beforeAjax
Apostrophe event to facilitate progress display and animations when using the newdata-apos-ajax-content
feature.