CHANGELOG ================== 作者: 系统管理员 更新时间: 2026-03-24 04:33:01 ---------------------------------------- #### v2.5.0 (2022-12) * Support PHP 8.2 #99 * PHP 8 compatibility fix for DateTime::getLastErrors #98 * Support more OIDs #95 * FINAL RELEASE. Library is now no longer actively maintained and marked as archived on GitHub#### v2.4.0 (2021-12) * Drop support for PHP 7.0 #89#### v2.3.1 (2021-12) * Add #[\ReturnTypeWillChange] attributes for PHP 8.1 compatibility #87#### v2.3.0 (2021-04) * Allow creating an unsigned CSR and adding the signature later #82#### v2.2.0 (2020-08) * support polyfills for bcmath and gmp, and add a composer.json suggestion for the phpseclib/bcmath_polyfill for servers unable to install PHP the gmp or bcmath extensions.#### v.2.1.1 & &v.2.0.2 (2018-12) * add stricter validation around some structures, highlighed by wycheproof test suite#### v.2.1.0 (2018-03) * add support for bcmath extension (making gmp optional) #68#### v.2.0.1 & v.1.5.3 (2017-12) * add .gitattributes file to prevent examples and tests to be installed via composer when --prefer-dist was set#### v.2.0.0 (2017-08) * rename FG\ASN1\Object to FG\ASN1\ASNObject because Object is a special class name in the next major PHP release - when you upgrade you have to adapt all corresponding use and extends statements as well as type hints and all usages of Object::fromBinary(…). * generally drop PHP 5.6 support#### v.1.5.2 (2016-10-29) * allow empty octet strings#### v.1.5.1 (2015-10-02) * add keywords to composer.json (this is a version on its own so the keywords are found on a stable version at packagist.org)#### v.1.5.0 (2015-10-30) * fix a bug that would prevent you from decoding context specific tags on multiple objects #57 - ExplicitlyTaggedObject::__construct does now accept multiple objects to be tagged with a single tag - ExplicitlyTaggedObject::getContent will now always return an array (even if only one object is tagged)#### v.1.4.2 (2015-09-29) * fix a bug that would prevent you from decoding empty tagged objects #57#### v.1.4.1 * improve exception messages and general error handling #55#### v.1.4.0 * require PHP 5.6 * support big integers (closes #1 and #37) * enforce one code style via [styleci.io][9] * track code coverage via [coveralls.io][10] * replace obsolete FG\ASN1\Exception\GeneralException with \Exception * Construct (Sequence, Set) does now implement ArrayAccess, Countable and Iterator so its easier to use * add [TemplateParser][11]