Skip to content

fix: 🌿 skip_validation:true to allow unknown messages back from the API#669

Merged
lukeocodes merged 11 commits intomainfrom
fern-bot/2026-02-24T12-24Z
Feb 24, 2026
Merged

fix: 🌿 skip_validation:true to allow unknown messages back from the API#669
lukeocodes merged 11 commits intomainfrom
fern-bot/2026-02-24T12-24Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Feb 24, 2026

This PR regenerates code to match the latest API Definition.

@fern-api fern-api bot requested a review from lukeocodes as a code owner February 24, 2026 12:24
@lukeocodes lukeocodes changed the title 🌿 Fern Regeneration -- February 24, 2026 fix: 🌿 skip_validation:true to allow unknown messages back from the API Feb 24, 2026
lukeocodes and others added 10 commits February 24, 2026 12:35
…t regen

- Set SDK version to 6.0.1 in pyproject.toml and client_wrapper.py
- Restore test_text_builder.py and test_transport.py deleted by Fern regen
- Comment out socket_client.py paths in .fernignore so Fern can regenerate them
This reverts commit 8aaf78a.
Catch Exception instead of (WebSocketException, JSONDecodeError) in
start_listening so non-websocket transports can emit errors properly.
…message tolerance

Replace parse_obj_as with construct_type in all socket clients so unknown
message types are silently coerced instead of raising ValidationError.
Also fix v2 listen example to actually send audio.
- Restore int types for speaker/channel/num_words (Fern changed to float)
- Restore Union[str, Sequence[str]] array params in listen v1/v2 clients
  and listen_v1redact type (Fern narrowed to str-only)
- Restore optional defaults on send methods across all 4 socket clients
  (send_finalize, send_close_stream, send_keep_alive, send_flush,
  send_clear, send_close)
- Protect all manually-fixed files in .fernignore
@lukeocodes lukeocodes merged commit 48354d2 into main Feb 24, 2026
14 checks passed
@lukeocodes lukeocodes deleted the fern-bot/2026-02-24T12-24Z branch February 24, 2026 13:46
lukeocodes pushed a commit that referenced this pull request Feb 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[6.0.1](v6.0.0...v6.0.1)
(2026-02-24)


### Bug Fixes

* 🌿 skip_validation:true to allow unknown messages back from the
API ([#669](#669))
([48354d2](48354d2))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant