Releases: buildnbuzz/buzzform
Releases · buildnbuzz/buzzform
@buildnbuzz/form-react@0.1.8
Immutable
release. Only release title and notes can be modified.
Patch Changes
-
#132
d0e37c2Thanks @ladparth! - Implement dynamic validation message resolution and enhanced expression support in hooks and components.- Update
FieldandLayoutFieldcomponents to useresolveBooleanExprfor robust evaluation of visibility and state properties (condition,hidden,disabled, etc.). - Enhance
useResolvedFieldTextto support$fnregistry calls in dynamic labels, placeholders, and descriptions. - Support dynamic
defaultValueresolution inuseFormduring initialization. - Improve registry merging logic to ensure consistent access to custom validators and functions across all resolution contexts.
- Update
-
Updated dependencies [
d0e37c2]:- @buildnbuzz/form-core@0.1.7
@buildnbuzz/form-core@0.1.7
Immutable
release. Only release title and notes can be modified.
Patch Changes
- #132
d0e37c2Thanks @ladparth! - Add support for dynamic validation messages, validator arguments ($args), and dynamic layout properties.- Change validation
messagetype fromstringtoExprTextto enable dynamic error messages via$text,$when, and other expressions. - Add
$argsexpression node and${/args/...}template support for referencing resolved validator arguments (e.g.,min,max). - Enhance built-in
requiredvalidator to support an optionalisRequiredargument for dynamic toggling. - Introduce
resolveBooleanExprfor optimized evaluation of boolean conditions like$andand$or. - Add resolution helpers for layout fields (
tabs,collapsible) to support dynamic labels and visibility states. - Support dynamic
defaultValueresolution inextractDefaults.
- Change validation
@buildnbuzz/form-react@0.1.7
Immutable
release. Only release title and notes can be modified.
Patch Changes
- #130
dc9fd2eThanks @ladparth! - Resolve dynamic expression values (inline functions and AST objects) for field display text.- Updated
useResolvedFieldTextto supportlabel,placeholder, anddescriptionas dynamicExprvalues. - Added unit tests for dynamic text resolution in React components.
- Updated documentation examples to showcase dynamic display text.
- Updated
@buildnbuzz/form-react@0.1.6
Immutable
release. Only release title and notes can be modified.
Patch Changes
-
#127
d4302d9Thanks @ladparth! - Unify runtime registries under FormRegistries and migrate to Expr.- Introduce
FormRegistriescontainer for fields, validators, resolvers, and fns. - Add
registriesprop toFormProvider,Form, anduseForm. - Deprecate
registry,customValidators, andoptionResolverstop-level props in favor of the unifiedregistriesobject. - Update
FieldandLayoutFieldto use unified expression evaluator. - Support inline functions as expressions for all dynamic field properties.
- Update documentation and canonical examples to modern expression syntax.
- Introduce
-
Updated dependencies [
d4302d9]:- @buildnbuzz/form-core@0.1.6
@buildnbuzz/form-core@0.1.6
Immutable
release. Only release title and notes can be modified.
Patch Changes
- #127
d4302d9Thanks @ladparth! - Unify dynamic expression APIs and logic under Expr.- Introduce
Expr<T>unified expression system replacing DynamicValue and VisibilityCondition. - Add
$textnode for string interpolation. - Add
$whennode for conditional branching (ternary). - Add
$fnnode for calling custom registry functions. - Introduce
ExprContextwithdataandcontextproperties. - Fix
InferTypefor empty-name primitive arrays to produce flat arrays. - Deprecate
evaluateVisibility,resolveDynamicValue, and old context types.
- Introduce
@buildnbuzz/form-react@0.1.5
Immutable
release. Only release title and notes can be modified.
Patch Changes
-
#124
0c2937cThanks @ladparth! - Implement cascading validation logic for derived checks.- Updated derived validation to be cumulative:
"blur"mode now includes"submit"checks, and"change"mode includes both"blur"and"submit"checks. - Synchronized default
derivedValidationModeto"submit"to match documentation and planned behavior.
- Updated derived validation to be cumulative:
-
Updated dependencies [
0c2937c]:- @buildnbuzz/form-core@0.1.5
@buildnbuzz/form-core@0.1.5
Immutable
release. Only release title and notes can be modified.
@buildnbuzz/form-react@0.1.4
Immutable
release. Only release title and notes can be modified.
Patch Changes
-
#121
fdbaf50Thanks @ladparth! - Add support for async field options and cascading dropdowns.- Enhance
useFieldOptionshook with async loading state and error handling. - Implement automatic value clearing when field dependencies change or options become invalid.
- Add
optionResolverssupport toForm,Field, andFieldRenderercomponents. - Implement request deduplication for concurrent option fetches.
- Enhance
-
Updated dependencies [
fdbaf50]:- @buildnbuzz/form-core@0.1.4
@buildnbuzz/form-core@0.1.4
Immutable
release. Only release title and notes can be modified.
Patch Changes
- #121
fdbaf50Thanks @ladparth! - Introduce async option resolvers and enhanced dependency tracking.- Add
OptionResolverRegistryandOptionResolvertypes for async data fetching. - Implement
defineOptionResolvershelper for type-safe resolver registration. - Update
resolveOptionsto support dynamic option sources.
- Add
@buildnbuzz/form-react@0.1.3
Immutable
release. Only release title and notes can be modified.
Patch Changes
- #118
bdcbbd8Thanks @ladparth! - - Implemented global module augmentation for@buildnbuzz/form-coreto natively supportReactNodein schema labels and descriptions.- Re-exported core schema utilities (
defineSchema,InferType), types, and common helpers to provide a seamless single-import DX. - Updated
useResolvedFieldTextanduseDataFieldhooks to safely handle and renderReactNodeelements. - Fixed an infinite recursion bug in
resolveDynamicPathswhen encountering React elements or internal objects. - Moved
@buildnbuzz/form-coreand@tanstackdependencies to directdependenciesfor a "one-line install" experience.
- Re-exported core schema utilities (
- Updated dependencies [
bdcbbd8]:- @buildnbuzz/form-core@0.1.3