Skip to content

v1.0.0.rc-1

Latest
Compare
Choose a tag to compare
@Drednote Drednote released this 12 Jul 13:16
· 6 commits to master since this release

What's Changed

  • Breaking changes:
    • The scenario have been completely reworked.
    • ScenarioId - change type of id from Long to String
    • Scenario - change the algorithm of choosing scenario id. Already saved to BD scenarios won't be work after update.
    • ConclusivePostUpdateFilter changes the method names
    • HasRole annotation - change the package
  • Changes:
    • add getUserAssociatedId method on UpdateRequest class
    • TelegramScope - add InheritableThreadLocal
    • add mono response and deprecated drednote.telegram.name parameter
    • Add TelegramResponseTypesResolver for more flexible processing responses. You can create beans of TelegramResponseTypesResolver to choose what type of TelegramResponse should be used to process the response.
    • Add TelegramResponseEnricher to propagate properties to TelegramResponse instances
    • Some internal changes of GenericTelegramResponse
    • Changes the logic in DefaultScenarioIdResolver
    • Some TelegramResponse implementations have been reworked
    • The code which choose the type of response moved to GenericTelegramResponse from ResponseSetter
    • Add mongodb adapters for Scenario, ScenarioId and UpdateInbox

Full Changelog: v0.4.0...v1.0.0.rc-1