Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update core and release version #314

Merged
merged 3 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "temporalio"
version = "1.1.0"
version = "1.2.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do a minor instead of a patch?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it due to behavior changes in Core?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, for the SDK releases I've found always assuming minor except for emergency hotfixes makes for a clearer stream of releases. Last release was over two months ago, so this can be a standard release IMO (there just aren't enough features to have a regular release cadence). But for the pure definition of semver, this and the other things done in the last two months are technically a patch. If a minor is bothersome enough I can change it.

description = "Temporal.io Python SDK"
license = "MIT"
authors = ["Temporal Technologies Inc <[email protected]>"]
Expand Down
4 changes: 4 additions & 0 deletions temporalio/api/common/v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
Payloads,
RetryPolicy,
SearchAttributes,
WorkerVersionCapabilities,
WorkerVersionStamp,
WorkflowExecution,
WorkflowType,
)
Expand All @@ -24,6 +26,8 @@
"Payloads",
"RetryPolicy",
"SearchAttributes",
"WorkerVersionCapabilities",
"WorkerVersionStamp",
"WorkflowExecution",
"WorkflowType",
]
32 changes: 31 additions & 1 deletion temporalio/api/common/v1/message_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions temporalio/api/common/v1/message_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -437,3 +437,50 @@ class MeteringMetadata(google.protobuf.message.Message):
) -> None: ...

global___MeteringMetadata = MeteringMetadata

class WorkerVersionStamp(google.protobuf.message.Message):
"""Identifies the version(s) of a worker that processed a task"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

BUILD_ID_FIELD_NUMBER: builtins.int
BUNDLE_ID_FIELD_NUMBER: builtins.int
build_id: builtins.str
"""An opaque whole-worker identifier"""
bundle_id: builtins.str
"""Set if the worker used a dynamically loadable bundle to process
the task. The bundle could be a WASM blob, JS bundle, etc.
"""
def __init__(
self,
*,
build_id: builtins.str = ...,
bundle_id: builtins.str = ...,
) -> None: ...
def ClearField(
self,
field_name: typing_extensions.Literal[
"build_id", b"build_id", "bundle_id", b"bundle_id"
],
) -> None: ...

global___WorkerVersionStamp = WorkerVersionStamp

class WorkerVersionCapabilities(google.protobuf.message.Message):
"""Identifies the version(s) that a worker is compatible with when polling or identifying itself"""

DESCRIPTOR: google.protobuf.descriptor.Descriptor

BUILD_ID_FIELD_NUMBER: builtins.int
build_id: builtins.str
"""An opaque whole-worker identifier"""
def __init__(
self,
*,
build_id: builtins.str = ...,
) -> None: ...
def ClearField(
self, field_name: typing_extensions.Literal["build_id", b"build_id"]
) -> None: ...

global___WorkerVersionCapabilities = WorkerVersionCapabilities
9 changes: 5 additions & 4 deletions temporalio/api/enums/v1/failed_cause_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions temporalio/api/enums/v1/failed_cause_pb2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ class _SignalExternalWorkflowExecutionFailedCauseEnumTypeWrapper(
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 0
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 1
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: _SignalExternalWorkflowExecutionFailedCause.ValueType # 2
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: _SignalExternalWorkflowExecutionFailedCause.ValueType # 3
"""Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """

class SignalExternalWorkflowExecutionFailedCause(
_SignalExternalWorkflowExecutionFailedCause,
Expand All @@ -258,6 +260,8 @@ class SignalExternalWorkflowExecutionFailedCause(
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_UNSPECIFIED: SignalExternalWorkflowExecutionFailedCause.ValueType # 0
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_EXTERNAL_WORKFLOW_EXECUTION_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 1
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_NAMESPACE_NOT_FOUND: SignalExternalWorkflowExecutionFailedCause.ValueType # 2
SIGNAL_EXTERNAL_WORKFLOW_EXECUTION_FAILED_CAUSE_SIGNAL_COUNT_LIMIT_EXCEEDED: SignalExternalWorkflowExecutionFailedCause.ValueType # 3
"""Signal count limit is per workflow and controlled by server dynamic config "history.maximumSignalsPerExecution" """
global___SignalExternalWorkflowExecutionFailedCause = (
SignalExternalWorkflowExecutionFailedCause
)
Expand Down
100 changes: 50 additions & 50 deletions temporalio/api/history/v1/message_pb2.py

Large diffs are not rendered by default.

Loading