# Changelog

## 4.2.15

### Patch Changes

- [#308](https://github.com/wpsocio/wp-projects/pull/308) [`c6f7136`](https://github.com/wpsocio/wp-projects/commit/c6f71364ea4d0bb6d166d72dd768e71c55c4a1fb) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fix plugin page stuck with data upgrade.

## 4.2.14

### Patch Changes

- [#305](https://github.com/wpsocio/wp-projects/pull/305) [`3975fe1`](https://github.com/wpsocio/wp-projects/commit/3975fe16a5222a69d47fa24454cd951098192ad6) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Remove figcaption content by default.

## 4.2.13

### Patch Changes

- [#298](https://github.com/wpsocio/wp-projects/pull/298) [`5490279`](https://github.com/wpsocio/wp-projects/commit/549027918a6585dded8e40dc46c23a2948bca88c) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Drop support for PHP 7.x, making PHP 8 the minimum required version.

## 4.2.12

### Patch Changes

- [#292](https://github.com/wpsocio/wp-projects/pull/292) [`c2a54d4`](https://github.com/wpsocio/wp-projects/commit/c2a54d4f8ac430682f02fa8a8fa1994956489301) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed PHOTO_INVALID_DIMENSIONS error.

## 4.2.11

### Patch Changes

- [#281](https://github.com/wpsocio/wp-projects/pull/281) [`77aaa4f`](https://github.com/wpsocio/wp-projects/commit/77aaa4f6537f8927861a89045ffb03539f4343df) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated error notices to show specific errors first.

- [#282](https://github.com/wpsocio/wp-projects/pull/282) [`2efbf31`](https://github.com/wpsocio/wp-projects/commit/2efbf31e8596cad779f83ffd5fae60600fa33bde) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added support for the Action Scheduler plugin for better reliability for delay in posting.

- [#274](https://github.com/wpsocio/wp-projects/pull/274) [`8dee1eb`](https://github.com/wpsocio/wp-projects/commit/8dee1eb67500bdf6339b2045f64b38f3989d369f) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed help text label in the sidebar.

## 4.2.10

### Patch Changes

- [#262](https://github.com/wpsocio/wp-projects/pull/262) [`9e8c28b`](https://github.com/wpsocio/wp-projects/commit/9e8c28b026e5f8caad3cbc5062cbc5587a93ca3b) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated Message Template info UI to make it more visible

- [#259](https://github.com/wpsocio/wp-projects/pull/259) [`cd61a8d`](https://github.com/wpsocio/wp-projects/commit/cd61a8d56970474cfed5362c7f722ff22e99bd22) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed Bot Token and Message tests not working for lowercase URLs

- [#257](https://github.com/wpsocio/wp-projects/pull/257) [`150dc9f`](https://github.com/wpsocio/wp-projects/commit/150dc9f501e39e1d412da6a433d0855000e7a7ea) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed background color for the settings page

- [#263](https://github.com/wpsocio/wp-projects/pull/263) [`cc3b03d`](https://github.com/wpsocio/wp-projects/commit/cc3b03d92211502a9ad9eadde93396fa861aa334) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added support for post modified and post time variables

## 4.2.9

### Patch Changes

- [#248](https://github.com/wpsocio/wp-projects/pull/248) [`3b97611`](https://github.com/wpsocio/wp-projects/commit/3b97611b83c693f995a6294257321a56bca5f3f4) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Improved form field spacing for small screens

- [#243](https://github.com/wpsocio/wp-projects/pull/243) [`b15b82d`](https://github.com/wpsocio/wp-projects/commit/b15b82d4f6ae817f531ca9ed2ca42de6862b3e9f) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed clean up logic on uninstall

## 4.2.8

### Patch Changes

- [#242](https://github.com/wpsocio/wp-projects/pull/242) [`9b4200c`](https://github.com/wpsocio/wp-projects/commit/9b4200c2fbad43f8f5f02253e24b97a9bc75a654) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added support for `{cf:__debug__}`

- [#237](https://github.com/wpsocio/wp-projects/pull/237) [`265291b`](https://github.com/wpsocio/wp-projects/commit/265291ba56732da83041f1aac502caad7169f733) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Add support for {cf:field-name:json} for custom fields

- [#237](https://github.com/wpsocio/wp-projects/pull/237) [`265291b`](https://github.com/wpsocio/wp-projects/commit/265291ba56732da83041f1aac502caad7169f733) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fix PHP warning for array to string conversion

## 4.2.7

### Patch Changes

- [#233](https://github.com/wpsocio/wp-projects/pull/233) [`9ef60cb`](https://github.com/wpsocio/wp-projects/commit/9ef60cb4c35ae50d5941c9458c62ae818be8cd3c) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the i18n initialization to delay it to init

## 4.2.6

### Patch Changes

- [#229](https://github.com/wpsocio/wp-projects/pull/229) [`c32b2f2`](https://github.com/wpsocio/wp-projects/commit/c32b2f20909b660d26a01e97ec7ccdc4da690069) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added the instant Send to Telegram option on the post list page

## 4.2.5

### Patch Changes

- [#202](https://github.com/wpsocio/wp-projects/pull/202) [`9464ef6`](https://github.com/wpsocio/wp-projects/commit/9464ef692f97f92f907f951ca6850936a057787e) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed chat ID validation preventing from saving changes

- [#196](https://github.com/wpsocio/wp-projects/pull/196) [`1d41d51`](https://github.com/wpsocio/wp-projects/commit/1d41d51f207637ad62da8e09167493a538adfee7) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated delay UI to show WP Cron warning as alert

## 4.2.4

### Patch Changes

- [#191](https://github.com/wpsocio/wp-projects/pull/191) [`1d2b4bd`](https://github.com/wpsocio/wp-projects/commit/1d2b4bd2e92310d60ce9bdb4cbe10b0d71049d4f) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated attach files UI to show file size

- [#193](https://github.com/wpsocio/wp-projects/pull/193) [`35f1abc`](https://github.com/wpsocio/wp-projects/commit/35f1abc0ad516ad2fa87bd4cbb3406fb77be1bc5) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Performance improvements

## 4.2.3

### Patch Changes

- [#187](https://github.com/wpsocio/wp-projects/pull/187) [`d1de312`](https://github.com/wpsocio/wp-projects/commit/d1de3129e0ee009217488dc4a7aaad2c7a3538a5) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added filters for excerpt and content options

- [#190](https://github.com/wpsocio/wp-projects/pull/190) [`4e79cc9`](https://github.com/wpsocio/wp-projects/commit/4e79cc9409b98cc6ca48d4140090637263ca4d61) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed files button not working for block editor

## 4.2.2

### Patch Changes

- [#179](https://github.com/wpsocio/wp-projects/pull/179) [`55eeace`](https://github.com/wpsocio/wp-projects/commit/55eeace687a090f4fb68b80868b61bd238ac6c0c) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Improved admin styles on smaller screens

## 4.2.1

### Patch Changes

- [#177](https://github.com/wpsocio/wp-projects/pull/177) [`3c61709`](https://github.com/wpsocio/wp-projects/commit/3c61709b222937e457340231533947cdc69a0a6d) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the last failed deployment

## 4.2.0

### Minor Changes

- [#167](https://github.com/wpsocio/wp-projects/pull/167) [`c111617`](https://github.com/wpsocio/wp-projects/commit/c111617cb5395b94446e115a49d002e3f111aee0) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Improved the UI for small/mobile screens

- [#167](https://github.com/wpsocio/wp-projects/pull/167) [`c111617`](https://github.com/wpsocio/wp-projects/commit/c111617cb5395b94446e115a49d002e3f111aee0) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Refreshed the UI migrating away from Chakra UI

### Patch Changes

- [#167](https://github.com/wpsocio/wp-projects/pull/167) [`c111617`](https://github.com/wpsocio/wp-projects/commit/c111617cb5395b94446e115a49d002e3f111aee0) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the issue of delay in posting not being saved when changed alone

- [#167](https://github.com/wpsocio/wp-projects/pull/167) [`c111617`](https://github.com/wpsocio/wp-projects/commit/c111617cb5395b94446e115a49d002e3f111aee0) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the issue of proxy options not showing upon changing proxy type.

- [#167](https://github.com/wpsocio/wp-projects/pull/167) [`c111617`](https://github.com/wpsocio/wp-projects/commit/c111617cb5395b94446e115a49d002e3f111aee0) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed and improved the a11y issues in settings page UI

## 4.1.16

### Patch Changes

- [#165](https://github.com/wpsocio/wp-projects/pull/165) [`314648d`](https://github.com/wpsocio/wp-projects/commit/314648dc5d9cdfad2f532f70733addb2ec5f8245) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed load_plugin_textdomain warning in dependent package

## 4.1.15

### Patch Changes

- [#163](https://github.com/wpsocio/wp-projects/pull/163) [`75bab6b`](https://github.com/wpsocio/wp-projects/commit/75bab6b20f0cc0eccc07750d4e50bcd0b65e486d) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed load_plugin_textdomain warning

## 4.1.14

### Patch Changes

- [#161](https://github.com/wpsocio/wp-projects/pull/161) [`116db7b`](https://github.com/wpsocio/wp-projects/commit/116db7b7bbf374f080b123a428ff33fbb39e56e8) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the fatal error during upgrade

## 4.1.13

### Patch Changes

- [#158](https://github.com/wpsocio/wp-projects/pull/158) [`a825c39`](https://github.com/wpsocio/wp-projects/commit/a825c3909e2f990bd7932e10b8db665fa3e083e0) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the issue of scaled image being preferred over original image

## 4.1.12

### Patch Changes

- [#156](https://github.com/wpsocio/wp-projects/pull/156) [`d14a2f9`](https://github.com/wpsocio/wp-projects/commit/d14a2f9f13087a18c184a0ca23a2f981288ffe5e) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed Message Template info not expanding

## 4.1.11

### Patch Changes

- [#151](https://github.com/wpsocio/wp-projects/pull/151) [`7f06002`](https://github.com/wpsocio/wp-projects/commit/7f06002dd4b9b31cc4c4fc9320444ac7e1885c26) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed settings page and post editor crash for older Wp versions

## 4.1.10

### Patch Changes

- [#146](https://github.com/wpsocio/wp-projects/pull/146) [`bb3677f`](https://github.com/wpsocio/wp-projects/commit/bb3677f466665e3e766cb54922773b89e23d4aaf) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed empty translations loaded via l10n.php files

- [#150](https://github.com/wpsocio/wp-projects/pull/150) [`44e433a`](https://github.com/wpsocio/wp-projects/commit/44e433aefcec4a3d0ab5470485ca1b30b40a0a22) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Restored translations for plugin name after l10n fix

## 4.1.9

### Patch Changes

- [#142](https://github.com/wpsocio/wp-projects/pull/142) [`b0b652e`](https://github.com/wpsocio/wp-projects/commit/b0b652e5fe4db1eb8f7c032baca6bc32ad471872) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Post to Telegram: Changed default custom rule from post to post category

- [#135](https://github.com/wpsocio/wp-projects/pull/135) [`38f4591`](https://github.com/wpsocio/wp-projects/commit/38f4591c18b9b044338e7e5f4a71090d6847bcab) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Removed translation for plugin title to ensure the menu item it not invisible

## 4.1.8

### Patch Changes

- [#132](https://github.com/wpsocio/wp-projects/pull/132) [`f20821c`](https://github.com/wpsocio/wp-projects/commit/f20821c66913adf7bd37817f78bf23de3605f4ea) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Improved logging for delay in posting

- [#129](https://github.com/wpsocio/wp-projects/pull/129) [`ce6c4e1`](https://github.com/wpsocio/wp-projects/commit/ce6c4e1538037f006fa6e95a11c3745074e327b5) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed logging to remove only the old entries when file size limit is reached.

## 4.1.7

### Patch Changes

- [#126](https://github.com/wpsocio/wp-projects/pull/126) [`69a8e23`](https://github.com/wpsocio/wp-projects/commit/69a8e237e61fe7f2cb078ebc63bd2fea8b4e9368) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed translations not working for settings page

## 4.1.6

### Patch Changes

- [#124](https://github.com/wpsocio/wp-projects/pull/124) [`30ee543`](https://github.com/wpsocio/wp-projects/commit/30ee54302adb59c4378be57d830337334b9ecc86) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the is new post logic for draft posts

## 4.1.5

### Patch Changes

- [#121](https://github.com/wpsocio/wp-projects/pull/121) [`c8f8d07`](https://github.com/wpsocio/wp-projects/commit/c8f8d077e775961a9533a286d6ee7870742be597) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added blueprints for WP Playground

## 4.1.4

### Patch Changes

- [#119](https://github.com/wpsocio/wp-projects/pull/119) [`69bb5c2`](https://github.com/wpsocio/wp-projects/commit/69bb5c219aab1cd58da66f869b593cd930d49337) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed post excerpt filter in post data not working

- [#116](https://github.com/wpsocio/wp-projects/pull/116) [`cfac49f`](https://github.com/wpsocio/wp-projects/commit/cfac49f19a2c8783782ba2d4229d5bf2a742ba11) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added php translation files for better performance with WP 6.5

## 4.1.3

### Patch Changes

- [#113](https://github.com/wpsocio/wp-projects/pull/113) [`9594d18`](https://github.com/wpsocio/wp-projects/commit/9594d18d96351dd1b7fb3c14a12233c178177d89) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed PHP errors in Post to Telegram for partial REST API input

## 4.1.2

### Patch Changes

- [#99](https://github.com/wpsocio/wp-projects/pull/99) [`0db832f`](https://github.com/wpsocio/wp-projects/commit/0db832fdec87f92b30b274afd7241d8d74df68bd) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Improved logging for HTML conversion errors for private notifications

- [#103](https://github.com/wpsocio/wp-projects/pull/103) [`e12a25c`](https://github.com/wpsocio/wp-projects/commit/e12a25caf8ead7065b256d58aa74b64cc35cc947) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated minimum required WP version to 6.4

## 4.1.1

### Patch Changes

- [#96](https://github.com/wpsocio/wp-projects/pull/96) [`24aeb5a`](https://github.com/wpsocio/wp-projects/commit/24aeb5ad32e1ec39a456ebf96e34c839b647474a) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated bundled bot api library

## 4.1.0

### Minor Changes

- [#87](https://github.com/wpsocio/wp-projects/pull/87) [`5bffa8f`](https://github.com/wpsocio/wp-projects/commit/5bffa8f99b9dde88f58cfc1c14817463dc73cb43) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added link preview options

### Patch Changes

- [#88](https://github.com/wpsocio/wp-projects/pull/88) [`09a4b44`](https://github.com/wpsocio/wp-projects/commit/09a4b4444065380fd8f22c512d93753dd8ad5858) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated screenshots for wordpress.org

## 4.0.20

### Patch Changes

- [#81](https://github.com/wpsocio/wp-projects/pull/81) [`2cb4c4c`](https://github.com/wpsocio/wp-projects/commit/2cb4c4ca5cb0acde6592eb5e80e56734736a461d) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fix "At least one channel is required." error

## 4.0.19

### Patch Changes

- [#78](https://github.com/wpsocio/wp-projects/pull/78) [`25b51fe`](https://github.com/wpsocio/wp-projects/commit/25b51fe0da360cca3429646c4519ddb44a8e5519) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed blank admin page after recent update

- [#79](https://github.com/wpsocio/wp-projects/pull/79) [`3791761`](https://github.com/wpsocio/wp-projects/commit/37917611443b65efc55224d1d932dc86fdfb9104) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed plugin menu being hidden during upgrade

## 4.0.18

### Patch Changes

- [#73](https://github.com/wpsocio/wp-projects/pull/73) [`65f4584`](https://github.com/wpsocio/wp-projects/commit/65f45843fe403ab706c94cad59ee5b6724a4e0c9) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed PHP 7.4 critical error on settings page

- [#73](https://github.com/wpsocio/wp-projects/pull/73) [`65f4584`](https://github.com/wpsocio/wp-projects/commit/65f45843fe403ab706c94cad59ee5b6724a4e0c9) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed PHP notice on plugins page requirements

## 4.0.17

### Patch Changes

- [#67](https://github.com/wpsocio/wp-projects/pull/67) [`b8f1656`](https://github.com/wpsocio/wp-projects/commit/b8f16563634166ece8f62c2dc1eb77c4af1e4cdf) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Enabled support for PHP 7.4 after user feedback

## 4.0.16

### Patch Changes

- [#63](https://github.com/wpsocio/wp-projects/pull/63) [`c1d022e`](https://github.com/wpsocio/wp-projects/commit/c1d022eefc2341bfd5cd6b9dcfe56641f0f5a874) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed requirements in readme.txt

## 4.0.15

### Patch Changes

- [#36](https://github.com/wpsocio/wp-projects/pull/36) [`7b30e81`](https://github.com/wpsocio/wp-projects/commit/7b30e81083ce390f32f4d1066fe0bd4ff8791041) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the emojis in notifications not being sent.

- [#59](https://github.com/wpsocio/wp-projects/pull/59) [`e762e5e`](https://github.com/wpsocio/wp-projects/commit/e762e5e418b927eb7569efb7e9cff126e022a5c7) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Updated minimum required PHP version to 8.0

- [#44](https://github.com/wpsocio/wp-projects/pull/44) [`ca6e099`](https://github.com/wpsocio/wp-projects/commit/ca6e0999fe9892e0df8558b2e056e34950fdee9a) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added "Select all" option for channels in block editor

## 4.0.14

### Enhancements

- Added support for `<blockquote>` tag

## [4.0.13 - 2023-09-17](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.13)

### Bug fixes

- Fixed the failure of sending posts with large size images

## [4.0.12 - 2023-07-7](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.12)

### Bug fixes

- Fixed the Yoast Duplicated post not sent to Telegram

## [4.0.11 - 2023-05-20](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.11)

### Bug fixes

- Fixed translations not loaded for some strings

## [4.0.10 - 2023-05-16](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.10)

### Bug fixes

- Fixed the dollar sign getting nuked from excerpt
- Fixed logs to avoid bot token added to URL

## [4.0.9 - 2023-03-23](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.9)

### Enhancements

- Improved message template sanitization to prevent breaking the markup
- Added a new filter `wptelegram_p2tg_post_data_plain_excerpt` to allow sending plain text excerpt

### Bug fixes

- Fixed the links added in parenthesis when "Formatting" is set to "None"

## [4.0.8 - 2023-03-12](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.8)

### Bug fixes

- Fixed the broken hyperlinks in Message Template when using custom field link

## [4.0.7 - 2023-03-3](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.7)

### Bug fixes

- Fixed the issue of images being retained in post content links

## [4.0.6 - 2023-03-2](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.6)

### Bug fixes

- Fixed the issue of shortcodes being sent to Telegram

## [4.0.5 - 2023-03-2](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.5)

### Bug fixes

- Fixed the unintended newlines in Post Excerpt and Post Content

## [4.0.4 - 2023-03-1](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.4)

### Bug fixes

- Fixed repeated caption for the image when using the "After the text" option
- Fixed the issue of long texts being truncated

## [4.0.3 - 2023-02-18](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.3)

### Enhancements

- Added support for adding internal note to chat IDs

## [4.0.2 - 2023-02-16](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.2)

### Bug fixes

- Fixed PHP 8.1 issue with HTML conversion

## [4.0.1 - 2023-02-14](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.1)

### Bug fixes

- Fixed the word count issue with non-english locales

## [4.0.0 - 2023-02-13](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.0)

### Enhancements

- Added better support for HTML formatting.
- Added support for `<u>` and `<ins>` HTML tags.
- Added support for nested tags. You can now use `<b>` inside `<i>` and vice versa.
- Intelligently trim `{post_excerpt}` to preserve the other parts of Message Template.

### Breaking changes

- Removed support for Markdown formatting in favour of better HTML formatting

### Bug fixes

- Fixed the image not being sent "After the text" when "Send files by URL" is disabled
- Fixed the issue of messages not being sent when the markup is not valid

## [3.2.2 - 2023-01-24](https://github.com/wpsocio/wptelegram/releases/tag/v3.2.2)

### Bug fixes

- Fixed nesting error in experimental HTML converter

## [3.2.0 - 2023-01-19](https://github.com/wpsocio/wptelegram/releases/tag/v3.2.0)

### Enhancements

- Added the new experimental HTML converter for better formatting of email notifications
- The new can be enabled using `add_filter( 'wptelegram_notify_use_experimental_text', '__return_true' );`

## [3.1.15 - 2023-01-5](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.15)

### Bug fixes

- Fixed PHP warning when not using message thread ID

## [3.1.14 - 2022-12-8](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.14)

### Enhancements

- Added support for sending messages to topics with groups

### Bug fixes

- Fixed messages not sent when replied-to message is not found

## [3.1.13 - 2022-11-26](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.13)

### Improvements

- Improved the default value for Send to Telegram option on post edit page

## [3.1.12 - 2022-11-19](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.12)

### Bug fixes

- Fixed PHP warnings in logger

## [3.1.11 - 2022-11-1](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.11)

### Bug fixes

- Fixed warnings in PHP 8.x

## [3.1.10 - 2022-10-31](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.10)

### Improvements

- Improved logging for better understanding of errors

## [3.1.9 - 2022-06-12](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.9)

### Enhancements

- Improved logging options to prevent users from mistakes

## [3.1.8 - 2022-03-26](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.8)

### Bug fixes

- Fixed PHP error on plugin update
- Fixed Post to Telegram rule search bug

## [3.1.7 - 2021-12-31](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.7)

### Enhancements

- Added "Protect content" option to Post to Telegram.

## [3.1.6 - 2021-12-29](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.6)

### Bug fixes

- Misc bug fixes
- Fixed some typos

## [3.1.5 - 2021-10-23](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.5)

### Enhancements

- Added override option for Send Featured Image.

## [3.1.4 - 2021-10-17](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.4)

### Bug fixes

- Fixed posts not sent when Formatting is None

## [3.1.3 - 2021-09-15](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.3)

### Enhancements

- Added `{post_slug}` macro

## [3.1.2 - 2021-07-5](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.2)

### Bug fixes

- Fixed admin page not shown just after upgrade
- Fixed multiple empty lines in post content and excerpt

## [3.1.1 - 2021-06-10](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.1)

### Bug fixes

- Fixed file upload for CloudFlare proxy

## [3.1.0 - 2021-05-30](https://github.com/wpsocio/wptelegram/releases/tag/v3.1.0)

### Enhancements

- Added CloudFlare Proxy support 🚀
- Added `{post_type}` and `{post_type_label}` macros

## [3.0.11 - 2021-05-7](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.11)

### Bug fixes

- Fixed WooCommerce REST API products not sent to Telegram

## [3.0.10 - 2021-04-28](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.10)

### Enhancements

- Added explicit filter for post edit switch
- Further improved logging for better troubleshooting
- Updated FAQ section

### Bug fixes

- Fixed the issue of settings not saved due to trailing slash redirects

## [3.0.9 - 2021-04-18](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.9)

### Bug fixes

- Fixed the upgrade for Post to Telegram rules
- Fixed invalid argument error for failed post updates
- Fixed duplicate posts when using bulk import
- Fixed i18n for block editor override settings
- Fixed the Disable Notification settings not being reflected on post edit page

## [3.0.8 - 2021-04-16](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.8)

### Bug fixes

- Fixed saving empty channels crashing the settings page
- Fixed "Changes could not be saved" error for old upgrades

## [3.0.7 - 2021-04-9](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.7)

### Bug fixes

- Fixed the issue of scheduled posts being sent regardless of the overrides.
- Removed "Post edit switch" from post edit page when disabled.
- Minor admin UI fixes.

## [3.0.6 - 2021-04-7](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.6)

### Bug fixes

- Fixed "Send to Telegram" flag not saved for block editor drafts.

## [3.0.5 - 2021-04-1](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.5)

### Bug fixes

- Fixed the issue of posts being sent from block editor regardless of the rules.
- Fixed the issue of disabled Test Token button.
- Fixed the issue of delayed posts not sent.
- Fixed the empty rules being saved, preventing posts from being sent to Telegram.

## [3.0.4 - 2021-03-30](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.4)

### Bug fixes

- Fixed wrong template when using CMB2 override settings.

## [3.0.3 - 2021-03-29](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.3)

### Enhancements

- Improved logging for better diagnosis

### Bug fixes

- Fixed the wrong post data when importing posts
- Fixed the issue caused by upgrade for fresh installations
- Fixed the settings not saved issue
- Fixed the Update failed issue in block editor for drafts
- Fixed the fatal error for old block editor posts

## [3.0.2 - 2021-03-21](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.2)

### Bug fixes

- Fixed the issue of posts not sent when using WP CLI

## [3.0.1 - 2021-03-20](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.1)

### Bug fixes

- Fixed the last messed up update

## [3.0.0 - 2021-03-20](https://github.com/wpsocio/wptelegram/releases/tag/v3.0.0)

### Enhancements

- Switched to PHP namespaces
- Removed CMB2 dependency
- Improved and changed admin UI to single page
- Added option for inline button URL source
- Added option to change the inline button icon
- Better support for block editor override settings

### Bug fixes

- Fixed the YouTube links being stripped out from the content.
- Minor fixes.

## [2.2.5 - 2021-01-23](https://github.com/wpsocio/wptelegram/releases/tag/v2.2.5)

### Enhancements

- Improved the logic to decide new and existing posts
- Added support for PHP 8

### Bug fixes

- Fixed errors for PHP 8

## [2.2.4 - 2021-01-3](https://github.com/wpsocio/wptelegram/releases/tag/v2.2.4)

### Enhancements

- Added links to view logs

### Bug fixes

- Fixed the bug in notifications when email has multiple recipients.

## [2.2.3 - 2020-10-3](https://github.com/wpsocio/wptelegram/releases/tag/v2.2.3)

### Bug fixes

- Fixed 404 for CSS map files

### Enhancements

- Moved Telegram user ID field to WP Telegram Login

## [2.2.2 - 2020-08-16](https://github.com/wpsocio/wptelegram/releases/tag/v2.2.2)

### Bug fixes

- Fixed HTML characters in categories as hashtags.
- Fixed admin menu icon

## [2.2.1 - 2020-08-1](https://github.com/wpsocio/wptelegram/releases/tag/v2.2.1)

### Enhancements

- Update for WP Telegram Pro

## [2.2.0 - 2020-06-14](https://github.com/wpsocio/wptelegram/releases/tag/v2.2.0)

### Enhancements

- Unified Telegram user ID for all plugins

## [2.1.15 - 2020-04-5](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.15)

### Enhancements

- Added all the registered taxonomies to macros for Message Template

## [2.1.13 - 2020-03-8](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.13)

### Enhancements

- Added "Plugin generated posts" option to allow posts not created by humans.

## [2.1.12 - 2019-12-15](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.12)

### Bug fixes

- Fixed double posting by block editor.

## [2.1.11 - 2019-11-15](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.11)

### Bug fixes

- Fixed the text input styles.

## [2.1.10 - 2019-10-23](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.10)

### Enhancements

- Updated bot token pattern to handle the latest change in tokens.

### Bug fixes

- Fixed the warning for old log files not found.

## [2.1.9 - 2019-09-10](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.9)

### Enhancements

- Improved and secured logs by hashed names and by switching to wp_filesystem.
- Dropped support for PHP < 5.6 and WP < 4.7

### Bug fixes

- Prevent the notification links being previewed

## [2.1.8 - 2019-09-1](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.8)

### Bug fixes

- Fixed the issue with posts not being sent when published via WP REST API

## [2.1.7 - 2019-08-19](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.7)

### Bug fixes

- Fix the issue of products not being sent when published via WC REST API
- Fix CMB2 field conflict with Rank Math plugin

## [2.1.6 - 2019-07-1](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.6)

### Bug fixes

- Fix the fatal error caused on post edit page.

## [2.1.5 - 2019-07-1](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.5)

### Bug fixes

- Fixed the issue of unintended posts being scheduled for delay

## [2.1.4 - 2019-06-21](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.4)

### Bug fixes

- Fixed the long integer chat ID issue when using Google Script
- Fixed the Notification Chat IDs sanitization issue
- Minor fixes

## [2.1.3 - 2019-04-13](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.3)

### Bug fixes

- Fixed the new lines removed by classic editor

## [2.1.2 - 2019-04-4](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.2)

### Enhancements

- Improved the proxy hooking

### Bug fixes

- Fixed the fatal error with helper function
- Fixed the issue with delayed posts

## [2.1.1 - 2019-03-27](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.1)

### Bug fixes

- Fixed the step in delay on post edit page

## [2.1.0 - 2019-03-26](https://github.com/wpsocio/wptelegram/releases/tag/v2.1.0)

### Enhancements

- Improved the template conditional logic
- Made delay to be more granular - can be set in half a minute steps
- Added option to allow newlines in `{post_excerpt`
- Added option to send `{categories}` as hashtags

### Bug fixes

- Fixed the issue with scheduled posts not being sent to Telegram

## 2.0.19

- Added the conditional logic for Message Template

## 2.0.16

- Fixed the HTML bug in Notifications

## 2.0.15

- Fixed the PHP fatal error

## 2.0.14

- Fixed the PHP fatal error

## 2.0.13

- Added fixes for WP 5+
- Fixed double posting by block editor
- Fixed the issue with Override Options not expanding in Block Editor
- Improved the logging to include logs about featured image
- Removed the override metabox from the post types not chosen to be sent
- Added tutorial videos in the sidebar
- Updated CMB2

## 2.0.12

- Fixed the Notification issue caused by some faulty plugins
- Fixed the issue with Post to Telegram caused by Cron Control
- JS fixes

## 2.0.11

- Fixed the bug when scheduling the posts

## 2.0.10

- Delayed loading of modules to fix the translation issues
- Fixed the HTML entity issue for Markdown
- re-enabled sending password protected posts
- Added support for saving override options for Pending posts
- Minor fixes

## 2.0.9

- Fixed Send to Telegram button for Drafts
- Added support for saving override options for drafts and future posts
- Removed the ugly newline character at the beginning of the message when using Single Message with Image after the text
- Added Disable Notifications in override options
- Fixed the issue with saving of "Send files by URL" option
- Minor fixes

## 2.0.8

- Added the logging feature for debugging
- Added the option to upload the files
- Improved the proxy handling
- Changed the way Bot API creates logs
- Minor fixes

## 2.0.7

- Fixed the 404 CSS error for public.min.css
- Added the delAy options for posts
- Restored the old user profile field for Chat ID
- Added Bot Username field

## 2.0.6

- Fixed the 404 JS error for public.min.js

## 2.0.5

- Fixed the override metabox issue

## 2.0.4

- Fixed the override metabox issue caused by other JS errors

## 2.0.3

- Fixed the issue with image being sent as caption

## 2.0.2

- Fixed the issue caused by is_success()

## 2.0.0

- Major Release with full revamp
- Added modular functionality
- Removed PHP 5.3 requirement to avoid double posting

## 1.9.4

- Fixed the double posting problem caused by the last update
- Added the filter for default inline button

## 1.9.3

- Fixed the issue with Scheduled posts caused by previous update

## 1.9.2

- Fixed the issue of category/author filter for future posts
- Added the filter to explicitly change the Inline URL Button text

## 1.9.1

- Fixed the inline keyboard issue with image posts
- Fixed the double posting problem due to some plugins
- Other fixes

## 1.9.0

- Removed the API validation of bot token upon saving the settings
- Minor fixes

## 1.8.3

- Fixed the fatal error when using Google Script

## 1.8.2

- Added option to add inline button for Post URL
- Added support for WP-CLI
- Fixed the issue with spaces in WP Tags
- Minor fixes

## 1.8.1

- A few more hooks and filters
- Updated German translation, thanks to @robertskiba
- Minor fixes

## 1.8.0

- Added support for sending files along with the post.
- A few more hooks and filters
- Minor fixes

## 1.7.9

- Fixed the issue with sending test messages

## 1.7.8

- Added the support for bypassing blockage using Google App Script.
- Fixed the issue with double quotes in message template
- Minor fixes

## 1.7.7

- Fixed the issue with saving the settings with proxy

## 1.7.6

- Added support for many proxy types

## 1.7.5

- Added the hidden support for proxy
- Added hooks to bot API for modifying curl handle

## 1.7.4

- Added the latest update for Bot API Library
- Increased the default request timeout
- Added few more hooks for bot API request params

## 1.7.3

- Fixed the syntax error in previous update

## 1.7.2

- Some more control for user permissions
- Fixed the issue of bot token loss when saving the settings

## 1.7.1

- Added new filters for controlling the sent message

## 1.7.0

- Revamped Telegram Bot API Library to make it more portable
- Changed a few hooks to avoid confusion
- Added Catalan translation. Thanks to jdellund
- Minor fixes

## 1.6.5

- Enabled `parse_mode` for in image caption

## 1.6.4

- Added few more hooks for more control and customizations

## 1.6.3

- Added Russian translation. Thanks to Oxford
- Updated EmojiOne Area library to v3.2.6 to enable emoji search
- Updated Select2 library to v4.0.5

## 1.6.2

- Added method for creating API log
- Added method to modify curl handle for file uploads
- More filters to control the process
- Bug fixes

## 1.6.1

- Fixed the Fatal Error caused by WP_Error when saving the settings
- Added Portuguese Brazilian translation. Thanks to HellFive Osborn
- Fixed the issue caused by unending Markdown which stopped notifications

## 1.6.0

- Total revamp of the notification sending mechanism
- Allow users to receive email notifications on Telegram
- Added compatibility with every plugin that uses `wp_mail()` to send emails
- Fixed bugs in notification processing

## 1.5.7

- Fixed the issue of posts not being sent when published by cron
- Fixed the hyperlink issue in content URLs after the previous update
- Added more filters to control the way post_content and post_excerpt are processed

## 1.5.6

- Added German translation. Thanks to [Muffin](https://t.me/Muffin)
- Fixed post_date format and localization issue.
- Fixed shortcode issue in post_content
- Improved processing of post_content and post_excerpt
- Added option to choose the way consecutive messages are sent
- Fixed caption issue when sending image after the text
- Improved plugin strings for easy translations
- Bug fixes and performance improvements

## 1.5.4

- Added Italian translation. Thanks to [Mirko Genovese](http://www.mirkogenovese.it)
- Added Arabic translation. Thanks to @Mohamadbush and Mohammad Taher
- Fixed the HTML parsing issue when using Content before Read More tag as Excerpt Source
- Added hooks before and after sending the message
- Added `{post_date}` and `{post_date_gmt}` macros to be used in Message Template

## 1.5.3

- Added Persian translation. Thanks to [mohammadhero](https://profiles.wordpress.org/mohammadhero/)

## 1.5.2

- Added hooks and filters for post title, author, excerpt, featured_image etc.
- Final support for the search plugin

## 1.5.1

- Fixed the warning for undefined index when not using categories/terms restriction

## 1.5.0

- Added support for Read More tag to be used in Excerpt Source
- Improved Telegram API as a Library for developers to use
- Many upgrades to provide basis for future plugin(s)
- Minor fixes

## 1.4.3

- Fixed the bug with scheduled posts when using override switch

## 1.4.2

- Fixed the unwanted warning about invalid bot token

## 1.4.1

- Fixed warnings when settings not saved
- Added language pack for translations
- Minor fixes

## 1.4

- Introducing Website notifications to Telegram
- Dropped support for WordPress 3.5 and older

## 1.3.8

- Filter posts by author
- Filter posts by categories or terms of custom taxonomies
- You can now explicitly set Excerpt Source
- Performance improvements

## 1.3.7

- Delayed `save_post` hook execution to fix the issue with some custom fields
- Added filters to give you more control over macros and their values
- Added separate filters for modifying the values of individual custom fields and taxonomies
- Minor fixes

## 1.3.6

- Now Featured Image can be sent after the text
- Image and text can be send in a single message

## 1.3.5

- Now Featured Image can be sent with Caption
- Caption source can explicitly be chosen
- Added support for sending only Featured Image
- Minor fixes

## 1.3.4

- Fixed the text issue with scheduled posts

## 1.3.3

- Optimized Settings tabs for small screens
- Added tab icons to fit on small screens
- Minor fixes

## 1.3.2

- Fixed message template issue in post edit screen

## 1.3.0

- Total revamp of the settings page
- Added tabbed interface to reduce scrolling
- Added a beautiful template editor with emojis :)
- Added direct support for Custom Post Type selection
- Added the option to choose Channel/chat at the post edit screen
- Preserve override option for Scheduled (future) Posts
- Bug fixes for older WordPress versions

## 1.2.0

- Added support for PHP 5.2
- Minor bug fixes

## 1.1.0

- Added direct support for Custom Fields
- Added support for including {taxonomy} in template
- Fixed HTML issue with {content}

## 1.0.9

- Fixed HTML Parse Mode issue
- Fixed URL issue in Markdown style

## 1.0.8

- Added support for scheduled posts
- Fixed HTML Entities issue in the text

## 1.0.6

- Fixed excerpt length bug

## 1.0.5

- Minor fixes

## 1.0.4

- Updated README

## 1.0.3

- Minor fixes

## 1.0.2

- Changed the override option to make it more versatile
- Bug fixes

## 1.0.0

- Initial Release.
