Skip to content

Bump embed/embed from 4.5.0 to 4.6.3 - #419

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

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

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps embed/embed from 4.5.0 to 4.6.3.

Release notes

Sourced from embed/embed's releases.

v4.6.3

Fixed

  • A Referer header set by the caller (for example with addDefaultHeaders()) is kept when a request follows redirects, instead of being replaced by the previous URL. Vimeo videos with domain-level privacy need it to return their title, thumbnail and other metadata #377 #567

Added

  • README section about Vimeo videos with domain-level privacy: how to send the Referer of an allowed domain, how to read Vimeo's domain_status_code and how to tell when the oEmbed request returned no data #377 #567

v4.6.2

Added

  • README section about the HTTP layer: how Crawler, CurlClient and CurlDispatcher fit together, the v4 setting for each v3 CURLOPT_* option, extra headers, and how to wrap the client instead of extending the dispatcher #445

v4.6.1

Fixed

  • X/Twitter status URLs get their oEmbed from publish.twitter.com with the status URL that was requested, even when logged-out visitors are redirected to x.com/home, the x.com/x/migrate form or a login wall. mobile.twitter.com and /statuses/ URLs are accepted, query strings like ?s=20 are dropped, and the title is no longer "x.com" #520 #536
  • A < that cannot open a tag (like in Brytere =<250A) no longer makes the rest of a title or description disappear #372
  • Image and other URLs with inner spaces (like 1024-576 logo.jpg) keep them, encoded as %20, instead of being collapsed #485
  • Images and other media detected by content type use the final URL after redirects as their src #524
  • On PHP 8, curl handles (and their file descriptors) are released as soon as a request finishes, instead of waiting for the garbage collector, so long running workers no longer hit "Too many open files" #283

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

... (truncated)

Changelog

Sourced from embed/embed's changelog.

[4.6.3] - 2026-11-20

Fixed

  • A Referer header set by the caller (for example with addDefaultHeaders()) is kept when a request follows redirects, instead of being replaced by the previous URL. Vimeo videos with domain-level privacy need it to return their title, thumbnail and other metadata #377 #567

Added

  • README section about Vimeo videos with domain-level privacy: how to send the Referer of an allowed domain, how to read Vimeo's domain_status_code and how to tell when the oEmbed request returned no data #377 #567

[4.6.2] - 2026-11-06

Added

  • README section about the HTTP layer: how Crawler, CurlClient and CurlDispatcher fit together, the v4 setting for each v3 CURLOPT_* option, extra headers, and how to wrap the client instead of extending the dispatcher #445

[4.6.1] - 2026-10-30

Fixed

  • X/Twitter status URLs get their oEmbed from publish.twitter.com with the status URL that was requested, even when logged-out visitors are redirected to x.com/home, the x.com/x/migrate form or a login wall. mobile.twitter.com and /statuses/ URLs are accepted, query strings like ?s=20 are dropped, and the title is no longer "x.com" #520 #536
  • A < that cannot open a tag (like in Brytere =<250A) no longer makes the rest of a title or description disappear #372
  • Image and other URLs with inner spaces (like 1024-576 logo.jpg) keep them, encoded as %20, instead of being collapsed #485
  • Images and other media detected by content type use the final URL after redirects as their src #524
  • On PHP 8, curl handles (and their file descriptors) are released as soon as a request finishes, instead of waiting for the garbage collector, so long running workers no longer hit "Too many open files" #283

[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

... (truncated)

Commits
  • 6370f77 new version
  • e653fb5 Keep the caller's Referer across redirects and document Vimeo domain privacy ...
  • 4894f97 Point the PayPal donation link to the maintainer (#591)
  • 1d6040f Document the HTTP dispatcher (4.6.2) (#590)
  • c47641b Fixes for 4.6.1 (#589)
  • 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...
  • 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.3.
- [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.3)

---
updated-dependencies:
- dependency-name: embed/embed
  dependency-version: 4.6.3
  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 24, 2026
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