Skip to content

Commit 4b8098d

Browse files
committed
Release 1.6.0
1 parent a33ec36 commit 4b8098d

2 files changed

Lines changed: 42 additions & 18 deletions

File tree

‎package.xml‎

Lines changed: 41 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
<email>pollita@php.net</email>
3232
<active>no</active>
3333
</lead>
34-
<date>2026-04-04</date>
34+
<date>2026-10-17</date>
3535
<version>
36-
<release>1.5.0</release>
36+
<release>1.6.0</release>
3737
<api>1.0</api>
3838
</version>
3939
<stability>
@@ -42,19 +42,15 @@
4242
</stability>
4343
<license uri="http://www.php.net/license">PHP License</license>
4444
<notes>
45-
- PIE (PHP Installer for Extensions) compatibility
46-
- Fix crash on ECDSA pubkey auth due to libssh2 allocator mismatch [PR #92] (Fixes #91, #84)
47-
- Fix fragment part of path lost for files with # in name [PR #93] (Fixes #90)
48-
- Fix segfault when disconnecting with open SFTP streams [PR #94] (Fixes #81)
49-
- Add ssh2_keepalive_config() and ssh2_keepalive_send() [PR #95] (Fixes #79)
50-
- Add ssh2_set_timeout() [PR #70] (Jille Timmermans)
51-
- Add ssh2_send_signal() [PR #89] (herrecito)
52-
- Fix ssh2_poll() rejecting valid resource inputs [PR #96] (Fixes #82)
53-
- Fix Homebrew libssh2 autodetection on macOS Apple Silicon [Fixes #87]
54-
- Initialize php_stream_wrapper_ops explicitly [PR #68] (Gerdriaan Mulder)
55-
- Bump minimum PHP version to 8.0
56-
- Drop PHP 8.0 from CI, add PHP 8.5
57-
- Fix Windows CI (setup-php-sdk TLS issue)
45+
- Fix: SFTP path corruption for root-path URLs [PR #107] (transcendtient)
46+
- Add SHA-256 and raw host key inspection [PR #104] (Raj Siva-Rajah)
47+
- Fix: Fix concurrent SSH authentication state and redact secrets [PR #102] (Raj Siva-Rajah)
48+
- PHP 8.6 compatibility: use zval_ptr_dtor_nogc instead of zval_dtor alias [PR #108] (Remi Collet)
49+
- PHP 8.6 compatibility: Replace zval_is_true [PR #101] (Rainer Jung)
50+
- Fix PHP 8.1 Windows CI - missed check in PR #89 [PR #97] (Rasmus Lerdorf)
51+
- Add timeout to close path [PR #97] (Rasmus Lerdorf)
52+
- Fix: correct SSH2 shell and exec environments [PR #105] (Raj Siva-Rajah)
53+
- Fix: preserve SSH2 resource and stream lifecycles [PR #103] (Raj Siva-Rajah)
5854
</notes>
5955
<contents>
6056
<dir name="/">
@@ -73,24 +69,30 @@
7369
<file role="test" name="ssh2_auth.phpt"/>
7470
<file role="test" name="ssh2_auth_pubkey.phpt"/>
7571
<file role="test" name="ssh2_auth_pubkey_file.phpt"/>
72+
<file role="test" name="ssh2_channel_stream_semantics.phpt"/>
73+
<file role="test" name="ssh2_close_timeout.phpt"/>
7674
<file role="test" name="ssh2_connect.phpt"/>
7775
<file role="test" name="ssh2_exec.phpt"/>
7876
<file role="test" name="ssh2_hostkey.phpt"/>
7977
<file role="test" name="ssh2_keepalive.phpt"/>
8078
<file role="test" name="ssh2_poll.phpt"/>
79+
<file role="test" name="ssh2_resource_lifetime.phpt"/>
8180
<file role="test" name="ssh2_send_eof.phpt"/>
8281
<file role="test" name="ssh2_send_signal.phpt"/>
82+
<file role="test" name="ssh2_sensitive_auth_parameters.phpt"/>
8383
<file role="test" name="ssh2_sftp_001.phpt"/>
8484
<file role="test" name="ssh2_sftp_002.phpt"/>
85+
<file role="test" name="ssh2_sftp_stream_semantics.phpt"/>
86+
<file role="test" name="ssh2_sftp_wrapper_auth_failure.phpt"/>
87+
<file role="test" name="ssh2_sftp_wrapper_release.phpt"/>
88+
<file role="test" name="ssh2_sftp_wrapper_session_ownership.phpt"/>
8589
<file role="test" name="ssh2_shell.phpt"/>
8690
<file role="test" name="ssh2_shell_arguments.phpt"/>
8791
<file role="test" name="ssh2_shell_exec_environment_iteration.phpt"/>
8892
<file role="test" name="ssh2_shell_exec_environment_redaction.phpt"/>
8993
<file role="test" name="ssh2_skip.inc"/>
9094
<file role="test" name="ssh2_stream_select.phpt"/>
9195
<file role="test" name="ssh2_test.inc"/>
92-
<file role="test" name="testkey_rsa"/>
93-
<file role="test" name="testkey_rsa.pub"/>
9496
</dir>
9597
</dir>
9698
</contents>
@@ -109,6 +111,28 @@
109111
<configureoption name="with-ssh2" default="autodetect" prompt="libssh2 prefix?"/>
110112
</extsrcrelease>
111113
<changelog>
114+
<release>
115+
<date>2026-04-04</date>
116+
<version>
117+
<release>1.5.0</release>
118+
<api>1.0</api>
119+
</version>
120+
<notes>
121+
- PIE (PHP Installer for Extensions) compatibility
122+
- Fix crash on ECDSA pubkey auth due to libssh2 allocator mismatch [PR #92] (Fixes #91, #84)
123+
- Fix fragment part of path lost for files with # in name [PR #93] (Fixes #90)
124+
- Fix segfault when disconnecting with open SFTP streams [PR #94] (Fixes #81)
125+
- Add ssh2_keepalive_config() and ssh2_keepalive_send() [PR #95] (Fixes #79)
126+
- Add ssh2_set_timeout() [PR #70] (Jille Timmermans)
127+
- Add ssh2_send_signal() [PR #89] (herrecito)
128+
- Fix ssh2_poll() rejecting valid resource inputs [PR #96] (Fixes #82)
129+
- Fix Homebrew libssh2 autodetection on macOS Apple Silicon [Fixes #87]
130+
- Initialize php_stream_wrapper_ops explicitly [PR #68] (Gerdriaan Mulder)
131+
- Bump minimum PHP version to 8.0
132+
- Drop PHP 8.0 from CI, add PHP 8.5
133+
- Fix Windows CI (setup-php-sdk TLS issue)
134+
</notes>
135+
</release>
112136
<release>
113137
<date>2024-02-09</date>
114138
<version>

‎php_ssh2.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#error "The ssh2 extension requires libssh2 1.9.0 or newer"
2929
#endif
3030

31-
#define PHP_SSH2_VERSION "1.5.0"
31+
#define PHP_SSH2_VERSION "1.6.0"
3232
#define PHP_SSH2_DEFAULT_PORT 22
3333

3434
/* Exported Constants */

0 commit comments

Comments
 (0)