Releases: aryelgois/Medools
Releases · aryelgois/Medools
v5.1.2
v5.1.1
Changed
getTypedColumns()
returns an associative array
Fixed
- When adding changes in a different order from
COLUMNS
, data was being saved
in wrong columns in the database - Column types are only used when fetching data, and must be avoided when
sending data to the database
v5.1.0
v5.0.0
Added
getStampColumns()
isDeleted()
Changed
- Update dependencies
- Rewrite MedooConnection
- Update config file example
save()
andupdate()
always reload from Database to ensure data integrity
and have better return valuesdelete()
only resets the model and removes it from from ModelManager if
successful- All
STAMP_COLUMNS
are implicitly optional
Removed
dataCleanup()
Fixed
- Indentation
updateStampColumns()
subset filteringsave()
v4.3.0
Changed
- Update dependencies:
- ReadOnlyModelException extends
aryelgois\Utils\Exceptions\ReadOnlyException
v4.2.0
Added
- Links in README
- Model methods:
getData()
Changed
- Update aryelgois/utils
Fixed
jsonSerialize()
DocBlock and description
v4.1.1
v4.1.0
v4.0.0
Added
- Model
fill()
example - Model methods:
checkUnknownColumn()
checkReadOnly()
getIterator()
getRequiredColumns()
isFresh()
onColumnChange()
undo()
Changed
- Update aryelgois/utils
- Forbid assigning a fresh foreign model
validateHook()
only receives the data to be validated- Person methods
- Rename Hook to Event
- Improve exceptions
Removed
setMultiple()
Fixed
- ModelIterator and ModelManager
__construct()
: Ensure a model class is used,
and not a model instance - Delete fresh soft model
v3.1.1
Fixed
- Warning for
array_flip()
in aryelgois/utilsUtils::arrayBlacklist()
whenAUTO_INCREMENT
is null