The application relates to thiazole derivatives of formula I and salts thereof, pharmaceutical compositions containing such compounds, and methods of using such compounds in the treatment of protein tyrosine kinase-associated disorders such as immunologic and oncologic disorders.