Browse Source

Help: Update FileAPI codemodel version to 2.2, add release notes

This fixes the documentation which should have been fixed in 7d6861f3.
Kyle Edwards 5 years ago
parent
commit
b67eb65688
2 changed files with 10 additions and 1 deletions
  1. 3 1
      Help/manual/cmake-file-api.7.rst
  2. 7 0
      Help/release/dev/fileapi-codemodel-2.2.rst

+ 3 - 1
Help/manual/cmake-file-api.7.rst

@@ -425,7 +425,7 @@ Version 1 does not exist to avoid confusion with that from
 
   {
     "kind": "codemodel",
-    "version": { "major": 2, "minor": 1 },
+    "version": { "major": 2, "minor": 2 },
     "paths": {
       "source": "/path/to/top-level-source-dir",
       "build": "/path/to/top-level-build-dir"
@@ -887,6 +887,8 @@ with members:
     ``standard``
       String representing the language standard.
 
+    This field was added in codemodel version 2.2.
+
   ``compileCommandFragments``
     Optional member that is present when fragments of the compiler command
     line invocation are available.  The value is a JSON array of entries

+ 7 - 0
Help/release/dev/fileapi-codemodel-2.2.rst

@@ -0,0 +1,7 @@
+fileapi-codemodel-2.2
+---------------------
+
+* The :manual:`cmake-file-api(7)` "codemodel" version 2 ``version`` field has
+  been updated to 2.2.
+* The :manual:`cmake-file-api(7)` "codemodel" version 2 "target" object gained
+  a new ``languageStandard`` field in the ``compileGroups`` objects.