An Aberystwyth historian has released a new book showing how the town has changed.