Etymology
Today it means: In a way that is congratulatory. Full definition →
From congratulatory + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.