All Versions
16
Latest Version
Avg Release Cycle
60 days
Latest Release
914 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v2.0.10 Changes
September 27, 2020π CHANGE LOG
TODO
-
v2.0.9 Changes
April 15, 2020π Change Log
π Fixed :
- The content of the pidfile file may be empty.Check swoft-cloud/[email protected]
- Compatible with open_websocket_close_frame setting of websocket server
swoft-cloud/[email protected] - π Fix the problem that the rpc client cannot set the timeout for reading data swoft-cloud/[email protected]
- π Fix the problem that Required verification annotation may be invalid swoft-cloud/[email protected]
- π Fixed the problem of file verification not passing swoft-cloud/[email protected]
- π Fix the problem that the configured websocket middleware may fail swoft-cloud/[email protected]
- π Fix the parameter type of calling method in the command line
MultiList::show
swoft-cloud/[email protected] - π Fix MySQL 8.0 generated entity primary key location error swoft-cloud/[email protected]
β‘οΈ Update :
- The swoole original process object is saved on the user process class, which is convenient for subsequent use swoft-cloud/[email protected]
β¨ Enhancement :
- β‘οΈ Optimize the proxy class generation logic, the same class code only needs to be generated once swoft-cloud/[email protected]
- Ignore errors that may occur when the db connection is closed swoft-cloud/[email protected]
- β Add a try-catch to destroy coroutine processing to prevent errors from causing workers to quit swoft-cloud/[email protected]
- π» The connection pool closes the connection, if the connection has been disconnected, the exception will be ignored swoft-cloud/[email protected]
-
v2.0.8 Changes
January 18, 2020π Change Log
π Fixed :
- π Fix ws server's message response.finish compatible
swoole 4.4.12
issue swoft-cloud/[email protected] - π Fix the issue that the value of the option with the short option in the console component is out of sync swoft-cloud/[email protected]
- π Fixed some string operations not compatible with php 7.4 swoft-cloud/[email protected]
- π Fix When displaying unknown command, the help information of http server command is incorrect swoft-cloud/[email protected]
- π Fix remove invalid debug statements in process component swoft-cloud/[email protected]
- The
.env
file in the same directory cannot be loaded correctly after packaging as phar swoft-cloud/[email protected] - π Fix psr4 namespace that cannot be excluded from scanning by Application settings swoft-cloud/[email protected]
- π Fixed the initial request error when the digital key appeared in the http headers swoft-cloud/[email protected]
- π Fix log is still writing conting information to memory after disabling, causing memory growth problem swoft-cloud/[email protected]
- π Fix log concurrency may cause repeated writing to log swoft-cloud/[email protected]
- π Fix Connection pool not closed, expired connection swoft-cloud/[email protected]
β‘οΈ Update :
- π» Adjust the exception thrown when the route is not found will carry the error code swoft-cloud/[email protected]
- π Adjust the Redis
Set
method and interface, the usage is exactly the same as phpredis, the third parameter supports the array swoft-cloud/[email protected] Swoft\Redis\Contract\ConnectionInterface::set
Third parameter changed to unlimited type
β¨ Enhancement :
- β¨ Enhanced clog now supports writing logs to files swoft-cloud/[email protected]
- β‘οΈ Optimized phar package construction speed, packaging time will be greatly reduced now swoft-cloud/[email protected]
- β‘οΈ 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/[email protected]
- Global validation method Added
$unfields
parameter to the validate method swoft-cloud/[email protected] - 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/[email protected]
- β‘οΈ Optimized aggregation method supports grouping such as (
sum, avg, count
), etc. swoft-cloud/[email protected] - β‘οΈ Optimize entity generation, resolve conflicts with model attributes/methods swoft-cloud/[email protected]
- β Add
setFetchMode
to easily get different types of data in pdo format swoft-cloud/[email protected]
- π Fix ws server's message response.finish compatible
-
v2.0.7 Changes
November 18, 2019Fixed :
- 0οΈβ£ 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/[email protected]
- π 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/[email protected]
- π Fixed when using message scheduling in tcp server, no empty data was filtered, resulting in one more response. swoft-cloud/[email protected]
- π Fixed missing swoft/stdlib library dependencies when using console component independently swoft-cloud/[email protected]
- π Fixed
ArrayHelper::get
When the input key is integer, the parameter parameter is incorrect swoft-cloud/[email protected] - π Fix console rendering using table, when calculating int value, calculate width report type error swoft-cloud/[email protected]
- π Fixed error in the component user can not customize the default error handling level swoft-cloud/[email protected]
- π Fix Enable and disable Component settings
isEnable()
does not work swoft-cloud/[email protected] - π Fixes Using the
uniqid()
method in the cygwin environment must set the second parameter to true swoft-cloud/[email protected] - π Fixed Unable to set process title in cygwin environment and cause error swoft-cloud/[email protected]
- π Fixed Unable to delete browser cookie data using http
response->delCookie()
swoft-cloud/[email protected] - π Fixed ws server message dispatching, the received ext data is not necessarily an array causing an error swoft-cloud/[email protected]
- π Fix log file split by time swoft-cloud/[email protected]
- π Fix the log
JSON
format small problem swoft-cloud/[email protected] - π Fixed
rpc
service providergetList
call twice swoft-cloud/[email protected] - π Fix
redis cluster
does not supportauth
parameter swoft-cloud/[email protected] - π Fix model query
json
type, does not supportarray
swoft-cloud/[email protected] - π Fixed redis
multi
operation not connected in time swoft-cloud/[email protected] - π Fix redis does not support
expireAt
,geoRadius
swoft-cloud/[email protected] - π Fix 'crontab' timestamp detection deviation swoft-cloud/[email protected]
β‘οΈ Update :
- Update console also emits an event before rendering the help message
ConsoleEvent::SHOW_HELP_BEFORE
swoft-cloud/[email protected] - Simplify and unify http, ws, tcp, rpc server management command logic swoft-cloud/[email protected]
- β‘οΈ 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/[email protected] - β‘οΈ Optimize server to add a unified swoole pipe message event handler, use the swowt event in ws, tcp to handle interprocess messages swoft-cloud/[email protected]
β¨ 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/[email protected]
- β± 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/[email protected]
- Event Management allows setting
destroyAfterFire
to clean up the data carried in the event after each event dispatch swoft-cloud/[email protected] - π» Database error exception added
code
returns swoft-cloud/[email protected] - π» Coroutine file operation
writeFile
New write failure exception swoft-cloud/[email protected] - RPC new parameter verification swoft-cloud/[email protected]
-
v2.0.6 Changes
September 20, 2019π Fixed
- 0οΈβ£ Repair the client that uses the current fd as the response message by default when the ws server receives the message swoft-cloud/[email protected]
- π 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/[email protected]
- π Fix stdlib SystemHelper will be deleted by Defender in Windows 10 swoft-cloud/[email protected]
- π Fix
increment/decrement
and get a more connection swoft-cloud/[email protected] - π Fix Model property
$modelTimestamps
is closed invalid swoft-cloud/[email protected] - π Fix The log was called before initialization, which may cause the context loss error during the startup phase swoft-cloud/[email protected]
- π 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/[email protected]
- π 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/[email protected]bc32
- β‘οΈ Optimized Http server
sgo
processing flow swoft-cloud/[email protected] - π Fixed database inconsistency caused by reconnection in the case of things swoft-cloud/[email protected]
- π Fixed Aop extreme case return
0
problem swoft-cloud/[email protected] - π Fixed
BeanFactory::createBean()
method creation problem swoft-cloud/[email protected] - π Fix RPC error data is a string problem swoft-cloud/[email protected]
- π Fixed
redisCluster
initialization problem swoft-cloud/[email protected] - π Fixed
DbException
without throwingDatabase
exceptionCode
swoft-cloud/[email protected] - π Fixed
getter
andsetter
hump judgment errors forModelAttribute
swoft-cloud/[email protected] - π Fix
Aggregate
aggregate, return string forcibly convertint
error swoft-cloud/[email protected] - β‘οΈ Repair model
updateCounters
method does not synchronize entity data after update swoft-cloud/[email protected]
β‘οΈ Update
- π§ Adjust ws server to automatically close the connection when the worker exits, add switch configuration, you can choose whether to open. swoft-cloud/[email protected]
- ws server new event:
MESSAGE_PUSH
OPEN_BEFORE
MESSAGE_RECEIVE
swoft-cloud/[email protected]
β¨ Enhancement
- β Add new logs to cut by time swoft-cloud/[email protected]
- β Added log support to pass additional parameters swoft-cloud/[email protected]
- Adjusted and added some ws server related events for users to use swoft-cloud/[email protected]
- π Model pair
Prop
support swoft-cloud/[email protected] - β Added connection pool (mysql/redis/rpc) to initiate initial connection swoft-cloud/[email protected]
- π tcp server supports custom header data packaging and unpacking format when using length packetization swoft-cloud/[email protected]
- RPC call error message adjustment swoft-cloud/[email protected]
- β Added operation
Database
exception, print console errorSQL
swoft-cloud/[email protected] - π New operational data migration
int
series Length support swoft-cloud/[email protected] - β Added the original sql method
getRawSql
swoft-cloud/[email protected] - β‘οΈ Extend
updateOrInsert
andupdateOrCreate
to support self-incrementing parameters swoft-cloud/[email protected]
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 Changes
August 06, 2019- π Fixing early interrupt request logic may result in incorrect formatting of the corresponding Content-Type (swoft-cloud/[email protected])
- π Fixed the use of sgo to create child coroutines, at the end did not clean up the mapping with the top coroutine (swoft-cloud/[email protected])
- π Fix Xml format parsing method (swoft-cloud/[email protected])
- π Fix class proxy Unique string problem (swoft-cloud/[email protected])
- π Fixed
context()->get()
problem and discardContext::mustGet()
method (swoft-cloud/[email protected]) - π Fixed interface injection, class name access error (swoft-cloud/[email protected])
- Repair model uses the
paginate
method, the result set has no mapping field (swoft-cloud/[email protected]) - π Fixed websocket server error when there are multiple workers and actively closes non-current worker connections(swoft-cloud/[email protected])
β‘οΈ Update:
- The default worker num setting is obtained by the
swoole_cpu_num
function (swoft-cloud/[email protected]) - 0οΈβ£ The validator is adjusted to, the default is not required, the user opens (swoft-cloud/[email protected])
- No longer throws
containerException
inside the swowt to the user-used layer(swoft-cloud/[email protected]) - console output Add interactive methods such as
confirm
select
(swoft-cloud/[email protected])
β¨ Enhancement:
- The console command option sets
CommandOption
, which now allows options to be described as multiple lines of information (swoft-cloud/[email protected]) - π All messaging methods for websocket server, support for incoming
opcode
parameter (swoft-cloud/[email protected]) - 0οΈβ£ The websocket module allows setting the default
opcode
of the current module for automatic processing of return data settingsopcode
(swoft-cloud/[email protected] ) - β¨ Enhanced websocket related classes, now the message processing method allows to inject more data object types
Request
Response
(swoft-cloud/[email protected] ) - π· When the worker exits, the websocket server will automatically close all connections (swoft-cloud/[email protected])
- β Add Timer timer package (swoft-cloud/[email protected])
- β Add Coroutine Method Package(swoft-cloud/[email protected])
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 Changes
July 19, 2019β¨ Enhancement :
Swoft\Http\Message\Request
AddedgetHeaderLines()
(swoft-cloud/[email protected])- Aop adds
getArgsMap()
andgetClassName()
methods (swoft-cloud/[email protected]) - β Added
srun()
function for coroutine scheduling (swoft-cloud/[email protected]) - β‘οΈ Optimize the server event (
onStart
/onWorkStart
/onWorkStop
/onShutdown
), the event comes with support coroutine (swoft-cloud/[email protected]) - π New Posting Sync Blocking Task (swoft-cloud/[email protected])
- β Added Redis
call
method for using the same connection operation (swoft-cloud/[email protected]) - Compatible with swoole 4.4.x
π Fixed :
- π Fixed migration class name is too long, resulting in incomplete record class name (swoft-cloud/[email protected])
- π Fixed
update
update after updating the field value withSetter
after the entity query (swoft-cloud/[email protected]) - π Fixing the result of deleting the pid file after stop returns an error, causing restart to fail (swoft-cloud/[email protected])
- π Fixed i18n setting default language does not work (swoft-cloud/[email protected])
- π Fixed ws server can't actively close other workers' connections when there are multiple workers (swoft-cloud/[email protected])
- π Fixed when the http server received the xml request, the content type could not be matched correctly (swoft-cloud/[email protected])
- π Fixes Using the Database, the
json
operation is not valid (swoft-cloud/[email protected]) - π Fixed limiter speed limiter Redis prefixed with unusable problem (swoft-cloud/[email protected])
β‘οΈ Update :
- β‘οΈ Update ws server You can disable the ws module by configuring
disabledModules
(swoft-cloud/[email protected])
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/[email protected])
- Custom User Process (swoft-cloud/[email protected])
- π¨ Process pool (swoft-cloud/[email protected])
- TCP server is now available (swoft-cloud/[email protected])
-
v2.0.3 Changes
July 08, 2019β 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
- β Remove
-
v2.0.2 Changes
June 21, 2019β¨ 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
- β Added
-
v2.0.1 Changes
May 28, 2019β¨ EnhancementοΌ
- β Added validator does not have an error message(5ba8682) @stelin
- Added
AOP
proxy class name identifier_PROXY_
(5ba8682) @stelin - β Added entity field value type to error exception prompt(ab3cfea) @stelin
- β Added
BeanFactory::getBeans()
query instance based on class name(999c10f) @stelin - β Added Model
getAttributeValue
get field value method(642d791e) @sakuraovq - β Added
GET
mode parameter verification(6452a37) @stelin - β Added
Redis
byInject
method injection(fc0a88e) @sakuraovq - β Added
RRC
service global exception handling(1653b24) @stelin
π FixedοΌ
- π Fix
CLog
log call stack error(868102f) @stelin - π Fix
Co::multi
call failed error data format(5ba8682) @stelin - π Fix
Function.php
repeated loading(b063dd1) @stelin - π Fix
Logger
log call stack error(ab3cfea) @stelin - π Fix worker process exit is not released(close)databaseγcacheγ
RPC
connection pool(5b1baa5) @stelin - π Fix developer customization
content-type
failure problem(22cf706) @stelin - π Fix
request/session
level destruction invalidation problem(e0d1493) @stelin - π Fix
bean
name contains.
point number invalidation(dc37c92) @stelin - π Fix connection pool
maxIdleTime
invalid parameter problem(0e05591) @stelin - π Fix file upload (10bc7fa) @sunnyos
- π Fix the default output encoding is
UTF8
(755c8cf) @sunnyos - β‘οΈ Optimize
Redis
configuration type conversion(533b592) @stelin - π Fix packaged as
phar
runtime error(533b592) @inhere
Swoft-cli
- π Fix some problems swoft-cli @inhere
- π Automatically deploy
phar
toGitHub Release
viatravis
when releasing new versions. (d1503b2) @inhere
Devtool