Skip to content

[master]: Update xwp/stream requirement from ~4.4.0 to ~4.5.0 - #519

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/xwp/stream-approx-4.5.0
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/xwp/stream-approx-4.5.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Updates the requirements on xwp/stream to permit the latest version.

Changelog

Sourced from xwp/stream's changelog.

4.5.0 - November 12, 2026

Security

  • Fix a stored cross-site scripting vulnerability (CVE-2026-119216) in the records screen user filter. Reported by Mohamed Amgad Khater (mamgad) via Wordfence.

New Features

  • Add AI Client connector for WordPress 7.0+: logs every AI generation call (operation, provider, model, token counts, duration, finish reason, and extended metadata) to Stream when WP_AI_Client_Event_Dispatcher is available (XWPENG-20).

Enhancements

  • Show only the first line of multiline summaries in the Stream list table so long entries stay readable in the activity feed.

Breaking Changes

  • Raise the minimum PHP version from 7.2 to 7.4. Sites running PHP below 7.4 see an admin notice (for users who can activate plugins) and Stream remains inactive — no fatal error. PHP 7.2 and PHP 7.3 are no longer supported (XWPENG-46).
  • Add native PHP types to the public properties of Connector and the built-in connectors. A custom connector must declare the same types, for example public string $name = 'my_plugin';, public array $actions = array();, and public bool $register_frontend = false;. A connector that declares these properties without types causes a PHP fatal error when it loads (XWPENG-47).
  • Add native PHP types to the $slug property of Alert_Type and Alert_Trigger, the $slug and $name properties of Exporter, and the public properties of the built-in alert types, alert triggers, and exporters. A custom alert type, alert trigger, or exporter that redeclares these properties must use the same type, for example public string $slug = 'my_alert';. A class that redeclares them without a type causes a PHP fatal error when it loads (XWPENG-47).

Enhancements

  • Add an Outgoing Webhook alert (HTTP POST or PUT, optional headers, JSON body with record-field placeholders). IFTTT is no longer offered when creating a new alert; existing IFTTT alerts still fire. To keep using Maker, configure a webhook whose URL is https://maker.ifttt.com/trigger/{event}/with/key/{key}.
  • Replace Select2 with native <select> elements across the admin (records filters, settings exclude rules, alert triggers). Author/role filters offer every user in grouped native selects; IP exclusion rules accept a comma-separated list in a plain text field. Relative timestamps now use Intl.RelativeTimeFormat (locale-aware) with the same bold relative + absolute date presentation as before. The select2 and jquery-timeago dependencies and their bundled vendor copies are gone, and the unused stream_get_users and stream_get_ips Ajax actions were removed. User pickers preload every user in a native <select> while the site stays under the new wp_stream_preload_users_max filter (default 50); larger sites get an accessible Ajax combobox (keyboard navigation, wp.a11y announcements) backed by the same wp_stream_filters endpoint. Quick-editing an alert no longer drops its author trigger; WP-CLI shows as itself instead of "N/A" in pickers and alert summaries; and a stored WP-CLI author trigger now actually matches only WP-CLI records (the numeric string "0" was previously treated as unset). Editing an alert now also regenerates its list title ("Author > Context > Action") so it matches the saved triggers instead of keeping the creation-time summary.
  • Stop tracking Jetpack modules that no longer exist (Google+ authorship, Mobile theme, Custom CSS). Remaining Jetpack module logging was audited against Jetpack 15.5 on 2026-09-07.

Tweaks

  • Remove bundled languages/stream-en_US.po and .mo files and the load_plugin_textdomain() calls. Stream is hosted on WordPress.org, so translations load from language packs in wp-content/languages/plugins/ (WordPress 4.6+ just-in-time loading). Custom .mo files belong in that same directory so they survive plugin updates; use the load_textdomain_mofile filter for any other path (XWPENG-35, #1457, #1458).

Development

  • Align Composer (require.php >=7.4), plugin headers, readme.txt, and production PHPCS testVersion (7.4-) with the PHP 7.4 floor. Lint/Test and E2E stay on PHP 8.2, 8.3, and 8.4 because PHPUnit 11 cannot run on 7.4. A separate CI job parses production PHP with php -l on PHP 7.4 (XWPENG-46).

4.4.0 - August 31, 2026

Security

  • Keep multisite record reads inside the current site. Network::network_query_args() kept any numeric blog_id from the request. Because the Stream tables are shared across the network, a site-level view_stream user could read the activity of another site with ?blog_id=N. Stream now accepts a requested blog ID only from users with manage_network_options. All other users get the current blog. WP-CLI keeps its exemption (#1958).
  • Stop the use of HTTP_REFERER as proof of network-admin authority in ajax_network_admin(). The Referer comes from the caller. A site user could use it to remove the per-blog query restriction, and, through blog_id_logged(), record their actions against blog_id 0. This made the site attribution incorrect. Stream now uses the Referer only as a hint about the user interface. A true network capability is also necessary (#1958).
  • Make a network capability necessary for the update-settings and create-exclusion-rule abilities when the write goes to update_site_option() on a network-activated multisite. Both abilities used the default manage_options permission callback before (#1958).
  • Remove secret values from option-change records. The WooCommerce, EDD, Jetpack, Gravity Forms, and Settings connectors wrote integration credentials into stream_meta as cleartext. This included payment gateway API keys, webhook signing keys, the mailserver_pass mailbox password, and the Gravity Forms license and reCAPTCHA private keys. Any user who can read the activity log or export it could read these values. Stream now replaces a secret value with [redacted]. A credential that was never set continues to log as an empty value, so you can tell the difference between "not set" and "set but withheld" (#1958).
  • Withhold alert destination credentials from the stream/get-alerts ability. The ability needs only view_stream, but you configure alert destinations behind the Stream settings capability. The ability returned alert_meta without change, which moved Slack webhook URLs and IFTTT Maker keys across a privilege boundary. Stream now replaces each secret with a {key}_configured boolean, so a caller can still see if a destination is configured. Non-secret configuration, such as the channel, the user name, and the event name, does not change (#1958).
  • Log only the changed field for Jetpack options, and withhold Publicize connection payloads. Jetpack attached the complete jetpack_options value to a record about one field, so a single miss could expose all tokens (#1958).
  • Correct the GHCR publish condition in docker-images.yml. The contains( github.ref_name, 'master' ) guard also matched an unprotected branch name such as feature-master-publish. The workflow now compares the ref exactly (#1958).

Bug Fixes

  • Correct a false "SITE IS DISCONNECTED" error from wp stream query. The CLI treated every empty result as a disconnected site, because db->query() returns an empty array both for "no matching records" and for a failure. The CLI now reads $wpdb->last_error, which WordPress sets only after a true database error. A site with no records no longer reports the error. This affected new installations and multisite subsites with no activity (#1829, #1966).
  • Correct a fatal error in role_can_view() when the capability check runs before init and the general_role_access setting is not yet available (#1963).

... (truncated)

Commits

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)

Updates the requirements on [xwp/stream](https://github.com/xwp/stream-dist) to permit the latest version.
- [Changelog](https://github.com/xwp/stream-dist/blob/master/changelog.md)
- [Commits](xwp/stream-dist@v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: xwp/stream
  dependency-version: 4.5.0
  dependency-type: direct:production
...

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 19, 2026
@dependabot @github

dependabot Bot commented on behalf of github Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #520.

@dependabot dependabot Bot closed this Nov 19, 2026
@dependabot
dependabot Bot deleted the dependabot/composer/xwp/stream-approx-4.5.0 branch November 19, 2026 20: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