Skip to content

Commit

Permalink
v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrasser committed Dec 4, 2024
1 parent 606feca commit 86e977c
Show file tree
Hide file tree
Showing 15 changed files with 36 additions and 26 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Linkify Changelog

## v4.2.0

- Correctly sanitize object replacement character by treating as whitespace
- Avoid detecting invalid URLs with numbers around boundaries
- Prevent delimiter apostrophes from being included in URLs
- Correctly interpret \r\n as newline character
- Correctly interpret emoji followed by # sign
- Fix support for domain names with multiple hyphens
- Fix parsing for magnet links

## v4.1.4

- Add support for full width middle dot `` in hashtag plugin
Expand Down
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify",
"version": "4.1.4",
"version": "4.2.0",
"description": "Intelligent link recognition, made easy",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-element/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-element",
"version": "4.1.4",
"version": "4.2.0",
"description": "Browser DOM element interface for linkifyjs",
"main": "dist/linkify-element.cjs.js",
"module": "dist/linkify-element.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-html/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-html",
"version": "4.1.4",
"version": "4.2.0",
"description": "HTML String interface for linkifyjs",
"main": "dist/linkify-html.cjs.js",
"module": "dist/linkify-html.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-jquery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-jquery",
"version": "4.1.4",
"version": "4.2.0",
"description": "jQuery interface for linkifyjs",
"main": "dist/linkify-jquery.cjs.js",
"module": "dist/linkify-jquery.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-plugin-hashtag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-plugin-hashtag",
"version": "4.1.4",
"version": "4.2.0",
"description": "Hashtag plugin for linkifyjs",
"main": "dist/linkify-plugin-hashtag.cjs.js",
"module": "dist/linkify-plugin-hashtag.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-plugin-ip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-plugin-ip",
"version": "4.1.4",
"version": "4.2.0",
"description": "IP address plugin for linkifyjs",
"main": "dist/linkify-plugin-ip.cjs.js",
"module": "dist/linkify-plugin-ip.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-plugin-keyword/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-plugin-keyword",
"version": "4.1.4",
"version": "4.2.0",
"description": "Keyword plugin for linkifyjs",
"main": "dist/linkify-plugin-keyword.cjs.js",
"module": "dist/linkify-plugin-keyword.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-plugin-mention/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-plugin-mention",
"version": "4.1.4",
"version": "4.2.0",
"description": "@mentions plugin for linkifyjs",
"main": "dist/linkify-plugin-mention.cjs.js",
"module": "dist/linkify-plugin-mention.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-plugin-ticket/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-plugin-ticket",
"version": "4.1.4",
"version": "4.2.0",
"description": "Numeric ticket plugin for linkifyjs",
"main": "dist/linkify-plugin-ticket.cjs.js",
"module": "dist/linkify-plugin-ticket.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-react",
"version": "4.1.4",
"version": "4.2.0",
"description": "React element interface for linkifyjs",
"main": "dist/linkify-react.cjs.js",
"module": "dist/linkify-react.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkify-string/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkify-string",
"version": "4.1.4",
"version": "4.2.0",
"description": "String interface for linkifyjs",
"main": "dist/linkify-string.cjs.js",
"module": "dist/linkify-string.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkifyjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "linkifyjs",
"version": "4.1.4",
"version": "4.2.0",
"description": "Find URLs, email addresses, #hashtags and @mentions in plain-text strings, then convert them into HTML <a> links.",
"main": "dist/linkify.cjs.js",
"module": "dist/linkify.es.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/linkifyjs/src/linkify.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function registerPlugin(name, plugin) {
* Detect URLs with the following additional protocol. Anything with format
* "protocol://..." will be considered a link. If `optionalSlashSlash` is set to
* `true`, anything with format "protocol:..." will be considered a link.
* @param {string} protocol
* @param {string} scheme
* @param {boolean} [optionalSlashSlash]
*/
export function registerCustomProtocol(scheme, optionalSlashSlash = false) {
Expand Down

0 comments on commit 86e977c

Please sign in to comment.