small post 6.2 cr1 tasks

This commit is contained in:
Steve Ebersole 2022-12-22 18:46:48 -06:00
parent 723227a3c6
commit cba4325bb0
4 changed files with 61 additions and 3 deletions

View File

@ -54,7 +54,7 @@ public class DeprecationReportTask extends AbstractJandexAwareTask {
super.writeReportHeader( fileWriter ); super.writeReportHeader( fileWriter );
try { try {
fileWriter.write( "# Union of everything annotated @Deprecated and/or @Remove" ); fileWriter.write( "# All API elements considered deprecated - union of @Deprecated and @Remove" );
fileWriter.write( '\n' ); fileWriter.write( '\n' );
fileWriter.write( '\n' ); fileWriter.write( '\n' );
} }

View File

@ -6,6 +6,8 @@
*/ */
package org.hibernate.orm.post; package org.hibernate.orm.post;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.util.Comparator; import java.util.Comparator;
import java.util.TreeSet; import java.util.TreeSet;
import javax.inject.Inject; import javax.inject.Inject;
@ -42,4 +44,17 @@ public abstract class IncubationReportTask extends AbstractJandexAwareTask {
writeReport( incubations ); writeReport( incubations );
} }
@Override
protected void writeReportHeader(OutputStreamWriter fileWriter) {
super.writeReportHeader( fileWriter );
try {
fileWriter.write( "# All API elements considered incubating" );
fileWriter.write( '\n' );
fileWriter.write( '\n' );
}
catch (IOException e) {
throw new RuntimeException( e );
}
}
} }

View File

@ -6,8 +6,8 @@
*/ */
package org.hibernate.orm.post; package org.hibernate.orm.post;
import java.io.File; import java.io.IOException;
import java.nio.file.Path; import java.io.OutputStreamWriter;
import java.util.Comparator; import java.util.Comparator;
import java.util.TreeSet; import java.util.TreeSet;
import javax.inject.Inject; import javax.inject.Inject;
@ -40,4 +40,18 @@ public abstract class InternalsReportTask extends AbstractJandexAwareTask {
writeReport( internals ); writeReport( internals );
} }
@Override
protected void writeReportHeader(OutputStreamWriter fileWriter) {
super.writeReportHeader( fileWriter );
try {
fileWriter.write( "# All API elements considered internal for Hibernate's own use" );
fileWriter.write( '\n' );
fileWriter.write( '\n' );
}
catch (IOException e) {
throw new RuntimeException( e );
}
}
} }

View File

@ -0,0 +1,29 @@
= Hibernate {{version-here}}
Steve Ebersole
:awestruct-tags: ["Hibernate ORM", "Releases"]
:awestruct-layout: blog-post
:version: {{version-here}}
:docs-url: https://docs.jboss.org/hibernate/orm/{version}
:javadocs-url: {docs-url}/javadocs
:migration-guide-url: {docs-url}/migration-guide/migration-guide.html
:user-guide-url: {docs-url}/userguide/html_single/Hibernate_User_Guide.html
// Text ...
== Conclusion
For additional details, see:
- the link:{user-guide-url}[User Guide]
- the link:{migration-guide-url}[Migration Guide]
- the https://hibernate.org/orm/releases/6.0/[release page]
See also the following resources related to supported APIs:
- the link:{docs-url}/incubating/incubating.txt[incubating API report] - `@Incubating`
- the link:{docs-url}/deprecated/deprecated.txt[deprecated API report] - `@Deprecated` + `@Remove`
- the link:{docs-url}/internals/internal.txt[internal API report] - internal packages, `@Internal`
Visit the https://hibernate.org/community/[website] for details on getting in touch with us.