Skip to content

v0.7.0

Choose a tag to compare

@bobicloudvision bobicloudvision released this 03 Apr 23:24
· 68 commits to main since this release

Added

  • Fluent validation rule builder Vortex\Validation\Rule with inline per-rule message support; Validator::make() now accepts rule objects.
  • Fluent response/session flash helpers: Response::with(), withMany(), withErrors(), withInput(), and session batch helpers Session::flashMany() / flashPutMany().
  • Request-aware response shortcuts: Response::error(), notFound(), forbidden(), and unauthorized() that auto-select HTML or JSON output.

Changed

  • Request::wantsJson() now treats X-Requested-With: XMLHttpRequest as JSON-preferring requests.
  • Breaking: composer.lock is no longer tracked in the repository and is now ignored.