Skip to content

Releases: zfletch/react-router-i18n

Release v1.1.1

23 Nov 16:23
Compare
Choose a tag to compare
  • Update metadata in package.json

Release v1.1.0

23 Apr 11:24
Compare
Choose a tag to compare
  • Accept objects and functions for the to prop in the <Link>, <NavLink>, and <Redirect> components
  • Clean up demo and examples

Release v1.0.1

06 Nov 02:32
Compare
Choose a tag to compare
  • Support use of library with server-side rendering (#23)
  • Update Webpack config
  • Remove .github/ from build
  • Fix deploy workflow

Release v1.0.0

19 Aug 23:48
Compare
Choose a tag to compare

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

30 Apr 19:35
Compare
Choose a tag to compare
  • Do not pass location prop to <Link>, <NavLink>, or <Redirect> components

Release v0.2.1

29 Apr 18:00
Compare
Choose a tag to compare
  • 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 causes readme files within the .git directory to be included (see discussion) (thanks for pointing this out @AnastasiiaMarkova24)

Release v0.2.0

07 Feb 13:57
Compare
Choose a tag to compare
  • Do not pass match or history props to <Link>, <NavLink>, or <Redirect> components. Before this change they were being passed, causing the <a> tag in the generated HTML to have attributes match="[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

30 Oct 13:38
Compare
Choose a tag to compare
  • Update dependencies
  • Update README

Release v0.1.1

11 Jul 17:48
Compare
Choose a tag to compare
  • Upgrade dependencies

Release v0.1.0

05 Jun 14:50
Compare
Choose a tag to compare
  • 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.