php-gnupg/NEWS.md
Jakub Zelenka 9ccd9aadfa
Convert all functions to use objects and drop a resource (#64)
This is a breaking changes but impact should be quite small - only users
that use is_resource will need to update code.
2026-01-07 19:59:02 +01:00

34 lines
1.2 KiB
Markdown

# News
List of all features for the release
## 2.0.0
- Convert all functions to use objects and drop resource
- Removed compatibility with PHP 7.1 and older.
## 1.5.4
- Fixed GH-57: PHP 8.5 build failure due to usage of removed zend_exception_get_default()
- Fixed GH-59: Failure to build with gpgme >= 2.0.0 due to romoved trustlist
## 1.5.3
- Fixed GH-32: Decryption of message encrypted with multiple keys
## 1.5.2
- Fixed GH-37: `gnupg_decrypt()` returns false when decrypting an encrypted empty string
- Fixed GH-46: `gnupg_decrypt()` segfaults when password callback user ID hint is not supplied
- Fixed 1.5.0 regressition - the deletekey `allow_secret` made optional again
## 1.5.1
- Fixed compilation with PHP 8.1
- Fixed build with gpgme 1.4
## 1.5.0
- Support for PHP 8
- Support for GnuPG 2.1+
- Added argument info for all functions and methods (reflection support)
- Added new function `gnupg_getengineinfo`
- Added new function `gnupg_geterrorinfo`
- Added init array argument for setting home dir and gpg binary file name
- Added additional fields to `gnupg_keyinfo` returned array
- Added parameter to `gnupg_keyinfo` to use `secret_only`
- Fixed `gnupg_deletekey` to use boolean for `allow_secret` parameter