Improvements
- Add code highlighting support.
- Add `highlighter` parameter for `render_frames_into`, `render_exception` into.
- Repeated exception frames are now grouped.
- Add `render_frames_into_async`.
- Add `render_exception_into_async`.
- Add `write_exception_async`.
- Add `write_exception_maybe_async`.
- `Task.get_stack` now supports async generator correctly.
- Add `write_exception_async`.
- Add `set_default_trace_writer_highlighter`.
- Add `set_trace_writer_highlighter`.
- Add `get_default_trace_writer_highlighter`.
- Render syntax errors correctly.
- Handle syntax errors correctly in console.
- Highlight consoles too!
Bug fixes
- `EventThread._accept_connection_task` now handles task cancellation correctly.
- `WebSocketServerProtocol.lifetime_handler` now handles task cancellation correctly.
- `WebSocketServerProtocol.handshake` now handles task cancellation correctly.
- `WebSocketCommonProtocol.transfer_data` now handles task cancellation correctly.
- `to_coroutine` dropped error on `python3.11`.
ext.asyncio
- `EventThread.call_exception_handler` wanted to render exception traceback when there was no exception.
Renames, Deprecation & Removals
- Deprecate `EventThread.render_exception_async`, use `write_exception_async` instead.
- Deprecate `EventThread.render_exception_maybe_async`, use `write_exception_maybe_async` instead.