Skip to content

History / FormControl

Revisions

  • Document accessible form validation Describe opt-in validation, messages, accessibility, server errors, lifecycle APIs, and widget adapters.

    @viames viames committed Jul 24, 2026
  • Add FormValidationPreset and PairValidation.js docs Introduce centralized documentation for validation presets and the browser helper: adds FormValidationPreset.md and PairValidation.js.md, plus wiring across form docs. Document Form preset-backed factory methods (emailAddress, iban, webUrl, e164Phone, etc.), new FormControl APIs (preset(), validationMessage()), and explain server-side normalization/validation and client-side PairValidation.js behavior. Update Email, Url, Tel, Text, FormControl, Form, Home and Classes-folder pages to reference presets, clarify classic vs preset validation paths, and link to PairValidation.js.

    @viames viames committed Jun 13, 2026
  • Clarify Toggle value API and binding Documentation updates to clarify Toggle's value contract and how forms bind persisted values. Added notes in Form.md and FormControl.md that Pair casts persisted 0/1 to booleans when filling a Toggle, and that Toggle::value accepts only booleans (while the rendered checkbox still submits value="1"). Updated Toggle.md examples to use true/false or explicit (bool) casts and expanded the docs to explain TypeError behavior for non-boolean inputs and recommended usage when binding persisted data.

    @viames viames committed May 5, 2026
  • Add docs: observability, cache, adapters, and APIs Add and update framework documentation to introduce runtime features and integrations. New pages: AdapterRegistry, Cache, CloudflareTurnstile, CrudIncludePreloader, CrudResourceMetadata, EmptyResponse, FilesystemMetadata, HttpCache, MeilisearchClient, Observability, ObservabilityEvent*, OpenAIClient, OpenTelemetryHttpExporter, ResendMailer, UiRenderer, and others. Update API, Application, Env, Configuration-file, CrudController, CrudResourceConfig, ApiExposable, Database, Form, FormControl, ErrorCodes and related docs to reference these additions: adapter registry usage, process-local metadata/cache (FilesystemMetadata, CrudResourceMetadata, Env caching), include preloader for bulk relation loading, explicit HttpCache/EmptyResponse examples, observability spans and debug headers, and expanded .env variables for cache, observability, exporters, Stripe/OpenAI/Resend/Meilisearch/Cloudflare Turnstile. Also document best practices for clearing process-local caches in long-running processes and note that DB/cache helpers emit spans when observability is enabled.

    @viames viames committed Apr 22, 2026
  • 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: expand API & Aircall docs, add Google pages Large documentation updates and additions: expanded the API, ApiController and ApiResponse guides with clearer lifecycle, middleware, idempotency and JSON handling examples; clarified ActiveRecord behavior, forms and pagination notes; refactored Aircall integration docs into an AircallAPI cookbook and enriched AircallClient reference with usage examples, error-handling guidance, and production patterns; added Google-related pages (GoogleAddress, GoogleGeocoder, GoogleMaps, GoogleMapsClient, GooglePlacesService). Various examples and small clarifications added across many markdown pages to improve developer guidance.

    @viames viames committed Mar 26, 2026
  • Add Aircall API docs and page struct update Adds a new AircallAPI.md and wires it into the docs, plus several documentation updates.

    @viames viames committed Feb 26, 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