Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Releases: EvanSchleret/FormForgeClient

v1.2.4

05 Jun 15:53
@EvanSchleret EvanSchleret

Choose a tag to compare

v1.2.4

Fixed

  • FormForgeRenderer no longer drops the injected beforeRequest hook when clientConfig is provided
  • Bearer authentication now remains active when passing renderer-specific overrides such as scopeParams
  • useFormForgeClient now preserves the existing injected FormForge client when merging config overrides

Tests

  • Added a regression test to verify that beforeRequest is still executed when clientConfig overrides are passed to useFormForgeClient

Full Changelog: v1.2.3...v1.2.4

Assets 2
Loading

v1.2.3

28 May 15:46
@EvanSchleret EvanSchleret

Choose a tag to compare

v1.2.3

Fixed

  • FormForgeRenderer now accepts external modelValue payload keys indexed by field_key in addition to field.name
  • Hydration/sanitation now resolves field aliases (name + field_key) to one canonical field entry
  • When both name and field_key are provided for the same field, name takes precedence
  • Unknown payload keys continue to be removed during sanitation

Tests

  • Added renderer payload tests for:
    • name-only hydration
    • field_key-only hydration
    • mixed payload with name precedence
    • unknown fields rejection

Full Changelog: v1.2.2...v1.2.3

Loading

v1.2.1

28 May 15:01
@EvanSchleret EvanSchleret

Choose a tag to compare

v1.2.1

Changed

  • Refactored useFormForgeManagement list APIs to return contextual list results:
    • listForms(...) now returns { data, refresh }
    • listFormRoute(...) now returns { data, refresh }
  • refresh() on the returned list result now reliably re-runs the same original request context (endpoint, scope, filters, and route key when applicable).

Fixed

  • Fixed ambiguity where global management.refresh() could refresh a different list source than the one previously loaded (for example falling back to /forms after loading /form-routes/{key}).

Compatibility

  • Existing reactive state (management.forms) remains available for current integrations.
  • Global refreshForms() / refresh() is kept as a fallback, while per-result refresh() is now the recommended pattern.

Full Changelog: v1.2.0...v1.2.1

Loading

v1.2.0

28 May 14:33
@EvanSchleret EvanSchleret

Choose a tag to compare

v1.2.0

Added

  • Added client API methods:
    • listFormRoute(routeKey, options?)
    • listCategoryRoute(routeKey, query?, options?)
  • Added management composable support:
    • useFormForgeManagement().listFormRoute(...)
  • Added category composable support:
    • useFormForgeCategory().listCategoryRoute(...)
    • categoryRouteKey option for initial loading behavior
  • Added UI integration props:
    • FormForgeBuilder:
      • formRouteKey
      • categoryRouteKey
    • FormForgeCategoryCreateModal:
      • categoryRouteKey

Changed

  • Builder can now preload a form from a configured form route when loadFormKey is not provided.
  • Category loading in builder/modal can be aligned with backend category-routes definitions.

Documentation

  • Added dedicated backend documentation page for query routes.
  • Updated management/composables/component docs to include query route usage.

Full Changelog: v1.1.3...v1.2.0

Loading

v1.1.2

17 Apr 08:00
@EvanSchleret EvanSchleret

Choose a tag to compare

FormForge Client v1.1.2 🚀

The v1.1.2 is focused on a targeted standalone renderer fix to prevent stale external fields from leaking into submission payloads.

Since v1.1.0, package-level runtime changes are intentionally minimal and centered on this bug fix.

✨ Highlights

  • Safer standalone v-model payload handling in FormForgeRenderer
  • Automatic cleanup of unknown keys when form schema fields no longer exist

➕ Added

  • Runtime payload sanitization in standalone/external-model mode:
    • keeps only keys present in current schema field names
    • emits cleaned update:modelValue when stale keys are detected

⚡ Improved

  • Better resilience when forms evolve (e.g. fields removed after initial model hydration)
  • Cleaner parent state synchronization in standalone usage

🐛 Fixed

  • Unknown field submission errors caused by outdated keys in external v-model payloads (e.g. Payload contains unknown fields: short_text)

📘 Full Changelog: v1.1.0...v1.1.2

Loading

v1.1.0

14 Apr 22:45
@EvanSchleret EvanSchleret
ab6f147
This commit was signed with the committer’s verified signature.
EvanSchleret Evan Schleret
GPG key ID: EB226406893ED8D6
Verified
Learn about vigilant mode.

Choose a tag to compare

FormForge Client v1.1.0 🚀

I'm excited to announce v1.1.0, focused on stronger standalone integration, clearer publishing workflows, and better validation control in embedded/custom form setups.

This release improves how FormForge works when integrated into external parent forms while also simplifying management API publication behavior through payload-driven actions.

✨ Highlights

  • Payload-driven auto-publication for form create/update workflows
  • defaultPublished builder behavior aligned with create/patch actions (no extra publish call)
  • Better standalone validation ergonomics with exposed renderer validation APIs
  • Improved blur-based validation behavior in external v-model integrations
  • Continued stability improvements for scoped route resolution

➕ Added

  • Management payload support for:
    • auto_publish: true
    • autoPublish: true (normalized to auto_publish)
  • FormForgeRenderer exposed methods for host apps:
    • validate(options?)
    • validateField(name)
    • clearErrors(path?)
    • getErrors(path?)
  • New renderer props for validation triggers:
    • validateOn
    • validateOnBlur

⚡ Improved

  • Builder save flow now supports auto-publication via payload on create/patch
  • defaultPublished now relies on the management mutation path instead of issuing a separate /publish request
  • Standalone/external-model UX with explicit field-level blur validation handling
  • Scope param resilience when resolving named scoped routes after navigation

🐛 Fixed

  • Cases where named scope params could be missed after route transitions
  • TypeScript lint issue (no-explicit-any) in submission response typing

** 📘 Full Changelog**: v1.0.0...v1.1.0

Loading

v1.0.0

08 Apr 11:33
@EvanSchleret EvanSchleret
735ed52
This commit was signed with the committer’s verified signature.
EvanSchleret Evan Schleret
GPG key ID: EB226406893ED8D6
Verified
Learn about vigilant mode.

Choose a tag to compare

FormForge Client v1.0.0

I'm excited to announce v1.0.0, the first stable release of FormForge Client.

This release marks the transition from iterative development to a production-ready baseline, with a strong focus on reliability, developer ergonomics, and a consistent end-user experience across the client package and the Laravel backend package.

Highlights

  • Stable, versioned API and client behavior for core form workflows
  • Improved SSR-friendly data loading and rendering consistency
  • Stronger validation and error handling across critical flows
  • Better type safety and maintainability in frontend and backend code
  • Expanded automated test coverage and CI confidence for release quality

Added

  • Initial stable feature set for form creation, editing, and submission workflows
  • Structured request validation and standardized JSON API responses
  • Reusable frontend composables for shared app logic
  • Improved SEO metadata handling for public-facing pages

Improved

  • Performance across key rendering and data-fetching paths
  • DX for local development, linting, and type-checking workflows
  • Internal architecture with clearer separation between controllers and business logic

Fixed

  • Inconsistent handling of edge-case validation errors
  • SSR/CSR mismatch issues in selected views
  • Multiple stability issues discovered during pre-1.0 hardening

Full Changelog: v1.0.0 establishes the stable foundation for the 1.x line, with future releases focused on incremental features, performance, and ecosystem integrations.

Loading

AltStyle によって変換されたページ (->オリジナル) /