mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-27 02:57:13 +00:00
fill changelog and change BehaviourContext updates flow subscription mechanism
This commit is contained in:
parent
57122cc2f9
commit
86bd5eaa07
14
CHANGELOG.md
14
CHANGELOG.md
@ -3,10 +3,16 @@
|
||||
## 14.0.2
|
||||
|
||||
* `Version`:
|
||||
* `Coroutines`: `1.8.0` -> `1.8.1`
|
||||
* `Ktor`: `2.3.10` -> `2.3.11`
|
||||
* `MicroUtils`: `0.20.45` -> `0.20.52`
|
||||
* `KSLog`: `1.3.3` -> `1.3.4`
|
||||
* `Coroutines`: `1.8.0` -> `1.8.1`
|
||||
* `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