Manifest - Version

One to four dot-separated integers identifying the version of this extension. A couple of rules apply to the integers:

  • The integers must be between 0 and 65535, inclusive.
  • Non-zero integers can't start with 0. For example, 032 is invalid because it begins with a zero.
  • They must not be all zero. For example, 0 and are invalid while is valid.

Here are some examples of valid versions:

  • "version": "1"
  • "version": "1.0"
  • "version": "2.10.2"
  • "version": ""

If the published extension has a newer version string than the installed extension, then the extension is automatically updated.

The comparison starts with the leftmost integers. Then, if those integers are equal, the integers to the right are compared, and so on. For example, 1.2.0 is a newer version than

A missing integer is equal to zero. For example, is newer than 1.1, and is older than 1.2.

Version name

In addition to the "version" field, which is used for update purposes, "version_name" can be set to a descriptive version string and will be used for display purposes if present.

Here are some examples of version names:

  • "version_name": "1.0 beta"
  • "version_name": "build rc2"
  • "version_name": ""

If no version_name is present, the version field will be used for display purposes as well.