In Magnolia 5.3.2 we introduced the NodeVisitorTask as a safer replacement for QueryTask in most cases (see linked ticket
MAGNOLIA-5857). We started to warn against unsafe usages whenever executing a QueryTask.
In 5.4 we want to deprecate current constructor, and add a new one with a boolean flag in the following spirit: "I read about the limitations and I know what I'm doing". If that boolean is false (default), we would fire a TaskExecutionException and interrupt the upgrade.