236 Commits

Author SHA1 Message Date
OpenCode Agent 6b9863ea7c Release v0.5.11 2026-09-07 10:42:03 +00:00
Simon Klee 0733b5382c runtime: support Bun 1.4 (#1400) 2026-09-04 21:09:49 +02:00
OpenCode Agent runtime f6673a04cc Release v0.5.10 2026-09-01 15:38:50 +00:00
OpenCode Agent runtime df2fc1594b Release v0.5.9 2026-08-27 23:00:22 +00:00
Simon Klee 21b0021742 Release v0.5.8 2026-08-24 15:03:23 +02:00
Simon Klee 5ec3f33e85 Release v0.5.7 2026-08-23 08:35:31 +02:00
Simon Klee c1ae55b4ec fix: pin Bun types to 1.3.14 2026-08-20 23:06:41 +02:00
Simon Klee b7b4a95f18 Release v0.5.6 2026-08-20 22:52:43 +02:00
Simon Klee fdf893d285 Release v0.5.5 2026-08-20 15:55:30 +02:00
Simon Klee 7f5b19b640 Release v0.5.4 2026-08-18 13:26:44 +02:00
Simon Klee 4067477dd8 docs: refactor website documentation (#1377) 2026-08-17 18:34:42 +02:00
Simon Klee 1500698af0 Release v0.5.3 2026-08-13 21:57:43 +02:00
Simon Klee 14b3d135a3 Release v0.5.2 2026-08-12 21:42:28 +02:00
Sebastian Herrlinger ad9a818d7a prepare release v0.5.1 2026-08-04 03:33:05 +02:00
Sebastian Herrlinger 1bc4d2a56e prepare release v0.5.0 2026-08-03 14:10:34 +02:00
Sebastian 078bb44862 feat(core): add native image rendering (#1283)
---------

Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-08-03 01:15:56 +02:00
Filip 23e4941065 fix(react): support Node ESM imports (#1316)
- use explicit `.js` specifiers for `react-reconciler/constants`


Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-08-02 20:37:29 +00:00
Simon Klee 0c8c4f7cff Release v0.4.5 2026-07-17 12:51:33 +02:00
Sebastian Herrlinger 9d7ad9fc9c prepare release v0.4.4 2026-07-16 20:51:25 +02:00
Simon Klee 6fb0b581c1 fix(react): correct useTimeline autoplay condition (#1268)
Closes #1243

Supersedes #1244
2026-07-15 12:30:29 +02:00
Simon Klee 5803b2cfa2 Release v0.4.3 2026-07-03 20:33:39 +02:00
Sebastian ff1fc35582 fix(core): identity-based child management, resolves duplicate-id culling corruption (#1224)
## Breaking

- `remove(id: string)` → `remove(child: BaseRenderable)` across all
renderables;
  strings throw at runtime. Look up via `getRenderable(id)` /
  `findDescendantById(id)` when needed (docs updated).

## Core

- All internal child bookkeeping uses object identity;
`renderableMapById` removed,
  ids remain as a pure query API (first match wins on duplicates)
- `remove` warns in dev when the object is not a child; ScrollBox routes
internal
parts (wrapper, scrollbars) by parentage so `destroy()` fully detaches
them
- TextNode reparenting hygiene in
`add`/`replace`/`insertBefore`/`children`
- `destroy()` no longer skips children (live-array iteration bug) and
clears
  z-index/pending-update state

## Renderer (zig)

- Frame output buffers grow on demand instead of dropping ANSI mid-frame
while
  still committing cells (the source of "stale cells never repainted")
- Failed growth reports `.failed` → forced full repaint; partial frames
are not
flushed; buffers shrink back after 64 small frames; `deinit` frees with
the
  owning allocator

## Frameworks

- react/solid reconcilers pass child references; react host config
tolerates
  teardown overlap (unmount during `renderer.destroy()`)
2026-07-03 16:24:36 +02:00
Simon Klee 4a247a0cfa feat(core): make Select selection indicator optional
Add showSelectionIndicator to hide the selected-item marker and reclaim
its two-column gutter. Preserve the existing default, restore it for
nullish framework updates, and document the new option.

Closes #1193
Refs #1192

Co-authored-by: leonid-shutov <leonid.shutov@hey.com>
2026-06-26 08:47:18 +02:00
Simon Klee 3e2d0aabeb Release v0.4.2 2026-06-24 08:52:39 +02:00
Sebastian Herrlinger b7e0bb9c3d prepare release v0.4.1 2026-06-11 20:38:31 +02:00
Simon Klee 71f759ead4 Release v0.4.0 2026-06-09 12:44:23 +02:00
Simon Klee a70f18026a core: port test suite and runtime to Node.js
The test suite was tightly coupled to Bun-specific APIs (bun:test,
Bun.sleep) making it impossible to validate behavior on other
runtimes. A module hook now rewrites bun:test imports for Node's
test runner, and fake clocks replace wall-clock delays so tests
run deterministically everywhere.

Fix FFI type mismatches and boolean normalization that caused
silent failures on non-Bun runtimes. Correct bundled asset
resolution so published packages load without a TypeScript loader.

Reorganize the example menu with themed sections, two-panel focus
management, and proper tree-sitter cleanup to prevent worker leaks.
2026-06-08 12:20:40 +02:00
Sebastian Herrlinger 9b216a58d9 prepare release v0.3.4 2026-06-07 21:37:17 +02:00
Simon Klee 3bf8146172 Release v0.3.3 2026-06-07 16:22:49 +02:00
Maksym Mokriakov 36cd379ce1 feat(box): add titleColor prop (#1122)
---------

Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
2026-06-04 18:12:16 +02:00
Sebastian Herrlinger e2a847d60a prepare release v0.3.2 2026-06-04 14:48:37 +02:00
Simon Klee 2d4de319c2 Release v0.3.1 2026-06-01 13:49:38 +02:00
Sebastian Herrlinger a677997458 prepare release v0.3.0 2026-05-28 17:23:01 +02:00
Sebastian Herrlinger 65ea483d87 prepare release v0.2.16 2026-05-27 00:08:58 +02:00
Sebastian Herrlinger f464acfcba prepare release v0.2.15 2026-05-20 15:18:01 +02:00
Filip ebd8c99d50 feat: qr code component (#1021)
---------

Co-authored-by: Simon Klee <hello@simonklee.dk>
Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
2026-05-20 15:16:26 +02:00
Sebastian Herrlinger a795ac32fb prepare release v0.2.14 2026-05-18 03:20:18 +02:00
Sebastian Herrlinger 560288d204 prepare release v0.2.13 2026-05-17 22:40:46 +02:00
Sebastian Herrlinger 8887c614ab prepare release v0.2.12 2026-05-16 03:33:15 +02:00
Sebastian Herrlinger a45f8bcaf4 prepare release v0.2.11 2026-05-16 02:42:23 +02:00
Simon Klee e1c483b2f9 Release v0.2.10 2026-05-14 10:44:47 +02:00
Sebastian Herrlinger 9ab593d370 prepare release v0.2.9 2026-05-13 22:09:44 +02:00
Sebastian Herrlinger 40ea4d9bb5 prepare release v0.2.8 2026-05-13 02:14:26 +02:00
Sebastian Herrlinger 8765e8d014 prepare release v0.2.7 2026-05-12 04:43:52 +02:00
Sebastian Herrlinger e6639597f0 prepare release v0.2.6 2026-05-09 01:07:29 +02:00
Simon Klee 09b771e64a Release v0.2.5 2026-05-08 09:39:18 +02:00
Sebastian Herrlinger cfceed1a7a prepare release v0.2.4 2026-05-07 16:28:52 +02:00
Sebastian Herrlinger 422c4f3047 prepare release v0.2.3 2026-05-06 03:53:21 +02:00
Sebastian 7aa65a022a refine keymap (#1025) 2026-05-06 03:42:24 +02:00
Matt Simpson 2267c2bdf8 upgrade react-reconciler to 0.33 and optimize host config (#1012)
## Summary

upgrades `react-reconciler` from 0.32 to 0.33 (react 19.2) and optimizes
the host config for lower commit latency.

**breaking:** minimum react version raised from 19.0 to 19.2. consumers
must `bun add react@latest` before upgrading.

## Changes

- upgrade `react-reconciler` 0.32 → 0.33, `scheduler` 0.26 → 0.27
- raise `react` peer dep to `>=19.2.0` across `@opentui/react` and
`@opentui/keymap`
- fix `createContainer` call signature for new
`onDefaultTransitionIndicator` param
- add `maySuspendCommitOnUpdate` / `maySuspendCommitInSyncRender` host
config methods
- fix `console.timeStamp` crash from react 19.2 performance tracks (core
+ react)
- remove redundant `requestRender()` from commit methods (setters
already handle it)
- enable `supportsMicrotasks` / `scheduleMicrotask: queueMicrotask`
- enable `shouldAttemptEagerTransition` for lower transition latency
- add module declaration for `react-reconciler/constants`
- remove stale `@ts-expect-error` directives where 0.33 types improved
2026-05-04 02:57:22 +02:00