Skip to content

Commit 49776ac

Browse files
committed
Update API baseline and clear accepted breaking changes
1 parent ee9ec3f commit 49776ac

File tree

4 files changed

+6
-65
lines changed

4 files changed

+6
-65
lines changed

RELEASING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
### Feature releases (x.y.0)
3131

32+
- [ ] Clear `accepted-breaking-changes.txt`, change `previousVersion` in `gradle.properties` to `x.y.0` on the release branch, and commit with message "Update API baseline and clear accepted breaking changes"
3233
- [ ] Fast-forward merge the release branch to `main` and push to GitHub
3334
- [ ] Update the [security policy](https://github.com/junit-team/junit-framework/blob/main/SECURITY.md) and commit with message "Update security policy to reflect 5.x release" or similar
3435
- [ ] Create release notes for the next feature release from the template
@@ -37,5 +38,6 @@
3738
### Patch releases (x.y.z)
3839

3940
- [ ] Cherry-pick the tagged commit from the release branch to `main` and resolve the conflict in `gradle.properties` by choosing the version of the `main` branch
41+
- [ ] Clear `accepted-breaking-changes.txt`, change `previousVersion` in `gradle.properties` to `x.y.z` on the release branch, and commit with message "Update API baseline and clear accepted breaking changes"
4042
- [ ] Include the release notes of the patch release on `main` if not already present
4143
- [ ] Update [JBang catalog](https://github.com/junit-team/jbang-catalog/blob/main/jbang-catalog.json)

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version = 6.1.0-SNAPSHOT
22

3+
# For backward compatibility checks
4+
apiBaselineVersion = 6.0.0
5+
36
# We need more metaspace due to apparent memory leak in Asciidoctor/JRuby
47
org.gradle.jvmargs=-Xmx1g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError
58
org.gradle.caching=true
Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +0,0 @@
1-
org.junit.jupiter.api.AssertionsKt
2-
org.junit.jupiter.api.extension.ExtensionContext#getConfigurationParameter
3-
org.junit.jupiter.api.extension.ExtensionContext$Namespace
4-
org.junit.jupiter.api.extension.ExtensionContext$Store#computeIfAbsent
5-
org.junit.jupiter.api.extension.ExtensionContext$Store#getOrComputeIfAbsent
6-
org.junit.jupiter.api.extension.InvocationInterceptor#interceptDynamicTest
7-
org.junit.jupiter.api.extension.MediaType
8-
org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider#provideTestTemplateInvocationContexts
9-
org.junit.jupiter.api.io.TempDir#SCOPE_PROPERTY_NAME
10-
org.junit.jupiter.api.MethodOrderer$Alphanumeric
11-
org.junit.jupiter.engine.Constants#TEMP_DIR_SCOPE_PROPERTY_NAME
12-
org.junit.jupiter.params.ParameterizedClass#quoteTextArguments
13-
org.junit.jupiter.params.ParameterizedTest#quoteTextArguments
14-
org.junit.jupiter.params.provider.CsvFileSource#lineSeparator
15-
org.junit.jupiter.params.ResolutionCache$Concurrent#resolve
16-
org.junit.platform.commons.PreconditionViolationException
17-
org.junit.platform.commons.support.ReflectionSupport#loadClass
18-
org.junit.platform.commons.util.BlacklistedExceptions
19-
org.junit.platform.commons.util.PreconditionViolationException
20-
org.junit.platform.console.ConsoleLauncher#ConsoleLauncher
21-
org.junit.platform.engine.ConfigurationParameters#get
22-
org.junit.platform.engine.ConfigurationParameters#size
23-
org.junit.platform.engine.discovery.ClasspathResourceSelector
24-
org.junit.platform.engine.discovery.ClasspathRootSelector
25-
org.junit.platform.engine.discovery.ClassSelector
26-
org.junit.platform.engine.discovery.DirectorySelector
27-
org.junit.platform.engine.discovery.FilePosition
28-
org.junit.platform.engine.discovery.FileSelector
29-
org.junit.platform.engine.discovery.IterationSelector
30-
org.junit.platform.engine.discovery.MethodSelector
31-
org.junit.platform.engine.discovery.ModuleSelector
32-
org.junit.platform.engine.discovery.NestedClassSelector
33-
org.junit.platform.engine.discovery.NestedMethodSelector
34-
org.junit.platform.engine.discovery.PackageSelector
35-
org.junit.platform.engine.discovery.UniqueIdSelector
36-
org.junit.platform.engine.discovery.UriSelector
37-
org.junit.platform.engine.reporting.ReportEntry#ReportEntry
38-
org.junit.platform.engine.support.config.PrefixedConfigurationParameters#get
39-
org.junit.platform.engine.support.descriptor.ClasspathResourceSource
40-
org.junit.platform.engine.support.descriptor.ClassSource
41-
org.junit.platform.engine.support.descriptor.CompositeTestSource
42-
org.junit.platform.engine.support.descriptor.DirectorySource
43-
org.junit.platform.engine.support.descriptor.FilePosition
44-
org.junit.platform.engine.support.descriptor.FileSource
45-
org.junit.platform.engine.support.descriptor.MethodSource
46-
org.junit.platform.engine.support.descriptor.PackageSource
47-
org.junit.platform.engine.support.filter.ClasspathScanningSupport
48-
org.junit.platform.engine.support.hierarchical.SingleTestExecutor
49-
org.junit.platform.engine.support.hierarchical.SingleTestExecutor$Executable
50-
org.junit.platform.engine.support.store.Namespace
51-
org.junit.platform.engine.support.store.NamespacedHierarchicalStore#getOrComputeIfAbsent
52-
org.junit.platform.engine.UniqueId
53-
org.junit.platform.engine.UniqueId$Segment
54-
org.junit.platform.launcher.core.LauncherDiscoveryRequestBuilder
55-
org.junit.platform.launcher.Launcher
56-
org.junit.platform.launcher.listeners.LegacyReportingUtils
57-
org.junit.platform.launcher.TestPlan#add
58-
org.junit.platform.launcher.TestPlan#getChildren
59-
org.junit.platform.reporting.open.xml.GitInfoCollector$CliGitInfoCollector
60-
org.junit.platform.suite.api.UseTechnicalNames
61-
org.junit.platform.testkit.engine.EngineTestKit#execute
62-
org.junit.platform.testkit.engine.EngineTestKit$Builder#filters

gradle/plugins/japicmp/src/main/kotlin/junitbuild.japicmp.gradle.kts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ val extension = extensions.create<JApiCmpExtension>("japicmp").apply {
2929
finalizeValueOnRead()
3030
}
3131
previousVersion.apply {
32-
convention(provider {
33-
if (group == "org.junit.platform") "1.14.0-RC1" else "5.14.0-RC1"
34-
})
32+
convention(providers.gradleProperty("apiBaselineVersion"))
3533
finalizeValueOnRead()
3634
}
3735
}

0 commit comments

Comments
 (0)