Skip to content

Releases: hyperf/hyperf

v3.2.0-alpha.4

15 Nov 02:41
54b2ecb

Choose a tag to compare

v3.2.0-alpha.4 Pre-release
Pre-release

What's Changed

  • refactor(database): extract HasUniqueStringIds trait to reduce code duplication by @huangdijia in #7590
  • refactor(logger): optimize logger configuration structure by @huangdijia in #7563
  • Fixed BC when validation rule not define. by @xuanyanwow in #7596
  • chore(ci): remove symfony/console version constraint in test workflow by @huangdijia in #7595
  • refactor(cache): refactor cache configuration pattern by @huangdijia in #7594
  • feat: Add Htmlable contract interface for HTTP responses by @huangdijia in #6794
  • Added PDO subclass support for PHP 8.4 by @huangdijia in #7019
  • [3.2]Enhance array shuffle method to support custom random engines by @huangdijia in #7142
  • refactor(testing): optimize ClassLoader detection in phpunit-patch by @huangdijia in #7592
  • chore(ci): upgrade Swoole version from v6.1.0 to v6.1.1 by @huangdijia in #7588
  • Added Hyperf\Collection\Arr::sole() method by @huangdijia in #7600
  • feat(async-queue): add result handling for job processing by @huangdijia in #7601
  • fix(async-queue): relax type hint for callback message parameter by @huangdijia in #7602
  • refactor(async-queue): strengthen Result type handling in Driver and AfterHandle event by @huangdijia in #7603
  • Optimized AnnotationJob to support call protected / private methods. by @huangdijia in #7604
  • refactor(testing): add NonCoroutine attribute for flexible test execution control by @huangdijia in #7605
  • refactor(async-queue): remove JobMessage backward compatibility code by @huangdijia in #7609
  • docs(command): add @param-closure-this annotation for better IDE support by @huangdijia in #7611
  • refactor: remove deprecated code scheduled for v3.2 removal by @huangdijia in #7610
  • Fixed setlocale set failed by @xuanyanwow in #7612
  • refactor(async-queue): rename $queue property to $pool in ConsumerProcess by @huangdijia in #7615
  • feat(async-queue): add automatic consumer process registration based on configuration by @huangdijia in #7618
  • feat(framework): Add Symfony 7.4 compatibility with batch command registration by @Copilot in #7620
  • refactor(async-queue): rename getQueueName to getPoolName for consistency by @huangdijia in #7625

Full Changelog: v3.2.0-alpha.3...v3.2.0-alpha.4

v3.1.64

12 Nov 07:15
6dc7531

Choose a tag to compare

Added

  • #7600 Added method Hyperf\Collection\Arr::sole().
  • #7601 Added result handling for async queue jobs with Hyperf\AsyncQueue\Result enum.

Optimized

  • #7604 Optimized AnnotationJob to support call protected / private methods.
  • #7611 Added @param-closure-this annotation to Console::command() for better IDE support.
  • #7615 Renamed $queue property to $pool in ConsumerProcess for better code clarity in hyperf/async-queue.

Fixed

  • #7596 Fixed BC when validation rule not define.

Full Changelog: v3.1.63...v3.1.64

Pre-Release v3.2.0-alpha.3

15 Nov 02:10
cfdb564

Choose a tag to compare

Pre-release

What's Changed

  • fix(command): add coordinator cleanup in command execution finally block by @huangdijia in #7545
  • Support to rewrite the rules for scene when using validation. by @limit81995 in #7469
  • Made Hyperf\Kafka\Annotation\Consumer::$pool empty by default by @aneterial in #7547
  • Support options batch for migrate:rollback. by @albertcht in #7531
  • Release v3.1.62 by @limingxinleo in #7560
  • Revert constructor parameter name change for Nacos\Application by @huangdijia in #7561
  • Support method PATCH for hyperf/testing. by @aneterial in #7553
  • Fixed bug that the providers of nacos not support psr4. by @Ulyssesyi in #7543
  • Upgrade to nikic/php-parser v5 and update parser usage by @huangdijia in #7566
  • Update Symfony dependencies to ^6.0 || ^7.0 by @huangdijia in #7573
  • Update PHPUnit to version 11 by @huangdijia in #7577
  • Support Swoole v6.1.0 by @huangdijia in #7575
  • Optimized the PHPDoc for hyperf/database. by @storyn26383 in #7511
  • Fixed bug that the parameter context on redis cluster cannot work when auth config isn't set or set with null value. by @luizmanhani in #7554
  • Fixed bug that Hyperf\Validation\ValidationRuleParser::parseParameters() cannot support PHP 8.4. by @sy-records in #7536
  • fix: 添加对CacheableSupportsMethodInterface的弃用说明 by @huangdijia in #7574
  • Changed the default type of deleted_at to datetime for hyperf/database. by @MorriosL in #6760
  • feature: Added PHPStan type analysis for hyperf/collection by @huangdijia in #7578
  • Use priorityMiddleware instead of middleware for swagger. by @zds-s in #7537
  • Add /types export-ignore to all .gitattributes in src/* by @Copilot in #7581
  • Release v3.1.63 by @limingxinleo in #7582
  • Fixed PHPStan type assertions in database model types by @huangdijia in #7583

New Contributors

Full Changelog: v3.2.0-alpha.2...v3.2.0-alpha.3

Release v3.1.63

30 Oct 02:11
ded8b96

Choose a tag to compare

Fixed

  • #7536 Fixed bug that Hyperf\Validation\ValidationRuleParser::parseParameters() cannot support PHP 8.4.
  • #7543 Fixed bug that the providers of nacos not support psr4.
  • #7554 Fixed bug that the parameter context on redis cluster cannot work when auth config isn't set or set with null value.
  • #7561 Revert constructor parameter name change for Nacos\Application.

Added

  • #7553 Support method PATCH for hyperf/testing.

Optimized

  • #7511 Optimized the PHPDoc for hyperf/database.
  • #7537 Use priorityMiddleware instead of middleware for swagger.

New Contributors

Full Changelog: v3.1.62...v3.1.63

Release v3.1.62

11 Oct 10:00
2e152f2

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.61...v3.1.62

What's Changed

New Contributors

Full Changelog: v3.1.61...v3.1.62

Pre-Release v3.2.0-alpha.2

28 Oct 06:01

Choose a tag to compare

Pre-release

Pre-Release v3.2.0-alpha.1

28 Oct 06:01

Choose a tag to compare

Pre-release

What's Changed

New Contributors

Full Changelog: v3.1.60...v3.2.0-alpha.1

Release v3.1.61

04 Sep 02:56
1e0b382

Choose a tag to compare

Added

  • #7467 Support versions v2 and v3 for nacos sdk.
  • #7476 Added trait InteractsWithData to Hyperf\Support\Fluent.
  • #7480 Added method Hyperf\Database\Model\Builder::incrementOrCreate().
  • #7481 Added methods Collection::doesntContainStrict() and LazyCollection::doesntContainStrict().
  • #7483 Added the alias disassociate() of Hyperf\Database\Model\Relations\BelongsTo::dissociate().
  • #7484 Added method Hyperf\Database\Model\Model::isSoftDeletable().
  • #7486 Added method Hyperf\Database\Model\Builder::except().
  • #7487 Added caster Hyperf\Database\Model\Casts\AsArrayObject for ArrayObject.
  • #7492 Added trait Macroable to Hyperf\Pipeline\Pipeline.
  • #7499 Added constant Hyperf\Kafka\Constants\KafkaStrategy::STICKY_ASSIGNOR.
  • #7500 Added methods Hyperf\Collection\Arr::push() and Hyperf\Collection\Arr::array().
  • #7502 Added method Hyperf\Collection\Arr::hasAll().
  • #7509 Added Hyperf\Codec\Packer\Resp3Packer.
  • #7518 Added method Hyperf\Database\Query\Grammars\Grammar::whereValueBetween().

Optimized

  • #7501 Added validation of Hyperf\Macroable\Macroable::macro() to avoid unexpected results caused by using reference parameters.

New Contributors

Full Changelog: v3.1.60...v3.1.61

Release v3.1.60

02 Aug 07:45
8e261b5

Choose a tag to compare

Fixed

  • #7447 Fixed bug that the command migrate:fresh can't drop postgres tables by default.
  • #7449 Fixed bug that Hyperf\Database\Migrations\Migrator::reset() cannot support string paths.

Added

  • #7466 Added isEmpty / isNotEmpty / getIterator methods to Hyperf\Support\Fluent class.
  • #7473 Added config produce_retry and producer_retry_sleep for kafka.

New Contributors

Full Changelog: v3.1.59...v3.1.60

Release v3.1.59

03 Jul 06:05
83d0b0a

Choose a tag to compare

Fixed

  • #7421 Fixed bug that the cookie value cannot be deleted when set "".
  • #7424 Fixed bug that the path of php cannot contain spaces for watcher.
  • #7427 Fixed bug that exclude cannot not work when using validation.

Optimized

  • #7394 Release redis connection immediately when using transaction or pipeline with callbacks.

New Contributors

Full Changelog: v3.1.58...v3.1.59