# u-wave-parse-chat-markup change log

All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org/).

## 2.5.1 - 2026-03-12
* Use `.mjs` and `.cjs` extensions.
* Fix type import paths.

## 2.5.0 - 2023-12-01
* Accept `~` in custom emote names, to support Discord-style deduplicated names.

## 2.4.0 - 2020-01-22
* Port to typescript, and provide type definitions.

## 2.3.0 - 2018-07-22
* Fix www. link hrefs.
* Use rollup build.
* Require 100% test coverage.

## 2.2.1 - 2018-06-17
* Use loose compilation in `@babel/preset-env`.

## 2.2.0 - 2018-05-21
* Inline url-regex module with some of its features removed. In particular,
  remove the 4KB mingz whitelist of top-level domains.

## 2.1.0 - 2017-09-06
* Make :emoji: case insensitive.
* Use url-regex module for better URL matching.
* Fix parsing of mentions ending in punctuation, followed by punctuation, such
  as the mention "Test!" in "@Test!!!".

## 2.0.4 - 2017-03-04
* Only allow string inputs. Fixes an issue where passing an array (eg. a
  message that was already parsed) would send `u-wave-parse-chat-markup` into
  an infinite loop.

## 2.0.3 - 2016-10-09
* Fix parsing of mentions ending in punctuation at the very end of a message.

## 2.0.2 - 2016-10-03
* Fix parsing of mentions ending in punctuation, like "User[AFK]".

## 2.0.1 - 2016-09-12
* Fix parsing of emoji shortcodes with + or - signs in them, like :+1: or :-1:.

## 2.0.0 - 2016-06-05
* Mentions are not limited to user objects, pass strings instead:

  ```js
  mentions: ['username', 'groupname']
  ```

* Mentions are case-insensitive.
* Mentions immediately followed by punctuation now work.
