Skip to content

Commit 488fe5b

Browse files
chore: release v0.1.0
1 parent f810e17 commit 488fe5b

4 files changed

Lines changed: 40 additions & 44 deletions

File tree

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@latest/schema.json",
3-
"changelog": ["@changesets/changelog-github", { "repo": "SyntropyLabs/react-web-speech" }],
3+
"changelog": "@changesets/cli/changelog",
44
"commit": false,
55
"fixed": [],
66
"linked": [],

.changeset/initial-release.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# @syntropy-labs/react-web-speech
2+
3+
## 0.1.0
4+
5+
### Minor Changes
6+
7+
- f810e17: ## 🎉 Initial Release (v0.1.0)
8+
9+
React hooks for the Web Speech API with first-class DX.
10+
11+
### Features
12+
- **`useSpeechInput`** — Primary hook for speech-to-text
13+
- Permission state management (`prompt`, `granted`, `denied`)
14+
- Auto-silence detection with configurable timeout
15+
- Auto-restart on network errors
16+
- Real-time interim results
17+
- Full TypeScript support
18+
- **`useSpeechInputWithCursor`** — Extended hook with cursor-aware insertion
19+
- Insert transcribed text at cursor position
20+
- Works with controlled inputs and textareas
21+
- `appendSpace` option for natural text flow
22+
- **Cursor Utilities** — Low-level cursor management
23+
- `insertTextAtCursor` — Insert text at cursor in controlled inputs
24+
- `getCursorPosition` / `setCursorPosition` — Cursor position helpers
25+
- `supportsSelection` — Check input type compatibility
26+
- **Browser Detection** — SSR-safe browser capability detection
27+
- `detectBrowserCapabilities` — Check Speech API support
28+
- `getBrowserCompatibilityWarning` — Browser-specific warnings
29+
- **Permission Helpers** — Mic permission management
30+
- `getMicPermissionState` — Query current permission
31+
- `requestMicPermission` — Trigger permission prompt
32+
- `subscribeToPermissionChanges` — Listen for changes
33+
34+
### Browser Support
35+
- Chrome/Chromium: ✅ Full support
36+
- Edge: ✅ Full support
37+
- Safari 14.1+: ⚠️ Partial (webkit prefix)
38+
- Firefox: ❌ Not supported (Web Speech API unavailable)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syntropy-labs/react-web-speech",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"type": "module",
55
"description": "A React library for the Web Speech API with first-class DX: mic permissions, listening states, browser compatibility, and cursor-aware text insertion.",
66
"author": "SyntropyLabs",

0 commit comments

Comments
 (0)