Etymology
Today it means: In a hopeful manner. Full definition →
From hoping + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.