Skip to content

Releases: IlyaSemenov/grammy-scenes

v10.2.0

06 Sep 11:54
Compare
Choose a tag to compare

10.2.0 (2023-09-06)

Features

  • access composer with ctx.scenes.composer (e782037)

v10.1.0

01 May 12:15
Compare
Choose a tag to compare

10.1.0 (2023-05-01)

Features

v10.0.0

30 Apr 10:46
Compare
Choose a tag to compare

10.0.0 (2023-04-30)

  • feat!: store step label instead of position (7b8ffb1), closes #13
  • feat!: reintroduce scene.step() (e7ad523)

BREAKING CHANGES

  • Store step label instead of step position in session for reliability.
  • This reintroduces scene.step() as a building block for scenes.

Unlike scene.use(), the new naming explicitly denotes that scenes/steps
are not "normal" composers and handle next() differently.

The scene runner now ignores next() and always proceeds to the next
step.

v9.0.0

30 Apr 07:25
Compare
Choose a tag to compare

9.0.0 (2023-04-30)

  • refactor!: rename scenes.resume as notify (fix #3) (92b3b8a), closes #3

BREAKING CHANGES

  • Replace ctx.scenes.resume() with ctx.scenes.notify()
    Avoid naming clash with ctx.scene.resume()

v8.0.0

30 Apr 05:35
Compare
Choose a tag to compare

8.0.0 (2023-04-30)

Bug Fixes

  • lax deps semver (f8aab93)

  • refactor!: stop abusing composer architecture (#1) (84a1082), closes #1

  • feat!: convert to ES module (9e7564f)

BREAKING CHANGES

    • Scene doesn't extend Composer anymore
  • remove monkey patches
  • add Composer2 and StepComposer with special methods
  • remove undocumented SceneManager methods (wait, mustResume)
  • prefix private props/methods with _
  • package.json type is now module with separate cjs export

v7.3.3

30 Apr 04:54
Compare
Choose a tag to compare

7.3.3 (2023-04-30)

Bug Fixes

  • revert accidental minor release with breaking changes (512fc6b)

v7.3.2

30 Apr 04:31
Compare
Choose a tag to compare

7.3.2 (2023-04-30)

Bug Fixes

v7.3.1

29 Apr 07:14
Compare
Choose a tag to compare

7.3.1 (2023-04-29)

Bug Fixes

  • don't crash on grammy multi sessions (#11) (9327dc2)

v7.3.0

24 May 12:31
Compare
Choose a tag to compare

7.3.0 (2022-05-24)

Features

v7.2.1

11 Mar 06:10
Compare
Choose a tag to compare

7.2.1 (2022-03-11)

Bug Fixes

  • add missing scene.exit() implementation (7ce0ea2)