mirror of
https://github.com/Sysbot-org/tgscraper.git
synced 2024-11-23 12:06:48 +01:00
Added dev dependencies and bot API 6.0 support
This commit is contained in:
parent
b63c45b5a4
commit
18cfbe017b
@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [4.0.1] - 2022-04-16
|
||||||
|
### Added
|
||||||
|
- Support for bot API 6.0.0
|
||||||
|
|
||||||
## [4.0.0] - 2022-04-15
|
## [4.0.0] - 2022-04-15
|
||||||
### Added
|
### Added
|
||||||
- Support for bot API 5.6.0 and 5.7.0
|
- Support for bot API 5.6.0 and 5.7.0
|
||||||
@ -165,7 +169,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Fixed
|
### Fixed
|
||||||
- The parser is now more reliable, it no longer needs to be updated at every bot API release!
|
- The parser is now more reliable, it no longer needs to be updated at every bot API release!
|
||||||
|
|
||||||
[Unreleased]: https://github.com/Sysbot-org/tgscraper/compare/4.0...HEAD
|
[Unreleased]: https://github.com/Sysbot-org/tgscraper/compare/4.0.1...HEAD
|
||||||
|
[4.0.0]: https://github.com/Sysbot-org/tgscraper/compare/4.0...4.0.1
|
||||||
[4.0.0]: https://github.com/Sysbot-org/tgscraper/compare/3.0.3...4.0
|
[4.0.0]: https://github.com/Sysbot-org/tgscraper/compare/3.0.3...4.0
|
||||||
[3.0.3]: https://github.com/Sysbot-org/tgscraper/compare/3.0.2...3.0.3
|
[3.0.3]: https://github.com/Sysbot-org/tgscraper/compare/3.0.2...3.0.3
|
||||||
[3.0.2]: https://github.com/Sysbot-org/tgscraper/compare/3.0.1...3.0.2
|
[3.0.2]: https://github.com/Sysbot-org/tgscraper/compare/3.0.1...3.0.2
|
||||||
|
@ -13,6 +13,11 @@
|
|||||||
"symfony/yaml": "^6.0",
|
"symfony/yaml": "^6.0",
|
||||||
"voku/simple_html_dom": "^4.7"
|
"voku/simple_html_dom": "^4.7"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^9.5",
|
||||||
|
"phpstan/phpstan": "^1.2",
|
||||||
|
"vimeo/psalm": "^4.15"
|
||||||
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"sysbot/tgscraper-cache": "To speed up schema fetching and generation."
|
"sysbot/tgscraper-cache": "To speed up schema fetching and generation."
|
||||||
},
|
},
|
||||||
|
@ -7,7 +7,6 @@ use Exception;
|
|||||||
use GuzzleHttp\Client;
|
use GuzzleHttp\Client;
|
||||||
use GuzzleHttp\Exception\GuzzleException;
|
use GuzzleHttp\Exception\GuzzleException;
|
||||||
use InvalidArgumentException;
|
use InvalidArgumentException;
|
||||||
use JetBrains\PhpStorm\ArrayShape;
|
|
||||||
use OutOfBoundsException;
|
use OutOfBoundsException;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use RuntimeException;
|
use RuntimeException;
|
||||||
|
@ -42,8 +42,9 @@ class Versions
|
|||||||
public const V550 = '5.5.0';
|
public const V550 = '5.5.0';
|
||||||
public const V560 = '5.6.0';
|
public const V560 = '5.6.0';
|
||||||
public const V570 = '5.7.0';
|
public const V570 = '5.7.0';
|
||||||
|
public const V600 = '6.0.0';
|
||||||
public const LATEST = 'latest';
|
public const LATEST = 'latest';
|
||||||
public const STABLE = self::V570;
|
public const STABLE = self::V600;
|
||||||
|
|
||||||
public const URLS = [
|
public const URLS = [
|
||||||
self::V100 => 'https://web.archive.org/web/20150714025308id_/https://core.telegram.org/bots/api/',
|
self::V100 => 'https://web.archive.org/web/20150714025308id_/https://core.telegram.org/bots/api/',
|
||||||
@ -84,6 +85,7 @@ class Versions
|
|||||||
self::V550 => 'https://web.archive.org/web/20211211002657id_/https://core.telegram.org/bots/api',
|
self::V550 => 'https://web.archive.org/web/20211211002657id_/https://core.telegram.org/bots/api',
|
||||||
self::V560 => 'https://web.archive.org/web/20220105131529id_/https://core.telegram.org/bots/api',
|
self::V560 => 'https://web.archive.org/web/20220105131529id_/https://core.telegram.org/bots/api',
|
||||||
self::V570 => 'https://web.archive.org/web/20220206103922id_/https://core.telegram.org/bots/api',
|
self::V570 => 'https://web.archive.org/web/20220206103922id_/https://core.telegram.org/bots/api',
|
||||||
|
self::V600 => 'https://web.archive.org/web/20220416143511id_/https://core.telegram.org/bots/api',
|
||||||
self::LATEST => 'https://core.telegram.org/bots/api'
|
self::LATEST => 'https://core.telegram.org/bots/api'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user