Dense Matter in Compact Stars: Theoretical Developments and Observational Constraints