Skip to content

Commit

Permalink
docs: Update CHANGELOG for release
Browse files Browse the repository at this point in the history
  • Loading branch information
empicano committed Aug 6, 2024
1 parent 7713377 commit a8d97a7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## Changed
## [2.3.0] - 2024-08-07

### Added

- Implement `len(client.messages)` to return number of messages in queue (@empicano in #323)

### Changed

- Update FastAPI docs to use dependency injection (@odie5533 in #321)

Expand Down
2 changes: 1 addition & 1 deletion docs/alongside-fastapi-and-co.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ This is a combination of some concepts addressed in more detail in other section
```

```{tip}
With Starlette you can yield the initialized client to [the lifespan's state](https://www.starlette.io/lifespan/) instead of using global variables.
With Starlette you can yield the initialized client to [the lifespan's state](https://www.starlette.io/lifespan/) instead of using global variables and dependency injection.
```
2 changes: 1 addition & 1 deletion docs/subscribing-to-a-topic.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ asyncio.run(main())
```

```{tip}
By default, the size of the queue is unlimited. You can set a limit through the client's `max_queued_incoming_messages` argument.
By default, the size of the queue is unlimited. You can set a limit through the client's `max_queued_incoming_messages` argument. `len(client.messages)` returns the current number of messages in the queue.
```

## Processing concurrently
Expand Down

0 comments on commit a8d97a7

Please sign in to comment.