mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
1.7 KiB
1.7 KiB
2.0.0
Breaking Changes
- Deleted many deprecated taint-tracking configurations based on
TaintTracking::Configuration. - Deleted the deprecated
explorationLimitpredicate fromDataFlow::Configuration, useFlowExploration<explorationLimit>instead.
Minor Analysis Improvements
- When a function or type has more than one anonymous type parameters, they were mistakenly being treated as the same type parameter. This has now been fixed.
- Local source models for reading and parsing environment variables have been added for the following libraries:
- os
- syscall
- github.com/caarlos0/env
- github.com/gobuffalo/envy
- github.com/hashicorp/go-envparse
- github.com/joho/godotenv
- github.com/kelseyhightower/envconfig
- Local source models have been added for the APIs which open files in the
io/fs,io/ioutilandospackages in the Go standard library. You can optionally include threat models as appropriate when using the CodeQL CLI and in GitHub code scanning. For more information, see Analyzing your code with CodeQL queries and Customizing your advanced setup for code scanning.
Bug Fixes
- Golang vendor directories not at the root of a repository are now correctly excluded from the baseline Go file count. This means code coverage information will be more accurate.