angular v13.0.0-next.3 Release Notes
Release Date: 2021-08-25 // over 2 years ago-
💥 Breaking Changes
router
- Previously
null
andundefined
inputs forrouterLink
were equivalent to empty string and there was no way to disable the link's navigation. In addition, thehref
is changed from a propertyHostBinding()
to an attribute binding (HostBinding('attr.href')
). The effect of this 🔄 change is thatDebugElement.properties['href']
will now return thehref
value returned by the native element which will be the full URL rather than the internal value of theRouterLink
href
property. ### compiler-cli | Commit | Description | | -- | -- | 📇 | bed121c34f | feat: inline resources when generating class metadata calls (#43178) | ### core | Commit | Description | | -- | -- | ⚡️ | e57691c9c5 | feat: Add migration to update empty routerLinks in templates (#43176) | ### language-service | Commit | Description | | -- | -- | | b10d90bef6 | feat: Add method for retrieving the component template at the cursor location (#43208) | ### router | Commit | Description | | -- | -- | | ccb09b4558 | fix: null/undefined routerLink should disable navigation (#43087) | ### 👷 service-worker | Commit | Description | | -- | -- | | 6e924313c3 | fix: NPE if onActionClick is undefined (#43210) | ## Special Thanks: Alex Rickabaugh, Andrew Scott, Daniel Trevino, George Kalpakas, Paul Gschwendtner, dario-piotrowicz and shlasouski
<!-- CHANGELOG SPLIT MARKER -->
- Previously