13.0.0-next.5 (2021-09-08)
Breaking Changes
common
- The behavior of the
SpyLocation
used by theRouterTestingModule
has changed
to match the behavior of browsers. It no longer emits a 'popstate' event
whenLocation.go
is called. In addition,simulateHashChange
now
triggers both ahashchange
and apopstate
event.
Tests which uselocation.go
and expect the changes to be picked up by
theRouter
should likely change tosimulateHashChange
instead.
Each test is different in what it attempts to assert so there is no
single change that works for all tests. Each test using theSpyLocation
to
simulate browser URL changes should be evaluated on a case-by-case basis.
common
Commit | Description |
---|---|
synchronise location mock behavior with the navigators (#41730) |
language-service
Commit | Description |
---|---|
exclude the SafePropertyRead when applying the optional chaining (#43321)
|
migrations
Commit | Description |
---|---|
migration failed finding tsconfig file (#43343) |
router
Commit | Description |
---|---|
Option to correctly restore history on failed navigation (#43289) | |
add more context to Unhandled Navigation Error (#43291)
|
Special Thanks
Ahmed Ayed, Alan Agius, Andrew Scott, Charles Barnes, Enea Jahollari, George Kalpakas, Ikko Ashimine, Paul Gschwendtner, Pete Bacon Darwin, William Sedlacek, dario-piotrowicz and ivanwonder