diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d034eb06..931923e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [v0.88.0](https://github.com/isomerpages/isomercms-frontend/compare/v0.87.0...v0.88.0) + +- feat: enhance Telegram URL regex [`#1908`](https://github.com/isomerpages/isomercms-frontend/pull/1908) +- chore(deps): bump @grpc/grpc-js from 1.9.14 to 1.9.15 [`#1899`](https://github.com/isomerpages/isomercms-frontend/pull/1899) +- backport v0.87.0 [`#1902`](https://github.com/isomerpages/isomercms-frontend/pull/1902) + #### [v0.87.0](https://github.com/isomerpages/isomercms-frontend/compare/v0.86.0...v0.87.0) +> 13 June 2024 + - Add layout and functionality for 2d broken link checker [`#1891`](https://github.com/isomerpages/isomercms-frontend/pull/1891) - fix/prevent logout in login routes [`#1889`](https://github.com/isomerpages/isomercms-frontend/pull/1889) - chore: update snyk [`#1895`](https://github.com/isomerpages/isomercms-frontend/pull/1895) - backport v0.86.0 [`#1893`](https://github.com/isomerpages/isomercms-frontend/pull/1893) +- chore: bump version to v0.87.0 [`35aeb3c`](https://github.com/isomerpages/isomercms-frontend/commit/35aeb3cfc46a30bf42fcc45dd7328466cb1eb767) #### [v0.86.0](https://github.com/isomerpages/isomercms-frontend/compare/v0.85.0...v0.86.0) diff --git a/package-lock.json b/package-lock.json index dbdc1b8f6..12e8a6610 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "isomercms-frontend", - "version": "0.87.0", + "version": "0.88.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "isomercms-frontend", - "version": "0.87.0", + "version": "0.88.0", "hasInstallScript": true, "dependencies": { "@braintree/sanitize-url": "^6.0.1", @@ -6100,9 +6100,9 @@ } }, "node_modules/@grpc/grpc-js": { - "version": "1.9.14", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.14.tgz", - "integrity": "sha512-nOpuzZ2G3IuMFN+UPPpKrC6NsLmWsTqSsm66IRfnBt1D4pwTqE27lmbpcPM+l2Ua4gE7PfjRHI6uedAy7hoXUw==", + "version": "1.9.15", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.9.15.tgz", + "integrity": "sha512-nqE7Hc0AzI+euzUwDAy0aY5hCp10r734gMGRdU+qOPX0XSceI2ULrcXB5U2xSc5VkWwalCj4M7GzCAygZl2KoQ==", "dependencies": { "@grpc/proto-loader": "^0.7.8", "@types/node": ">=12.12.47" diff --git a/package.json b/package.json index 0a7ae366b..b063a8d24 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "isomercms-frontend", - "version": "0.87.0", + "version": "0.88.0", "private": true, "engines": { "node": ">=16.0.0" diff --git a/src/utils/validators.js b/src/utils/validators.js index fec834c38..f888555c7 100644 --- a/src/utils/validators.js +++ b/src/utils/validators.js @@ -16,7 +16,7 @@ const PERMALINK_REGEX = "^((/([a-zA-Z0-9]+-)*[a-zA-Z0-9]+)+)/?$" export const URL_REGEX_PREFIX = "^(https://)?(www.)?(" export const URL_REGEX_SUFFIX = ".com/)([a-zA-Z0-9_-]+([/.])?)+$" export const YOUTUBE_REGEX = ".com/(@)?)([a-zA-Z0-9_-]+([/.])?)+$" -export const TELEGRAM_REGEX = "telegram|t).me/([a-zA-Z0-9_-]+([/.])?)+$" +export const TELEGRAM_REGEX = "telegram|t).me/\\+?([a-zA-Z0-9_-]+([/.])?)+$" export const TIKTOK_REGEX = ".com/@)([a-zA-Z0-9_-]+([/.])?)+$" // Linkedin doesn't seem to restrict special characters export const LINKEDIN_REGEX = ".com/).+$"