Migration notes
0.1.0 (2024-01-05)
- For library consumers:
- Remove references to
Provider.*
; rely ongetProviderFromUrl(url)?.name
or useconvertUrlToEmbedUrl(url)
for an auto-detected embed link.
- Remove references to
- For
<o-embed>
usage in@social-embed/wc
:- No user code changes typically required, unless you were depending on the
Provider
enum externally. - Now it’s enough to set
url
on<o-embed>
. Unknown providers fallback to<iframe>
or produce an error message for invalid URLs.
- No user code changes typically required, unless you were depending on the