-
Notifications
You must be signed in to change notification settings - Fork 0
Releases: EvanSchleret/FormForgeClient
v1.2.4
v1.2.4
Fixed
FormForgeRendererno longer drops the injectedbeforeRequesthook whenclientConfigis provided- Bearer authentication now remains active when passing renderer-specific overrides such as
scopeParams useFormForgeClientnow preserves the existing injected FormForge client when merging config overrides
Tests
- Added a regression test to verify that
beforeRequestis still executed whenclientConfigoverrides are passed touseFormForgeClient
Full Changelog: v1.2.3...v1.2.4
Assets 2
v1.2.3
v1.2.3
Fixed
FormForgeRenderernow accepts externalmodelValuepayload keys indexed byfield_keyin addition tofield.name- Hydration/sanitation now resolves field aliases (
name+field_key) to one canonical field entry - When both
nameandfield_keyare provided for the same field,nametakes precedence - Unknown payload keys continue to be removed during sanitation
Tests
- Added renderer payload tests for:
name-only hydrationfield_key-only hydration- mixed payload with
nameprecedence - unknown fields rejection
Full Changelog: v1.2.2...v1.2.3
Assets 2
v1.2.1
v1.2.1
Changed
- Refactored
useFormForgeManagementlist 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/formsafter 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-resultrefresh()is now the recommended pattern.
Full Changelog: v1.2.0...v1.2.1
Assets 2
v1.2.0
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(...)categoryRouteKeyoption for initial loading behavior
- Added UI integration props:
FormForgeBuilder:formRouteKeycategoryRouteKey
FormForgeCategoryCreateModal:categoryRouteKey
Changed
- Builder can now preload a form from a configured form route when
loadFormKeyis not provided. - Category loading in builder/modal can be aligned with backend
category-routesdefinitions.
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
Assets 2
v1.1.2
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-modelpayload handling inFormForgeRenderer - 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:modelValuewhen 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-modelpayloads (e.g.Payload contains unknown fields: short_text)
📘 Full Changelog: v1.1.0...v1.1.2
Assets 2
v1.1.0
ab6f147 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
defaultPublishedbuilder 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-modelintegrations - Continued stability improvements for scoped route resolution
➕ Added
- Management payload support for:
auto_publish: trueautoPublish: true(normalized toauto_publish)
FormForgeRendererexposed methods for host apps:validate(options?)validateField(name)clearErrors(path?)getErrors(path?)
- New renderer props for validation triggers:
validateOnvalidateOnBlur
⚡ Improved
- Builder save flow now supports auto-publication via payload on create/patch
defaultPublishednow relies on the management mutation path instead of issuing a separate/publishrequest- 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
Assets 2
v1.0.0
735ed52 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.