diff --git a/.changeset/ninety-hornets-reply.md b/.changeset/ninety-hornets-reply.md deleted file mode 100644 index 510c9b2..0000000 --- a/.changeset/ninety-hornets-reply.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'@sumup-oss/intl': minor ---- - -Added support for formatting relative times. - -```ts -import { formatRelativeTime } from '@sumup-oss/intl'; - -formatRelativeTime(7, 'years', 'pt-BR'); // 'em 7 anos' -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b27526..e71866b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # @sumup-oss/intl +## 3.1.0 + +### Minor Changes + +- [`4cd3fbe`](https://github.com/sumup-oss/intl-js/commit/4cd3fbe35a2df0a959ce56e596acae5b151774f9) Thanks [@connor-baer](https://github.com/connor-baer)! - Added support for formatting relative times. + + ```ts + import { formatRelativeTime } from '@sumup-oss/intl'; + + formatRelativeTime(7, 'years', 'pt-BR'); // 'em 7 anos' + ``` + ## 3.0.1 ### Patch Changes diff --git a/package.json b/package.json index e5abba9..311c2e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sumup-oss/intl", - "version": "3.0.1", + "version": "3.1.0", "description": "Format numbers, currency values, dates, and times for any locale with the ECMAScript Internationalization API", "repository": "git@github.com:sumup-oss/intl-js.git", "author": "Connor Bär ",