Skip to content

History / QueryFilter

Revisions

  • Doc: Add CrudResourceConfig and v4 responses Add typed CrudResourceConfig and JsonResponse docs and update documentation to reflect Pair v4's explicit response path. Multiple docs (API, ApiExposable, ApiResponse, CorsMiddleware, CrudController, Idempotency, Middleware, MiddlewarePipeline, QueryFilter, RateLimiter, Request, SpecGenerator, User) were updated to: introduce CrudResourceConfig for normalized/typed CRUD config, document JsonResponse and ApiResponse::*Response builders, change middleware/action examples to return response objects (signatures now return mixed), and clarify that explicit response objects do not terminate execution while legacy helpers preserve terminate-after-send behavior. Also updated links and examples to use jsonResponse/errorResponse/paginatedResponse where appropriate.

    @viames viames committed Apr 21, 2026
  • Docs: clarify ApiResponse, tests, QueryFilter Update documentation to surface a few important behaviors and dev notes: - ApiResponse.md: note that Utilities::jsonResponse treats null/empty payloads as HTTP 204, so calling ApiResponse::respond(null, 201) will be emitted as 204; remind readers to verify final status codes when payloads are empty. - Home.md: add a Development and tests section with typical local workflow (composer install, composer test) and guidance about the PHPUnit suite and vendor/ usage. - QueryFilter.md: clarify that defaultSort is only applied when the sort parameter is absent; if sort is present but requests only disallowed fields, QueryFilter will not fall back to defaultSort and will emit no sort clauses. These changes aim to reduce common pitfalls and improve developer onboarding.

    @viames viames committed Mar 29, 2026
  • Add extensive Pair framework docs and update indexes Add dozens of new markdown docs for Pair framework components (ACL, exceptions, services, mailers, form controls, helpers, models, integrations and more). Update API.md and Home.md to reference the new pages. Extend ActiveRecord.md with a modern quick reference and practical recipes, add additional Database usage examples, and include minor updates to Query.md, Model.md and View.md to reflect the expanded documentation. These changes populate the docs/wiki with usage examples, main methods, and implementation notes for each component.

    @viames viames committed Feb 24, 2026
  • Add API docs and update core documentation Add comprehensive API documentation and related reference pages. Also update existing docs: refine .env/config guidance in Configuration-file.md, restructure and simplify Controller.md, refresh Home.md and Router.md and update index.md. These changes expand the framework docs to cover the API layer, middleware, idempotency, database utilities, push delivery, and developer-facing configuration best practices.

    @viames viames committed Feb 22, 2026