Skip to content

1.10.0

Latest
Compare
Choose a tag to compare
@dandavison dandavison released this 18 Feb 17:38
· 1 commit to main since this release
ff480f0

Get from PyPI

Highlights

Python 3.13 is officially supported

Python 3.13 is now officially supported and Python 3.8 is no longer supported.

Pydantic is officially supported

The SDK now contains a data converter that supports conversion of all types supported by Pydantic to and from JSON. In addition to Pydantic models, these include all json.dump-able types, various non-json.dump-able standard library types such as dataclasses, types from the datetime module, sets, UUID, etc, and custom types composed of any of these. Usage:

from temporalio.client import Client
from temporalio.contrib.pydantic import pydantic_data_converter

client = Client(data_converter=pydantic_data_converter, ...)

This data converter supports Pydantic v2 only.

See https://github.com/temporalio/sdk-python?tab=readme-ov-file#data-conversion for details

Specific Changes

2025-01-10 - 7af48a7 - Drop Python 3.8, add 3.13 (#694)
2025-01-15 - 7665bf5 - Useful event ordering tests from discarded changes to event loop (#729)
2025-01-16 - 1a68b58 - More precise logging (#734)
2025-01-16 - bd44efa - Respond to server changes to Update error (#735)
2025-01-17 - 9da5e69 - Use non-test name for workflow classes (#736)
2025-01-17 - 9e34301 - Add tests of asyncio.Lock and asyncio.Semaphore usage (#567)
2025-01-18 - effc857 - Run-time check for update validator signature (#723)
2025-01-21 - 154aab9 - Fix issue when failing to convert failure (#727)
2025-01-21 - fe46e1a - Remove "experimental" notices from update APIs (#707)
2025-01-22 - 1d89d75 - Fix some lint errors (#744)
2025-01-23 - 150878f - Do not include self parameter (#746)
2025-01-23 - 45aa3a2 - Expose http option for OTLP (#741)
2025-01-23 - 4892714 - Support passing through all modules (#737)
2025-01-24 - 044b1de - Add workflow.instance() API for obtaining current workflow instance (#739)
2025-01-24 - 07d3567 - chore: remove Python < 3.9 support (#728) (#730)
2025-01-25 - 35a0e6c - Update core (#745)
2025-01-27 - 51f4b66 - Update schedule search attributes (#753)
2025-02-07 - acde42c - Accept search attributes for dev server (#562)
2025-02-13 - 77a1502 - Remove experimental warnings from stable APIs (#766)
2025-02-13 - b3f3662 - Pydantic data converter (#757)
2025-02-14 - 8333900 - Conditionally whitelist datetime.datetime and add tests (#767)