Releases: swoft-cloud/swoft
Releases · swoft-cloud/swoft
v2.0.11
Change Log
Fixed
- fix type error on throw db exception swoft-cloud/swoft-component@ee58145
- fix: Redis::scan 方法 迭代值不返回问题修复 swoft-cloud/swoft-component@e6b3304
- fix. PDOException的code可能为字符串 swoft-cloud/swoft-component@2e82980
- fix: Class 'Swoole\Coroutine' not found swoft-cloud/swoft-component@2340d5a
- fix. Redis释放连接时的内存泄漏 swoft-cloud/swoft-component@b9a3b8c
- fix swoole version error swoft-cloud/swoft-component@671049b
- fix unit test error for config swoft-cloud/swoft-component@c29940c
- fix unit test error for config yaml swoft-cloud/swoft-component@757ed9f
- fix unit test error for framework swoft-cloud/swoft-component@2de8439
- fix unit test error swoft-cloud/swoft-component@0214904
- fix task test error swoft-cloud/swoft-component@e658da8
- fix: php8 Compilation failed: unrecognized character swoft-cloud/swoft-component@cbd4ba5
- fix unit test method is error swoft-cloud/swoft-component@7df85aa
- fix: unit tests eror swoft-cloud/swoft-component@faf1594
- fix: /issues/1373 rpc class error on use multi pool swoft-cloud/swoft-component@d1c090b
- up: cs fix for the stdlib package swoft-cloud/swoft-component@1c469f7
- up: run cs fixer for redis package swoft-cloud/swoft-component@f93faf7
Update
- Update php.yml swoft-cloud/swoft-component@5f30a8e
- Update MockHttpResponse.php swoft-cloud/swoft-component@b35c1f9
- Update MockResponse.php swoft-cloud/swoft-component@66835fa
- update. PIPE_MESSAGE事件结束后触发COROUTINE_DEFER, COROUTINE_COMPLETE swoft-cloud/swoft-component@8ba3c8d
- update for swoole install swoft-cloud/swoft-component@e3154b1
- up: add new version to all composer.json swoft-cloud/swoft-component@8c7b47b
- up: update the phpunit version swoft-cloud/swoft-component@000e941
- up: add github action for tests swoft-cloud/swoft-component@0c92ee3
- update: use expectException() instead of @ExpectedException swoft-cloud/swoft-component@090241b
- update some for action config swoft-cloud/swoft-component@53dad7f
- update readme swoft-cloud/swoft-component@a159af8
- up: optimize log for output json swoft-cloud/swoft-component@2a5774d
Feature
- new: add github action for relase version swoft-cloud/swoft-component@77a44ec
Other
- trigger ci tests swoft-cloud/swoft-component@5dfe932
- run php-cs-fixer for the src/redis/src swoft-cloud/swoft-component@82be8fc
v2.0.10
Change Log
Fixed
- fix: /issues/1222 compatible ws setting open_websocket_close_frame swoft-cloud/swoft-component@e6428a5
- fix: /issues/1146 add try catch for coroutine complete handle swoft-cloud/swoft-component@da237cb
- fix: /issues/1266 swoft-cloud/swoft-component@18aeabf
- fix some error for ws server swoft-cloud/swoft-component@4aaed75
- Closes swoft-cloud/swoft/issues#1274 swoft-cloud/swoft-component@5db6b2f
- fix: /issues/1286 collect params error swoft-cloud/swoft-component@f279153
- fix: /issues/1290 event error on concurrency requests swoft-cloud/swoft-component@6f50b7d
- fix getter swoft-cloud/swoft-component@94617f2
- fix: /issues/1315 not release conn on rpc error swoft-cloud/swoft-component@4a7d7cb
- fix: /issues/1303 rpc ext data key is error swoft-cloud/swoft-component@15bad43
- fix: Redis::zRangeByScore & Redis::zRevRangeByScore swoft-cloud/swoft-component@00d87b6
- Global event listener bug fix. swoft-cloud/swoft-component@f028ba9
- fix: /issues/1312 redis not support select command swoft-cloud/swoft-component@7f08af4
- fix command execute swoft-cloud/swoft-component@702ab45
- fix batchUpdateIds id is string swoft-cloud/swoft-component@5e314e5
- fix model hiden field swoft-cloud/swoft-component@5559a7c
- fix method extends error swoft-cloud/swoft-component@2f1552f
- run php cs fixer on validator swoft-cloud/swoft-component@ceb1676
- fix unit tests error for validator swoft-cloud/swoft-component@d966759
- fix: /issues/1334 event name is error swoft-cloud/swoft-component@f5b793d
- fix: /issues/1297 rpc client version invalid error swoft-cloud/swoft-component@603fee6
- fix aop tests error swoft-cloud/swoft-component@dfb31ac
- fix swoft version error swoft-cloud/swoft-component@b124af8
Update
- upgrade travis-ci swoole version to 4.4.16 swoft-cloud/swoft-component@3cae6ea
- add cookie propertiy SameSite swoft-cloud/swoft-component@db4c3b4
- update: update the swoole version for .travis.yml swoft-cloud/swoft-component@2f015da
- update: add v2.0.10 for package composer.json swoft-cloud/swoft-component@abdcf6f
- update some for http route swoft-cloud/swoft-component@0366bd9
- update some for http routes swoft-cloud/swoft-component@449bf02
- up: /issues/1292 allow use empty string on RequestMapping.route swoft-cloud/swoft-component@36cca20
- update readme, add issue config file swoft-cloud/swoft-component@3144489
- update issue config firle swoft-cloud/swoft-component@bcebe93
- add:add response property to RpcResponseException.php(issue 1278) swoft-cloud/swoft-component@c9454e1
- Update RpcResponseException.php swoft-cloud/swoft-component@7c5d26d
- Update label.yml swoft-cloud/swoft-component@6297b88
- update some for ws server swoft-cloud/swoft-component@25de3bf
- update pr doc file swoft-cloud/swoft-component@ab7f040
- add: Redis method swoft-cloud/swoft-component@7e36d14
- Create Dependabot config file swoft-cloud/swoft-component@d326a41
- update some swoft-cloud/swoft-component@9046344
- update some .. swoft-cloud/swoft-component@852e75f
- add comments for process pool swoft-cloud/swoft-component@29977fa
- add try-catch for dispatch logic swoft-cloud/swoft-component@a7059bf
Feature
- Support to passing variables by reference swoft-cloud/swoft-component@cc44a03
Other
- 添加sameSite属性 swoft-cloud/swoft-component@c9a8300
- optimize use in_array function swoft-cloud/swoft-component@b23d273
- Enable Redis Stream function swoft-cloud/swoft-component@1f3dd83
- No reconnection is made when rpc client receive data has timed out swoft-cloud/swoft-component@70d4f50
- Array to Object method swoft-cloud/swoft-component@b9b4ca8
- Multi dimentional array to single dimentional with preserved structure and vice versa swoft-cloud/swoft-component@eca75e9
- coding standard correction swoft-cloud/swoft-component@bd30fd8
- change redis command check swoft-cloud/swoft-component@fd80b95
- Reverting stdlib changes swoft-cloud/swoft-component@c593da6
genearte by
kite gh changelog v2.0.9 v2.0.10 --no-merges --style gh-release --exclude "cs-fixer,format" --repo-url https://github.com/swoft-cloud/swoft-component
v2.0.9
Change Log
Fixed:
- The content of the pidfile file may be empty.Check swoft-cloud/swoft-component@20dadbf
- Compatible with open_websocket_close_frame setting of websocket server
swoft-cloud/swoft-component@e6428a5 - Fix the problem that the rpc client cannot set the timeout for reading data swoft-cloud/swoft-component@53e771b
- Fix the problem that Required verification annotation may be invalid swoft-cloud/swoft-component@d3f5dd2
- Fixed the problem of file verification not passing swoft-cloud/swoft-component@15d3f4b
- Fix the problem that the configured websocket middleware may fail swoft-cloud/swoft-component@f4902ff
- Fix the parameter type of calling method in the command line
MultiList::show
swoft-cloud/swoft-component@58c4e35 - Fix MySQL 8.0 generated entity primary key location error swoft-cloud/swoft-ext@e437d36
Update:
- The swoole original process object is saved on the user process class, which is convenient for subsequent use swoft-cloud/swoft-component@eccc718
Enhancement:
- Optimize the proxy class generation logic, the same class code only needs to be generated once swoft-cloud/swoft-component@e1f68c0
- Ignore errors that may occur when the db connection is closed swoft-cloud/swoft-component@0b3b7bd
- Add a try-catch to destroy coroutine processing to prevent errors from causing workers to quit swoft-cloud/swoft-component@da237cb
- The connection pool closes the connection, if the connection has been disconnected, the exception will be ignored swoft-cloud/swoft-component@7aac80d
v2.0.8
Change Log
Fixed:
- Fix ws server's message response.finish compatible
swoole 4.4.12
issue swoft-cloud/swoft-component@d724a94 - Fix the issue that the value of the option with the short option in the console component is out of sync swoft-cloud/swoft-component@ac41eca
- Fixed some string operations not compatible with php 7.4 swoft-cloud/swoft-component@b4d0e90
- Fix When displaying unknown command, the help information of http server command is incorrect swoft-cloud/swoft-component@684807e
- Fix remove invalid debug statements in process component swoft-cloud/swoft-component@2bc84aa
- The
.env
file in the same directory cannot be loaded correctly after packaging as phar swoft-cloud/swoft-component@8046c15 - Fix psr4 namespace that cannot be excluded from scanning by Application settings swoft-cloud/swoft-component@5934088
- Fixed the initial request error when the digital key appeared in the http headers swoft-cloud/swoft-component@c168434
- Fix log is still writing conting information to memory after disabling, causing memory growth problem swoft-cloud/swoft-component@0a51739
- Fix log concurrency may cause repeated writing to log swoft-cloud/swoft-component@c6b396f
- Fix Connection pool not closed, expired connection swoft-cloud/swoft-component@53ca548
Update:
- Adjust the exception thrown when the route is not found will carry the error code swoft-cloud/swoft-component@7e06afa
- Adjust the Redis
Set
method and interface, the usage is exactly the same as phpredis, the third parameter supports the array swoft-cloud/swoft-component@503f4df Swoft\Redis\Contract\ConnectionInterface::set
Third parameter changed to unlimited type
Enhancement:
- Enhanced clog now supports writing logs to files swoft-cloud/swoft-component@e88c4d5
- Optimized phar package construction speed, packaging time will be greatly reduced now swoft-cloud/swoft-component@1055fff
- Optimize the parsing and binding of console command parameters and options. The type of the setting will be formatted as the corresponding type swoft-cloud/swoft-component@7dc0d58
- Global validation method Added
$unfields
parameter to the validate method swoft-cloud/swoft-component@ca86dc8 - Adjusted the storage logic of ws and tcp connection, now you can customize the connection session information to a custom driver (such as redis, swoole-table, etc.) swoft-cloud/swoft-component@5a52586
- Optimized aggregation method supports grouping such as (
sum, avg, count
), etc. swoft-cloud/swoft-component@ab58ffd - Optimize entity generation, resolve conflicts with model attributes/methods swoft-cloud/swoft-ext@54be347
- Add
setFetchMode
to easily get different types of data in pdo format swoft-cloud/swoft-component@31210bf
v2.0.7
Fixed:
- When fixing config injection, if the value is not found, the default value of the corresponding type will be used to override the attribute, causing the default value of the attribute to be overwritten swoft-cloud/swoft-component@d84d50a
- Fixed when using the message schedule in ws server, no empty data was filtered, resulting in one more response. Avoid method swoft-cloud/swoft#1002 swoft-cloud/swoft-component@d84d50a
- Fixed when using message scheduling in tcp server, no empty data was filtered, resulting in one more response. swoft-cloud/swoft-component@07a01ba
- Fixed missing swoft/stdlib library dependencies when using console component independently swoft-cloud/swoft-component@c569c81
- Fixed
ArrayHelper::get
When the input key is integer, the parameter parameter is incorrect swoft-cloud/swoft-component@a44dcad - Fix console rendering using table, when calculating int value, calculate width report type error swoft-cloud/swoft-component@74a835a
- Fixed error in the component user can not customize the default error handling level swoft-cloud/swoft-component@4c78aeb
- Fix Enable and disable Component settings
isEnable()
does not work swoft-cloud/swoft-component@da8c51e - Fixes Using the
uniqid()
method in the cygwin environment must set the second parameter to true swoft-cloud/swoft-component@c7f688f - Fixed Unable to set process title in cygwin environment and cause error swoft-cloud/swoft-component@c466f6a
- Fixed Unable to delete browser cookie data using http
response->delCookie()
swoft-cloud/swoft-component@8eb9241 - Fixed ws server message dispatching, the received ext data is not necessarily an array causing an error swoft-cloud/swoft-component@ff45b35
- Fix log file split by time swoft-cloud/swoft-component@08c4244
- Fix the log
JSON
format small problem swoft-cloud/swoft-component@a3fc6b9 - Fixed
rpc
service providergetList
call twice swoft-cloud/swoft-component@fd03e71 - Fix
redis cluster
does not supportauth
parameter swoft-cloud/swoft-component@7a678fd - Fix model query
json
type, does not supportarray
swoft-cloud/swoft-component@6023a99 - Fixed redis
multi
operation not connected in time swoft-cloud/swoft-component@e5f6980 - Fix redis does not support
expireAt
,geoRadius
swoft-cloud/swoft-component@7492415 - Fix 'crontab' timestamp detection deviation swoft-cloud/swoft-ext@eb08a46
Update:
- Update console also emits an event before rendering the help message
ConsoleEvent::SHOW_HELP_BEFORE
swoft-cloud/swoft-component@d3f7bc3 - Simplify and unify http, ws, tcp, rpc server management command logic swoft-cloud/swoft-component@f202c82
- Update the ws and tcp Connection classes to add the
newFromArray
andtoArray
methods to facilitate exporting information and restoring connections via third-party storage (redis
) swoft-cloud/swoft-component@a8b0b7c - Optimize server to add a unified swoole pipe message event handler, use the swowt event in ws, tcp to handle interprocess messages swoft-cloud/swoft-component@1c51a8c
Enhancement:
- Now tcp requests support adding global or corresponding method middleware, and the process and usage are similar to http middleware. _ Useful only when using system scheduling _ swoft-cloud/swoft-component@6b59387
- Now the websocket message request supports adding global or corresponding method middleware, and the process and usage are similar to http middleware. _ Useful only when using system scheduling_ swoft-cloud/swoft-component@9739815
- Event Management allows setting
destroyAfterFire
to clean up the data carried in the event after each event dispatch swoft-cloud/swoft-component@50bf43d - Database error exception added
code
returns swoft-cloud/swoft-component@fd306f4 - Coroutine file operation
writeFile
New write failure exception swoft-cloud/swoft-component@08c4244 - RPC new parameter verification swoft-cloud/swoft-component@8646fc5
v2.0.6
Fixed
- Repair the client that uses the current fd as the response message by default when the ws server receives the message swoft-cloud/swoft-component@3a8890c
- Fixed all connections that the ws server got through the swoole server. The type of fd may not be an integer and cause an error. swoft-cloud/swoft-component@0fa79d7
- Fix stdlib SystemHelper will be deleted by Defender in Windows 10 swoft-cloud/swoft-component@71c2893
- Fix
increment/decrement
and get a more connection swoft-cloud/swoft-component@94c7171 - Fix Model property
$modelTimestamps
is closed invalid swoft-cloud/swoft-component@94c7171 - Fix The log was called before initialization, which may cause the context loss error during the startup phase swoft-cloud/swoft-component@5a27704
- Fix ws server handshake and open use the same top-level coroutine ID. If one is executed first, it may cause subsequent session loss swoft-cloud/swoft-component@c2cd17a
- Fixed
after
timer passing parameter bug https://github.com/swoft-cloud/swoft-component/pull/508/files - Fixed timing task memory leaks and log print data loss issues swoft-cloud/swoft-ext@aa6bc32
- Optimized Http server
sgo
processing flow swoft-cloud/swoft-component@e60d92e - Fixed database inconsistency caused by reconnection in the case of things swoft-cloud/swoft-component@c2e87f2
- Fixed Aop extreme case return
0
problem swoft-cloud/swoft-component@85bc1b1 - Fixed
BeanFactory::createBean()
method creation problem swoft-cloud/swoft-component@c2e2c89 - Fix RPC error data is a string problem swoft-cloud/swoft-component@3a34658
- Fixed
redisCluster
initialization problem swoft-cloud/swoft-component@3a60c06 - Fixed
DbException
without throwingDatabase
exceptionCode
swoft-cloud/swoft-component@3a60c06 - Fixed
getter
andsetter
hump judgment errors forModelAttribute
swoft-cloud/swoft-component@2e2f0f1 - Fix
Aggregate
aggregate, return string forcibly convertint
error swoft-cloud/swoft-component@7aa98a6 - Repair model
updateCounters
method does not synchronize entity data after update swoft-cloud/swoft-component@967d6f8
Update
- Adjust ws server to automatically close the connection when the worker exits, add switch configuration, you can choose whether to open. swoft-cloud/swoft-component@3a8890c
- ws server new event:
MESSAGE_PUSH
OPEN_BEFORE
MESSAGE_RECEIVE
swoft-cloud/swoft-component@e1b0583
Enhancement
- Add new logs to cut by time swoft-cloud/swoft-component@f649df2
- Added log support to pass additional parameters swoft-cloud/swoft-component@55d5533
- Adjusted and added some ws server related events for users to use swoft-cloud/swoft-component@e1b0583
- Model pair
Prop
support swoft-cloud/swoft-component@630aad8 - Added connection pool (mysql/redis/rpc) to initiate initial connection swoft-cloud/swoft-component@a367173
- tcp server supports custom header data packaging and unpacking format when using length packetization swoft-cloud/swoft-component@a6fbe93
- RPC call error message adjustment swoft-cloud/swoft-component@d9226b1
- Added operation
Database
exception, print console errorSQL
swoft-cloud/swoft-component@3a60c06 - New operational data migration
int
series Length support swoft-cloud/swoft-component@967d6f8 - Added the original sql method
getRawSql
swoft-cloud/swoft-component@967d6f8 - Extend
updateOrInsert
andupdateOrCreate
to support self-incrementing parameters swoft-cloud/swoft-component@967d6f8
Extra
Swoftcli
already supports basic application skeleton and component structure creation, as well as some class file generation functions.SwoftTracker
support for easy developer debugging
v2.0.5
- Fixing early interrupt request logic may result in incorrect formatting of the corresponding Content-Type (swoft-cloud/swoft-component@f031398)
- Fixed the use of sgo to create child coroutines, at the end did not clean up the mapping with the top coroutine (swoft-cloud/swoft-component@de11ae5)
- Fix Xml format parsing method (swoft-cloud/swoft-component@24d0038)
- Fix class proxy Unique string problem (swoft-cloud/swoft-component@444ddeb)
- Fixed
context()->get()
problem and discardContext::mustGet()
method (swoft-cloud/swoft-component@6acc1b5) - Fixed interface injection, class name access error (swoft-cloud/swoft-component@2d9a31f)
- Repair model uses the
paginate
method, the result set has no mapping field (swoft-cloud/swoft-component@3027287) - Fixed websocket server error when there are multiple workers and actively closes non-current worker connections(swoft-cloud/swoft-component@7666969)
Update:
- The default worker num setting is obtained by the
swoole_cpu_num
function (swoft-cloud/swoft-component@553f650) - The validator is adjusted to, the default is not required, the user opens (swoft-cloud/swoft-component@e5b258d)
- No longer throws
containerException
inside the swowt to the user-used layer(swoft-cloud/swoft-component@1e74893) - console output Add interactive methods such as
confirm
select
(swoft-cloud/swoft-component@0181138)
Enhancement:
- The console command option sets
CommandOption
, which now allows options to be described as multiple lines of information (swoft-cloud/swoft-component@e591498) - All messaging methods for websocket server, support for incoming
opcode
parameter (swoft-cloud/swoft-component@dc164ff) - The websocket module allows setting the default
opcode
of the current module for automatic processing of return data settingsopcode
(swoft-cloud/swoft-component@9e3e967 ) - Enhanced websocket related classes, now the message processing method allows to inject more data object types
Request
Response
(swoft-cloud/swoft-component@3d6c60b ) - When the worker exits, the websocket server will automatically close all connections (swoft-cloud/swoft-component@5ea10ec)
- Add Timer timer package (swoft-cloud/swoft-component@eb92ee6)
- Add Coroutine Method Package(swoft-cloud/swoft-component@d8c2b88)
Extra:
- swoft/crontab Second-level scheduled tasks
- swoft/whoops A simple wrapper for
filp/whoops
in swewt that renders and displays error messages that are more conducive to reading.
v2.0.4
Enhancement :
Swoft\Http\Message\Request
AddedgetHeaderLines()
(swoft-cloud/swoft-component@74a2a91)- Aop adds
getArgsMap()
andgetClassName()
methods (swoft-cloud/swoft-component@c47e785) - Added
srun()
function for coroutine scheduling (swoft-cloud/swoft-component@3c4a6a4) - Optimize the server event (
onStart
/onWorkStart
/onWorkStop
/onShutdown
), the event comes with support coroutine (swoft-cloud/swoft-component@a8d5a8d) - New Posting Sync Blocking Task (swoft-cloud/swoft-component@ec938e5)
- Added Redis
call
method for using the same connection operation (swoft-cloud/swoft-component@9245698) - Compatible with swoole 4.4.x
Fixed :
- Fixed migration class name is too long, resulting in incomplete record class name (swoft-cloud/swoft-ext@58314b8)
- Fixed
update
update after updating the field value withSetter
after the entity query (swoft-cloud/swoft-component@caadf0e) - Fixing the result of deleting the pid file after stop returns an error, causing restart to fail (swoft-cloud/swoft-component@2be450b)
- Fixed i18n setting default language does not work (swoft-cloud/swoft-component@b401a50)
- Fixed ws server can't actively close other workers' connections when there are multiple workers (swoft-cloud/swoft-component@271b639)
- Fixed when the http server received the xml request, the content type could not be matched correctly (swoft-cloud/swoft-component@2ff9a4e)
- Fixes Using the Database, the
json
operation is not valid (swoft-cloud/swoft-component@9245698) - Fixed limiter speed limiter Redis prefixed with unusable problem (swoft-cloud/swoft-ext@7b54d4c)
Update :
- Update ws server You can disable the ws module by configuring
disabledModules
(swoft-cloud/swoft-component@fa31111)
Extra :
- Add a case show on the official website, welcome to submit the case to the official case warehouse swoft-cloud/swoft-case
- Changes to the document on GitHub will be automatically updated to the official website document, no need to manually refresh
New:
- Process Management (swoft-cloud/swoft-component@c61b8f7)
- Custom User Process (swoft-cloud/swoft-component@c328d54)
- Process pool (swoft-cloud/swoft-component@d2e6290)
- TCP server is now available (swoft-cloud/swoft-component@e804f2c)
v2.0.3
Remove
- Remove
request->json()
method(c9e8f04)
Enhancement
- Add interface dependency injection(6169f84)
- Add
getFile
to obtain information after file upload and save(fe7e3a6) - Add
restart()
to restart service(2ffec37) - Add call 1.x RPC service support(30d73c3)
- Add AOP class name matching supports regular expressions(bc5e479)
- Add RPC Server /Http server Middleware namespace
use
error prompt(b1cec04) - Add validator exclusion attribute field with
unfields
(b1bf44f) - Add auto write timestamp(dc58011)
- Add model action event(dc58011)
- Add database migration script(26bb464)
- Add entity automatically interact with json and arrays(dc58011)
- Add model batch update method with
batchUpdateByIds
(dc58011)
Fixed:
- Fix cookies some problems when setting up, add some related methods with withCookie(b05afbb01)
- Fix no capture processing error when the console uses the coroutine mode to run the command.(8a5418bf)
- Fix restart websocket server command does not stop the old server problem first(db2d935)
- Fix task return value is
null
(a69347c) - Fix RPC Server only class middleware can't be used(204bc7f)
- Fix RPC Server return value is
null
(4d091be) - Fix Logger and CLog log level cannot be overwritten and invalid(8eb8aba)
- Fix attributes in the model do not support custom expressions(dc58011)
Update:
- Validator optimization, support for custom validation rules(d959a4f)
- Rename the error handling management class
ErrorHanlders
toErrorManager
(f3a8f04b) - The exception handling of the console component is changed to the unified processing style provided by the error component. (4f47204)
- Console component allows to set the disable command group(c5a0269)
- In the default error handling, the error capture level is allowed to be set. The default level is
E_ALL | E_STRICT
(afff9029) - Optimization When the ws server is started, the http processing function is enabled at the same time, and the information panel adds prompts.(83a81170)
- Optimize Start the ws server and add the rpc server to start. The information panel does not display the rpc server information.(3d1d0d848)
Extra:
- New apollo Component
- New consul Component
- New breaker Component
- New limter component
v2.0.2
Enhancement:
- Added
$request->parsedQuery()
method (ab45089) - Added
Bean
attribute injection base data type(string/int/bool/float/array),Automatically converts according to annotation type。(e3d4085) - Added
db()
to enable Model/Query/DB to support cutting(f3b12c9) - Added
DbSelectorInterface
to automatically cut the library according to the business(b36ca03) - Added
Http server
to increasecookie
response support (1a024bf) - Added entity generation for the
devtool
component(14b4d39c) - Added
pipeMessage, packet
event that allows registration ofswoole
(afec0e3f) - Add more related events at startup(8aaa38c4)
Fixed:
- Fix
paginate
cannot specify query field(308d330) - Fix entity
join
operation, showing no associated table data (446a3a2) - Fix entity attribute name
attributes
and other system-defined attribute conflicts (1a9d25b) - Fix
AOP
facet repeat execution problem (54e00ac) - Fix Http service global exception
contentType
invalidation problem(e704116) - Fix
Http server
does not passtype
check whenhttps
is enabled (3e9b431) - Fix
Http server
may get errors when responding to html via datae5513df) - Repair controller table data display (4d27718)
- Fix
phpstorm meta
file generated by devtool(1838552) - Fix
ws-server
parameter route matching failed(4d3392e6) - Fix
Http
servicecontent-type
multi-value parsing error(1657979) - Fix
Co::multi
throw exception call error(d0ff0f7) - Fix
body
string unresolved call error(32abf60) - Fix the
toArray
invalidation problem bysetter
(9c0f9505) - Now stop the server (including Ctrl+C) will always delete the pid file, repair does not delete the pid file causes docker to restart failure(6a96b2c)
- Fix the
@Inject
injectionRedis
connection pool is not released and the connection pool is all idle.(feac3700) - Fix database open transaction multi-connection pool operation error(3f80474)
Update:
- Modify the model methods
insert, insertGetId, updateOrInsert
to only insert the definition of the@Column
field.
(9c0f9505) - Join the conflicting extension related runtime environment check when starting swowt(7fa7188f)
- Adjust
count, sum, avg, max, min
return value type(c9b5e17a) Http server
route matching order optimization(d8fb588)- Improve RPC Client call error message prompt(a1e56eb)
- Adjust the position of Redis
zAdd
members and scores⚠️ is not backward compatible(1a3275b3) - Adjustment If the verification annotation is not added, the verification resolution related process will be skipped.(582c806cc)
- Remove the buffer full/empty event related code from the swoole (873a97bed)
Extra:
swoft/view
added via@View
render view support