Skip to content

Commit e9f02c4

Browse files
committed
Version 0.44.0
Add explanation for overriding core library version.
1 parent f7a415f commit e9f02c4

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
33

44
## [Unreleased]
55
### Added
6+
### Changed
7+
### Deprecated
8+
### Removed
9+
### Fixed
10+
### Security
11+
12+
## [0.44.0] - 2017-05-05
13+
### Added
614
- Ability to define custom valid IPs to access webhook.
715
- Execute commands via cron, using `cron` action and `g` parameter.
816
### Changed
917
- Remodelled the config array to a more flexible structure.
1018
- `bot_username` and `secret` are no longer vital parameters.
11-
### Deprecated
12-
### Removed
1319
### Fixed
1420
- Initialise loggers before anything else, to allow logging of all errors.
1521
### Security

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Installation and usage is pretty straight forward:
2020
Either run this command in your command line:
2121

2222
```bash
23-
composer require noplanman/telegram-bot-manager:^0.43
23+
composer require noplanman/telegram-bot-manager:^0.44
2424
```
2525

2626
**or**
@@ -29,13 +29,26 @@ For existing Composer projects, edit your project's `composer.json` file to requ
2929

3030
```yaml
3131
"require": {
32-
"noplanman/telegram-bot-manager": "^0.43"
32+
"noplanman/telegram-bot-manager": "^0.44"
3333
}
3434
```
3535
and then run `composer update`
3636

3737
**NOTE:** This will automatically also install PHP Telegram Bot into your project (if it isn't already).
3838

39+
**Advanced:** Due to the fact that the core library is not a stable version yet, this project is partly locked to the core version, to ensure reliable functioning.
40+
41+
It is possible however, to override the core version that this library requires:
42+
43+
```yaml
44+
"require": {
45+
"noplanman/telegram-bot-manager": "^0.44",
46+
"longman/telegram-bot": "dev-develop as 0.44"
47+
}
48+
```
49+
50+
This example will pull the develop version of the core library, making it appear to be version 0.44, which then satisfies the requirement.
51+
3952
### Performing actions
4053

4154
What use would this library be if you couldn't perform any actions?!

0 commit comments

Comments
 (0)