How the 200-year-old literary genre reflects changing notions of history and society