<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/why-do-you-need-versioning-in-temporal--lhhpnorek" -->

---
title: Why do You Need Versioning in Temporal? | daily.dev
description: Temporal workflows can run for weeks, months, or years, making it likely that business logic will need updating before they complete. Without versioning,...
canonical: https://daily.dev/posts/why-do-you-need-versioning-in-temporal--lhhpnorek
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Why do You Need Versioning in Temporal? | daily.dev
og:description: Temporal workflows can run for weeks, months, or years, making it likely that business logic will need updating before they complete. Without versioning,...
og:url: https://daily.dev/posts/why-do-you-need-versioning-in-temporal--lhhpnorek
og:image: https://api.daily.dev/og/posts/lHHPnoREK.png
og:image:alt: Why do You Need Versioning in Temporal?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Why do You Need Versioning in Temporal?

**[Temporal](https://daily.dev/sources/temporal)** · 3 min read · 0 upvotes · 0 comments

## Summary

Temporal workflows can run for weeks, months, or years, making it likely that business logic will need updating before they complete. Without versioning, deploying code changes to running workflows causes non-deterministic errors — the worker reconstructs workflow state using updated code that conflicts with the existing event history. For example, reordering activities (e.g., charging a customer before shipping) breaks in-progress executions because the event history records the original order. Versioning solves this by allowing workflow code to safely evolve without breaking compatibility for executions already in progress. Only workflows that were running at the time of a code change are affected; completed or newly started ones are not.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=QXpeY6TryRQ>

## Similar posts on daily.dev

- [“This Can’t Possibly Work”: What I Learned at a Temporal.io Workshop](https://daily.dev/posts/this-can-t-possibly-work-what-i-learned-at-a-temporal-io-workshop-dit0ioyod) · Foojay.io · 0 upvotes · 0 comments
- [Durable Execution: Build reliable software in an unreliable world](https://daily.dev/posts/durable-execution-build-reliable-software-in-an-unreliable-world-2rmzujbwi) · The New Stack · 0 upvotes · 0 comments
- [Temporal Is to Your Code What a Database Is to Your Data](https://daily.dev/posts/temporal-is-to-your-code-what-a-database-is-to-your-data-ezgifjhua) · Foojay.io · 1 upvotes · 0 comments
- [Safe deployments with Temporal Worker Versioning on Kubernetes](https://daily.dev/posts/safe-deployments-with-temporal-worker-versioning-on-kubernetes-lnroxr8qh) · Temporal · 0 upvotes · 0 comments

---

Tags: [#distributed-systems](https://daily.dev/tags/distributed-systems)

[View this post on daily.dev](https://daily.dev/posts/why-do-you-need-versioning-in-temporal--lhhpnorek)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Why do You Need Versioning in Temporal?","url":"https://daily.dev/posts/why-do-you-need-versioning-in-temporal--lhhpnorek","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/why-do-you-need-versioning-in-temporal--lhhpnorek"},"datePublished":"2026-07-07T21:49:42.724Z","dateModified":"2026-07-07T21:50:04.544Z","description":"Temporal workflows can run for weeks, months, or years, making it likely that business logic will need updating before they complete. Without versioning,...","image":"https://i.ytimg.com/vi/QXpeY6TryRQ/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/QXpeY6TryRQ/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Temporal","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Temporal","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/65290ca7e3ab46a7b1df76f2757800c2","url":"https://daily.dev/sources/temporal"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/why-do-you-need-versioning-in-temporal--lhhpnorek","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"distributed-systems","timeRequired":"PT3M","video":{"@type":"VideoObject","name":"Why do You Need Versioning in Temporal?","description":"Temporal workflows can run for weeks, months, or years, making it likely that business logic will need updating before they complete. Without versioning,...","thumbnailUrl":"https://i.ytimg.com/vi/QXpeY6TryRQ/sddefault.jpg","uploadDate":"2026-07-07T21:49:42.724Z","duration":"PT3M","url":"https://api.daily.dev/r/lHHPnoREK","embedUrl":"https://www.youtube.com/embed/QXpeY6TryRQ"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Temporal","item":"https://daily.dev/sources/temporal"},{"@type":"ListItem","position":3,"name":"Why do You Need Versioning in Temporal?"}]}
```

