The present invention provides methods and compositions that permit controlled and prolonged drug release in vivo. The compounds are either prodrugs with tunable rates of release, or conjugates of the drug with macromolecules which exhibit tunable controlled rates of release.