ANGPTL8 and diabetes mellitus: This study is the first longitudinal study to detect the association between ANGPTL8 and outcomes of diabetes, particularly those in novel subgroups of diabetes.