- The tag
qualityhas been added to multiple Go quality queries for consistency. They have all been given a tag for one of the two top-level categoriesreliabilityormaintainability, and a tag for a sub-category. See Query file metadata and alert message style guide for more information about these categories. - The tag
external/cwe/cwe-129has been added togo/constant-length-comparison. - The tag
external/cwe/cwe-193has been added togo/index-out-of-bounds. - The tag
external/cwe/cwe-197has been added togo/shift-out-of-range. - The tag
external/cwe/cwe-248has been added togo/redundant-recover. - The tag
external/cwe/cwe-252has been added togo/missing-error-checkandgo/unhandled-writable-file-close. - The tag
external/cwe/cwe-480has been added togo/mistyped-exponentiation. - The tag
external/cwe/cwe-570has been added togo/impossible-interface-nil-checkandgo/comparison-of-identical-expressions. - The tag
external/cwe/cwe-571has been added togo/negative-length-checkandgo/comparison-of-identical-expressions. - The tag
external/cwe/cwe-783has been added togo/whitespace-contradicts-precedence. - The tag
external/cwe/cwe-835has been added togo/inconsistent-loop-direction. - The tag
error-handlinghas been added togo/missing-error-check,go/unhandled-writable-file-close, andgo/unexpected-nil-value. - The tag
useless-codehas been added togo/useless-assignment-to-field,go/useless-assignment-to-local,go/useless-expression, andgo/unreachable-statement. - The tag
logichas been removed fromgo/index-out-of-boundsandgo/unexpected-nil-value. - The tags
callanddeferhave been removed fromgo/unhandled-writable-file-close. - The tags
correctnessandqualityhave been reordered ingo/missing-error-checkandgo/unhandled-writable-file-close. - The tag
maintainabilityhas been changed toreliabilityforgo/unhandled-writable-file-close. - The tag order has been standardized to have
qualityfirst, followed by the top-level category (reliabilityormaintainability), then sub-category tags, and finally CWE tags. - The description text has been updated in
go/whitespace-contradicts-precedenceto change "may even indicate" to "may indicate".