What's Changed in v0.6.0
Added
- Extended Blueprint Schema: Added
date(),dateTime(),decimal(),float(),bigInteger(),unsignedInteger(),foreignId(),json(), andenum()helpers with SQLite & MySQL compilation. - ORM Model Methods: Added
Model::create(),Model::firstOrCreate(), andModel::updateOrCreate(). - Advanced & Polymorphic Relations: Added
HasOneThrough,MorphTo,MorphOne,MorphMany,MorphToMany, andMorphedByManyrelations with model helper methods. - Relation QueryBuilder Proxying:
Relationbase class implements__call()forwarding so$model->relation()->where(...)->count()works natively. - Dedicated HTTP Layer: Added
JsonResponse,RedirectResponse(with fluentwith(),withErrors(),withInput()),Session,UploadedFile, andResponseFactory. - Built-in
make:policyCLI Generator: Scaffold authorization policy classes inapp/Policies/. Model::observe()Observer Auto-Wiring: Class-based lifecycle event listener auto-wiring supportingcreating,created,updating,updated,saving,saved,deleting,deleted,restoring,restored, andforceDeleted.- Built-in
make:observerCLI Generator: Scaffold Model Observers inapp/Observers/with--model=flag support. - Built-in
make:ruleCLI Generator: Scaffold custom Validation Rule classes inapp/Rules/implementingVeldora\Framework\Validation\Rule. - 51 Built-in CLI Commands: Complete standalone and Symfony console runner expanded to 51 built-in commands.
- Expanded Unit Test Suite: Reached 110 passing unit tests and 458 assertions with zero failures.
Fixed
SessionGuardResilient Remember Token: Guardedremember_tokenupdates with try-catch so schemas omittingremember_tokencolumn do not throwPDOExceptionon login/logout.
Full Changelog: https://github.com/veldorahq/veldora/blob/main/CHANGELOG.md
Documentation: https://veldora.modrao.com