- Added a new
MentionMatcher
and associatedMention
component. Will replace@username
with links.
- Dropped IE 11 support. Modern browsers now required.
- Hashtag matching now supports Chinese, Japanese, Korean, Russian, and other non-latin based characters.
- Added support for React 18.
- Updated to latest
packemon
.
- Migrated to Beemo for build and developer tooling.
- Allow 2 letter email usernames.
- Updated all dependencies.
- Include source folder for source maps work correctly.
- Switched to Packemon for package building.
- Added support for React 17.
- Fix email patterns containing periods.
- Fix hashtag patterns to allow trailing dashes and underscores.
- Updated all dependencies.
- Re-export constants from the index.
- Migrated build to Rollup for a smaller filesize.
- Updated
interweave
peer requirement to v12. - Updated
react
requirement to v16.8. - Updated
children
prop for all components to no longer be a string. Can now be any React node. - Removed
hashtagName
prop fromHashtag
component.
- Added
email
prop toEmail
component (passed fromEmailMatcher
). - Added
hashtag
prop toHashtag
component (passed fromHashtagMatcher
). - Added
url
prop toUrl
component (passed fromUrlMatcher
). - Rewrote all components to use function components. Reduced file sizes by 65%.
- Updated all dependencies.
- Updated all dependencies.
- Migrated from
enzyme
torut
for React testing.
- Updated all
@types
dependencies to use*
version.
- Updated IE requirement to v11.
- Added peer dep support for
interweave
v11.0. - Removed
@babel/runtime
as it wasn't saving much space.
- More ESM improvements.
- Updated dependencies.
- Added missing
@babel/runtime
package.
- Fixed an issue with TS types being exported from the ESM index.
- Added ECMAScript module support via
esm/
built files. - Removed copyright docblocks from source files to reduce bundle size.
- Tested with React v16.8.
- Added peer dep support for
interweave
10.0.
- Moved TLD validation logic to the matching process, instead of the rendering process. Fixes an issue where the TLD validation wasn't occuring when a custom factory was used.
TypeScript
- Updated to the new
Node
type to resolve React node issues.
- Updated minimum
react
requirement to 16.3.
- Converted from Flow to TypeScript.
- Tested against React 16.3.
- Tested against React 16.1.
- Improved build process.
- Rewrote all regex patterns to more efficiently and accurately match their targets.
- URLs are now properly captured, even when suffixed with a period (end of sentence).
- Updated
interweave
peer dependency to 8.0.
- Updated
prop-types
to 15.6.
- Tested against React 16.
- Initial release!
- Matchers are now available as named exports from the
interweave-autolink
index.