<p>Maybe this is a silly question, but I've always assumed each number delineated by a period represented a single component of the software. If that's true, do they ever represent something different?  I'd like to start assigning versions to the different builds of my software, but I'm not really sure how it should be structured.  My software has five distinct components.</p>

[{'answer_id': 65729, 'author': 'rkabir', 'author_id': 9412, 'author_profile': 'https://Stackoverflow.com/users/9412', 'pm_score': 4, 'selected': False, 'text': '<p>It can be very arbitrary, and differs from product to product. For example, with the Ubuntu distribution, 8.04 refers to 2008.April</p>\n\n<p>Typically the left most (major) numbers indicate a major release, and the further you go to the right, the smaller the change involved.</p>\n'}, {'answer_id': 65736, 'author': 'Fire Lancer', 'author_id': 6266, 'author_profile': 'https://Stackoverflow.com/users/6266', 'pm_score': 2, 'selected': False, 'text': '<p>release.major.minor.revision would be my guess.<br>\nBut it can vary greatly between products.</p>\n'}, {'answer_id': 65741, 'author': 'Søren Spelling Lund', 'author_id': 6149, 'author_profile': 'https://Stackoverflow.com/users/6149', 'pm_score': 4, 'selected': False, 'text': '<p>major.minor[.maintenance[.build]]</p>\n\n<p><a href="http://en.wikipedia.org/wiki/Software_versioning#Numeric" rel="noreferrer">http://en.wikipedia.org/wiki/Software_versioning#Numeric</a></p>\n'}, {'answer_id': 65746, 'author': 'Serafina Brocious', 'author_id': 4977, 'author_profile': 'https://Stackoverflow.com/users/4977', 'pm_score': 1, 'selected': False, 'text': '<p>Major.minor.point.build usually.  Major and minor are self-explanatory, point is a release for a few minor bugfixes, and build is just a build identifier.</p>\n'}, {'answer_id': 65750, 'author': 'Dillie-O', 'author_id': 71, 'author_profile': 'https://Stackoverflow.com/users/71', 'pm_score': 9, 'selected': True, 'text': "<p>In version <em>1.9.0.1</em>:</p>\n\n<ul>\n<li><p><strong>1</strong>: Major revision (new UI, lots of new features, conceptual change, etc.)</p></li>\n<li><p><strong>9</strong>: Minor revision (maybe a change to a search box, 1 feature added, collection of bug fixes)</p></li>\n<li><p><strong>0</strong>: Bug fix release</p></li>\n<li><p><strong>1</strong>: Build number (if used)—that's why you see the .NET framework using something like 2.0.4.2709</p></li>\n</ul>\n\n<p>You won't find a lot of apps going down to four levels, 3 is usually sufficient.</p>\n"}, {'answer_id': 65751, 'author': 'Jason Punyon', 'author_id': 6212, 'author_profile': 'https://Stackoverflow.com/users/6212', 'pm_score': 2, 'selected': False, 'text': '<p>Usually its:</p>\n\n<p>MajorVersion.MinorVersion.Revision.Build</p>\n'}, {'answer_id': 65752, 'author': 'Loren Segal', 'author_id': 6436, 'author_profile': 'https://Stackoverflow.com/users/6436', 'pm_score': 0, 'selected': False, 'text': "<p>A combination of major, minor, patch, build, security patch, etc.</p>\n\n<p>The first two are major &amp; minor-- the rest will depend on the project, company and sometimes community. In OS's like FreeBSD, you will have 1.9.0.1_number to represent a security patch.</p>\n"}, {'answer_id': 65761, 'author': 'user9385', 'author_id': 9385, 'author_profile': 'https://Stackoverflow.com/users/9385', 'pm_score': 2, 'selected': False, 'text': "<p>Version numbers don't usually represent separate components.  For some people/software the numbers are fairly arbitrary.  For others, different parts of the version number string do represent different things. For example, some systems increase parts of the version number when a file format changes. So V 1.2.1 is file format compatible with all other V 1.2 versions (1.2.2, 1.2.3, etc.) but not with V 1.3.  Ultimately it's up to you what scheme you want to use.</p>\n"}, {'answer_id': 65763, 'author': 'Paweł Hajdan', 'author_id': 9403, 'author_profile': 'https://Stackoverflow.com/users/9403', 'pm_score': 1, 'selected': False, 'text': "<p>Yup. Major releases add big, new features, may break compatibility or have significantly different dependencies, etc.</p>\n\n<p>Minor releases also add features, but they're smaller, sometimes stripped-down ported versions from beta major release.</p>\n\n<p>If there is a third version number component, it's usually for important bugfixes, and security fixes. If there are more, it really depends so much on product that it's difficult to give general answer.</p>\n"}, {'answer_id': 65764, 'author': 'ceejayoz', 'author_id': 1902010, 'author_profile': 'https://Stackoverflow.com/users/1902010', 'pm_score': 3, 'selected': False, 'text': "<p>The more points, the more minor the release.  There's no real solid standard beyond that - can mean different things based on what the project maintainers decide on.</p>\n\n<p>WordPress, for example, goes along these lines:</p>\n\n<p>1.6 -> 2.0 -> 2.0.1 -> 2.0.2 -> 2.1 -> 2.1.1 -> 2.2 ...</p>\n\n<p>1.6 to 2.0 would be a big release - features, interface changes, major changes to the APIs, breakage of some 1.6 templates and plugins, etc.\n2.0 to 2.0.1 would be a minor release - perhaps fixing a security bug.\n2.0.2 to 2.1 would be a significant release - new features, generally.</p>\n"}, {'answer_id': 65765, 'author': 'Lasse V. Karlsen', 'author_id': 267, 'author_profile': 'https://Stackoverflow.com/users/267', 'pm_score': 2, 'selected': False, 'text': '<p>It depends, but the typical representation is that of <em>major.minor.release.build</em>.</p>\n\n<p>Where:</p>\n\n<ul>\n<li><em>major</em> is the major release version of your software, think .NET 3.x</li>\n<li><em>minor</em> is the minor release version of your software, think .NET x.5</li>\n<li><em>release</em> is the release of that version, typically bugfixes will increment this</li>\n<li><em>build</em> is a number that denotes the number of builds you have performed.</li>\n</ul>\n\n<p>So for instance, 1.9.0.1, means that it\'s version 1.9 of your software, following 1.8 and 1.7, etc. where 1.7, 1.8 and 1.9 all in some way typically add small amounts of new features alongside bugfixes. Since it\'s x.x.0.x, it\'s the initial release of 1.9, and it\'s the first build of that version.</p>\n\n<p>You can also find good information on the <a href="http://en.wikipedia.org/wiki/Software_versioning" rel="nofollow noreferrer">Wikipedia article on the subject</a>.</p>\n'}, {'answer_id': 65767, 'author': 'emeryc', 'author_id': 3900, 'author_profile': 'https://Stackoverflow.com/users/3900', 'pm_score': 2, 'selected': False, 'text': "<p>Major.Minor.Bugs</p>\n\n<p>(Or some variation on that)</p>\n\n<p>Bugs is usually bug fixes with no new functionality.</p>\n\n<p>Minor is some change that adds new functionality but doesn't change the program in any major way.</p>\n\n<p>Major is a change in the program that either breaks old functionality or is so big that it somehow changes how users should use the program.</p>\n"}, {'answer_id': 65768, 'author': 'Michael Stum', 'author_id': 91, 'author_profile': 'https://Stackoverflow.com/users/91', 'pm_score': 0, 'selected': False, 'text': '<p>Depends a bit on the language, Delphi and C# for example have different meanings.</p>\n\n<p>Usually, the first two numbers respresent a major and a minor version, i.e. 1.0 for the first real release, 1.1 for some important bugfixes and minor new features, 2.0 for a big new feature release.</p>\n\n<p>The third number can refer to a "really minor" version, or revision. 1.0.1 is just a very small bugfix to 1.0.0 for example. But it can also carry the Revision number from your Source Control System, or an ever-incrementing number that increments with every build. Or a Datestamp.</p>\n\n<p>A little bit more detail <a href="https://stackoverflow.com/questions/650/automatically-update-version-number#706">here</a>. "officially", in .net, the 4 numbers are "Major.Minor.Build.Revision", whereas in Delphi there are "Major.Minor.Release.Build". I use "Major.Minor.ReallyMinor.SubversionRev" for my versioning.</p>\n'}, {'answer_id': 65776, 'author': 'Scott Bevington', 'author_id': 9544, 'author_profile': 'https://Stackoverflow.com/users/9544', 'pm_score': 1, 'selected': False, 'text': '<p>Generally then number are in the format of version.major.minor.hotfix, not individual internal components. So v1.9.0.1 would be version 1, major release 9 (of v1), minor release (of v1.9) 0, hot fix 1 of (v1.9.0).</p>\n'}, {'answer_id': 65796, 'author': 'Bob King', 'author_id': 6897, 'author_profile': 'https://Stackoverflow.com/users/6897', 'pm_score': 0, 'selected': False, 'text': '<p>The first number is typically referred to as the major version number. It\'s basically used to denote significant changes between builds (i.e. when you add many new features, you increment the major version). Components with differing major versions from the same product probably aren\'t compatible.</p>\n\n<p>The next number is the minor version number. It can represent some new features, or a number of bug fixes or small architecture changes. Components from the same product which differ by the minor version number may or may not work together and probably shouldn\'t.</p>\n\n<p>The next is usually called the build number. This may be incremented daily, or with each "released" build, or with each build at all. There may be only small differences between two components who differ by only the build number and typically can work well together.</p>\n\n<p>The final number is usually the revision number. Often times this is used by an automatic build process, or when you\'re making "one-off" throw-away builds for testing.</p>\n\n<p>When you increment your version numbers is up to you, but they should always <em>increment</em> or <em>stay the same</em>. You can have all components share the same version number, or only increment the version number on changed components.</p>\n'}, {'answer_id': 65804, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>Everyone chooses what they want to do with these numbers.  I\'ve been tempted to call releases a.b.c since it\'s rather silly anyway.  That being said, what I\'ve seen over the last 25+ years of development tends to work this way.  Let\'s say your version number is 1.2.3.</p>\n\n<p>The "1" indicates a "major" revision.  Usually this is an initial release, a large feature set change or a rewrite of significant portions of the code.  Once the feature set is determined and at least partially implemented you go to the next number.</p>\n\n<p>The "2" indicates a release within a series.  Often we use this position to get caught up on features that didn\'t make it in the last major release.  This position (2) almost always indicates a feature add, usually with bug fixes.</p>\n\n<p>The "3" in most shops indicates a patch release/bug fix.  Almost never, at least on the commercial side, does this indicate a significant feature add.  If features show up in position 3 then it\'s probably because someone checked something in before we knew we had to do a bug fix release.</p>\n\n<p>Beyond the "3" position?  I have no clue why people do that sort of thing, it just gets more confusing.</p>\n\n<p>Notably some of the OSS out there throws all this out of wack.  For example, Trac version 10 is actually 0.10.X.X.  I think a lot of folks in the OSS world either lack confidence or just don\'t want to announce that they have a major release done.</p>\n'}, {'answer_id': 65807, 'author': 'Thomas Jespersen', 'author_id': 8547, 'author_profile': 'https://Stackoverflow.com/users/8547', 'pm_score': 1, 'selected': False, 'text': '<p>From the C# AssemblyInfo.cs file you can see the following:</p>\n\n<pre><code>// Version information for an assembly consists of the following four values:\n//\n//      Major Version\n//      Minor Version \n//      Build Number\n//      Revision\n//\n/ You can specify all the values or you can default the Build and Revision Numbers \n// by using the \'*\' as shown below:\n// [assembly: AssemblyVersion("1.0.*")]\n</code></pre>\n'}, {'answer_id': 65812, 'author': 'Sten Vesterli', 'author_id': 9363, 'author_profile': 'https://Stackoverflow.com/users/9363', 'pm_score': 0, 'selected': False, 'text': '<p>The version number of a complex piece of software represents the whole package and is independent of the version numbers of the parts. The Gizmo version 3.2.5 might contain Foo version 1.2.0 and Bar version 9.5.4.</p>\n\n<p>When creating version numbers, use them as follows:</p>\n\n<ol>\n<li><p>First number is main release. If you make significant changes to the user interface or need to break existing interfaces (so that your users will have to change their interface code), you should go to new main version.  </p></li>\n<li><p>Second number should indicate that new features have been added or something works differently internally. (For example the Oracle database might decide to use a different strategy for retrieving data, making most things faster and some things slower.) Existing interfaces should continue working and the user interface should be recognizable. </p></li>\n<li><p>Version numbering further is up to the person writing the software - Oracle uses five (!) groups, ie. an Oracle version is something like 10.1.3.0.5. From third group down, you should only introduce bugfixes or minor changes in functionality. </p></li>\n</ol>\n'}, {'answer_id': 65855, 'author': 'BlackTigerX', 'author_id': 8411, 'author_profile': 'https://Stackoverflow.com/users/8411', 'pm_score': 0, 'selected': False, 'text': '<p>the ones that vary less would be the first two, for major.minor, after that it can be anything from build, revision, release, to any custom algorithms (like in some MS products)</p>\n'}, {'answer_id': 65951, 'author': 'Vasco Duarte', 'author_id': 9362, 'author_profile': 'https://Stackoverflow.com/users/9362', 'pm_score': 0, 'selected': False, 'text': '<p>Every organization/group has it\'s own standard. The important thing is that you stick to whatever notation you choose otherwise your customers will be confused. Having said that I\'ve used normally 3 numbers:</p>\n\n<p>x.yz.bbbbb. Where:\nx: is the major version (major new features)\ny: is the minor version number (small new features, small improvements without UI changes)\nz: is the service pack (basically the same as x.y but with some bug fixes\nbbbb: is the build number and only really visible from the "about box" with other details for customer support. bbbb is free format and every product can use it\'s own.</p>\n'}, {'answer_id': 66187, 'author': 'Ewan Makepeace', 'author_id': 9731, 'author_profile': 'https://Stackoverflow.com/users/9731', 'pm_score': 0, 'selected': False, 'text': '<p>Here is what we use:</p>\n\n<ol>\n<li>First number = Overall system era. Changes every couple of years and typically represents a fundamental change in technology, or client features or both.</li>\n<li>Second number = database schema revision. An increment in this number requires a database migration and so is a significant change (or systems replicate and so changing the database structure requires a careful upgrade process). Resets to 0 if the first number changes.</li>\n<li>Third number = software only change. This can usually be implemented on a client by client basis as the database schema is unchanged. Resets to zero if the second number changes.</li>\n<li>Subversion version number. We populate this automatically on build using the TortoiseSVN tool. This number never resets but continually increments. Using this we can always recreate any version.</li>\n</ol>\n\n<p>This system is serving us well because every number has a clear and important function. I have seen other teams grappling with the major number/minor number question (how big a change is major) and I dont see the benefit to that. If you dont need to track database revisions just go to a 3 or 2 digit version number, and make life easier!</p>\n'}, {'answer_id': 66328, 'author': 'Will M', 'author_id': 4089, 'author_profile': 'https://Stackoverflow.com/users/4089', 'pm_score': 1, 'selected': False, 'text': '<p>The paradigm of major release.minor release.bug fix is pretty common, I think.  </p>\n\n<p>In some enterprise support contracts there is $$$ (or breach of contract liability) associated with how a particular release is designated.  A contract, for example, might entitle a customer to some number of major releases in a period of time, or promise that there will be fewer than x number of minor releases in a period, or that support will continue to be available for so many releases.  Of course no matter how many words are put in to the contract to explain what a major release is versus a minor release, it is always subjective and there will always be gray areas – leading to the possibility that the software vendor can game the system to beat such contractual provisions.</p>\n'}, {'answer_id': 66389, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': False, 'text': '<p>Numbers can be useful as described by other answers, but consider how they can also be rather meaningless... Sun, you know SUN, java: 1.2, 1.3, 1.4 1.5 or 5 then 6.\nIn the good old Apple II version numbers Meant Something. Nowadays, people are giving up on version numbers and going with silly names like "Feisty fig" (or something like that) and "hardy heron" and "europa" and "ganymede". Of course this is far less useful because, you\'re going to run out of moons of jupiter before you stop changing the program, and since there\'s no obvious ordering you can\'t tell which is newer.</p>\n'}, {'answer_id': 134671, 'author': 'Mark Ransom', 'author_id': 5987, 'author_profile': 'https://Stackoverflow.com/users/5987', 'pm_score': 1, 'selected': False, 'text': "<p>People don't always recognize the subtle difference between version numbers like 2.1, 2.0.1, or 2.10 - ask a technical support person how many times they've had trouble with this.  Developers are detail oriented and familiar with hierarchical structures, so this is a blind spot for us.</p>\n\n<p>If at all possible, expose a simpler version number to your customers.</p>\n"}, {'answer_id': 4297787, 'author': 'Craig P. Motlin', 'author_id': 23572, 'author_profile': 'https://Stackoverflow.com/users/23572', 'pm_score': 1, 'selected': False, 'text': '<p>In the case of a library, the version number tells you about the <strong>level of compatibility</strong> between two releases, and thus how difficult an upgrade will be.</p>\n\n<p>A bug fix release needs to preserve binary, source, and serialization compatibility.</p>\n\n<p>Minor releases mean different things to different projects, but usually they don\'t need to preserve source compatibility.</p>\n\n<p>Major version numbers can break all three forms.</p>\n\n<p>I wrote more about the rationale <a href="http://motlin.com/2010/how-to-do-version-numbers/" rel="nofollow">here</a>.</p>\n'}, {'answer_id': 24941508, 'author': 'magyk', 'author_id': 3874265, 'author_profile': 'https://Stackoverflow.com/users/3874265', 'pm_score': 6, 'selected': False, 'text': '<p>There is the <a href="https://semver.org/" rel="noreferrer">Semantic Versioning specification</a></p>\n\n<p>This is the summary of version 2.0.0:</p>\n\n<blockquote>\n  <p>Given a version number MAJOR.MINOR.PATCH, increment the:</p>\n  \n  <ol>\n  <li>MAJOR version when you make incompatible API changes,</li>\n  <li>MINOR version when you add functionality in a backwards-compatible manner, and</li>\n  <li>PATCH version when you make backwards-compatible bug fixes.</li>\n  </ol>\n  \n  <p>Additional labels for pre-release and build metadata are available as\n  extensions to the MAJOR.MINOR.PATCH format.</p>\n</blockquote>\n'}, {'answer_id': 53610138, 'author': 'Mehul Sancheti', 'author_id': 7482310, 'author_profile': 'https://Stackoverflow.com/users/7482310', 'pm_score': 2, 'selected': False, 'text': '<p>In version v1.9.0.1:\n<strong>This is the explicit versioning scheme</strong> used when you don\'t want to use name for the pre-releases or build like -alpha,-beta.</p>\n\n<p>1:Major version which might break the backward compatibility</p>\n\n<p>9:Adding of new features to support you app along with backwards compatibility with previous version.</p>\n\n<p>0:Some minor bug-fixes</p>\n\n<p>1:Build number(Pre-release number)</p>\n\n<p>but nowadays,you won\'t find such versioning scheme.Do refer Semantic Versioning [semver2.0]\n<a href="https://semver.org/" rel="nofollow noreferrer">https://semver.org/</a></p>\n'}, {'answer_id': 62591241, 'author': 'Ashish Kumar', 'author_id': 8500058, 'author_profile': 'https://Stackoverflow.com/users/8500058', 'pm_score': 1, 'selected': False, 'text': '<p>version:  v1.9.0.1</p>\n<p>where-</p>\n<p>. v is abbreviation of version. It varies with company to company depend on nomenclature adopted in his organisation. It may silent in some organisation like 1.9.0.1</p>\n<p>. 1 indicates major version, will be updated on Architectural modification in application stacks, infrastructure (platform) or exposed networks interface</p>\n<p>. 9 incates minor, will be updated on activity like adding new components like ui, api, database etc; under a specific architecture</p>\n<p>. 0 indicates feature, will be updated on any enhancements on existing components (ui, api, database etc)</p>\n<p>. 1 indicates build counter across all phase major, minor and feature. It also include hotfixes post production release.</p>\n'}, {'answer_id': 71225569, 'author': 'not2savvy', 'author_id': 4850949, 'author_profile': 'https://Stackoverflow.com/users/4850949', 'pm_score': 0, 'selected': False, 'text': "<p>Despite the fact that most of the previous answers give perfectly good explanations for how version numbering could and should be used, there is also another scheme, which I would call the <em>marketing versioning scheme</em>. I'll add this as an answer, because it exists, not because I think it's worth following.</p>\n<p>In the <em>marketing versioning scheme</em>, all those technical thoughts and meanings are replaced by <strong>bigger is better</strong>. The version number of a product is derived from two rules:</p>\n<ul>\n<li>bigger (higher) numbers are better than smaller (lower) numbers</li>\n<li>our version number should be bigger (higher) than any of the competitors' version numbers</li>\n</ul>\n<p>That takes version numbering out of the hands of the technical staff and puts where it belongs (sales and marketing).</p>\n<p>However, since technical version still makes sense in a way, the marketing versions are often accompanied under the hood by technical version numbers. They are usually somehow hidden, but can be revealed by some <em>info</em> or <em>about</em> dialog.</p>\n"}]
['https://Stackoverflow.com/questions/65718', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/191808/']