Skip to content

0.3.1 — mid-stream header crash fix / исправление краша при выходе из сессии

Choose a tag to compare

@cfyz1297 cfyz1297 released this 06 Nov 10:49
· 112 commits to main since this release

English

0.3.1 — no crash when leaving a session mid-stream.

  • Fixed the native crash (react-native-screens, "child already has a parent") that could happen when you left a session while it was still streaming. The session header now applies its options through navigation.setOptions in an effect, so it updates only when the visible data changes — title, folder badge, context ring, theme. Ported from upstream v0.4.17.
  • Added a regression test that pins the header wiring (666 tests total).

Installs over 0.3.0. Signed with the same key as 0.2.20–0.3.0.

Русский

0.3.1 — нет краша при выходе из сессии во время стрима.

  • Исправлен нативный краш (react-native-screens, «child already has a parent»), который мог случиться при выходе из сессии, пока она ещё печатала ответ. Заголовок сессии теперь применяет опции через navigation.setOptions в эффекте и обновляется только при изменении видимых данных — названия, бейджа папки, кольца контекста, темы. Порт из апстрима v0.4.17.
  • Добавлен регрессионный тест на разводку заголовка (всего 666 тестов).

Ставится поверх 0.3.0. Подписан тем же ключом, что 0.2.20–0.3.0.


⚠️ Устарел — используйте v0.3.2. / Outdated — use v0.3.2.