Skip to content

Update samples#272

Merged
xSAVIKx merged 6 commits intov2from
v2-samples-update-2
Mar 14, 2026
Merged

Update samples#272
xSAVIKx merged 6 commits intov2from
v2-samples-update-2

Conversation

@xSAVIKx
Copy link
Member

@xSAVIKx xSAVIKx commented Mar 14, 2026

Changes

Updates samples to use v2 SDK

  • Tests pass
  • Appropriate changes to README are included in PR

xSAVIKx added 5 commits March 12, 2026 21:19
- Migrated to `cloudevents` 2.0.0a1 including updated imports and APIs.
- Replaced deprecated `from_http`, `to_binary`, and `to_structured` with the new `from_http_event`, `to_binary_event`, and `to_structured_event`.
- Added required `id` and `specversion` attributes to Cloudevents examples.
- Updated README and client script for consistency and improved usability.

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
- Updated server, client, and test code to use the updated `cloudevents` 2.0.0a1 API with `from_http_event`, `to_binary_event`, and `to_structured_event`.
- Included required `id` and `specversion` attributes in Cloudevent examples.
- Synchronized README and scripts for better clarity and usability.
- Pinned `cloudevents==2.0.0a1` in `requirements.txt`.

Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
@xSAVIKx xSAVIKx self-assigned this Mar 14, 2026
Signed-off-by: Yurii Serhiichuk <savik.ne@gmail.com>
@xSAVIKx xSAVIKx merged commit a35def5 into v2 Mar 14, 2026
35 checks passed
@xSAVIKx xSAVIKx deleted the v2-samples-update-2 branch March 14, 2026 14:34
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