Project: QGIS

Version: 3.24

Feature: Processing history rework

QGIS 3.24 includes a partial implementation of the framework described in QEP 130, and ports the Processing history log over to this framework.

This is a much more flexible approach to storing Processing history, as it allows us to store unlimited additional information about the executed tool (including all the input parameters, output results, and the full text log too!). The history log is now stored in a sqlite database instead of the text file previously used, which allows for more efficient storage/retrieval/filtering.

The new framework potentially extends to more than just Processing - it could also be used to store the history of other user operations, such as project edits, layout exports etc!

We'll be using this framework in future to further extend the Processing history dialog. For 3.24, we're using it to expose a number of helpful additions to the history dialog:

  • Right clicking an entry in the log has a new option to copy the execution parameters as a "qgis_process" command line equivalent, giving you a super-easy way to generate qgis_process commands for execution in a CLI.
  • Right clicking an entry also shows a new "Copy as JSON" option, which copies a JSON string of the input parameters and algorithm settings

This feature was funded by The Research Institute for Nature and Forest, Flemish Govt

This feature was developed by Nyall Dawson