Releases: vtex-apps/address-context
Releases · vtex-apps/address-context
v0.6.2
v0.6.1
Fixed
- Strongly type return value of
useAddressRules
.
v0.6.0
Added
- Hook
useAddressRules
to load all available country rules.
v0.5.0
Added
- Utility function
createEmptyAddress
.
Changed
- Allow
null
to be passed asaddress
inAddressContextProvider
.
v0.4.0
Added
- Validation by
pattern
field ofAddressField
schema.
v0.3.0
Added
Utils
export that provides avalidateAddress
function.
v0.2.0
Added
- Property
invalidFields
to the address context value.
v0.1.0
Added
- Prop
rules
toAddressContextProvider
. - Property
isValid
to the address context value.
v0.0.4
Fixed
- Type of
setAddress
function to allow function.
v0.0.3
Changed
- Fixed internal typings and repository cleanup.