All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and adheres to Semantic Versioning.
- Fixed babel helpers file being generated with incorrect filename in esm build. [#2082]
- Migrate from
sewing-kit-next
toloom
for building - package build output remains identical. [#2039]
- Added file exclusion for tests to package.json and enable type checking for tests. [#2005]
- Updated build tooling, types are now compiled with TypeScript 4.3. [#1997]
- Ensure
tsconfig.tsbuildinfo
file is not uploaded to the npm registry. [#1982]
- Update to latest sewing-kit-next for build. Update
types
/typesVersions
fields to point directly into the build folder [#1980]
- No updates. Transitive dependency bump.
- No updates. Transitive dependency bump.
- Updated
@shopify/address-mocks
- Update minimum supported node version to 12.14.0. Add engines field to help enforce usage of this version. #1906
- Removed dependency on tslib, as we no-longer compile with
tsc
. #1829
- Updated types within loader so it passes TypeScript's "noImplicitThis" checks. #1814
- Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers #1759
- Add new build outputs (CommonJS, ESM, esnext, Node) for greater tree-shakability #1698
- Updated
tslib
dependency to^1.14.1
. #1657
- Added
optionalLabels
to GraphQL query for countries and for country (#1610) - Minor update to
@shopify/address-consts
and minor update to@shopify/address-mocks
. (#1610)
- Major update to
@shopify/address-consts
and minor update to @shopify/address-mocks - Remove use of
toSupportedLocale
to default locale toen
and let CountryService take care of the defaulten
feature. #1301
- Added
provinceKey
toCountry
interface (#843)
- Removed
address2Key
,zoneKey
andzipKey
- Expose
labels
onCountry
object that stores all translated labels needed to show a form. - Rename
Province to
Zoneon FieldName enum, and renamed
Provinceinterface to
Zone`.
- Expose testing helpers. (#328)
- Replaced
SupportedCountry
type by string. (#322)
- Replaced
SupportedLocale
type by string. Default to english, if locale does not exist. (#321)