Google, Yahoo and Microsoft announced rel="canonical" jointly in February 2009; the IETF standardised it as RFC 6596 in April 2012.
Before 2009, handling duplicates depended on 301 redirects or on stripping URL parameters via Webmaster Tools. The solution was expensive: it forced publishers to choose between duplicating content and losing traffic. The canonical resolved the dilemma by allowing both URLs to exist with a declared preference.
2009 — Google, Yahoo, Microsoft announce rel=canonical jointly
2012 — IETF publishes RFC 6596: The Canonical Link Relation
2017 — Google integrates canonical hints with sitemaps and AMP
2021 — Google confirms canonical + sitemap reinforce the hint
2024 — Canonical remains a hint, never a directive
The canonical link element gives webmasters a way to tell search engines which URL is the preferred version of a page with similar content.
— Google Webmaster Central Blog, 12 February 2009