Skip to content

Releases: vtex-apps/address-context

v0.6.2

23 Feb 16:51
Compare
Choose a tag to compare

Fixed

  • Use types from vtex.country-data-settings app.

v0.6.1

19 Feb 19:08
Compare
Choose a tag to compare

Fixed

  • Strongly type return value of useAddressRules.

v0.6.0

18 Feb 14:29
Compare
Choose a tag to compare

Added

  • Hook useAddressRules to load all available country rules.

v0.5.0

17 Nov 12:18
Compare
Choose a tag to compare

Added

  • Utility function createEmptyAddress.

Changed

  • Allow null to be passed as address in AddressContextProvider.

v0.4.0

30 Oct 17:32
Compare
Choose a tag to compare

Added

  • Validation by pattern field of AddressField schema.

v0.3.0

15 Jul 16:41
Compare
Choose a tag to compare

Added

  • Utils export that provides a validateAddress function.

v0.2.0

10 Jul 18:18
Compare
Choose a tag to compare

Added

  • Property invalidFields to the address context value.

v0.1.0

30 Jun 12:21
Compare
Choose a tag to compare

Added

  • Prop rules to AddressContextProvider.
  • Property isValid to the address context value.

v0.0.4

12 Mar 18:26
Compare
Choose a tag to compare

Fixed

  • Type of setAddress function to allow function.

v0.0.3

10 Mar 14:28
Compare
Choose a tag to compare

Changed

  • Fixed internal typings and repository cleanup.