All notable changes to nutgram
will be documented in this file.
- allow override low level call by @SergiX44 in nutgram#193
Full Changelog: https://github.com/nutgram/nutgram/compare/3.7.2...3.7.3
- switch to laravel serializable closure by @SergiX44 in nutgram#192
Full Changelog: https://github.com/nutgram/nutgram/compare/3.7.1...3.7.2
- ability to retrieve the current conversation from outside the context by @SergiX44 in nutgram#191
Full Changelog: https://github.com/nutgram/nutgram/compare/3.7.0...3.7.1
- move wordwrap to helper class by @SergiX44 in nutgram#187
- bot api 6.2 by @SergiX44 in nutgram#189
Full Changelog: https://github.com/nutgram/nutgram/compare/3.6.0...3.7.0
- Message chunk support by @Lukasss93 in nutgram#174
- Fix null token by @miki131 in nutgram#177
- Serializable instance by @SergiX44 in nutgram#172
- Fixed class name and namespace issue when creating command by @mkhab7 in nutgram#180
- Add nutgram:ide:generate command by @Lukasss93 in nutgram#181
- Raise psalm error level by @SergiX44 in nutgram#185
- support bot_id cache by @SergiX44 in nutgram#184
- @miki131 made their first contribution in nutgram#177
Full Changelog: https://github.com/nutgram/nutgram/compare/3.5.1...3.6.0
- Fix wrong
$clientOpt
merge in laravel mixins
- Add Nutgram mixins for Laravel
- Add new Laravel command:
nutgram:make:command
- Add new Laravel command:
nutgram:make:conversation
- Add new Laravel command:
nutgram:make:conversation
- Add new Laravel command:
nutgram:make:handler
- Add new Laravel command:
nutgram:make:middleware
- Support for bot api 6.1
- Add
local_path_transformer
config key
- Fixed
downloadFile
method when "is_local" config key istrue
- Fixed missing phpdoc on
jsonSerialize
methods
- The
explanation_entities
field mapping is now optional.
- Support for Telegram test environment
- Minor additions and fixes
- Serialization issue on the types
- Code improvements
- Handling autowire of inline_message_id field
- Fixed missing nullable fields
- Fixed wrong phpdoc on BaseType trait
- Wrong json mapper namespace
- Added a way to disable error handlers
- Changed json mapper implementation
- Support for bot api 6.0
- Fix assertions with multipart requests
- Added
copy
method toMessage
type - Added
forward
method toMessage
type - Added a new Laravel command:
nutgram:list
- Added date format to
last_error_date
field innutgram:hook:info
command
- All types extend the
BaseType
class Nutgram
andBaseType
extends Macroable class- Added testing system
- Added helpers method to
Message
type:delete()
andeditText()
- Fixed wrong handler with "animation" message
- Webhook safe mode.
- Replace service container implementation.
- Dependency conflict on Laravel 9.
- Support for bot api 5.6/5.7.
- Support for bot api 5.5.
- Mapping issue with array of objects.
- Guzzle client options on multipart requests.
- 1.0 stable!
- Auto-inject callback_data for InlineMenus.
- Maximum connections options.
- By type exceptions handlers.
- Error with closing the menu.
- Fix invalid file_id
- InputFile object to upload files
- Method to return the full url of a file
- Fixed in memory streams uploads
- Fix ReplyKeyboardMarkup serialize
- Fix missing JsonSerializable to other keyboards
- Error with type conflict
- Error with type conflict
- Fixed nullable token on Laravel provider
- Error on laravel auto-discover
- Fixed namespaces
- Fixed missing documentation
- Fix wrong telegram.php route file
- Fix missing ip argument in nutgram:hook:set
- Refactor telegram types
- Fix wrong ChatMember mapping
- Updated documentation
- Improved Laravel integration
- Inline menu error when updating the same messages
- Reopen behaviour
- Added conversation menu
- Added default step to conversation
- Added
closing
method to conversation
- Added new laravel command:
nutgram:run
- Added new laravel command:
nutgram:register-commands
- Added new laravel command:
nutgram:hook:info
- Added new laravel command:
nutgram:hook:remove
- Added new laravel command:
nutgram:hook:set
- Added
isCommand
helper
- Code quality improvements
- Added support to command auto registration
- Added type validation to
onMessageType
method - Added type validation to
fallbackOn
method
- Code quality improvements
- Fix missing subtype support
- Update to Bot API 5.3
- Added
uploadStickerFile
method
- Update to Bot API 5.2
- Updated documentation
- Improved sending files
- Added missing user from
my_chat_member
andchat_member
types ingetUser
method
- Added
onMyChatMember
handler - Added
onChatMember
handler - Added
myChatMember
helper - Added
chatMember
helper
- Update to Bot API 5.1
- Updated documentation
- Updated documentation
- Fix check update type on resolveHandler method
- Added helper methods to create keyboards
- Implemented download method
- Added IoC on mapped objects
- Improved running mode
- Updated documentation and tests
- Allow non-class based conversations
- Added documentation
- Code quality improvements
- Implemented typed messages handlers
- Improved Laravel integration
- Make mapping fail safe
- Fixed send attachments
- Removed useless async call
- Fixed api error on polling mode
- Fixed typed handlers
- Fix type mapping
- Added method to get the current update
- Fix double call to the handler
- Allow null response on some methods
- Added some helpers methods
- Fix nullable conversion step
- Fix wrong methods return type
- Check null before fetch conversation
- Added missing methods
- Initial release