Skip to content

Releases: veldorahq/veldora-core

veldora/framework v0.6.0

Choose a tag to compare

@github-actions github-actions released this 08 Sep 14:40

What's Changed in v0.6.0

Added

  • Blueprint Schema Helpers: Added date(), dateTime(), decimal(), float(), bigInteger(), unsignedInteger(), foreignId(), json(), and enum() with SQLite & MySQL SQL compilation.
  • ORM Model Methods: Native Model::create(), Model::firstOrCreate(), and Model::updateOrCreate() implementations.
  • Advanced & Polymorphic Database Relations: Implemented HasOneThrough, MorphTo, MorphOne, MorphMany, MorphToMany, and MorphedByMany relation classes along with Model helper methods (hasOneThrough, morphTo, morphOne, morphMany, morphToMany, morphedByMany).
  • Relation::__call() & get() Proxying: Relation base class proxies unknown query calls to the underlying QueryBuilder and provides get() alias, so queries like $post->comments()->where('approved', '=', 1)->count() work natively.
  • Dedicated HTTP Response Layer:
    • JsonResponse: Dedicated JSON response extending base Response with ::success(), ::error(), ::paginate(), merge(), and setData().
    • RedirectResponse: Extended redirect response with ::to(), ::back(), ::intended(), and fluent with(), withErrors(), and withInput().
    • Session: Clean framework HTTP session wrapper with flash data lifecycle, old-input persistence, and CSRF token generation/verification.
    • UploadedFile: Uploaded file handler with MIME type sniffing, size validation, and store() / storeAs() persistence.
    • ResponseFactory: Injectable factory for creating plain, HTML, text, JSON, redirect, download, inline file, and view responses.
  • Global HTTP Helpers: Added response() helper and updated redirect(), back(), and json() to return dedicated response instances.
  • Model::observe() Observer Wiring: Class-based lifecycle event listener auto-wiring supporting creating, created, updating, updated, saving, saved, deleting, deleted, restoring, restored, and forceDeleted.
  • make:observer CLI Generator: Generate dedicated Model Observer classes in app/Observers/ with optional --model= flag.
  • make:rule CLI Generator: Generate custom Validation Rule classes in app/Rules/ implementing Veldora\Framework\Validation\Rule.
  • make:policy CLI Generator: Added built-in authorization policy class generator (app/Policies/{Name}.php), expanding CLI suite to 51 built-in commands.
  • Expanded Unit Test Suite: Added tests/Unit/ObserverAndRuleTest.php (13 tests) and comprehensive relation/HTTP tests, bringing test coverage to 110 passing tests and 458 assertions.

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.


Install via Composer:

composer create-project veldora/veldora my-app

Or update existing:

composer require veldora/framework:v0.6.0

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

veldora/framework v0.5.7

Choose a tag to compare

@github-actions github-actions released this 30 Aug 15:37

What's Changed in v0.5.7

Added

  • down / up commands — Both are now fully registered in the standalone CLI runner (previously missing from bin/veldora switch).
  • executeDirect() on all remaining commandsMakeControllerCommand, MakeModelCommand, MakeMigrationCommand, MakeSeederCommand, MakeMiddlewareCommand, MakeRequestCommand, MakeResourceCommand, MakeFactoryCommand, DownCommand, UpCommand — all now callable without Symfony Console bootstrap.
  • 48 CLI commands — Complete standalone + Symfony Console dual-mode runner with all 48 commands properly wired.
  • Queue commands (queue:work, queue:failed, queue:retry, queue:clear) added to standalone CLI runner.

Fixed

  • make:migration now generates anonymous return new class extends Migration {} format (consistent with make:auth).
  • make:model -m now correctly delegates to MakeMigrationCommand::executeDirect() instead of dead Symfony Application lookup.
  • make:auth now callable directly via executeDirect() without Symfony Console guard.


Install via Composer:

composer create-project veldora/veldora my-app

Or update existing:

composer require veldora/framework:v0.5.7

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

veldora/framework v0.5.6

Choose a tag to compare

@github-actions github-actions released this 30 Aug 12:33

What's Changed in v0.5.6

Fixed

  • Dynamic Versioning: Unified runtime versioning across exception handling and CLI diagnostics.


Install via Composer:

composer create-project veldora/veldora my-app

Or update existing:

composer require veldora/framework:v0.5.6

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

veldora/framework v0.5.5

Choose a tag to compare

@github-actions github-actions released this 29 Aug 23:41

What's Changed in v0.5.5

Release v0.5.5 — see CHANGELOG.md for details.


Install via Composer:

composer create-project veldora/veldora my-app

Or update existing:

composer require veldora/framework:v0.5.5

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

veldora/framework v0.5.4

Choose a tag to compare

@github-actions github-actions released this 29 Aug 23:34

What's Changed in v0.5.4

Release v0.5.4 — see CHANGELOG.md for details.


Install via Composer:

composer create-project veldora/veldora my-app

Or update existing:

composer require veldora/framework:v0.5.4

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

veldora/framework v0.5.3

Choose a tag to compare

@github-actions github-actions released this 29 Aug 23:27

What's Changed in v0.5.3

Release v0.5.3 — see CHANGELOG.md for details.


Install via Composer:

composer create-project veldora/veldora my-app

Or update existing:

composer require veldora/framework:v0.5.3

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

veldora/framework v0.5.2

Choose a tag to compare

@github-actions github-actions released this 29 Aug 23:23

What's Changed in v0.5.2

Added

  • Composer Packagist release tag version metadata unified across core and UI packages.
  • Enhanced executeDirect() invocation support for command runners.
  • Bumped Application version to 0.5.2.

Fixed

  • Tag version mismatch synchronization for Composer VCS driver.


Install via Composer:

composer create-project veldora/veldora my-app

Or update existing:

composer require veldora/framework:v0.5.2

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