Stratum V2 encrypts miner-to-pool traffic and lets miners choose the transactions in their blocks instead of the mining pool.
Glossary · deep dive
Stratum V2
A newer protocol between miners and pools: encrypted, more efficient, and lets miners build their own block templates.