|
57 | 57 |
|
58 | 58 | ## 9.17 |
59 | 59 |
|
60 | | -* Introduce `org.sonar.api.batch.sensor.issue.NewIssue.setCodeVariants(Iterable<String>)` to contribute issues for given variants (e.g. different target platforms) |
| 60 | +* Introduce `org.sonar.api.batch.sensor.issue.NewIssue.setCodeVariants(Iterable<String>)` for analyzers to contribute issues for given variants (e.g. different target platforms) |
| 61 | +* Introduce 'org.sonar.api.issue.Issue.codeVariants()' |
61 | 62 | * Improvements on `org.sonar.api.testfixtures.log.LogTester`: |
62 | 63 | * intercepts logged exceptions |
63 | 64 | * thread-safe |
|
80 | 81 | * `org.sonar.api.utils.log.LogTester` → `org.sonar.api.testfixtures.log.LogTester` |
81 | 82 | * `org.sonar.api.utils.log.LogTesterJUnit5` → `org.sonar.api.testfixtures.log.LogTesterJUnit5` |
82 | 83 | * **Breaking change for tests**: the default log level when using `LogTester` is now `INFO`. This is consistent with the default behavior of Sonar products. If you want to assert `DEBUG` or `TRACE` logs in your tests, you should first change the log level by using for example `logTester.setLevel(Level.DEBUG)`. |
| 84 | + |
| 85 | +## 9.14 |
| 86 | + |
| 87 | +* Properties `sonar.tests.inclusions` and `sonar.tests.exclusions` added to `org.sonar.api.CoreProperties` as alias for `sonar.test.inclusions` and `sonar.test.exclusion` |
| 88 | + |
| 89 | +# 9.13 |
| 90 | + |
| 91 | +* Support for plugins to add messages to issue locations with formatting: |
| 92 | + * Added interface `org.sonar.api.batch.sensor.issue.MessageFormatting` |
| 93 | + * Added interface `org.sonar.api.batch.sensor.issue.NewMessageFormatting` |
| 94 | + * Added method `org.sonar.api.batch.sensor.issue.IssueLocation.messageFormattings()` |
| 95 | + * Added method `org.sonar.api.batch.sensor.issue.NewIssueLocation.message(String, List<NewMessageFormatting>)` |
| 96 | + * Added method `org.sonar.api.batch.sensor.issue.NewIssueLocation.newMessageFormatting` |
| 97 | +* Support for plugins to add quick fixes to issues: |
| 98 | + * Added interface `org.sonar.api.batch.sensor.issue.fix.InputFileEdit` |
| 99 | + * Added interface `org.sonar.api.batch.sensor.issue.fix.NewInputFileEdit` |
| 100 | + * Added interface `org.sonar.api.batch.sensor.issue.fix.NewQuickFix` |
| 101 | + * Added interface `org.sonar.api.batch.sensor.issue.fix.NewTextEdit` |
| 102 | + * Added interface `org.sonar.api.batch.sensor.issue.fix.QuickFix` |
| 103 | + * Added interface `org.sonar.api.batch.sensor.issue.fix.TextEdit` |
| 104 | + * Added method `org.sonar.api.batch.sensor.issue.Issue.quickFixes()` |
| 105 | + * Added method `org.sonar.api.batch.sensor.issue.NewIssue.newQuickFix()` |
| 106 | + * Added method `org.sonar.api.batch.sensor.issue.NewIssue.addQuickFix(NewQuickFix)` |
| 107 | + |
| 108 | +## 9.12 |
| 109 | + |
| 110 | +* Added a new property type: `org.sonar.api.PropertyType.FORMATTED_TEXT` |
0 commit comments