Why version strings deserve a closer look
A customer app flag rollout must handle full three-part, two-part, and zero-padded versions before deciding who receives a feature.
Key takeaways
- Copy the exact version string the app sends.
- Confirm how your evaluation path handles each format.
- Keep suffixes visible in your version map.
- Test accounts on both sides of the version boundary.
You pick a version floor, such as "everyone on 2.0.0 or newer," and the feature goes live for those customers. The trouble starts when the version strings in your list do not look the same as the strings the flag system compares. A customer who should have the feature does not get it, or a customer who should not have it does. Nobody notices until a support ticket arrives.
Each format can produce a different answer depending on how the flag system reads it. A fourth wrinkle, pre-release and build suffixes, affects matching in a narrower way, and we cover it after the three format sections.
The behavior described here comes from PostHog's feature flag documentation. Your flag tool may behave differently, so treat the rules below as questions to put to your vendor rather than guarantees about your setup.
Format one: the full three-part version
The most familiar format is the three-part version, such as 2.0.0. It has a major, minor, and patch number, separated by dots. Teams that follow a consistent release process usually use this style for app builds, and it is what most people expect to see in targeting rules.
PostHog's documentation notes that version targeting is especially useful for mobile apps, and gives examples such as enabling a feature for everyone on version 2.0.0 or newer, or targeting a bug fix at versions below 1.5.0.
For a CS manager, the practical lesson is to copy the version exactly as the app reports it. Do not retype it from memory. A typo in a patch number changes which customers are included, and the error will not show up as a visible failure. It will show up as a customer who got the feature too early or never got it at all.
Keep one source of truth for version strings, such as the release tracker or a shared spreadsheet that engineering maintains. When you write a rule, paste the string from that source rather than from a chat message or a slide. If the source is wrong, fix it there so the mistake does not spread into every rule that uses it.
Also check what the customer's device reports. Some teams show users a friendlier label than the one the app sends to the flag system. If the two differ, a rule can be correct on paper and wrong in practice. Ask engineering which exact string the SDK sends, and use that string in your rules and your test list.
Format two: the two-part version
The second format drops the patch number. A release is labeled 3.10 with no third number. This happens in teams that use simpler labels for marketing, or in apps where the patch level exists only internally.
PostHog's documentation addresses this case directly. It says that common mobile version formats are supported during server-side (remote) flag evaluation, and that "two-component versions like 3.10 are automatically normalized to 3.10.0." ( PostHog's feature flag guide)
This matters because the translation can differ from what you meant. Suppose you think of a 3.10 label as a family of builds, including later patch fixes. The flag system reads the value as 3.10.0, so a floor rule written as 3.10 means 3.10.0 or newer. If your rule depends on whether a customer has picked up a later patch, the answer may not be what you expected. Read each rule as the system reads it, not as you intended when you wrote it.
Pay attention to the scope of that statement. If your app evaluates flags on the device, or your team uses a different path, the same translation may not run there. Ask engineering which path your flags use, and confirm the answer in writing.
A useful check is to pick three customer accounts, ideally one on each version style you see in practice, and confirm which of them see the feature under the current rule. Write the result next to the rule. Use that small test to look for mismatches before customers encounter them.
When you talk with support, use the same vocabulary. If support says "3.10" and engineering says "3.10.0," the same customer may be described two different ways in one ticket. Agree on which form appears in internal notes.
Format three: the zero-padded version
The third format can cause confusion because it looks almost right. A zero-padded version writes a number with a leading zero, such as 3.08 instead of 3.8. Teams end up with labels like this when build numbers are padded so the labels sort neatly in a list. Nobody may realize the labels are padded, because the padding looks like a formatting choice.
PostHog's documentation says that "zero-padded versions like 3.08 are normalized to 3.8.0." ( PostHog's feature flag guide) The guide places this normalization under server-side (remote) flag evaluation, the same scope as two-part versions.
Here is why this deserves a second look. Suppose your team treats 3.08 and 3.8 as different releases, perhaps because one shipped in the spring and the other later in the year. A rule written for one will also match the other, because the system treats them as one version. Where the labels represent different builds, that match is wrong for your purposes. The flag system is applying the rule it was given, and the rule rested on an assumption nobody wrote down.
The fix is to agree on one form before a rollout starts. Decide whether your team writes versions with leading zeros, convert the release list into that form, and check with engineering whether older builds used a different style. Those older labels may still appear in your customer data.
Be careful with analytics too. A dashboard may group versions by their displayed label, so compare those labels with the values used for flag matching. If those groupings disagree, your reports may suggest the rollout reached one set of customers while the flag actually reached another. Compare both views before you trust either one. For a broader reporting review, see customer usage discrepancies.
A fourth wrinkle: pre-release and build suffixes
Pre-release and build suffixes, such as -alpha.1 or +build.7, are a narrower issue. They appear in beta programs and internal test builds, so they may reach your support queue when a tester reports a problem. PostHog's feature flag guide says these suffixes remain in the value, but the build tag does not affect matching.
For a CS manager, a beta tester whose app reports a pre-release suffix keeps that suffix in the stored value, which helps when you investigate a report. Do not write a rule that depends on a plus-sign tag to separate customer groups.
Whether a pre-release suffix should count toward a range comparison is a question for your vendor and your engineers. Do not guess. Put the question in writing and keep the answer with the rollout plan. If the answer is unclear, keep beta testers in a separate, explicitly named group rather than relying on a comparison to separate them.
Beta labels also look like production labels once they reach a spreadsheet. A cell showing 1.5.0 and a cell showing 1.5.0-alpha.1 can look nearly identical at a glance. Keep the full raw string in each row so the suffix stays visible.
Build a version map before you pick a rule
Most of these problems come from a gap between the versions a team believes exist and the strings the app actually sends. Closing that gap gives you a record to check against your rules. Think of the map as a short working document, not a formal report.
Start by pulling every version string active recently from your customer data or analytics. Do not build the list from release notes alone, because release notes often skip internal builds, hotfixes, and betas. Put each raw string in one column, exactly as the system received it. Resist tidying the strings at this stage, since the untidy version is the one that exposes problems.
Next, add a column showing how your flag system will read each string. Check the documented server-side conversions for two-part and zero-padded strings, and confirm behavior on your evaluation path. Mark any string with a suffix in a separate column so it stands out.
Then check the result against your intended audience. For each version that should receive the feature, confirm it falls in the included group, and for each that should not, confirm it falls outside. If a version lands in the wrong group, check both the format assumption and the rule's logic.
Save the map alongside the rollout plan. When the next release arrives with a new label style, you will add it to the map before anyone writes a rule against it. The map becomes more valuable with each rollout because it records what your app actually sends.
Illustrative example: check the intended audience
Suppose an illustrative rollout should include 40 customer accounts and exclude 60. Group the accounts by their raw version strings, then compare the expected audience with the flag results. If an account falls into the wrong group, record its raw string, evaluation path, and result before changing the rule. The account counts describe this example only; they do not establish a testing requirement.
Write rules that survive the next release
A good version rule is one a teammate can read without asking what you meant. Prefer a single floor or a clear range over a long list of exact matches. A list of exact versions is easy to get wrong when typed and hard to update when a new build ships. A floor is easier to audit and easier to explain to a colleague in support.
Be specific about the reason for each rule. If the rule keeps a bug fix away from older builds, say so in the rule's name or description. If it limits a beta group, say that too. Without a written purpose, old rules linger because nobody is sure whether removing them is safe.
Check the rule after it goes live, not only before. Choose a few customer accounts from each side of the version boundary and confirm the feature appears only where you expected. Record the check with the date and the strings you used. If the check finds a mismatch, go back to the version map before changing the rule, because the mismatch may come from a format you had not yet accounted for.
Decide ahead of time who can change a version rule. A change to a floor affects every customer who crosses that boundary, so it should go through the same review as any other change to who receives a feature. Write down what changed, why, and who approved it.
Coordinate with support and engineering
A version rule touches three teams. Engineering knows which string the SDK sends and how the flag system evaluates it. Product knows which features belong to which release. CS knows what customers report and what they see on their screens. Each group holds part of the answer.
Before a rollout, ask engineering to confirm the exact version strings and the evaluation path. Ask product which features and fixes the rule is meant to cover. Ask support which version labels customers have mentioned recently. Differences between the answers can point to the first problem to solve.
When a customer says they should have a feature but do not, ask for the version shown in their app settings and whether they are on a beta track. Log both details in the ticket using the same format as the version map. For related handoff checks, see customer record matching.
Be honest with customers when a version explains their experience. A customer on an older build may simply not have the feature yet, which is a reasonable outcome you can explain. Avoid promising a specific date unless the release plan supports it. If you are unsure, say what you know and what you are checking.
Common mistakes to avoid
Several errors recur in rollouts like this. The first is assuming all version strings look alike, which the three formats above disprove. The second is assuming the flag system reads a version the way a person does. The system follows its documented normalization rules, and your intent does not enter the comparison.
The third is copying version numbers from a marketing page or slide instead of the app's own report. Marketing labels may be simplified, padded, or renamed. The fourth is writing a rule with one format in mind and forgetting the others, without testing how each format is evaluated.
The fifth is treating one successful rollout as proof that later rollouts will work. New labels appear over time, so recheck the rules whenever a new label style shows up in your data or tickets. The last is leaving reasoning out of the record. A short note with the rule, the format assumptions, and the verification date prevents an accidental change that reopens a settled question.
A short checklist before any rollout
Use the version map as your review record. Check that it captures the raw strings, evaluation path, suffix questions, intended audience, and test results discussed above.
Make sure the rule's purpose is written next to it, and schedule a follow-up check after release. Add any new label style you find to the version map.
None of these steps is difficult alone. The value comes from doing them every time, because failures in this area are quiet. A customer who got a feature early or never got it rarely files a complaint about the version string. They simply notice something is different, and it becomes your problem to explain.
Your next step
Today, take one existing version rule and compare its intended audience with the raw strings in your customer data. Record any mismatch in the version map and ask engineering to confirm the evaluation path before changing the rule.
Related guides: Failed renewal recovery: 3 rules for App Store cases · Idle timeout: 5 publisher limits to check for your app · NPS survey targeting: 8 logic errors to fix.
Common questions
Should you use the version shown in app settings?
Use the exact string the app sends to the flag system. The displayed label may differ, so ask engineering to confirm which value reaches evaluation.
What should you record when a customer gets the wrong result?
Record the raw version string, evaluation path, rule, and observed result. Keep those details with the version map so support and engineering can investigate the same case.
Sources
Limits of this post
This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.