diff --git a/librarymanager/config.rst b/librarymanager/config.rst index 25a86030a2..bf71813c43 100644 --- a/librarymanager/config.rst +++ b/librarymanager/config.rst @@ -405,11 +405,11 @@ Allowed requirements for dependent library: The ``version`` supports `Semantic Versioning `_ ( ``..``) and can take any of the following forms: -* ``0.1.2`` - an exact version number. Use only this exact version -* ``^0.1.2`` - any compatible version (exact version for ``0.x.x`` versions -* ``~0.1.2`` - any version with the same major and minor versions, and an +* ``1.2.3`` - an exact version number. Use only this exact version +* ``^1.2.3`` - any compatible version (exact version for ``1.x.x`` versions +* ``~1.2.3`` - any version with the same major and minor versions, and an equal or greater patch version -* ``>0.1.2`` - any version greater than ``0.1.2``. ``>=``, ``<``, and ``<=`` +* ``>1.2.3`` - any version greater than ``1.2.3``. ``>=``, ``<``, and ``<=`` are also possible * ``>0.1.0,!=0.2.0,<0.3.0`` - any version greater than ``0.1.0``, not equal to ``0.2.0`` and less than ``0.3.0`` @@ -636,7 +636,7 @@ Examples .. code-block:: javascript "build": { - "flags": "-D MYLIB_REV=0.1.2 -DRELEASE" + "flags": "-D MYLIB_REV=1.2.3 -DRELEASE" } 2. Extra includes for C preprocessor diff --git a/projectconf/section_env_general.rst b/projectconf/section_env_general.rst index 7df1489ec5..d64e0011ef 100644 --- a/projectconf/section_env_general.rst +++ b/projectconf/section_env_general.rst @@ -30,11 +30,11 @@ PlatformIO allows to use specific version of platform using Version specifications can take any of the following forms: -* ``0.1.2``: an exact version number. Use only this exact version -* ``^0.1.2``: any compatible version (exact version for ``0.x.x`` versions -* ``~0.1.2``: any version with the same major and minor versions, and an +* ``1.2.3``: an exact version number. Use only this exact version +* ``^1.2.3``: any compatible version (exact version for ``1.x.x`` versions +* ``~1.2.3``: any version with the same major and minor versions, and an equal or greater patch version -* ``>0.1.2``: any version greater than ``0.1.2``. ``>=``, ``<``, and ``<=`` +* ``>1.2.3``: any version greater than ``1.2.3``. ``>=``, ``<``, and ``<=`` are also possible * ``>0.1.0,!=0.2.0,<0.3.0``: any version greater than ``0.1.0``, not equal to ``0.2.0`` and less than ``0.3.0`` @@ -49,10 +49,10 @@ Examples: platform = atmelavr [env:specific_major_version] - platform = atmelavr@^0.1.2 + platform = atmelavr@^1.2.3 [env:specific_major_and_minor_version] - platform = atmelavr@~0.1.2 + platform = atmelavr@~1.2.3 [env:development_verion_by_git] platform = https://github.com/platformio/platform-ststm32.git diff --git a/userguide/lib/cmd_install.rst b/userguide/lib/cmd_install.rst index 419d9b068c..1e7e28720a 100644 --- a/userguide/lib/cmd_install.rst +++ b/userguide/lib/cmd_install.rst @@ -73,11 +73,11 @@ Install a library, and any libraries that it depends on using: The ``version`` supports `Semantic Versioning `_ ( ``..``) and can take any of the following forms: -* ``0.1.2`` - an exact version number. Use only this exact version -* ``^0.1.2`` - any compatible version (exact version for ``0.x.x`` versions -* ``~0.1.2`` - any version with the same major and minor versions, and an +* ``1.2.3`` - an exact version number. Use only this exact version +* ``^1.2.3`` - any compatible version (exact version for ``1.x.x`` versions +* ``~1.2.3`` - any version with the same major and minor versions, and an equal or greater patch version -* ``>0.1.2`` - any version greater than ``0.1.2``. ``>=``, ``<``, and ``<=`` +* ``>1.2.3`` - any version greater than ``1.2.3``. ``>=``, ``<``, and ``<=`` are also possible * ``>0.1.0,!=0.2.0,<0.3.0`` - any version greater than ``0.1.0``, not equal to ``0.2.0`` and less than ``0.3.0`` diff --git a/userguide/lib/cmd_uninstall.rst b/userguide/lib/cmd_uninstall.rst index c4a2d2182c..b5c76d1042 100644 --- a/userguide/lib/cmd_uninstall.rst +++ b/userguide/lib/cmd_uninstall.rst @@ -52,11 +52,11 @@ Uninstall specified library The ``version`` supports `Semantic Versioning `_ ( ``..``) and can take any of the following forms: -* ``0.1.2`` - an exact version number. Use only this exact version -* ``^0.1.2`` - any compatible version (exact version for ``0.x.x`` versions -* ``~0.1.2`` - any version with the same major and minor versions, and an +* ``1.2.3`` - an exact version number. Use only this exact version +* ``^1.2.3`` - any compatible version (exact version for ``1.x.x`` versions +* ``~1.2.3`` - any version with the same major and minor versions, and an equal or greater patch version -* ``>0.1.2`` - any version greater than ``0.1.2``. ``>=``, ``<``, and ``<=`` +* ``>1.2.3`` - any version greater than ``1.2.3``. ``>=``, ``<``, and ``<=`` are also possible * ``>0.1.0,!=0.2.0,<0.3.0`` - any version greater than ``0.1.0``, not equal to ``0.2.0`` and less than ``0.3.0`` diff --git a/userguide/lib/cmd_update.rst b/userguide/lib/cmd_update.rst index 25e3b6a419..537ce8587c 100644 --- a/userguide/lib/cmd_update.rst +++ b/userguide/lib/cmd_update.rst @@ -56,11 +56,11 @@ Check or update installed libraries. The ``version`` supports `Semantic Versioning `_ ( ``..``) and can take any of the following forms: -* ``0.1.2`` - an exact version number. Use only this exact version -* ``^0.1.2`` - any compatible version (exact version for ``0.x.x`` versions -* ``~0.1.2`` - any version with the same major and minor versions, and an +* ``1.2.3`` - an exact version number. Use only this exact version +* ``^1.2.3`` - any compatible version (exact version for ``1.x.x`` versions +* ``~1.2.3`` - any version with the same major and minor versions, and an equal or greater patch version -* ``>0.1.2`` - any version greater than ``0.1.2``. ``>=``, ``<``, and ``<=`` +* ``>1.2.3`` - any version greater than ``1.2.3``. ``>=``, ``<``, and ``<=`` are also possible * ``>0.1.0,!=0.2.0,<0.3.0`` - any version greater than ``0.1.0``, not equal to ``0.2.0`` and less than ``0.3.0`` diff --git a/userguide/platforms/cmd_install.rst b/userguide/platforms/cmd_install.rst index 7b6c885f9b..7f1613432f 100644 --- a/userguide/platforms/cmd_install.rst +++ b/userguide/platforms/cmd_install.rst @@ -70,11 +70,11 @@ Install :ref:`platforms` and dependent packages. The ``version`` supports `Semantic Versioning `_ ( ``..``) and can take any of the following forms: -* ``0.1.2`` - an exact version number. Use only this exact version -* ``^0.1.2`` - any compatible version (exact version for ``0.x.x`` versions -* ``~0.1.2`` - any version with the same major and minor versions, and an +* ``1.2.3`` - an exact version number. Use only this exact version +* ``^1.2.3`` - any compatible version (exact version for ``1.x.x`` versions +* ``~1.2.3`` - any version with the same major and minor versions, and an equal or greater patch version -* ``>0.1.2`` - any version greater than ``0.1.2``. ``>=``, ``<``, and ``<=`` +* ``>1.2.3`` - any version greater than ``1.2.3``. ``>=``, ``<``, and ``<=`` are also possible * ``>0.1.0,!=0.2.0,<0.3.0`` - any version greater than ``0.1.0``, not equal to ``0.2.0`` and less than ``0.3.0``