Skip to content

Commit

Permalink
Versioning 3.1 APIs (#540)
Browse files Browse the repository at this point in the history
_**READ BEFORE MERGING:** All PRs require approval by both Server AND
SDK teams before merging! This is why the number of required approvals
is "2" and not "1"--two reviewers from the same team is NOT sufficient.
If your PR is not approved by someone in BOTH teams, it may be summarily
reverted._

<!-- Describe what has changed in this PR -->
**What changed?**
- Renamed `DeploymentSeries` -> `WorkerDeployment` and `Deployment` ->
`WorkerDeploymentVersion`.
- Added the following experimental APIs:
  - ListWorkerDeployments
  - DescribeWorkerDeployment
  - DescribeWorkerDeploymentVersion
  - SetWorkerDeploymentCurrentVersion
  - SetWorkerDeploymentRampingVersion
  - UpdateWorkerVersionMetadata
  - DeleteWorkerDeployment
  - DeleteWorkerDeploymentVersion
- Deprecated the following experimental APIs:
  - DescribeDeployment
  - ListDeployments
  - GetDeploymentReachability
  - GetCurrentDeployment
  - SetCurrentDeployment

<!-- Tell your future self why have you made these changes -->
**Why?**
These are changes and improvements we made based on user feedback from
the previous iteration.

<!-- Are there any breaking changes on binary or code level? -->
**Breaking changes**
No breaking changes, the old APIs still work until cleaned up at a later
point with all other old Versioning APIs.

<!-- If this breaks the Server, please provide the Server PR to merge
right after this PR was merged. -->
**Server PR**
temporalio/temporal#7233

---------

Co-authored-by: Shivam <57200924+Shivs11@users.noreply.github.com>
Co-authored-by: Shahab Tajik <shahab@temporal.io>
Co-authored-by: ShahabT <shahab.tajik@temporal.io>
  • Loading branch information
4 people committed Feb 6, 2025
1 parent 092f3b1 commit 482fd2a
Show file tree
Hide file tree
Showing 22 changed files with 13,496 additions and 7,210 deletions.
1 change: 1 addition & 0 deletions common/v1/message.pb.go

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

222 changes: 222 additions & 0 deletions deployment/v1/message.go-helpers.pb.go

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

Loading

0 comments on commit 482fd2a

Please sign in to comment.