Skip to content

Commit e8878d3

Browse files
authored
Merge pull request #1844 from xwp/release/v4.1.2
Release 4.1.2
2 parents ec9bb1a + 48fb980 commit e8878d3

File tree

12 files changed

+891
-593
lines changed

12 files changed

+891
-593
lines changed

.eslintrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ module.exports = {
66
browser: true,
77
es6: true,
88
},
9+
settings: {
10+
// Use node resolver to avoid "typescript with invalid interface" from eslint-import-resolver-typescript.
11+
'import/resolver': {
12+
node: {
13+
extensions: [ '.js', '.jsx', '.mjs', '.scss' ],
14+
},
15+
},
16+
},
917
rules: {
1018
'@wordpress/no-global-event-listener': 'off',
1119
'jsdoc/check-indentation': 'error',

changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Stream Changelog
22

3+
## 4.1.2 - February 19, 2026
4+
5+
### Bug Fixes
6+
7+
- Fix handling the output of posix_getpwuid() (in [#1828](https://github.com/xwp/stream/pull/1828), [#1810](https://github.com/xwp/stream/pull/1810))
8+
9+
### Enhancements
10+
11+
- Implement BuddyPress Connection improvements (in [#1810](https://github.com/xwp/stream/pull/1810))
12+
313
## 4.1.1 - February 3, 2025
414

515
### Bug fixes

classes/class-log.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,13 @@ public function log( $connector, $message, $args, $object_id, $context, $action,
9393
$uid = posix_getuid();
9494
$user_info = posix_getpwuid( $uid );
9595

96+
// Normalize the user info to an array if it's not already.
97+
if ( ! is_array( $user_info ) ) {
98+
$user_info = array( 'name' => 'unknown' );
99+
}
100+
96101
$user_meta['system_user_id'] = (int) $uid;
97-
$user_meta['system_user_name'] = (string) $user_info['name'];
102+
$user_meta['system_user_name'] = (string) ( $user_info['name'] ?? 'unknown' );
98103
}
99104

100105
// Prevent any meta with null values from being logged.

classes/class-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Plugin {
2020
*
2121
* @const string
2222
*/
23-
const VERSION = '4.1.1';
23+
const VERSION = '4.1.2';
2424

2525
/**
2626
* WP-CLI command

composer.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
}
1212
],
1313
"require": {
14-
"php": ">=7.0",
14+
"php": ">=7.2",
1515
"ext-json": "*",
1616
"composer/installers": "~1.0",
17-
"woocommerce/action-scheduler": "^3.8"
17+
"woocommerce/action-scheduler": "^3.9"
1818
},
1919
"require-dev": {
2020
"automattic/vipwpcs": "^3.0",
@@ -25,19 +25,19 @@
2525
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99",
2626
"phpcompatibility/phpcompatibility-wp": "^2.1",
2727
"phpunit/phpunit": "^9.6",
28-
"roots/wordpress": "^6.6",
28+
"roots/wordpress": "^6.9",
2929
"wp-cli/wp-cli-bundle": "^2.6",
3030
"wp-coding-standards/wpcs": "^3.1",
31-
"wp-phpunit/wp-phpunit": "^6.6",
32-
"wpackagist-plugin/advanced-custom-fields": "6.3.4",
33-
"wpackagist-plugin/buddypress": "14.0.0",
34-
"wpackagist-plugin/classic-editor": "1.6.4",
35-
"wpackagist-plugin/easy-digital-downloads": "3.3.1",
36-
"wpackagist-plugin/jetpack": "13.6",
31+
"wp-phpunit/wp-phpunit": "^6.9",
32+
"wpackagist-plugin/advanced-custom-fields": "6.7.0",
33+
"wpackagist-plugin/buddypress": "14.4.0",
34+
"wpackagist-plugin/classic-editor": "1.6.7",
35+
"wpackagist-plugin/easy-digital-downloads": "3.6.5",
36+
"wpackagist-plugin/jetpack": "15.5",
3737
"wpackagist-plugin/two-factor": "0.11.0",
38-
"wpackagist-plugin/user-switching": "1.8.0",
39-
"wpackagist-plugin/wordpress-seo": "23.6",
40-
"wpackagist-plugin/wp-crontrol": "1.17.0",
38+
"wpackagist-plugin/user-switching": "1.11.1",
39+
"wpackagist-plugin/wordpress-seo": "27.0",
40+
"wpackagist-plugin/wp-crontrol": "1.21.0",
4141
"wpackagist-theme/twentytwentythree": "^1.0",
4242
"xwp/wait-for": "^0.0.1",
4343
"yoast/phpunit-polyfills": "^1.1"

0 commit comments

Comments
 (0)