by V.E. Schwab
Book Two in the Threads of Power series, which will be set in the same world as the Shades of Magic series.