Skip to content

Bump embed/embed from 4.5.0 to 4.6.0 - #415

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/embed/embed-4.6.0
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/embed/embed-4.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 3, 2026

Copy link
Copy Markdown
Contributor

Bumps embed/embed from 4.5.0 to 4.6.0.

Release notes

Sourced from embed/embed's releases.

v4.6.0

Added

  • mastodon:iframe setting (off by default). Mastodon oEmbed html (blockquote.mastodon-embed with data-embed-url) becomes a sandboxed <iframe> to the post's /embed page, so no embed.js is needed. Only same-host https embed URLs are used
  • Bilibili adapter: bilibili.com/video/BV... and av... URLs (also b23.tv short links) get a player.bilibili.com iframe built from the URL. The title, description and image of Bilibili's error pages ("出错啦!" and "视频去哪了呢?") are ignored, and so is a description template that was never filled #243
  • Youku adapter: v.youku.com/v_show/id_<ID>.html URLs get a player.youku.com/embed iframe built from the URL #243
  • NetEase Music adapter: songs, albums and playlists on music.163.com get an outchain/player iframe, and the author is read from the description. URLs with a #/ route are requested without it. MV pages (/mv?id= and /#/mv?id=) get metadata only, because NetEase has no official embeddable MV player #243
  • Extractor::normalizeUri(), used by adapters to rewrite a URL before it is requested

v4.5.4

Security

  • TLS verification is on by default. CurlClient now sends CURLOPT_SSL_VERIFYPEER true and CURLOPT_SSL_VERIFYHOST 2 unless told otherwise, so self-signed, expired and wrong-host certificates are rejected (curl error 60). Before, both checks were off when the settings were missing #575
  • A null ssl_verify_peer or ssl_verify_host now means the default (verification on). Explicit 0, false, '0' and '' still disable it

To disable verification, which is not recommended, pass the existing settings:

$client = new Embed\Http\CurlClient();
$client->setSettings(['ssl_verify_peer' => false, 'ssl_verify_host' => 0]);
$embed = new Embed\Embed(new Embed\Http\Crawler($client));

v4.5.3

Added

  • Kick adapter. Channel pages embed https://player.kick.com/<slug> (16:9). Video pages read the title, thumbnail and author name from Kick's public API. Clips have no embed code because Kick does not document a clip player

Fixed

  • An Open Graph video served as HLS (.m3u8, application/x-mpegURL or application/vnd.apple.mpegurl, also read from og:video:type) no longer produces an <iframe> pointing to the playlist
  • Twitch video iframes use the documented video=v<ID> parameter instead of id
  • Twitch clip URLs (clips.twitch.tv/<slug> and twitch.tv/<channel>/clip/<slug>) produce a clips.twitch.tv/embed iframe when twitch:parent is set

v4.5.2

Added

  • oEmbed responses of type photo without html now produce an <img> embed code from their url, width and height (#584)

See CHANGELOG

v4.5.1

See CHANGELOG

Changelog

Sourced from embed/embed's changelog.

[4.6.0] - 2026-10-30

Added

  • mastodon:iframe setting (off by default). Mastodon oEmbed html (blockquote.mastodon-embed with data-embed-url) becomes a sandboxed <iframe> to the post's /embed page, so no embed.js is needed. Only same-host https embed URLs are used
  • Bilibili adapter: bilibili.com/video/BV... and av... URLs (also b23.tv short links) get a player.bilibili.com iframe built from the URL. The title, description and image of Bilibili's error pages ("出错啦!" and "视频去哪了呢?") are ignored, and so is a description template that was never filled #243
  • Youku adapter: v.youku.com/v_show/id_<ID>.html URLs get a player.youku.com/embed iframe built from the URL #243
  • NetEase Music adapter: songs, albums and playlists on music.163.com get an outchain/player iframe, and the author is read from the description. URLs with a #/ route are requested without it. MV pages (/mv?id= and /#/mv?id=) get metadata only, because NetEase has no official embeddable MV player #243
  • Extractor::normalizeUri(), used by adapters to rewrite a URL before it is requested

[4.5.4] - 2026-10-30

Security

  • TLS verification is on by default. CurlClient now sends CURLOPT_SSL_VERIFYPEER true and CURLOPT_SSL_VERIFYHOST 2 unless told otherwise, so self-signed, expired and wrong-host certificates are rejected (curl error 60). Before, both checks were off when the settings were missing #575
  • A null ssl_verify_peer or ssl_verify_host now means the default (verification on). Explicit 0, false, '0' and '' still disable it

To disable verification, which is not recommended, pass the existing settings:

$client = new Embed\Http\CurlClient();
$client->setSettings(['ssl_verify_peer' => false, 'ssl_verify_host' => 0]);
$embed = new Embed\Embed(new Embed\Http\Crawler($client));

[4.5.3] - 2026-10-30

Added

  • Kick adapter. Channel pages embed https://player.kick.com/<slug> (16:9). Video pages read the title, thumbnail and author name from Kick's public API. Clips have no embed code because Kick does not document a clip player

Fixed

  • An Open Graph video served as HLS (.m3u8, application/x-mpegURL or application/vnd.apple.mpegurl, also read from og:video:type) no longer produces an <iframe> pointing to the playlist
  • Twitch video iframes use the documented video=v<ID> parameter instead of id
  • Twitch clip URLs (clips.twitch.tv/<slug> and twitch.tv/<channel>/clip/<slug>) produce a clips.twitch.tv/embed iframe when twitch:parent is set

[4.5.2] - 2026-10-27

Added

  • oEmbed responses of type photo without html now produce an <img> embed code from their url, width and height #584

[4.5.1] - 2026-10-26

Security

  • JSON-LD remote contexts are never fetched. A page-supplied @context is not requested, so it cannot bypass the URL policy or follow redirects. schema.org contexts are resolved from a bundled vocabulary; any other remote context is skipped #573
Commits
  • bda2c8b Add Bilibili, Youku and NetEase Music adapters (#588)
  • 55d64b0 Add mastodon:iframe setting to embed Mastodon posts as an iframe (#586)
  • 24b4102 Verify TLS certificates and hostnames by default (fixes #575) (#587)
  • e9a0c20 new version
  • 8560361 Add Kick adapter, skip HLS og:video iframes and fix Twitch video and clip emb...
  • 1aad3a3 CI: test PHP 8.5, add 8.6 nightly and lowest deps, harden workflow (#583)
  • 813886d new version
  • 37c35be Build an img code for oEmbed photo responses (#584)
  • 493a032 new version
  • 5363f84 Do not fetch remote JSON-LD contexts (#580)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [embed/embed](https://github.com/php-embed/Embed) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/php-embed/Embed/releases)
- [Changelog](https://github.com/php-embed/Embed/blob/master/CHANGELOG.md)
- [Commits](php-embed/Embed@v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: embed/embed
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Nov 3, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #417.

@dependabot dependabot Bot closed this Nov 10, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/embed/embed-4.6.0 branch November 10, 2026 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants