Skip to content

SonarPython 4.20.0.16410

Compare
Choose a tag to compare
@maksim-grebeniuk-sonarsource maksim-grebeniuk-sonarsource released this 12 Aug 13:28
· 182 commits to master since this release
cff3f2c

Release notes - SonarPython - 4.20

Bug

SONARPY-2055 Analysis should stop for notebooks after a parse error

SONARPY-2069 Fix usage of V1 TypeShed during resolution of V2 types

SONARPY-2070 Fix NPE when type inference visit is missing

New Feature

SONARPY-2044 Add STIG metadata support

Task

SONARPY-486 Update assertions on issue locations in unit tests

SONARPY-1591 Update Python protobuf version to 4.25.1

SONARPY-1917 Investigate decoupling class/function information from types

SONARPY-1918 Investigate representation of project table in type model V2

SONARPY-1920 Investigate how to represent declared types (type sources)

SONARPY-1921 Investigate next rules to migrate

SONARPY-1929 Specify type checking APIs to work with non-exact type sources

SONARPY-1930 Specify how to represent overloads in the type model

SONARPY-1932 Specify how to represent Type Aliases

SONARPY-1943 Investigate TypeShed build inside the docker container

SONARPY-1945 CI pipeline should fail if there are differences in checksum for typeshed stub generation.

SONARPY-1957 Explore JSON parsing solutions

SONARPY-1958 Explore the possibility of analyzing raw files in sonar-python

SONARPY-1959 Explore current support of Jupyter Notebooks

SONARPY-1960 Investigate issue reporting APIs to ensure precise locations are always raised on ipynb files

SONARPY-1965 Investigate raw parsing of Notebooks with SSLR

SONARPY-1970 Investigate String escaping issue with Highlighting, issue reporting

SONARPY-1972 Investigate where remapping location should take place

SONARPY-1973 Investigate feasibility of ipynb analysis in IntelliJ sonar lint

SONARPY-2034 Refactor IPythonLocation to hold an ordered list rather than a linkedHashMap

SONARPY-2071 Update parent pom to 75.0.0.1943

Improvement

SONARPY-1480 Optimization of plugin download

SONARPY-1934 Migrate rule S3699 UseOfEmptyReturnValue to typeV2

SONARPY-1935 Migrate rule S112 GenericExceptionRaised to typeV2

SONARPY-1936 Migrate rule S5864 NonCallableCalled to typeV2

SONARPY-1953 Set type source for function return type

SONARPY-1984 Infer type of function parameters based on its type hints

SONARPY-1985 Infer a function return type based on its type hint for locally defined functions

SONARPY-1996 Implement a basic TypeChecker builder

SONARPY-1997 Propagate function return types to the result of call expressions

SONARPY-2000 Propagate types of imported names

SONARPY-2010 Avoid creating duplicate types when the corresponding symbols are duplicated

SONARPY-2017 Avoid type related FP in case of isInstance checks

SONARPY-2022 Resolve type aliases types from TypeShed

SONARPY-2023 Translate type source for binary expressions

SONARPY-2024 Ensure call expressions return types have same type source as their callee

SONARPY-2029 Implement API to get a module type's member type from project level types table

SONARPY-2064 Propagate imported names from import from