Skip to content

v2.0.0

Compare
Choose a tag to compare
@connor-baer connor-baer released this 14 Aug 14:56
· 34 commits to main since this release
112126e

Major Changes

  • #251 ae93e19 Thanks @connor-baer! - Renamed the package scope from @sumup to @sumup-oss. Replace @sumup/intl with @sumup-oss/intl in your package.json file, then update all imports:

    -import { formatNumber } from '@sumup/intl';
    +import { formatNumber } from '@sumup-oss/intl';
  • #252 53a8574 Thanks @connor-baer! - Removed the deprecated format, formatToParts, resolveFormat, and isIntlSupported exports. Use the explicitly named formatNumber, formatNumberToParts, resolveNumberFormat, and isNumberFormatSupported exports instead.

  • #250 bf12d97 Thanks @connor-baer! - Added support for Temporal objects to the date and time formatting functions. The temporal-polyfill package is now a required peer dependency.