elegant is an open-source accelerator code that has been in use and development for approximately two decades. In that time, it has evolved from a graduate student project with a narrow purpose to a general code for the design and modeling of linacs and storage rings. elegant continues to evolve, thanks in no small part to suggestions from users. elegant has seen extensive application to modeling of linacs, particularly for applications related to free-electron lasers and energy recovery linacs. Recent developments have emphasized both linac and storage-ring-related enhancements, along with parallelization. In this paper, we briefly review the features of elegant and its program suite. We then describe some of the recent progress made in the ongoing development of elegant. We also discuss several noteworthy applications and directions for future work.