Skip to content

Commit 5661b75

Browse files
committed
docs: update MIGRATION.md
1 parent fc3b7f9 commit 5661b75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MIGRATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- The `uiVersion` prop for `<UsercentricsScript />` is no longer supported and should be removed. The CMP v3 loader script currently supports only the "latest" version.
88
- This also means that hard-coding a version number and its [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) hash is no longer supported. Instead, use a random `nonce` value when implementing a [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CSP).
99
- The `showSecondLayer()` util no longer supports passing a service id argument to directly open to the service info. Instead, use the new `showServiceDetails(serviceId: ServiceId)` util.
10+
- The `acceptService()` util has been replaced with `updateServicesConsents()` with a signature supporting multiple consents at a time.
1011
- The `getServicesFromLocalStorage()` util has been replaced with `getConsentsFromLocalStorage()` with a different format.
1112
- The following utils and hooks have been removed because CMP v3 no longer supports them:
1213
- `getServicesBaseInfo()`

0 commit comments

Comments
 (0)