Skip to content

Commit 72d7c38

Browse files
committed
Version 2.0.0
1 parent f9d3231 commit 72d7c38

File tree

4 files changed

+17
-22
lines changed

4 files changed

+17
-22
lines changed

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
build:
22
environment:
3-
php: 7.3.0
3+
php: 8.0.0
44
nodes:
55
analysis:
66
tests:

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,21 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
77
### Notes
88
- [:ledger: View file changes][Unreleased]
99
### Added
10+
### Changed
11+
### Deprecated
12+
### Removed
13+
### Fixed
14+
### Security
15+
16+
## [2.0.0] - 2022-07-04
17+
### Notes
18+
- [:ledger: View file changes][2.0.0]
19+
### Added
1020
- Enforce `secret_token` webhook validation check.
1121
### Changed
1222
- Bumped core to version 0.78.*.
1323
- Upgrade code to PHP 8.0.
1424
- Moved tests to GitHub Actions.
15-
### Deprecated
16-
### Removed
17-
### Fixed
1825
### Security
1926
- Minimum PHP 8.0.
2027

@@ -218,6 +225,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
218225
[0.44.0-bc-parameter-structure]: https://github.com/php-telegram-bot/telegram-bot-manager/wiki/Breaking-backwards-compatibility#parameter-structure-changed "Parameter structure changed"
219226

220227
[Unreleased]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/master...develop
228+
[2.0.0]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.7.0...2.0.0
221229
[1.7.0]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.6.0...1.7.0
222230
[1.6.0]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.5.0...1.6.0
223231
[1.5.0]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.4.0...1.5.0

README.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,9 @@ Installation and usage is pretty straight forward:
2121

2222
### Require this package with [Composer]
2323

24-
Either run this command in your command line:
25-
2624
```bash
27-
composer require php-telegram-bot/telegram-bot-manager:^1.6
28-
```
29-
30-
**or**
31-
32-
For existing Composer projects, edit your project's `composer.json` file to require `php-telegram-bot/telegram-bot-manager`:
33-
34-
```yaml
35-
"require": {
36-
"php-telegram-bot/telegram-bot-manager": "^1.6"
37-
}
25+
composer require php-telegram-bot/telegram-bot-manager:^1.8
3826
```
39-
and then run `composer update`
4027

4128
**NOTE:** This will automatically also install [PHP Telegram Bot][github-tgbot-core] into your project (if it isn't already).
4229

@@ -46,12 +33,12 @@ It is possible however, to override the core version that this library requires:
4633

4734
```yaml
4835
"require": {
49-
"php-telegram-bot/telegram-bot-manager": "^1.6",
50-
"longman/telegram-bot": "dev-develop as 0.70"
36+
"php-telegram-bot/telegram-bot-manager": "^1.8",
37+
"longman/telegram-bot": "dev-master as 0.78"
5138
}
5239
```
5340

54-
This example will pull the develop version of the core library, making it appear to be version 0.70, which then satisfies the requirement.
41+
This example will pull the master version of the core library, making it appear to be version 0.78, which then satisfies the requirement.
5542

5643
### Performing actions
5744

src/BotManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
class BotManager
3030
{
31-
public const VERSION = '1.7.0';
31+
public const VERSION = '2.0.0';
3232

3333
/**
3434
* @link https://core.telegram.org/bots/webhooks#the-short-version

0 commit comments

Comments
 (0)