Releases: ucym/CodeLapse
Releases · ucym/CodeLapse
v0.7.2
v0.7.1
v0.6.1
v0.6.0
v0.5.1
v0.5.0
API broken changes
CodeLapse\Database\Connection\*
classes stops return false
when detect database operation errors.
From now on, Connection classes throws CodeLapse\Database\DBException
on detect database error (ex, PDO::query returns false, catch the Exception).
And when operation successful, some methods not return true
.
Many of the methods were no longer return a value.
(if error, throws Exception, not then, It will quietly continue process.)
Related methods
CodeLapse\Database\Connection
useDB
,setCharset
,query
,startTransaction
,commit
,rollback
lastInsertId: int
,quote: string
v0.4.0
- New API
- ArrayWrapper - for chainable array functions wrapper
- Arr::wrap - Construct ArrayWrapper instace from array
-- Arr::wrapWithKey - Construct ArrayWrapper instace from array (Some methods give array's value and key to callback)
- Changes
Validator::addRuleClass
now regist rule name by camelCase
(Before changes,Validator::addRuleClass
register rule name by PascalCase)
Now, registvalidateXxxYyy
isxxxYYY
rule name.