Skip to content

August 26, 2024 (canary)

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 26 Aug 10:27
· 236 commits to canary since this release

@graphcommerce/[email protected]

Patch Changes

  • #2341 7085b4a - Updated all form FieldElements to also accept defaultValue, shouldUnregister and disabled. Moved AutoCompleteElement, CheckboxElement, MultiSelectElement, SliderElement, SwitchElement, ToggleButtonGroup to useController. Removed all parseError props (@Giovanni-Schroevers)

  • #2341 022cbd6 - Moved ActionCardListForm to @graphcommerce/ecommerce-ui to resolve issue with circular dependencies. (@Giovanni-Schroevers)

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Minor Changes

Patch Changes

@graphcommerce/[email protected]

Minor Changes

Patch Changes

@graphcommerce/[email protected]

Minor Changes

@graphcommerce/[email protected]

Minor Changes

Patch Changes

  • #2341 cc1c6e8 - The AddressCountryRegion select would show a warning if the countries weren't loaded yet. It will now show a readonly field with the country code. (@Giovanni-Schroevers)

  • #2341 b8b621a - The CompanyFields toggle wouldn't be valid when Private was selected and would only validate if Business was selected. (@Giovanni-Schroevers)

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Minor Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Minor Changes

@graphcommerce/[email protected]

Patch Changes

@graphcommerce/[email protected]

Patch Changes

  • #2341 c57614d - ActionCardList can now recieve focus, allowing form submissions to scroll to the field. Focussed fields now are now highlighted even when there is an error. (@Giovanni-Schroevers)

@graphcommerce/[email protected]

Minor Changes

  • #2341 16e2980 - useFormGql and it's derived hooks now have a new skipUnchanged prop. The form will only be submitted when there are fields dirty in a form. This reduces the amount of queries ran in the checkout greatly. (@Giovanni-Schroevers)

  • #2341 1d6512d - Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)

Patch Changes

  • #2341 af45239 - When a useFormGql throws an error in the onBeforeSubmit method or onComplete method it will setError('root.thrown') with the message, allowing it to be displayed somewhere. PaymentMethodButton will now render this as an ErrorSnackbar. (@Giovanni-Schroevers)