# Changelog

All notable changes to this project are documented in this file.

## Unreleased

## [2.0.2 - 2021-03-30](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v2.0.2)

### Enhancements

- Added color options to Join Link settings

## [2.0.1 - 2021-02-25](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v2.0.1)

### Bug Fixes

- Fixed the issue with message order in legacy widget

## [2.0.0 - 2021-02-22](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v2.0.0)

### Enhancements

- Switched to PHP namespaces
- Added support for separate ajax and legacy widgets
- Refreshed and improved the UI
- Improved names for hooks and shortcodes

## [1.9.5 - 2021-01-31](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.9.5)

### Enhancements

- Added compatibility with WP 5.6

## [1.9.4 - 2020-06-25](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.9.4)

### Enhancements

- Added usage guide to join link

### Bug Fixes

- Fixed join link defaults

## [1.9.3 - 2020-06-20](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.9.3)

### Bug Fixes

- Fixed 404 on /v

## [1.9.2 - 2020-05-20](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.9.2)

### Bug Fixes

- Fixed error for empty join link

## [1.9.1 - 2020-05-17](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.9.1)

### Enhancements

- Added priority option for join link

### Bug Fixes

- Fixed adding of join link if no post type selected

## [1.9.0 - 2020-05-4](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.9.0)

### Enhancements

- Added join link automatically to posts
- Added options to customize join link for posts
- Added WP Telegram Block category
- Improved blocks

### Bug Fixes

- Fixed JS bundle path for blocks
- Fixed single post iframe height

## [1.8.1 - 2020-04-20](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.8.1)

### Bug Fixes

- Fix admin .min.js.

## [1.8.0 - 2020-04-20](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.8.0)

### Enhancements

- Added Join Channel widget/block/shortcode

## [1.7.4 - 2019-11-2](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.7.4)

### Bug Fixes

- Updated bot token pattern for test token.

## [1.7.3 - 2019-10-23](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.7.3)

### Enhancements

- Updated bot token pattern.

## [1.7.2 - 2019-08-12](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.7.2)

### Bug Fixes

- Fixed the issue of settings not being saved without Bot Token.

## [1.7.1 - 2019-08-11](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.7.1)

### Enhancements

- Improved compatibility with different browsers.
- Improved the code as per WPCS.

### Bug Fixes

- Fixed the issue of settings not being saved without Bot Token.

## [1.7.0 - 2019-07-23](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.7.0)

### Enhancements

- Migrated from CMB2 to React for settings page.
- Added Guternberg block for Ajax Widget.
- Removed Widget Messages list in favour of Ajax Widget.
- Bot Token is no more required for the ajax widget to work.
- Made the ajax widget search form visible again.
- Search form results are now displayed in the same iframe, instead of new tab.

### Bug Fixes

- Fixed the Google Script URL not being used.

## [1.6.2 - 2019-07-6](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.6.2)

### Enhancements

- Change Join Link to channel link

### Bug Fixes

- Fixed the issue with click on links

## [1.6.1 - 2019-06-28](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.6.1)

### Enhancements

- Fix the upgrade to new rewrite rules

## [1.6.0 - 2019-06-28](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.6.1)

### Enhancements

- Added the new ajax widget with fixed height and infinite scroll
- Added Added support for Google Script to bypass the ban on t.me.
- Added filters to inject custom widget styles.

## [1.6.0 - 2019-06-28](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.6.0)

### Enhancements

- Added the new ajax widget with fixed height and infinite scroll
- Added Added support for Google Script to bypass the ban on t.me.
- Added filters to inject custom widget styles.

## [1.5.0 - 2019-04-2](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.5.0)

### Enhancements

- Added Gutengerg blocks for the channel feed.
- Added Gutenberg block to embed any Telegram Message.
- Moved update trigger URL out of wp-admin.
- Added WP Telegram integration to avoid the need for separate bot

## [1.4.0 - 2019-01-12](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/v1.4.0)

### Bug Fixes

- Moved the widget message links to front-end
- Added Russian translation
- Fixed the issue with Cyrillic characters in the widget

## [1.3.4 - 2018-11-11](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/1.3.4)

- Bundled CMB2 to handle the dependency

## [1.3.3 - 2018-11-11](https://github.com/manzoorwanijk/wptelegram-widget/releases/tag/1.3.3)

- Prepare for WP Telegram 2.0.0

## 1.3.2

- Fixed the DOMDocument error when allow_url_fopen is off
- Switched to normal HTTP requests to fetch the remote HTML

## 1.3.1

- Fixed the Parse Error in older PHP versions

## 1.3.0

- Major upgrade
- Fixes the static width of widgets
- Auto remove deleted messages
- Performance improvements

## 1.2.0

- Fixed the problem with empty widget title
- Universalized Telegram Bot API Library
- Minor fixes

## 1.1.2

- Fixed the CSS issue with message width

## 1.1.1

- Fixed the CSS issue with narrow sidebars

## 1.1.0

- Added Messages List Table
- Added Manual pulling of the messages

## 1.0.0

- Initial Release.
