Skip to content

Veldora v0.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Sep 14:34
· 4 commits to main since this release

What's Changed in v0.6.0

Added

  • Extended Blueprint Schema: Added date(), dateTime(), decimal(), float(), bigInteger(), unsignedInteger(), foreignId(), json(), and enum() helpers with SQLite & MySQL compilation.
  • ORM Model Methods: Added Model::create(), Model::firstOrCreate(), and Model::updateOrCreate().
  • Advanced & Polymorphic Relations: Added HasOneThrough, MorphTo, MorphOne, MorphMany, MorphToMany, and MorphedByMany relations with model helper methods.
  • Relation QueryBuilder Proxying: Relation base class implements __call() forwarding so $model->relation()->where(...)->count() works natively.
  • Dedicated HTTP Layer: Added JsonResponse, RedirectResponse (with fluent with(), withErrors(), withInput()), Session, UploadedFile, and ResponseFactory.
  • Built-in make:policy CLI Generator: Scaffold authorization policy classes in app/Policies/.
  • Model::observe() Observer Auto-Wiring: Class-based lifecycle event listener auto-wiring supporting creating, created, updating, updated, saving, saved, deleting, deleted, restoring, restored, and forceDeleted.
  • Built-in make:observer CLI Generator: Scaffold Model Observers in app/Observers/ with --model= flag support.
  • Built-in make:rule CLI Generator: Scaffold custom Validation Rule classes in app/Rules/ implementing Veldora\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

  • SessionGuard Resilient Remember Token: Guarded remember_token updates with try-catch so schemas omitting remember_token column do not throw PDOException on login/logout.


Full Changelog: https://github.com/veldorahq/veldora/blob/main/CHANGELOG.md
Documentation: https://veldora.modrao.com