Skip to content

Releases: smikhalevski/roqueform

roqueform-v5.2.0

13 May 13:21
Compare
Choose a tag to compare

Changelog: roqueform-v5.1.1...roqueform-v5.2.0

  • Default value can be provided when the child field is accessed for the first time:
const filed = createField<{ text?: string }>({});

field.at('text', 'Hello').value
// ⮕ 'Hello'
  • Check that BigInt and Symbol are defined in older environents.

roqueform-v5.1.1

30 Apr 20:53
Compare
Choose a tag to compare

Changelog: roqueform-v5.1.0...roqueform-v5.1.1

Build with ES6 lib.

roqueform-v5.1.0

06 Feb 14:45
Compare
Choose a tag to compare

Changelog: roqueform-v5.0.0...roqueform-v5.1.0

  • Field<Plugin, Value> was reverted to Field<Value, Plugin>;
  • FieldController was renamed to BareField;
  • Most generics now default to any instead of unknown to simplify usage.
Affected packages
roqueform@5.1.0
@roqueform/annotations-plugin@1.1.0
@roqueform/constraint-validation-plugin@2.1.0
@roqueform/doubter-plugin@3.1.0
@roqueform/react@2.1.0
@roqueform/reset-plugin@4.1.0
@roqueform/scroll-to-error-plugin@3.1.0
@roqueform/uncontrolled-plugin@2.1.0
@roqueform/zod-plugin@2.1.0

roqueform-v5.0.0

30 Jan 10:27
Compare
Choose a tag to compare

Changelog: roqueform-v4.1.0...roqueform-v5.0.0

  • Roqueform was fully rewritten to provide more flexibility for plugins;
  • errorsPlugin was extracted from validationPlugin;
  • errorsPlugin now supports multiple errors to be associated with the field;
  • annotationsPlugin was introduced.
Affected packages
roqueform@5.0.0
@roqueform/annotations-plugin@1.0.0
@roqueform/constraint-validation-plugin@2.0.0
@roqueform/doubter-plugin@3.0.0
@roqueform/react@2.0.0
@roqueform/ref-plugin@5.0.0
@roqueform/reset-plugin@4.0.0
@roqueform/scroll-to-error-plugin@3.0.0
@roqueform/uncontrolled-plugin@2.0.0
@roqueform/zod-plugin@2.0.0

zod-plugin-v1.0.1

22 Aug 14:34
Compare
Choose a tag to compare

Added exports to package.json.

uncontrolled-plugin-v1.0.1

22 Aug 14:33
Compare
Choose a tag to compare

Added exports to package.json.

scroll-to-error-plugin-v2.0.1

22 Aug 14:33
Compare
Choose a tag to compare
  • Added exports to package.json;

  • Fewer allocations.

roqueform-v4.1.0

22 Aug 14:35
Compare
Choose a tag to compare
  • Added exports to package.json;

  • Plugins create backing WeakMap only when called;

  • objectAccessor was renamed to naturalAccessor and now supports objects, arrays, Map-like and Set-like instances;

  • callOrGet and callAll don't use rest arguments anymore;

  • applyPlugins was renamed to composePlugins to better reflect the intended operation;

  • API docs now have a much better theme.

reset-plugin-v3.0.1

22 Aug 14:32
Compare
Choose a tag to compare
  • Added exports to package.json;

  • Fewer allocations.

ref-plugin-v4.0.1

22 Aug 14:31
Compare
Choose a tag to compare

Added exports to package.json.