Skip to main content
← Back to index page

2.0.0

alexsoft
antoniomadonna
autowp
ihoru
irazasyed
jonnywilliamson

Added

  • More doc blocks to the code.
  • New getFile() method & File Object - Thanks @jonnywilliamson (#39).
  • Channel Username Support.
  • Dependency Injection in Commands - Thanks @antoniomadonna (#53).
  • PHPUnit Tests - Thanks @antoniomadonna (#58).
  • Travis Config.
  • PHPUnit 4.8 Version to Support PHP5.5 Testing.
  • Git Attributes File.
  • Composer Config & Other Options.
  • Composer script test to make it easier to run phpunit by firing composer test.
  • Nitpick Config.
  • New removeCommand() & removeCommands() methods to the API & their Tests - Thanks @jonnywilliamson (#66).
  • New Remote Files Upload Support - (#42).
  • Laravel 5.2 Support.
  • New Message Object Properties - Thanks @jonnywilliamson (#75).
  • More PHPUnit Tests & Mocking 'Telegram Response' class - Thanks @jonnywilliamson (#76).
  • Added ability to change request timeout and connection timeout globally for all Telegram API requests - Thanks @ihoru (#81).

Changed

  • Methods' Params to Array, To support constant changes by Telegram - (#54) [BC].
  • Revise Doc Blocks.
  • Update Commands Class to Reflect Param Changes.
  • Update Help Command.
  • Refactor Command Magic Method Arguments.
  • Refactor Laravel Service Provider to Support DI.
  • Message Detecting methods to support Message object too - Thanks @jonnywilliamson (#37).
  • Switch to POST requests method to make API requests - Thanks @jonnywilliamson (#40).
  • Update Chat field change to new Chat Object in place of GroupChat Object - Thanks @jonnywilliamson (#46).
  • Improve mapRelatives to initialize inner properties - Thanks @alexsoft (#49).
  • Tests Namespace.
  • Tests to Autoload in Dev.
  • PHPUnit Tests Config.
  • Applied Scrutinizer's Best Practises & Other Fixes.
  • CS Fixes & Doc Block Updates - Thanks @jonnywilliamson (#72).
  • Get Updates & Process command enhancements to prevent errors - Thanks @autowp (#85) & (#88).
  • Library Documentation Rewritten for V2 - Thanks @jonnywilliamson (#89).

Fixed

  • ReplyWith Params Bug.
  • uploadFile Bug Opening Webhook URL.

Removed

  • Group Chat Object.