Skip to content

Commit

Permalink
release v2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
k-yle committed Feb 9, 2024
1 parent 96b2cd0 commit f3b7276
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## 2.0.0 (2024-02-09)

- 💥 BREAKING CHANGE: Enable `hideSeconds` by default
- 💥 BREAKING CHANGE: Set `roundStrategy` to `round` by default
- 💥 BREAKING CHANGE: Wrap output in `<time>...</time>` by default.
- Add `timeElement` option to determine whether a `<time>` element should be used.

## 1.1.0 (2023-07-07)

- Add `roundStrategy` option
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-timeago-i18n",
"version": "1.1.0",
"version": "2.0.0",
"author": "Kyle Hensel",
"license": "MIT",
"description": "📅🌏 A relative time component for react using the browser's native internationalization API",
Expand Down

0 comments on commit f3b7276

Please sign in to comment.