update.php already checks for core composer dependencies being up to date, but does not check any of your extensions for similar out of date or newly added dependencies.
Today in the IRC channel I had to help a user who had updated his installation to 1.26 and ran into trouble over this, because his SyntaxHighlight extension was still using older pygments version. I think it should be easy enough to expand checkComposerLockUpToDate.php to advise users about which extensions might require a run of composer update as well.