Skip to content

Releases: augustjune/canoe

v0.6.0

05 May 15:22
6c805a1
Compare
Choose a tag to compare

General 0.6.0 release.
This release introduces support for Scala 3 and cats-effect 3.
Due to the upstream changes, this release is not binary compatible with 0.5.x but the behavior and expected properties (i.e. type class instances) of Scenario were unchanged.

0.5.1

20 Nov 12:13
87f5505
Compare
Choose a tag to compare

Minor release, backward compatible with 0.5.0 version.

v0.5.0

08 Sep 17:56
22e0159
Compare
Choose a tag to compare

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 replacing MonadError instance for Scenario.
  • within method is added to Scenario API.
  • markdown method on TextContent uses updated MarkdownV2 parse mode. In order to use legacy Markdown mode, use markdownOld method instead.

v0.5.0-RC1

30 Jul 10:49
Compare
Choose a tag to compare
v0.5.0-RC1

v0.4.1

23 Mar 10:32
Compare
Choose a tag to compare

Dependencies version update

v0.4.0

10 Dec 07:41
Compare
Choose a tag to compare

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 and next methods in Scenario companion object are replaced with expect method in the same object
  • pure method in Scenario 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 now Scenario.pure[F](12))
  • cancelOn and cancelWith methods in Scenario class are replaced with corresponding stopOn and stopWith methods in the same class

v0.3.1

02 Dec 09:55
Compare
Choose a tag to compare

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

12 Nov 23:00
44a6cbf
Compare
Choose a tag to compare

General 0.3.0 release.
This release is not binary or source compatible with the previous 0.2.0 version.

Main improvements:

  • Added support for Scala.js
  • Improved error handling
  • Scenario serves MonadError instance for any F
  • Fixed some serialization bugs

v0.2.0

16 Oct 08:34
Compare
Choose a tag to compare

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

26 Sep 20:25
Compare
Choose a tag to compare

Main improvements:

  • provided webhooks support
  • added methods syntax
  • added missing type of Telegram message: ChatGroupCreated