# Changelog

## [1.2.0](https://github.com/flarum/mentions/compare/v1.1.3...v1.2.0)

No changes.

## [1.1.3](https://github.com/flarum/mentions/compare/v1.1.2...v1.1.3)

### Added
- chore: add missing compat exports and extensibility by @gianniguida in https://github.com/flarum/mentions/pull/76

### Fixed
- fix: errors on texteditor re-use again by @davwheat in https://github.com/flarum/mentions/pull/78
- fix: Allow mentions from non-post objects by @imorland in https://github.com/flarum/mentions/pull/79

## [1.1.2](https://github.com/flarum/mentions/compare/v1.1.1...v1.1.2)

### Fixed
- Only search users via rest API if user has permission by @askvortsov1 in https://github.com/flarum/mentions/pull/73
- fix: Cannot reply to posts by deleted authors by @SychO9 in https://github.com/flarum/mentions/pull/75
- fix: autocomplete errors with TextEditor re-use by @davwheat in https://github.com/flarum/mentions/pull/77

## [1.1.1](https://github.com/flarum/mentions/compare/v1.1.0...v1.1.1)

### Fixed
- Broken autocompleted user mention format (https://github.com/flarum/mentions/pull/74)

## [1.1.0](https://github.com/flarum/mentions/compare/v1.0.0...v1.1.0)

### Changed
- Eager load more necessary related mentions (https://github.com/flarum/mentions/pulls/72)
- Refactors to the frontend JS (https://github.com/flarum/mentions/pulls/69) 

### Fixed
- Unrecognised user/post mentions (https://github.com/flarum/mentions/pulls/71)
- Reduced bugginess in mentions username search (https://github.com/flarum/core/issues/3095)
- Fixed missing space after mentions inserted via post reply (https://github.com/flarum/core/issues/3096)

## [1.0.0](https://github.com/flarum/mentions/compare/v0.1.0-beta.16...v1.0.0)

### Changed
- Compatibility with Flarum v1.0.0.
- Eager load the mentionedBy relation as well to improve performance (https://github.com/flarum/mentions/pull/64)
- Introduced a new mentions format, decoupling mentions from usernames (https://github.com/flarum/mentions/pull/66)
- Rewrite mentioned filter (https://github.com/flarum/mentions/pull/67)
- User profile mentions page now uses the slug instead of the username 

### Fixed
- Replies preview dropdown is awkwardly sized and rendered (https://github.com/flarum/mentions/pull/55)

## [0.1.0-beta.16](https://github.com/flarum/mentions/compare/v0.1.0-beta.15...v0.1.0-beta.16)

### Changed
- Editor Driver implementation (https://github.com/flarum/mentions/pull/61)
- Updated admin category from discussion to feature (https://github.com/flarum/mentions/pull/62)
- Moved locale files from translation pack to extension (https://github.com/flarum/mentions/pull/56)

### Fixed
- Reply notifications showing post author instead of replying author (https://github.com/flarum/mentions/pull/59)
- Dropdown going off top of screen ([e39c798](https://github.com/flarum/mentions/commit/e39c798298ba2b3130ed97945aefeff6af14a5d4))

## [0.1.0-beta.15](https://github.com/flarum/mentions/compare/v0.1.0-beta.14.1...v0.1.0-beta.15)

### Changed
- Updated composer.json and admin javascript for new admin area.
- Updated to use newest extenders.

### Fixed
- Touchstart event with cancelable=false triggers a console error (#54)
- Props in javascript component still used after rewrite.

## [0.1.0-beta.14](https://github.com/flarum/mentions/compare/v0.1.0-beta.13...v0.1.0-beta.14)

### Changed
- Updated mithril to version 2
- Load language strings correctly on en-/disable
- Updated JS dependencies
- Always show concurrent replies instead of hiding them (#47)
- Made notification emails translatable (#50)

### Fixed
- Fix dropdown overflow on mobile (#46)
- Fix replies dropdown menu with (#38)
- Fix jumping of dropdown items when API results are returned (#48)

## [0.1.0-beta.13](https://github.com/flarum/mentions/compare/v0.1.0-beta.12...v0.1.0-beta.13)

### Changed
- Updated JS dependencies
- Using new model extenders

### Fixed
- Fix mentioning a post from a deleted user (#41)

## [0.1.0-beta.10](https://github.com/flarum/mentions/compare/v0.1.0-beta.9...v0.1.0-beta.10)

### Fixed
- Mentions for usernames containing underscores and other special characters could link to wrong users (#37)

## [0.1.0-beta.9](https://github.com/flarum/mentions/compare/v0.1.0-beta.8.1...v0.1.0-beta.9)

### Changed
- Replace event subscribers (that resolve services too early) with listener-based extender ([4b34e50](https://github.com/flarum/mentions/commit/4b34e5096d1a2cef127b41756ebd7b4eb46bb0dd) and [9165321](https://github.com/flarum/mentions/commit/91653218eaeb031f644b1763297097b03c6aaac1))
- Compatibility with Laravel 5.7 ([3ef5ac0](https://github.com/flarum/mentions/commit/3ef5ac0cce350aff9db93c28c8ba3432dab86bcd))
- Use display name instead of username in emails ([acc0516](https://github.com/flarum/mentions/commit/acc0516a18d691095dc3657648f1bc16d0c5f51f)) 

### Fixed
- Post content with code blocks could corrupt notification emails ([d0ffe7b](https://github.com/flarum/mentions/commit/d0ffe7b9f1eb48e03ad546b28199322cd2011650))

## [0.1.0-beta.8.1](https://github.com/flarum/mentions/compare/v0.1.0-beta.8...v0.1.0-beta.8.1)

### Fixed
- Fix dropping foreign keys in `down` migrations ([53b685a](https://github.com/flarum/mentions/commit/53b685a8539753c88d72eb92237749e3823b3bbf))
- Truncate notification excerpts ([7ebd527](https://github.com/flarum/mentions/commit/7ebd527487df12187a3471f5b4dfe7eaac394c7a))
