hyperf

🚀 A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.

MIT License

Downloads
2.4K
Stars
5.9K
Committers
372

Bot releases are hidden (Show)

hyperf - Release v3.1.29 Latest Release

Published by limingxinleo 4 months ago

Fixed

  • #6925 Fixed bug that sortByMany cannot support options like sortBy.

Added

  • #6896 Added SftpAdapter for hyperf/filesystem.
  • #6917 Added Str::chopStart and Str::chopEnd.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.28...v3.1.29

hyperf - Release v3.1.28

Published by limingxinleo 4 months ago

Fixed

  • #6900 Fixed bug that LengthAwarePaginator::addQuery() cannot support array $values.
  • #6909 Fixed bug that Aop doesn't work on Trait.

Optimized

  • #6903 Optimized code for config-nacos.

Added

  • #6885 Added validation rule prohibiti.
  • #6891 Support cache.*.options.pool to select redis instance for hyperf/cache.
  • #6895 Support to collect enum annotations.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.27...v3.1.28

hyperf - Release v3.1.27

Published by limingxinleo 4 months ago

Added

  • #6864 Added methods getViews and hasView into Hyperf\Database\Schema\Schema.
  • #6866 Added method Hyperf\Database\Concerns\BuildsQueries::lazy.
  • #6869 Added methods before and after into Collection.
  • #6876 Added method Hyperf\Database\Concerns\Builder::eachById.
  • #6878 Added methods whereMorphRelation and orWhereMorphRelation into Hyperf\Database\Model\Concerns\QueriesRelationships.
  • #6883 Added methods getIndexes hasIndex and getIndexListing into Hyperf\Database\Schema\Builder.
  • #6884 Added method Hyperf\Database\Model\Model::updateOrFail.
  • #6897 #6899 Added events BeforeLongLangConsumerCreated and AfterConsumerConfigCreated into Hyperf\Kafka\ConsumerManager.

Optimized

  • #6829 Optimized the format of command error logs.
  • #6868 Support type Closure|Expression|ModelBuilder|static|string of $column for QueryBuilder::orderBy().
  • #6870 Updated default path for factories in Model Factory construct method.
  • #6874 Using Scanner instead of hard code for hyperf/watcher component.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.26...v3.1.27

hyperf - Release v3.1.26

Published by limingxinleo 4 months ago

Fixed

  • #6848 Fixed bug that LazyCollection::splitIn() cannot work caused by type hint.

Added

  • #6845 Added method Hyperf\Database\Schema::getTables().
  • #6846 Added methods chunkById and chunkByIdDesc into Hyperf\Database\Concerns\BuildsQueries.
  • #6851 Added methods orDoesntHaveMorph and orHasMorph into Hyperf\Database\Model\Concerns.
  • #6858 Added methods makeHiddenIf and makeVisibleIf into Hyperf\Database\Model\Concerns\HidesAttributes.

Optimized

  • #6855 Optimized BuildsQueries to use Conditionable instead of when and unless.
  • #6856 Optimized Hyperf\Scout\Builder to use Conditionable instead of when and unless.
  • #6860 Use Hyperf\Collection\Enumerable instead of Hyperf\ViewEngine\Contract\Enumerable.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.25.1...v3.1.26

hyperf - Release v3.1.25

Published by limingxinleo 4 months ago

Added

  • #6809 Added cursor paginator for hyperf/database.
  • #6811 Added list rule for hyperf/validation.
  • #6814 Added method Model::query()->touch() which used to update timestamps.
  • #6815 Added method Hyperf\Database\Model\Builder::qualifyColumns().
  • #6816 Added methods Hyperf\Database\Model\Builder::load*.
  • #6820 Added method Hyperf\Database\Model\Builder::valueOrFail().
  • #6821 Added method Hyperf\Database\Concerns\BuildsQueries::chunkMap().
  • #6822 Added methods lazyById and lazyByIdDesc for lazy queries.
  • #6825 Added methods createDatabase and dropDatabaseIfExists for Hyperf\Database\Schmea.

Fixed

  • #6813 Fixed bug that cannot read the messages from non-lower keys for Hyperf\Constants\Annotation\Message.
  • #6818 Fixed bug that updateOrInsert cannot work when the input is empty.
  • #6828 Fixed bug that AOP cannot work on __construct.
  • #6836 Fixed bug that SetCookie::fromString cannot not work by invalid types.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.24...v3.1.25

hyperf - Release v3.1.24

Published by limingxinleo 5 months ago

Fixed

  • #6796 #6798 Fixed bug that the return type of Collection::mapInto() is invalid sometimes.

Added

  • #6792 Support IncrementEach and DecrementEach for Hyperf\Database\Query\Builder.
  • #6793 Added the request body and response body to the tracer.
  • #6795 Added config rate_limit.storage.options.expired_time for rate-limit.

Optimized

  • #6778 Support array for Hyperf\Amqp\Annotation\Consumer::routingKey.
  • #6799 Support numbers and fromBase64 methods for \Hyperf\Stringable\Str.
  • #6803 Cancel AsCommand and ClosureCommand return values.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.23...v3.1.24

hyperf - Release v3.1.23

Published by limingxinleo 5 months ago

Added

  • #6757 Added Hyperf\Collection\LazyCollection.
  • #6763 Added Premature end of data into DetectsLostConnections.
  • #6767 Support whereAll/orWhereAll whereAny/orWhereAny for Hyperf\Database\Query\Builder.
  • #6774 Support Lateral Join for Hyperf\Database\Query\Builder
  • #6781 Added some methods to Hyperf\Collection\Arr.
  • #6782 Added whereJsonOverlaps,orWhereJsonOverlaps and whereJsonDoesntOverlap to Hyperf\Database\Query\Builder.
  • #6783 Support insertOrIgnoreUsing for Hyperf\Database\Query\Builder.
  • #6784 Added getOrPut and getOrSet into Hyperf\Collection\Collection.

Optimized

  • #6777 Optimized StdoutLogger to improve log message handling.
  • #6778 Optimized Collection using EnumeratesValues.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.22...v3.1.23

hyperf - Release v3.1.22

Published by limingxinleo 5 months ago

Fixed

  • #6755 Fixed bug that exception normalizer cannot support symfony 7.

Added

  • #6734 Auto complete options for as command and closure command.
  • #6746 Added explain() for Hyperf\Database\Query\Builder.
  • #6749 Added some rules for hyperf/validation.
  • #6752 Added path and paths methods to Hyperf\Database\Seeders\Seed.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.21...v3.1.22

hyperf - Release v3.1.21

Published by limingxinleo 5 months ago

Added

  • #6738 Added unshift method to Hyperf\Collection\Collection.
  • #6740 Support useIndex forceIndex and ignoreIndex for Hyperf\Database\Query\Builder.

Optimized

  • #6716 #6717 Optimized exchange declaration for amqp consumer messages.
  • #6721 Optimized the implementation of When Method.
  • #6731 Updated InteractsWithModelFactory to handle missing dependencies.

Fixed

  • #6728 Fixed bug that hyperf/watch cannot work when using hyperf/constants enum mode.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.20...v3.1.21

hyperf - Release v3.1.20

Published by limingxinleo 6 months ago

Added

  • #6709 Added default onClose method for rpc Server.
  • #6712 Add new methods in Hyperf\Collection\Collection.

Optimized

  • #6700 Optimized the implementation of Pluralizer.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.19...v3.1.20

hyperf - Release v3.1.19

Published by limingxinleo 6 months ago

Fixed

  • #6689 Fixed bug that socket-io cannot parse data with ? but without query.
  • #6697 Fixed bug that withoutBody cannot not work when using Swow.

Added

  • #6680 Added Hyperf\Coordinator helper functions.
  • #6681 Added option type for gen:constant which you can be used to generate files with const or enum.

Optimized

  • #6686 Optimized FswatchDriver which don't restart server by empty reading.
  • #6698 Upgrade hyperf/engine to v2.11.
  • #6696 Automatic declare exchange when produce message.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.18...v3.1.19

hyperf - Release v3.1.18

Published by limingxinleo 6 months ago

Added

  • #6674 Added getConfig for redisPool.

Fixed

  • #6664 Fixed bug that isset cannot check null in Hyperf\Collection\Collection.

Optimized

  • #6668 Added error handling when using callback in multiplexed RPC.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.17...v3.1.18

hyperf - Release v3.1.17

Published by limingxinleo 6 months ago

Added

  • #6652 Added Str trim methods.
  • #6658 HEAD requests, attempt fallback to GET in MiddlewareManager.
  • #6665 Added logger for Websocket.

Changed

  • #6661 Use PHP_BINARY instead of php as default php binary path for hyperf/watcher.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.16...v3.1.17

hyperf - Release v3.1.16

Published by limingxinleo 7 months ago

Added

  • #6632 Support to set headers for websocket-client.
  • #6648 Return result about websocket senderpush``disconnect.

Fixed

  • #6633 Fixed bug that crontab will be skipped sometimes.
  • #6635 Fixed AMQP ConsumerMessage::getQueue return type.

Optimized

  • #6640 Support PHP8 Attribute for hyperf/constants.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.15...v3.1.16

hyperf - Release v3.1.15

Published by limingxinleo 7 months ago

Added

  • #6613 Added event of release connection for hyperf/pool.

Optimized

Deprecated

  • #6621 WebSocketHandeShakeException is deprecated, please use WebSocketHandShakeException instead.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.14...v3.1.15

hyperf - Release v3.1.14

Published by limingxinleo 7 months ago

Fixed

  • #6609 Fixed bug that the configurations will be cleared when the scan configuration does not exist.

Added

  • #6594 Added hyperf/carbon component.

Optimized

  • #6600 Optimized the worker process to no longer output warn information after exiting.
  • #6608 Optimized CacheAheadAspect which store cache in another coroutine instead of blocking current coroutine.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.13...v3.1.14

hyperf - Release v3.1.13

Published by limingxinleo 7 months ago

Added

  • #6576 Added Hyperf\Stringable\Str::apa() method.
  • #6577 Support setup command traits before running.
  • #6579 Added now() and today() helper functions.
  • #6590 Added --graceful to migrateCommand.

Fixed

  • #6586 Fixed bug that the command description will cause parse error when contains --.
  • #6593 Fixed the error when register multi AsCommand.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.12...v3.1.13

hyperf - Release v3.1.12

Published by limingxinleo 7 months ago

Fixed

  • #6569 Fixed bug that reading messages failed when the channel have been removed from channel group.
  • #6561 Fixed bug that the relation comments cannot be created by gen:model.
  • #6566 Fixed bug that the numeric keys will be reset when using $request->all().
  • #6567 Fixed bug that the CrontabRegisterListener don't check configuration crontab.enable.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.11...v3.1.12

hyperf - Release v3.1.11

Published by limingxinleo 8 months ago

Fixed

  • #6555 Fixed bug that invalidOperator cannot work well when using non-string operators.
  • #6563 Fixed cron dispatcher sleep accurate.

Added

  • #6550 Added default config of noop driver for hyperf/tracer.
  • #6562 Added SqliteDriver for hyperf/cache.

Optimized

  • #6556 You can set an expression to model parameters, but it is not standardized.

New Contributors

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.10...v3.1.11

hyperf - Release v3.1.10

Published by limingxinleo 8 months ago

Added

  • #6542 Added MemoryDriver for hyperf/cache.
  • #6533 Added database-sqlite component.

Optimized

  • #6539 Optimized retry helper function can accept array as first parameter.

Full Changelog: https://github.com/hyperf/hyperf/compare/v3.1.9...v3.1.10