TLS Automatically Enabled When API Key Provided
When creating a Client, specifying the api_key option will now automatically enable TLS. Users that wish to use an API Key without TLS enabled must explicitly pass tls=False when creating their client. See Client.connect for a detailed description of configuration options and behavior.
Highlights
- Core was upgraded from 45b1d7e to b5a473d.
- Advanced users may specify the environment variable
TEMPORAL_POLL_SHUTDOWN_INTERRUPT_WAIT_MSto specify a wait time before interrupting polls during shutdown. - Loosened dependency ceiling for OpenAI Agents SDK to <= 0.7
Bug Fixes
Client.config()andWorker.config()now properly return a copy of the config passed during creation instead of the "active" config that may have been modified. Users that wish to get a copy of the config currently in use may passactive_config=Trueto both methods.
Breaking changes
- TLS will automatically be enabled when
api_keyis specified. - The type for
nexus_task_exectuoroption forWorkerwas narrowed fromconcurrent.futures.Executortoconcurrent.futures.ThreadPoolExecutor. - The unused arguments
static_summaryandstatic_detailsoptions inClient.create_schedulehave been removed. - Dynamic Handlers now use
collections.abc.Sequenceinstead oftyping.Sequencefor their third argument. - Types that were deprecated as of Python 3.9 have been updated to use the recommended alternative for Python 3.10+.
Specific Changes
2025-12-02 - 27096aa - Store initial configuration and provide it in config() by default (#1226)
2025-12-02 - cc19379 - 💥 Enable TLS if api key provided (#1229)
2025-12-03 - 90dda94 - Add retrying of workflow validation errors only on python 3.10 (#1223)
2025-12-03 - a48cece - Support RequestIdReference in Nexus Links (#1228)
2025-12-04 - 3400d8c - Remove file exclusions for pyright (#1235)
2025-12-04 - 96e2dab - Doc fixes (#1241)
2025-12-08 - 4439675 - Update for 3.10 best practices (#1236)
2025-12-08 - 6a3385b - upload nightly tps metrics to s3 (#1242)
2025-12-08 - 89fb17f - 💥 Nexus MetricMeter Support (#1233)
2025-12-09 - fd17cdf - 💥 Remove unused metadata from client.create_schedule. Ensure WorkflowHistoryEventAsyncIterator.fetch_next_page uses the provided page_size override when called (#1247)
2025-12-10 - 8ac0a9e - Install built wheel directly in build-binaries (#1245)
2025-12-10 - b0adaae - Nexus interceptors (#1218)
2025-12-16 - 7cfc65b - Update core (#1253)
2025-12-17 - c5eb6e2 - Replace WorkflowIdReusePolicy.TerminateExisting by WorkflowIdConflictPolicy (#1243)
2025-12-18 - 1f9e315 - Update dependency ceiling for OpenAI agents (#1256)