Skip to content

v2.0.0

Latest

Choose a tag to compare

@eudj1n eudj1n released this 01 Sep 12:10

What's Changed

Breaking changes

  • Minimum versions are now PHP 8.3 and Laravel 12 — Laravel 10 and 11 are dropped, both are out of security support
  • signCms() default TSA policy changed from TSA_GOST_POLICY to TSA_GOST2015_POLICY, the older policies are deprecated
  • NcanodeHttpClient moved from Guzzle to the Laravel HTTP client, so $client is now PendingRequest instead of GuzzleHttp\Client
  • Signing, verification and extraction may throw JsonException

Added

  • Laravel 13 and PHP 8.5 support
  • Weekly scheduled CI run and Dependabot configuration

Fixed

  • The document id was lost when a request was stored with files passed without an id
  • validate() with an explicit field list passed a Collection to Validator::make()
  • A failed json_encode() was sent to NCANode as an empty request body
  • kalkan:install did not check the file_get_contents() result
  • Test discovery in phpunit.xml matched no files under PHPUnit 13

Changed

  • endroid/qr-code upgraded to 6.0
  • PHPStan raised from level 5 to 7

Projects on Laravel 10 or 11 should stay on 1.2.*. See the «Обновление с 1.x» section in the README for migration details.

Full Changelog: v1.2.4...v2.0.0