fix: change from version to draft#42
Conversation
|
Oops, thank you for the fix! |
|
Can you rename your commit message like this to generate a nice changelog for the release? Unfortunately I had to escape the inner backtick characters! |
|
This should also be updated in the README.md: Lines 104 to 108 in 1c4caac |
feef050 to
95deb5a
Compare
|
I updated the description of the commit and changed the README to contain the new interface |
95deb5a to
654b018
Compare
|
Thanks! And sorry for the confusion: can you remove the escape of the backticks in the commit message? The goal is to get a code block rendered into the changelog, I just can't write codeblock-in-codeblock in the GitHub comment. |
…CMPv3 compatibility
The `data-version` attribute has been replaced with `data-draft` in CMPv3, but this was
missing from the `@s-group/react-usercentrics@3.0.0` release.
You will need to migrate your props after this update:
```diff
--- <UsercentricsScript settingsId="1234" version="preview" />
+++ <UsercentricsScript settingsId="1234" draft={true} />
```
654b018 to
b17f95f
Compare
That makes sense. I could not create a preview of the changelog locally so I did not see the outcome of it. It should work now. |
|
🎉 This PR is included in version 3.0.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
Thank you again for the fix! Unfortunately looks like the changelog generator didn't include the fancy commit message body: https://github.com/s-group-dev/react-usercentrics/releases/tag/v3.0.4 |
In v3 of CMP
data-versionwas replaced bydata-draft. This PR addresses the change.