swoft v2.0.2 Release Notes
Release Date: 2019-06-21 // almost 5 years ago-
✨ 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