Releases: smartbooster/core-bundle
Releases · smartbooster/core-bundle
v1.14.2
Fixed
GroupConcat::parse
Fix access to the value of the$lexer->lookahead
if it's an array or a Token object (@mathieu-ducrot)
v1.14.1
Fixed
StringUtils::getEntitySnakeName
fixed return value on folder named with full capital letter by doing the snake conversion first then the replace (@mathieu-ducrot)
v1.14.0
Added
ArrayUtils::toIndexedArray
+ tests Delete keys of array and multidimensional array (@lfortunier)
Fixed
RequestUtils::getContextFromHost
add host ending with '.localhost' fallback (@mathieu-ducrot)
v1.13.1
Fixed
HistoryDoctrineListener::handleHistory
set deleted collection only to the owner (@lfortunier)
Added
HistorizableInterface::getHistoryDiffFieldsToSkip
be able to skip doctrine collections fields inHistoryDoctrineListener::handleHistory
(@lfortunier)
v1.13.0
Added
EntityCleanupCommand
to delete cron, clean api calls or other entity easily through the bundle configuration entity_cleanup_command_configs (@mathieu-ducrot)
Changed
UpdatableInterface::getUpdatedAt
andUpdatableInterface::setUpdatedAt
handle nullable datetime (@mathieu-ducrot)
v1.12.0
Added
ArchivableInterface
& trait (@mathieu-ducrot)CanonicalInterface
& trait (@mathieu-ducrot)CodableInterface
& trait (@mathieu-ducrot)EnableInterface
& trait (@mathieu-ducrot)PositionableInterface
& trait (@mathieu-ducrot)SearchableInterface
& trait (@mathieu-ducrot)UpdatableInterface
& trait (@mathieu-ducrot)
v1.11.0
Added
CreatableTrait
Trait & interface with creation date (@lfortunier)MonthYearTrait
Trait & interface with numeric representation of a month and his numeric year. Useful for statistics purposes. (@lfortunier)
Changed
README.md
update : Add missing nelmio security settings configuration (@lfortunier)
Fixed
HistoryLogger
add missing STATUS_PROPERTY check on log update skip (@mathieu-ducrot)NameableInterface::setName
add missing null case as it is mentioned on the trait (@mathieu-ducrot)NameableTrait::name
property scope set as protected (@mathieu-ducrot)PersonNameableTrait::getInitial
use mb_substr for string with first accentuated character (@mathieu-ducrot)
v1.10.0
Added
ArrayUtils::hasDuplicateValue
+ tests (@lfortunier)StringUtils::fillPrefix
Fill a prefix to value until specified length + tests (@lfortunier)DateUtils::addWorkingDays
to calculate a date based on working days + tests (@lfortunier)HistorizableInterface::getHistoryDiffFieldsToSkip
to manage fields to skip logging on history (@mathieu-ducrot)
Changed
README.md
update : add scripts to the list of scripts that can be executed inscript-src
Nelmio Security recommendations config. (@lfortunier)README.md
update : Add missing sentry settings configuration (@lfortunier)RequestUtils::getContextFromHost
Add .sso subdomain for proper detection on localhost (@mathieu-ducrot)HistoryLogger::log
skip history log if it's an update without data (ex: diff detected in EntityChangeSet but the targetted fields are actually skip from getHistoryDiffFieldsToSkip @mathieu-ducrot)
v1.9.0
Added
FileableInterface
,ImageableInterface
,PdfInterface
and their trait to demonstrate how to properly configure VichUploader annotations/attributes (@mathieu-ducrot)EmbeddedFile
to deal with multiple files on the same entity. To use in combination with a OneToOne relation and ORM\Embedded (@mathieu-ducrot)UuidInterface
and trait to for uuid management (@mathieu-ducrot)ParentFileTransformer
to used on form with entity implementing theFileableInterface
to auto set the parent relation (@mathieu-ducrot)MimeTypesUtils
helper for constraints mimeTypes check (@mathieu-ducrot)
Fixed
NameableTrait
handle setName with null type (@mathieu-ducrot)
v1.8.0
Add Entity json History feature (@mathieu-ducrot)
Added
HistoryInterface
(s) and trait to add json history on entityUserProfileInterface
to add on User entity that can be mentioned on history rowsMailableInterface
to identify entities which have email sending featureHistoryLogger
and dedicated listeners to call him when doctrine detect changes during prePersist and preUpdateHistoryLogger
new CRON_ID_PROPERTY and API_ID_PROPERTY to link the history row with his corresponding monitoring entity idRequestUtils
to ease domain context detection
Changed
MonitoringApiControllerTrait::startApiCall
add optionnal $flush param in case we directly want the id to be logged in an entity historyApiCallMonitor::start
We now start the process after parsing the request to ensure all ApiCall properties that are non-nullable are set before flushing itApiCallTrait
statusCode is now nullable for ongoing ApiCall