Skip to end of metadata
Go to start of metadata

Release 7.6

Java API 

  • CHANGED PostJob moved to project level IoC container
  • CHANGED InputFileFilter moved to project level IoC container
  • ADDED New annotation org.sonar.api.scanner.ScannerSide to mark (project level) scanner components
  • ADDED org.sonar.api.batch.fs.InputProject to create issues on project
  • ADDED org.sonar.api.scanner.ProjectSensor to declare Sensors that only run at project level
  • DEPRECATED org.sonar.scanner.issue.IssueFilter deprecated
  • DEPRECATED org.sonar.api.batch.InstantiationStrategy deprecated
  • DEPRECATED org.sonar.api.batch.ScannerSide deprecated
  • DEPRECATED org.sonar.api.batch.fs.InputModule deprecated
  • DEPRECATED Concept of global Sensor is deprecated (use ProjectSensor instead)
  • REMOVED Support of scanner tasks was removed
  • REMOVED RulesProfile is not more available for scanner side components (use ActiveRules instead)

Release 7.5

Java API 

No changes

Release 7.4

Java API 

  • CHANGED Allow identity provider to not provide login
  • ADDED Allow sensors to report adhoc rules metadata
  • REMOVEDorg.sonar.api.rules.RuleFinder removed from scanner side
  • REMOVED sonar-channel removed from plugin classloader
  • REMOVED stop support of plugins compiled with API < 5.2

Release 7.3

Java API 

  • ADDED RulesDefinitions supports HotSpots and security standards
  • DEPRECATED org.sonar.api.batch.AnalysisMode and org.sonar.api.issue.ProjectIssues since preview mode is already deprecated for a while

Release 7.2

Java API 

  • ADDED org.sonar.api.batch.sensor.SensorContext#newExternalIssue to report external issues
  • ADDED org.sonar.api.batch.sensor.SensorContext#newSignificantCode to report part of the source file that should be used for issue tracking
  • ADDED org.sonar.api.scan.issue.filter.FilterableIssue#textRange
  • DEPRECATED org.sonar.api.scan.issue.filter.FilterableIssue#line

Web API

Release 7.1

Java API 

  • ADDED org.sonar.api.Plugin.Context#getBootConfiguration
  • ADDED org.sonar.api.server.rule.RulesDefinition.NewRule#addDeprecatedRuleKey to support deprecated rule keys

Web API

Release 7.0

Java API 

  • ADDED org.sonar.api.batch.scm.ScmProvider#relativePathFromScmRoot, org.sonar.api.batch.scm.ScmProvider#branchChangedFiles and org.sonar.api.batch.scm.ScmProvider#revisionId  to improve branch and PR support

Web API

Release 6.7

Java API 

Web API

  • No labels