Skip to content

Releases: joshswan/react-native-autolink

1.8.1

08 May 01:45
1.8.1
ca99144
Compare
Choose a tag to compare

Bug Fixes:

  • truncateLocation prop is no longer passed along with "other" props to underlying Text component (fixes issue with react-native-web) - @ericboyangan

1.8.0

08 May 01:44
1.8.0
ceb8416
Compare
Choose a tag to compare

New Stuff:

  • Autolink component now extends React.PureComponent instead of React.Component to optimize re-renders

1.7.0

25 Feb 19:06
1.7.0
e6fd560
Compare
Choose a tag to compare

New Stuff:

  • Added "facebook" option for hashtag prop to link hashtags to Facebook
  • Added "soundcloud" option for mention prop to link usernames to SoundCloud (web-only)
  • Added support for stripTrailingSlash option to control whether or not to remove trailing slashes from linked URL text (default: true)

1.6.0

16 Jan 19:18
1.6.0
d4b6ed3
Compare
Choose a tag to compare

Changes:

  • Default link styling is no longer applied when a linkStyle prop is provided

1.5.1

19 Dec 23:08
1.5.1
d3b0ef3
Compare
Choose a tag to compare

Bug Fixes:

  • PropTypes definition for phone prop now correctly allows for a string or a boolean - @JosephSmith127

1.5.0

12 Dec 18:55
1.5.0
3c3e507
Compare
Choose a tag to compare

New Stuff:

  • truncateLocation support added! Use the "smart", "end", and "middle" options to control where in the string the truncation will occur.

1.4.0

28 Jan 20:58
1.4.0
e0a9575
Compare
Choose a tag to compare

New Stuff:

  • Added experimental latitude, longitude pair linking to maps application, enabled with the latlng prop
  • Added support for additional matchers not included in Autolinker.js

1.3.1

30 Nov 23:20
1.3.1
8eff720
Compare
Choose a tag to compare

Bug Fixes:

  • Proptypes.oneOfType definition for url prop now correctly uses an array - @TikiTDO

1.3.0

28 Nov 20:04
1.3.0
2db0524
Compare
Choose a tag to compare

New Stuff:

  • Text props, such as allowFontScaling, are now passed to link Text components automatically since they don't inherit from the root Text node - @orinoco

1.2.0

22 Nov 07:41
1.2.0
c989a3d
Compare
Choose a tag to compare

New Stuff:

  • url prop has been updated to allow schemeMatches, wwwMatches and tldMatches options. Simply pass an object to enable/disable each of these options. For example: <Autolink text="github.com" url={{ tldMatches: false }} /> will not produce any links since tldMatches is disabled. - @trybeee