Releases: zfletch/react-router-i18n
Releases · zfletch/react-router-i18n
Release v1.1.1
Release v1.1.0
- Accept objects and functions for the
to
prop in the<Link>
,<NavLink>
, and<Redirect>
components - Clean up demo and examples
Release v1.0.1
- Support use of library with server-side rendering (#23)
- Update Webpack config
- Remove
.github/
from build - Fix deploy workflow
Release v1.0.0
There are no major changes in this release. But it has been used in production for long enough now that the API should now be stable.
- Update dependencies
- Add code of conduct
- Add funding link
- Replace Travis with GitHub Actions
Release v0.3.0
- Do not pass
location
prop to<Link>
,<NavLink>
, or<Redirect>
components
Release v0.2.1
- Update dev dependencies
- This version is otherwise identical to
v0.2.0
and is published only because of a regression in npm 6.9.0 which causesreadme
files within the.git
directory to be included (see discussion) (thanks for pointing this out @AnastasiiaMarkova24)
Release v0.2.0
- Do not pass
match
orhistory
props to<Link>
,<NavLink>
, or<Redirect>
components. Before this change they were being passed, causing the<a>
tag in the generated HTML to have attributesmatch="[object Object]" history="[object Object]"
. This change shouldn't break any functionality but may break snapshot tests. (Thanks iwazaru for pointing out the issue!) - Update dev dependencies
Release v0.1.2
- Update dependencies
- Update README
Release v0.1.1
- Upgrade dependencies
Release v0.1.0
- Add
getTranslation
function for translations outside of<I18n>
components - Allow function translations (e.g.
<I18n t="time" args={{ hour: '12', minute: '30' }} />
- Small updates to tests, documentation, code style, etc.