Skip to content

Commit

Permalink
Add notice about a breaking change (#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomplus authored Nov 23, 2024
1 parent 1978af8 commit 5e5de93
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# v31.1.0

### Breaking changes:

* Websocket connect method returns an asynchronous context manager instead of a websocket ([#328](https://github.com/tomplus/kubernetes_asyncio/pull/328), [@olivier-matz-6wind](https://github.com/olivier-matz-6wind))

Example:
```python
websocket = await core_v1_ws.connect_get_namespaced_pod_exec(...)
# now context manager is returned which can be used in this way:
async with websocket as ws:
...
await ws.send_bytes(...)
```

### Changes:

* Added `load_config` function ([#331](https://github.com/tomplus/kubernetes_asyncio/pull/331), [@james-mchugh](https://github.com/james-mchugh))
* Watch() retries 410 errors ([#327](https://github.com/tomplus/kubernetes_asyncio/pull/327), [@tomplus](https://github.com/tomplus))
* Pod exec enhancements ([#328](https://github.com/tomplus/kubernetes_asyncio/pull/328), [@olivier-matz-6wind](https://github.com/olivier-matz-6wind))
Expand Down

0 comments on commit 5e5de93

Please sign in to comment.