mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-24 19:18:44 +00:00
fill changelog and change BehaviourContext updates flow subscription mechanism
This commit is contained in:
parent
57122cc2f9
commit
86bd5eaa07
@ -7,6 +7,12 @@
|
||||
* `Ktor`: `2.3.10` -> `2.3.11`
|
||||
* `MicroUtils`: `0.20.45` -> `0.20.52`
|
||||
* `KSLog`: `1.3.3` -> `1.3.4`
|
||||
* `BehaviourBuilder`:
|
||||
* `BehaviourContext` updates listening job will be weakly subscribed. It means that `BehaviourContext` scope will
|
||||
not be prevented from cancelling by this job anymore
|
||||
* `BehaviourContext.doInContext` will not stop automatically current `BehaviourContext` job anymore
|
||||
* `BehaviourContext.createSubContextAndDoWithUpdatesFilter` will use `supervisorScope` instead of
|
||||
`LinkedSupervisorScope`. That will prevent scope leaking in runtime
|
||||
|
||||
## 14.0.1
|
||||
|
||||
|
@ -87,7 +87,7 @@ class DefaultBehaviourContext(
|
||||
} else {
|
||||
it
|
||||
}
|
||||
}.accumulatorFlow(scope)
|
||||
}.accumulatorFlow(WeakScope(scope))
|
||||
override val asUpdateReceiver: UpdateReceiver<Update> = additionalUpdatesSharedFlow::emit
|
||||
|
||||
override fun copy(
|
||||
|
Loading…
Reference in New Issue
Block a user