From 1653a84fbc52051bba673925cdbf3c278b946d72 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Wed, 22 Jun 2022 13:06:19 -0700 Subject: [PATCH 1/3] Allow scans with packs for languages not being scanned Previously, we were being too strict about checking that a pack's language was being scanned. It was a failure if a pack language was specified for a language not being scanned. --- lib/config-utils.js | 23 ++++++--- lib/config-utils.js.map | 2 +- lib/config-utils.test.js | 20 ++++++-- lib/config-utils.test.js.map | 2 +- src/config-utils.test.ts | 49 ++++++++++++++----- src/config-utils.ts | 30 ++++++++---- .../codeql/codeql-config-packaging.yml | 3 ++ 7 files changed, 92 insertions(+), 37 deletions(-) diff --git a/lib/config-utils.js b/lib/config-utils.js index 138113c5b3..e45d6139e9 100644 --- a/lib/config-utils.js +++ b/lib/config-utils.js @@ -19,7 +19,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.getConfig = exports.getPathToParsedConfigFile = exports.initConfig = exports.parsePacks = exports.validatePacksSpecification = exports.parsePacksFromConfig = exports.getDefaultConfig = exports.getUnknownLanguagesError = exports.getNoLanguagesError = exports.getConfigFileDirectoryGivenMessage = exports.getConfigFileFormatInvalidMessage = exports.getConfigFileRepoFormatInvalidMessage = exports.getConfigFileDoesNotExistErrorMessage = exports.getConfigFileOutsideWorkspaceErrorMessage = exports.getLocalPathDoesNotExist = exports.getLocalPathOutsideOfRepository = exports.getPacksStrInvalid = exports.getPacksInvalid = exports.getPacksInvalidSplit = exports.getPacksRequireLanguage = exports.getPathsInvalid = exports.getPathsIgnoreInvalid = exports.getQueryUsesInvalid = exports.getQueriesInvalid = exports.getDisableDefaultQueriesInvalid = exports.getNameInvalid = exports.validateAndSanitisePath = void 0; +exports.getConfig = exports.getPathToParsedConfigFile = exports.initConfig = exports.parsePacks = exports.validatePacksSpecification = exports.parsePacksFromConfig = exports.getDefaultConfig = exports.getUnknownLanguagesError = exports.getNoLanguagesError = exports.getConfigFileDirectoryGivenMessage = exports.getConfigFileFormatInvalidMessage = exports.getConfigFileRepoFormatInvalidMessage = exports.getConfigFileDoesNotExistErrorMessage = exports.getConfigFileOutsideWorkspaceErrorMessage = exports.getLocalPathDoesNotExist = exports.getLocalPathOutsideOfRepository = exports.getPacksStrInvalid = exports.getPacksInvalid = exports.getPacksInvalidSplit = exports.getPathsInvalid = exports.getPathsIgnoreInvalid = exports.getQueryUsesInvalid = exports.getQueriesInvalid = exports.getDisableDefaultQueriesInvalid = exports.getNameInvalid = exports.validateAndSanitisePath = void 0; const fs = __importStar(require("fs")); const path = __importStar(require("path")); const yaml = __importStar(require("js-yaml")); @@ -306,9 +306,8 @@ function getPathsInvalid(configFile) { } exports.getPathsInvalid = getPathsInvalid; function getPacksRequireLanguage(lang, configFile) { - return getConfigFilePropertyError(configFile, PACKS_PROPERTY, `has "${lang}", but it is not one of the languages to analyze`); + return getConfigFilePropertyError(configFile, PACKS_PROPERTY, `has "${lang}", but it is not a valid language.`); } -exports.getPacksRequireLanguage = getPacksRequireLanguage; function getPacksInvalidSplit(configFile) { return getConfigFilePropertyError(configFile, PACKS_PROPERTY, "must split packages by language"); } @@ -542,7 +541,7 @@ async function loadConfig(languagesInput, queriesInput, packsInput, configFile, if (!disableDefaultQueries) { await addDefaultQueries(codeQL, languages, queries); } - const packs = parsePacks((_a = parsedYAML[PACKS_PROPERTY]) !== null && _a !== void 0 ? _a : {}, packsInput, languages, configFile); + const packs = parsePacks((_a = parsedYAML[PACKS_PROPERTY]) !== null && _a !== void 0 ? _a : {}, packsInput, languages, configFile, logger); // If queries were provided using `with` in the action configuration, // they should take precedence over the queries in the config file // unless they're prefixed with "+", in which case they supplement those @@ -616,7 +615,7 @@ const PACK_IDENTIFIER_PATTERN = (function () { return new RegExp(`^${component}/${component}$`); })(); // Exported for testing -function parsePacksFromConfig(packsByLanguage, languages, configFile) { +function parsePacksFromConfig(packsByLanguage, languages, configFile, logger) { const packs = {}; if (Array.isArray(packsByLanguage)) { if (languages.length === 1) { @@ -636,7 +635,15 @@ function parsePacksFromConfig(packsByLanguage, languages, configFile) { throw new Error(getPacksInvalid(configFile)); } if (!languages.includes(lang)) { - throw new Error(getPacksRequireLanguage(lang, configFile)); + // This particular language is not being analyzed in this run. + if (languages_1.Language[lang]) { + logger.info(`Ignoring packs for ${lang} since this language is not being analyzed in this run.`); + continue; + } + else { + // This language is invalid, probably a misspelling + throw new Error(getPacksRequireLanguage(configFile, lang)); + } } packs[lang] = []; for (const packStr of packsArr) { @@ -734,9 +741,9 @@ function validatePacksSpecification(packStr, configFile) { } exports.validatePacksSpecification = validatePacksSpecification; // exported for testing -function parsePacks(rawPacksFromConfig, rawPacksInput, languages, configFile) { +function parsePacks(rawPacksFromConfig, rawPacksInput, languages, configFile, logger) { const packsFromInput = parsePacksFromInput(rawPacksInput, languages); - const packsFomConfig = parsePacksFromConfig(rawPacksFromConfig, languages, configFile); + const packsFomConfig = parsePacksFromConfig(rawPacksFromConfig, languages, configFile, logger); if (!packsFromInput) { return packsFomConfig; } diff --git a/lib/config-utils.js.map b/lib/config-utils.js.map index e351e06766..4d3da5a1bd 100644 --- a/lib/config-utils.js.map +++ b/lib/config-utils.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.js","sourceRoot":"","sources":["../src/config-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,8CAAgC;AAChC,+CAAiC;AAEjC,kDAAoC;AACpC,qCAKkB;AAClB,oEAAsD;AACtD,mDAA4D;AAC5D,2CAAsD;AAGtD,iCAKgB;AAEhB,qDAAqD;AACrD,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B,MAAM,gCAAgC,GAAG,yBAAyB,CAAC;AACnE,MAAM,gBAAgB,GAAG,SAAS,CAAC;AACnC,MAAM,qBAAqB,GAAG,MAAM,CAAC;AACrC,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAC7C,MAAM,cAAc,GAAG,OAAO,CAAC;AAC/B,M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CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;AAClC,CAAC;AAZD,8BAYC"} \ No newline at end of file diff --git a/lib/config-utils.test.js b/lib/config-utils.test.js index 05d1aedd0d..682bc890a8 100644 --- a/lib/config-utils.test.js +++ b/lib/config-utils.test.js @@ -749,14 +749,14 @@ const invalidPaths = ["a/***/b", "a/**b", "a/b**", "**"]; * Test macro for ensuring the packs block is valid */ const parsePacksMacro = ava_1.default.macro({ - exec: (t, packsByLanguage, languages, expected) => t.deepEqual(configUtils.parsePacksFromConfig(packsByLanguage, languages, "/a/b"), expected), + exec: (t, packsByLanguage, languages, expected) => t.deepEqual(configUtils.parsePacksFromConfig(packsByLanguage, languages, "/a/b", mockLogger), expected), title: (providedTitle = "") => `Parse Packs: ${providedTitle}`, }); /** * Test macro for testing when the packs block is invalid */ const parsePacksErrorMacro = ava_1.default.macro({ - exec: (t, packsByLanguage, languages, expected) => t.throws(() => configUtils.parsePacksFromConfig(packsByLanguage, languages, "/a/b"), { + exec: (t, packsByLanguage, languages, expected) => t.throws(() => configUtils.parsePacksFromConfig(packsByLanguage, languages, "/a/b", {}), { message: expected, }), title: (providedTitle = "") => `Parse Packs Error: ${providedTitle}`, @@ -782,6 +782,12 @@ const invalidPackNameMacro = ava_1.default.macro({ [languages_1.Language.cpp]: ["a/b", "c/d@1.2.3"], [languages_1.Language.java]: ["d/e", "f/g@1.2.3"], }); +(0, ava_1.default)("two packs with unused language in config", parsePacksMacro, { + [languages_1.Language.cpp]: ["a/b", "c/d@1.2.3"], + [languages_1.Language.java]: ["d/e", "f/g@1.2.3"], +}, [languages_1.Language.cpp, languages_1.Language.csharp], { + [languages_1.Language.cpp]: ["a/b", "c/d@1.2.3"], +}); (0, ava_1.default)("packs with other valid names", parsePacksMacro, [ // ranges are ok "c/d@1.0", @@ -814,7 +820,6 @@ const invalidPackNameMacro = ava_1.default.macro({ ], }); (0, ava_1.default)("no language", parsePacksErrorMacro, ["a/b@1.2.3"], [languages_1.Language.java, languages_1.Language.python], /The configuration file "\/a\/b" is invalid: property "packs" must split packages by language/); -(0, ava_1.default)("invalid language", parsePacksErrorMacro, { [languages_1.Language.java]: ["c/d"] }, [languages_1.Language.cpp], /The configuration file "\/a\/b" is invalid: property "packs" has "java", but it is not one of the languages to analyze/); (0, ava_1.default)("not an array", parsePacksErrorMacro, { [languages_1.Language.cpp]: "c/d" }, [languages_1.Language.cpp], /The configuration file "\/a\/b" is invalid: property "packs" must be an array of non-empty strings/); (0, ava_1.default)(invalidPackNameMacro, "c"); // all packs require at least a scope and a name (0, ava_1.default)(invalidPackNameMacro, "c-/d"); @@ -832,12 +837,17 @@ const invalidPackNameMacro = ava_1.default.macro({ * Test macro for testing the packs block and the packs input */ function parseInputAndConfigMacro(t, packsFromConfig, packsFromInput, languages, expected) { - t.deepEqual(configUtils.parsePacks(packsFromConfig, packsFromInput, languages, "/a/b"), expected); + t.deepEqual(configUtils.parsePacks(packsFromConfig, packsFromInput, languages, "/a/b", mockLogger), expected); } parseInputAndConfigMacro.title = (providedTitle) => `Parse Packs input and config: ${providedTitle}`; +const mockLogger = { + info: (message) => { + console.log(message); + }, +}; function parseInputAndConfigErrorMacro(t, packsFromConfig, packsFromInput, languages, expected) { t.throws(() => { - configUtils.parsePacks(packsFromConfig, packsFromInput, languages, "/a/b"); + configUtils.parsePacks(packsFromConfig, packsFromInput, languages, "/a/b", mockLogger); }, { message: expected, }); diff --git a/lib/config-utils.test.js.map b/lib/config-utils.test.js.map index 2108ec71ab..c9252ebd60 100644 --- a/lib/config-utils.test.js.map +++ b/lib/config-utils.test.js.map @@ -1 +1 @@ -{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AACpC,qCAAsD;AACtD,4DAA8C;AAC9C,mDAAkE;AAClE,2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A,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,QAAQ,CACT,CAAC;AACF,iGAAiG;AACjG,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC"} \ No newline at end of file +{"version":3,"file":"config-utils.test.js","sourceRoot":"","sources":["../src/config-utils.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,wDAA0C;AAC1C,8CAA6C;AAC7C,6CAA+B;AAE/B,kDAAoC;AACpC,qCAAsD;AACtD,4DAA8C;AAC9C,mDAAkE;AAClE,2CAAuC;AACvC,uCAAoD;AACpD,mDAA6C;AAC7C,6CAA+B;AAE/B,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,MAAM,gBAAgB,GAAG;IACvB,IAAI,EAAE,OAAO;IACb,gBAAgB,EAAE,OAAO;IACzB,GAAG,EAAE,4BAA4B;CAClC,CAAC;AAEF,MAAM,aAAa,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,EAAwB,CAAC;AAEhF,iDAAiD;AACjD,SAAS,gBAAgB,CAAC,iBAAyB,EAAE,MAAc;IACjE,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClD,EAAE,CAAC,aAAa,CAAC,cAAc,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IAC5D,OAAO,cAAc,CAAC;AACxB,CAAC;AAID,SAAS,eAAe,CACtB,OAA4B;IAE5B,kEAAkE;IAClE,MAAM,MAAM,GAAG,MAAM,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;IACxC,MAAM,QAAQ,GAAG;QACf,IAAI,EAAE,OAAO;KACd,CAAC;IACF,MAAM,cAAc,GAAG,KAAK;SACzB,IA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C5E,+FAA+F;AAC/F,6CAA6C;AAC7C,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CACpD,CAAC;AACF,kGAAkG;AAClG,6CAA6C;AAC7C,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,OAAO,CAAC,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CACpD,CAAC;AACF,kGAAkG;AAClG,UAAU;AACV,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,QAAQ,CACT,CAAC;AACF,iGAAiG;AACjG,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC;AACF,4FAA4F;AAC5F,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,kDAAkD,EAClD,sBAAsB,EACtB,OAAO,CACR,CAAC;AACF,8FAA8F;AAC9F,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,mBAAmB,EACnB,QAAQ,CACT,CAAC;AACF,iGAAiG;AACjG,cAAc;AACd,IAAA,aAAI,EACF,qBAAqB,EACrB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,QAAQ,CACT,CAAC"} \ No newline at end of file diff --git a/src/config-utils.test.ts b/src/config-utils.test.ts index 9ccd437a7c..cd1ed19cd1 100644 --- a/src/config-utils.test.ts +++ b/src/config-utils.test.ts @@ -10,7 +10,7 @@ import { getCachedCodeQL, setCodeQL } from "./codeql"; import * as configUtils from "./config-utils"; import { createFeatureFlags, FeatureFlag } from "./feature-flags"; import { Language } from "./languages"; -import { getRunnerLogger } from "./logging"; +import { getRunnerLogger, Logger } from "./logging"; import { setupTests } from "./testing-utils"; import * as util from "./util"; @@ -1424,7 +1424,12 @@ const parsePacksMacro = test.macro({ expected: Partial> ) => t.deepEqual( - configUtils.parsePacksFromConfig(packsByLanguage, languages, "/a/b"), + configUtils.parsePacksFromConfig( + packsByLanguage, + languages, + "/a/b", + mockLogger + ), expected ), @@ -1446,7 +1451,8 @@ const parsePacksErrorMacro = test.macro({ configUtils.parsePacksFromConfig( packsByLanguage as string[] | Record, languages, - "/a/b" + "/a/b", + {} as Logger ), { message: expected, @@ -1499,6 +1505,19 @@ test( } ); +test( + "two packs with unused language in config", + parsePacksMacro, + { + [Language.cpp]: ["a/b", "c/d@1.2.3"], + [Language.java]: ["d/e", "f/g@1.2.3"], + }, + [Language.cpp, Language.csharp], + { + [Language.cpp]: ["a/b", "c/d@1.2.3"], + } +); + test( "packs with other valid names", parsePacksMacro, @@ -1544,13 +1563,6 @@ test( [Language.java, Language.python], /The configuration file "\/a\/b" is invalid: property "packs" must split packages by language/ ); -test( - "invalid language", - parsePacksErrorMacro, - { [Language.java]: ["c/d"] }, - [Language.cpp], - /The configuration file "\/a\/b" is invalid: property "packs" has "java", but it is not one of the languages to analyze/ -); test( "not an array", parsePacksErrorMacro, @@ -1583,13 +1595,25 @@ function parseInputAndConfigMacro( expected ) { t.deepEqual( - configUtils.parsePacks(packsFromConfig, packsFromInput, languages, "/a/b"), + configUtils.parsePacks( + packsFromConfig, + packsFromInput, + languages, + "/a/b", + mockLogger + ), expected ); } parseInputAndConfigMacro.title = (providedTitle: string) => `Parse Packs input and config: ${providedTitle}`; +const mockLogger = { + info: (message: string) => { + console.log(message); + }, +} as Logger; + function parseInputAndConfigErrorMacro( t: ExecutionContext, packsFromConfig: string[] | Record, @@ -1603,7 +1627,8 @@ function parseInputAndConfigErrorMacro( packsFromConfig, packsFromInput, languages, - "/a/b" + "/a/b", + mockLogger ); }, { diff --git a/src/config-utils.ts b/src/config-utils.ts index 18e4667c12..59ca2033cb 100644 --- a/src/config-utils.ts +++ b/src/config-utils.ts @@ -629,14 +629,11 @@ export function getPathsInvalid(configFile: string): string { ); } -export function getPacksRequireLanguage( - lang: string, - configFile: string -): string { +function getPacksRequireLanguage(lang: string, configFile: string): string { return getConfigFilePropertyError( configFile, PACKS_PROPERTY, - `has "${lang}", but it is not one of the languages to analyze` + `has "${lang}", but it is not a valid language.` ); } @@ -1026,7 +1023,8 @@ async function loadConfig( parsedYAML[PACKS_PROPERTY] ?? {}, packsInput, languages, - configFile + configFile, + logger ); // If queries were provided using `with` in the action configuration, @@ -1146,7 +1144,8 @@ const PACK_IDENTIFIER_PATTERN = (function () { export function parsePacksFromConfig( packsByLanguage: string[] | Record, languages: Language[], - configFile: string + configFile: string, + logger: Logger ): Packs { const packs = {}; @@ -1168,7 +1167,16 @@ export function parsePacksFromConfig( throw new Error(getPacksInvalid(configFile)); } if (!languages.includes(lang as Language)) { - throw new Error(getPacksRequireLanguage(lang, configFile)); + // This particular language is not being analyzed in this run. + if (Language[lang as Language]) { + logger.info( + `Ignoring packs for ${lang} since this language is not being analyzed in this run.` + ); + continue; + } else { + // This language is invalid, probably a misspelling + throw new Error(getPacksRequireLanguage(configFile, lang)); + } } packs[lang] = []; for (const packStr of packsArr) { @@ -1296,13 +1304,15 @@ export function parsePacks( rawPacksFromConfig: string[] | Record, rawPacksInput: string | undefined, languages: Language[], - configFile: string + configFile: string, + logger: Logger ) { const packsFromInput = parsePacksFromInput(rawPacksInput, languages); const packsFomConfig = parsePacksFromConfig( rawPacksFromConfig, languages, - configFile + configFile, + logger ); if (!packsFromInput) { diff --git a/tests/multi-language-repo/.github/codeql/codeql-config-packaging.yml b/tests/multi-language-repo/.github/codeql/codeql-config-packaging.yml index 49fbcce23f..a243d0fd4b 100644 --- a/tests/multi-language-repo/.github/codeql/codeql-config-packaging.yml +++ b/tests/multi-language-repo/.github/codeql/codeql-config-packaging.yml @@ -6,6 +6,9 @@ packs: - dsp-testing/codeql-pack1@1.0.0 - dsp-testing/codeql-pack2 - dsp-testing/codeql-pack3:other-query.ql + ruby: + - dsp-testing/hucairz + - dsp-testing/i-dont-exist@1.0.0 paths-ignore: - tests From c18b1d6732777c17b20aca2e21c33a4a342294d2 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Fri, 24 Jun 2022 10:16:08 -0700 Subject: [PATCH 2/3] Update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4585b6fcb..c96619bc87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [UNRELEASED] -No user facing changes. +- It is no longer an error to include an unscanned language in the `packs` block in the codeql configuration file. [#1116](https://github.com/github/codeql-action/pull/1116) ## 2.1.13 - 21 Jun 2022 From e0411511a55447c54f04686fadd9d439a02a7118 Mon Sep 17 00:00:00 2001 From: Andrew Eisenberg Date: Fri, 24 Jun 2022 11:20:06 -0700 Subject: [PATCH 3/3] Update CHANGELOG.md Co-authored-by: Aditya Sharad <6874315+adityasharad@users.noreply.github.com> --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c96619bc87..2ce824fe4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## [UNRELEASED] -- It is no longer an error to include an unscanned language in the `packs` block in the codeql configuration file. [#1116](https://github.com/github/codeql-action/pull/1116) +- CodeQL query packs listed in the `packs` configuration field will be skipped if their target language is not being analyzed in the current Actions job. Previously, this would throw an error. [#1116](https://github.com/github/codeql-action/pull/1116) ## 2.1.13 - 21 Jun 2022