Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chatkit/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ class Checkbox(WidgetComponentBase):
"""The name of the form control field used when submitting forms."""
label: str | None = None
"""Optional label text rendered next to the checkbox."""
defaultChecked: str | None = None
defaultChecked: bool | None = None
"""The initial checked state of the checkbox."""
onChangeAction: ActionConfig | None = None
"""Action dispatched when the checked state changes."""
Expand Down
9 changes: 9 additions & 0 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ We will increment patch versions for non-breaking changes:

## Breaking change changelog

### 1.3.0

- Fixed the type for the `defaultChecked` property of `Checkbox` widgets, updating it from `string` to `bool`.

### 1.2.0

- Updated `agents.stream_agent_response` to add annotation parts as they are received rather than adding all the annotations at the end after the response is completed.
- Added support for rendering `container_file_citation`.

### 1.1.0

- `CustomSummary`, `CustomTask`, and `EntitySource` types have been updated to restrict `icon` to `IconName`.
Expand Down
2 changes: 1 addition & 1 deletion docs/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ Checkbox input component.
| `type` | `Checkbox` | 'Checkbox' |
| `name` | `str` | |
| `label` | `str | None` | None |
| `defaultChecked` | `str | None` | None |
| `defaultChecked` | `bool | None` | None |
| `onChangeAction` | `ActionConfig | None` | None |
| `disabled` | `bool | None` | None |
| `required` | `bool | None` | None |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openai-chatkit"
version = "1.2.0"
version = "1.3.0"
description = "A ChatKit backend SDK."
readme = "README.md"
requires-python = ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading