-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v3.0 #318
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Moving away from gulp - Standalone rollup and mocha config - Use rollup/terser dependencies
- Renamed state machine methods (these will likely be replaced very shortly) - Restructured core directory structure - Refactored tests so that calling the plugin after import is no longer required - New internal TLDs - simple-html-tokenizer may now be required from the node modules
Not working yet, the parser tests are not running properly
Use class-based State struct, hash lookup states instead of array iteration. Still 30ms though for a correct implementation though :(
Supports IDN and speeds up initialization!
This further reduces plugin initial startup time, delaying the cost to when linkify is first executed on some text (though that cost has already been reduced 4x in previous commits; it's now ~5-7ms on my machine) Including delayed plugin initialization for hashtag
Including auto-register
All mocha tests on node are now passing
Including additional publish ignores and scripts
To allow easier opt in/out for features you want. Especially for React, jQuery and future interfaces
That doesn't use workspaces
Also update jQuery/React version matrices
Fix test run line Bump latest node version back to 16 Attempt different run test strategy Maybe this one won't fail CI test run fixes Fix incorrect npm script definition Another test fix attempt Attempt fix failing tests with sleep Fix conditional bash statements Should be final round of test fixes Add BrowserStack + Coverage Final fixes for coverage and browserstack Tweaked browser CI config Add status badges
Just gotta fill out the README files for all the sub-packages and this should be ready to deploy. |
Drop support for older versions
YES |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BREAKING CHANGES
linkify-react
,linkify-jquery
andlinkify-element
respectively:class="linkified"
from all discovered links. Opt back in by setting theclassName
option:target="_blank"
attribute for discovered URLs. Opt back in by setting thetarget
option:<span>
tag wrapper in favour of tag-lessReact.Fragment
for React >=16. To opt back-in, settagName='span'
:Deprecations
linkify-string
andlinkify-html
instead oflinkifyjs/string
andlinkifyjs/html
. The embedded packages will be removed in v4.0linkify-plugin-[PLUGIN]
instead oflinkifyjs/plugin/[PLUGIN]
. The embedded packages will be removed in v4.0All Changes
linkify.registerCustomProtocol('protocol')
rel
option at top level as an alternate way of including it inattributes
linkify.find()
output includes start and end indexes for where in the string a link was foundFixes: #316 #315 #312 #309 #293 #284 #251 #231 #225 #216 #204 #92 #317 #313 #279 #277 #270 #253 #245 #254 #233 #212 #206 #205 #194 #171 #167