The invention provides a pharmaceutical composition comprising (a) a bioerodible water insoluble polymer matrix comprising a polyester polymer, wherein the polymer matrix has a melting point of less than 60 DEG C. and (b) an active agent dispersed within the polymer matrix, wherein the composition is formulated to controllably release the active agent for a pre-determined period of time to a target site. Also disclosed are methods of treating a disease or condition with the disclosed compositions.