Releases: augustjune/canoe
Releases · augustjune/canoe
v0.6.0
0.5.1
Minor release, backward compatible with 0.5.0
version.
v0.5.0
General 0.5.0 release.
This release is not binary compatible with 0.4.x versions.
Improvements
- Upgraded to Telegram Bot API v4.9
- Added timeout support for scenarios using
within
method. - Provided
Bracket[Scenario[F, *], Throwable]
instance. - Fixed an issue with the default host for a webhook mode.
- Provided bot constructor consuming a stream of updates.
- Dependencies, scala, and scalajs version upgrades.
- Minor improvements.
API changes
Bracket
instance replacingMonadError
instance forScenario
.within
method is added toScenario
API.markdown
method onTextContent
uses updatedMarkdownV2
parse mode. In order to use legacyMarkdown
mode, usemarkdownOld
method instead.
v0.5.0-RC1
v0.5.0-RC1
v0.4.1
Dependencies version update
v0.4.0
General 0.4.0
release.
This release is not binary compatible with 0.3.x
versions.
Improvements:
- Added more tests for core library concepts
- Added new bot examples
- Improved
Scenario
API - Restricted access to internal classes
Main API changes:
start
andnext
methods inScenario
companion object are replaced withexpect
method in the same objectpure
method inScenario
companion object now uses partially applied type technique, which implies that you only have to specify effect type whenever compiler cannot infer the whole type (e.g.Scenario.pure[F, Int](12)
is nowScenario.pure[F](12)
)cancelOn
andcancelWith
methods inScenario
class are replaced with correspondingstopOn
andstopWith
methods in the same class
v0.3.1
This release is binary compatible with 0.3.0
version.
Main improvements:
- Gracefully handling updates that were unsuccessfully decoded.
- Improved the way scenarios are executed: each scenario execution is not blocked by any other scenario execution, meaning that the same scenario may be invoked many times before it has been completed.
v0.3.0
v0.2.0
General 0.2.0
release.
This release is not binary or source compatible with the previous 0.1.2
version since it contains small changes to the Telegram models.
Main improvements:
- Updated all Telegram models to be coherent with the current Telegram Bot API (v4.4)
- Provided error handling
- Added logging
- Encapsulated internal logic
- Improved API syntax
- Improved documentation
v0.1.2
Main improvements:
- provided webhooks support
- added methods syntax
- added missing type of Telegram message:
ChatGroupCreated