Since so much of QGIS' cartographic power comes from the flexibility of data-defined symbol settings, we've now allowed them to be used for text formats too! This means you can now use data defined properties wherever text formats are used, e.g. within layout scalebar text.