Skip to content

Commit ac3dbcb

Browse files
authored
Add mention of other breakiing changes to upgrading to v5 doc (#618)
1 parent 3512f3f commit ac3dbcb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/upgrading-to-v5.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ If you do choose to include the `web-vitals` library code in your main applicati
2626
#### `INPAttribution`, `LCPAttribution`, and `CLSAttribution`
2727

2828
- **Changed** to sort the classes that appear in attribution selectors to reduce cardinality. While not a breaking change in the API, this may result in a short term difference in reports based on the selector during the change over from v4 to v5, but longer term should result in few selectors that are more easily grouped in reporting. ([#518](https://github.com/GoogleChrome/web-vitals/pull/518))
29+
- **Changed** `LCPAttribution.element` to `LCPAttribution.target` as part of ([#585](https://github.com/GoogleChrome/web-vitals/pull/585)) for consistency.
30+
- **Removed** `INPAttribution.interactionTargetElement` by default. If needed this can be generated as part of support for generating custom targets in the attribution build ([#585](https://github.com/GoogleChrome/web-vitals/pull/585))
2931

3032
## 🚀 New features
3133

0 commit comments

Comments
 (0)