Skip to content

Commit

Permalink
[version] new rc version 2.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
david-lev committed Oct 29, 2024
1 parent 55c483d commit f4e2a5f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@

> NOTE: pywa follows the [semver](https://semver.org/) versioning standard.
#### 2.0.0-rc.2 (2024-10-29) **Release Candidate**

#### 2.0.0-rc.1 (2024-10-27) **Release Candidate**
- [flows] rename `.data_key` and `.from_ref` to `.ref`
- [flows] allow pythonic conditionals in `If` component
- [api] fix media upload
- [utils] bump graph-api version to `21.0`

#### 2.0.0-rc.1 (2024-10-27)

- [handlers] fix `@WhatsApp.on_x(filters)` without kw
- [handlers] fix factory data-is-null check
Expand Down
2 changes: 2 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- FlowRequest: Decrypt media directly from FlowRequest using `.decrypt_media(key, index)`.
- Client: The client can run without a token but won’t allow API operations (only webhook listening).
- SentMessage: The `SentMessage` object returned by `send_message`, `send_image`, etc., contains the message ID and allows to act on the sent message with methods like `reply_x`, `wait_for_x` etc.
- Flows: Create conditionals for `If` by using python's operators like `==`, `!=`, `>`, `<`, `>=`, `<=` etc.

### Breaking changes

Expand All @@ -30,6 +31,7 @@
- Server: The function signature `webhook_update_handler` that used to pass updates manually to the server has been changed.
- Deprecated Argument Removal: Deprecated arguments such as `keyboard` and `body` have been removed.
- Client: The `continue_handling` param is now set to `False` by default. so if update is handled, it will not be passed to the next handler unless you set it to `True` or call `update.continue_handling()` in the handler.
- Flows: The `.data_key` and `.from_ref` of the flowjson components renamed to `.ref`.

### Migration steps

Expand Down
2 changes: 1 addition & 1 deletion pywa/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
from pywa.client import WhatsApp
from pywa.utils import Version

__version__ = "2.0.0-rc.1"
__version__ = "2.0.0-rc.2"
__author__ = "David Lev"
__license__ = "MIT"

0 comments on commit f4e2a5f

Please sign in to comment.