Skip to content

Commit

Permalink
Add API tracking (JetBrains#1756)
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l authored and saral committed Oct 3, 2023
1 parent 0ae111b commit 4401056
Show file tree
Hide file tree
Showing 12 changed files with 4,280 additions and 0 deletions.
Empty file added api/exposed.api
Empty file.
5 changes: 5 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ plugins {
kotlin("jvm") apply true
id("io.github.gradle-nexus.publish-plugin") apply true
id("io.gitlab.arturbosch.detekt")
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2"
}

allprojects {
Expand All @@ -16,6 +17,10 @@ allprojects {
}
}

apiValidation {
ignoredProjects.addAll(listOf("exposed-tests", "exposed-bom"))
}

val reportMerge by tasks.registering(ReportMergeTask::class) {
output.set(rootProject.buildDir.resolve("reports/detekt/exposed.xml"))
}
Expand Down
3,355 changes: 3,355 additions & 0 deletions exposed-core/api/exposed-core.api

Large diffs are not rendered by default.

41 changes: 41 additions & 0 deletions exposed-crypt/api/exposed-crypt.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
public final class org/jetbrains/exposed/crypt/Algorithms {
public static final field INSTANCE Lorg/jetbrains/exposed/crypt/Algorithms;
public final fun AES_256_PBE_CBC (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lorg/jetbrains/exposed/crypt/Encryptor;
public final fun AES_256_PBE_GCM (Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Lorg/jetbrains/exposed/crypt/Encryptor;
public final fun BLOW_FISH (Ljava/lang/CharSequence;)Lorg/jetbrains/exposed/crypt/Encryptor;
public final fun TRIPLE_DES (Ljava/lang/CharSequence;)Lorg/jetbrains/exposed/crypt/Encryptor;
}

public final class org/jetbrains/exposed/crypt/EncryptedBinaryColumnType : org/jetbrains/exposed/sql/BinaryColumnType {
public fun <init> (Lorg/jetbrains/exposed/crypt/Encryptor;I)V
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun notNullValueToDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun validateValueBeforeUpdate (Ljava/lang/Object;)V
public fun valueFromDB (Ljava/lang/Object;)Ljava/lang/Object;
}

public final class org/jetbrains/exposed/crypt/EncryptedVarCharColumnType : org/jetbrains/exposed/sql/VarCharColumnType {
public fun <init> (Lorg/jetbrains/exposed/crypt/Encryptor;I)V
public fun equals (Ljava/lang/Object;)Z
public fun hashCode ()I
public fun notNullValueToDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun validateValueBeforeUpdate (Ljava/lang/Object;)V
public fun valueFromDB (Ljava/lang/Object;)Ljava/lang/Object;
}

public final class org/jetbrains/exposed/crypt/Encryptor {
public fun <init> (Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
public final fun decrypt (Ljava/lang/String;)Ljava/lang/String;
public final fun encrypt (Ljava/lang/String;)Ljava/lang/String;
public final fun getDecryptFn ()Lkotlin/jvm/functions/Function1;
public final fun getEncryptFn ()Lkotlin/jvm/functions/Function1;
public final fun getMaxColLengthFn ()Lkotlin/jvm/functions/Function1;
public final fun maxColLength (I)I
}

public final class org/jetbrains/exposed/crypt/TablesKt {
public static final fun encryptedBinary (Lorg/jetbrains/exposed/sql/Table;Ljava/lang/String;ILorg/jetbrains/exposed/crypt/Encryptor;)Lorg/jetbrains/exposed/sql/Column;
public static final fun encryptedVarchar (Lorg/jetbrains/exposed/sql/Table;Ljava/lang/String;ILorg/jetbrains/exposed/crypt/Encryptor;)Lorg/jetbrains/exposed/sql/Column;
}

315 changes: 315 additions & 0 deletions exposed-dao/api/exposed-dao.api

Large diffs are not rendered by default.

166 changes: 166 additions & 0 deletions exposed-java-time/api/exposed-java-time.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
public final class org/jetbrains/exposed/sql/javatime/CurrentDate : org/jetbrains/exposed/sql/Function {
public static final field INSTANCE Lorg/jetbrains/exposed/sql/javatime/CurrentDate;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/CurrentDateTime : org/jetbrains/exposed/sql/Function {
public static final field INSTANCE Lorg/jetbrains/exposed/sql/javatime/CurrentDateTime;
public final fun invoke ()Lorg/jetbrains/exposed/sql/javatime/CurrentDateTime;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/CurrentTimestamp : org/jetbrains/exposed/sql/Expression {
public fun <init> ()V
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/Date : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/Day : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/Hour : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/JavaDateColumnTypeKt {
public static final fun date (Lorg/jetbrains/exposed/sql/Table;Ljava/lang/String;)Lorg/jetbrains/exposed/sql/Column;
public static final fun datetime (Lorg/jetbrains/exposed/sql/Table;Ljava/lang/String;)Lorg/jetbrains/exposed/sql/Column;
public static final fun duration (Lorg/jetbrains/exposed/sql/Table;Ljava/lang/String;)Lorg/jetbrains/exposed/sql/Column;
public static final fun time (Lorg/jetbrains/exposed/sql/Table;Ljava/lang/String;)Lorg/jetbrains/exposed/sql/Column;
public static final fun timestamp (Lorg/jetbrains/exposed/sql/Table;Ljava/lang/String;)Lorg/jetbrains/exposed/sql/Column;
}

public final class org/jetbrains/exposed/sql/javatime/JavaDateFunctionsKt {
public static final fun CustomDateFunction (Ljava/lang/String;[Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/CustomFunction;
public static final fun CustomDateTimeFunction (Ljava/lang/String;[Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/CustomFunction;
public static final fun CustomDurationFunction (Ljava/lang/String;[Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/CustomFunction;
public static final fun CustomTimeFunction (Ljava/lang/String;[Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/CustomFunction;
public static final fun CustomTimeStampFunction (Ljava/lang/String;[Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/CustomFunction;
public static final fun date (Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/javatime/Date;
public static final fun dateLiteral (Ljava/time/LocalDate;)Lorg/jetbrains/exposed/sql/LiteralOp;
public static final fun dateParam (Ljava/time/LocalDate;)Lorg/jetbrains/exposed/sql/Expression;
public static final fun dateTimeLiteral (Ljava/time/LocalDateTime;)Lorg/jetbrains/exposed/sql/LiteralOp;
public static final fun dateTimeParam (Ljava/time/LocalDateTime;)Lorg/jetbrains/exposed/sql/Expression;
public static final fun day (Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/javatime/Day;
public static final fun durationLiteral (Ljava/time/Duration;)Lorg/jetbrains/exposed/sql/LiteralOp;
public static final fun durationParam (Ljava/time/Duration;)Lorg/jetbrains/exposed/sql/Expression;
public static final fun hour (Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/javatime/Hour;
public static final fun minute (Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/javatime/Minute;
public static final fun month (Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/javatime/Month;
public static final fun second (Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/javatime/Second;
public static final fun timeLiteral (Ljava/time/LocalTime;)Lorg/jetbrains/exposed/sql/LiteralOp;
public static final fun timeParam (Ljava/time/LocalTime;)Lorg/jetbrains/exposed/sql/Expression;
public static final fun timestampLiteral (Ljava/time/Instant;)Lorg/jetbrains/exposed/sql/LiteralOp;
public static final fun timestampParam (Ljava/time/Instant;)Lorg/jetbrains/exposed/sql/Expression;
public static final fun year (Lorg/jetbrains/exposed/sql/Expression;)Lorg/jetbrains/exposed/sql/javatime/Year;
}

public final class org/jetbrains/exposed/sql/javatime/JavaDurationColumnType : org/jetbrains/exposed/sql/ColumnType {
public static final field Companion Lorg/jetbrains/exposed/sql/javatime/JavaDurationColumnType$Companion;
public fun <init> ()V
public fun nonNullValueToString (Ljava/lang/Object;)Ljava/lang/String;
public fun notNullValueToDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun readObject (Ljava/sql/ResultSet;I)Ljava/lang/Object;
public fun sqlType ()Ljava/lang/String;
public synthetic fun valueFromDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun valueFromDB (Ljava/lang/Object;)Ljava/time/Duration;
}

public final class org/jetbrains/exposed/sql/javatime/JavaDurationColumnType$Companion {
}

public final class org/jetbrains/exposed/sql/javatime/JavaInstantColumnType : org/jetbrains/exposed/sql/ColumnType, org/jetbrains/exposed/sql/IDateColumnType {
public static final field Companion Lorg/jetbrains/exposed/sql/javatime/JavaInstantColumnType$Companion;
public fun <init> ()V
public fun getHasTimePart ()Z
public fun nonNullValueToString (Ljava/lang/Object;)Ljava/lang/String;
public fun notNullValueToDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun readObject (Ljava/sql/ResultSet;I)Ljava/lang/Object;
public fun sqlType ()Ljava/lang/String;
public synthetic fun valueFromDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun valueFromDB (Ljava/lang/Object;)Ljava/time/Instant;
}

public final class org/jetbrains/exposed/sql/javatime/JavaInstantColumnType$Companion {
}

public final class org/jetbrains/exposed/sql/javatime/JavaLocalDateColumnType : org/jetbrains/exposed/sql/ColumnType, org/jetbrains/exposed/sql/IDateColumnType {
public static final field Companion Lorg/jetbrains/exposed/sql/javatime/JavaLocalDateColumnType$Companion;
public fun <init> ()V
public fun getHasTimePart ()Z
public fun nonNullValueToString (Ljava/lang/Object;)Ljava/lang/String;
public fun notNullValueToDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun sqlType ()Ljava/lang/String;
public fun valueFromDB (Ljava/lang/Object;)Ljava/lang/Object;
}

public final class org/jetbrains/exposed/sql/javatime/JavaLocalDateColumnType$Companion {
}

public final class org/jetbrains/exposed/sql/javatime/JavaLocalDateTimeColumnType : org/jetbrains/exposed/sql/ColumnType, org/jetbrains/exposed/sql/IDateColumnType {
public static final field Companion Lorg/jetbrains/exposed/sql/javatime/JavaLocalDateTimeColumnType$Companion;
public fun <init> ()V
public fun getHasTimePart ()Z
public fun nonNullValueToString (Ljava/lang/Object;)Ljava/lang/String;
public fun notNullValueToDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun sqlType ()Ljava/lang/String;
public fun valueFromDB (Ljava/lang/Object;)Ljava/lang/Object;
}

public final class org/jetbrains/exposed/sql/javatime/JavaLocalDateTimeColumnType$Companion {
}

public final class org/jetbrains/exposed/sql/javatime/JavaLocalTimeColumnType : org/jetbrains/exposed/sql/ColumnType, org/jetbrains/exposed/sql/IDateColumnType {
public static final field Companion Lorg/jetbrains/exposed/sql/javatime/JavaLocalTimeColumnType$Companion;
public fun <init> ()V
public fun getHasTimePart ()Z
public fun nonNullValueToString (Ljava/lang/Object;)Ljava/lang/String;
public fun notNullValueToDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun sqlType ()Ljava/lang/String;
public synthetic fun valueFromDB (Ljava/lang/Object;)Ljava/lang/Object;
public fun valueFromDB (Ljava/lang/Object;)Ljava/time/LocalTime;
}

public final class org/jetbrains/exposed/sql/javatime/JavaLocalTimeColumnType$Companion {
}

public final class org/jetbrains/exposed/sql/javatime/Minute : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/Month : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/Second : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/Time : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

public final class org/jetbrains/exposed/sql/javatime/Year : org/jetbrains/exposed/sql/Function {
public fun <init> (Lorg/jetbrains/exposed/sql/Expression;)V
public final fun getExpr ()Lorg/jetbrains/exposed/sql/Expression;
public fun toQueryBuilder (Lorg/jetbrains/exposed/sql/QueryBuilder;)V
}

82 changes: 82 additions & 0 deletions exposed-jdbc/api/exposed-jdbc.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
public final class org/jetbrains/exposed/jdbc/ExposedConnectionImpl : org/jetbrains/exposed/sql/DatabaseConnectionAutoRegistration {
public fun <init> ()V
public synthetic fun invoke (Ljava/lang/Object;)Ljava/lang/Object;
public fun invoke (Ljava/sql/Connection;)Lorg/jetbrains/exposed/sql/statements/jdbc/JdbcConnectionImpl;
}

public final class org/jetbrains/exposed/sql/statements/jdbc/JdbcConnectionImpl : org/jetbrains/exposed/sql/statements/api/ExposedConnection {
public fun <init> (Ljava/sql/Connection;)V
public fun close ()V
public fun commit ()V
public fun executeInBatch (Ljava/util/List;)V
public fun getAutoCommit ()Z
public fun getCatalog ()Ljava/lang/String;
public synthetic fun getConnection ()Ljava/lang/Object;
public fun getConnection ()Ljava/sql/Connection;
public fun getReadOnly ()Z
public fun getSchema ()Ljava/lang/String;
public fun getTransactionIsolation ()I
public fun isClosed ()Z
public fun metadata (Lkotlin/jvm/functions/Function1;)Ljava/lang/Object;
public fun prepareStatement (Ljava/lang/String;Z)Lorg/jetbrains/exposed/sql/statements/api/PreparedStatementApi;
public fun prepareStatement (Ljava/lang/String;[Ljava/lang/String;)Lorg/jetbrains/exposed/sql/statements/api/PreparedStatementApi;
public fun releaseSavepoint (Lorg/jetbrains/exposed/sql/statements/api/ExposedSavepoint;)V
public fun rollback ()V
public fun rollback (Lorg/jetbrains/exposed/sql/statements/api/ExposedSavepoint;)V
public fun setAutoCommit (Z)V
public fun setCatalog (Ljava/lang/String;)V
public fun setReadOnly (Z)V
public fun setSavepoint (Ljava/lang/String;)Lorg/jetbrains/exposed/sql/statements/api/ExposedSavepoint;
public fun setSchema (Ljava/lang/String;)V
public fun setTransactionIsolation (I)V
}

public final class org/jetbrains/exposed/sql/statements/jdbc/JdbcDatabaseMetadataImpl : org/jetbrains/exposed/sql/statements/api/ExposedDatabaseMetadata {
public static final field Companion Lorg/jetbrains/exposed/sql/statements/jdbc/JdbcDatabaseMetadataImpl$Companion;
public fun <init> (Ljava/lang/String;Ljava/sql/DatabaseMetaData;)V
public fun cleanCache ()V
public fun columns ([Lorg/jetbrains/exposed/sql/Table;)Ljava/util/Map;
public fun existingIndices ([Lorg/jetbrains/exposed/sql/Table;)Ljava/util/Map;
public fun getCurrentScheme ()Ljava/lang/String;
public fun getDatabaseDialectName ()Ljava/lang/String;
public fun getDatabaseProductVersion ()Ljava/lang/String;
public fun getDefaultIsolationLevel ()I
public fun getIdentifierManager ()Lorg/jetbrains/exposed/sql/statements/api/IdentifierManagerApi;
public final fun getMetadata ()Ljava/sql/DatabaseMetaData;
public fun getSchemaNames ()Ljava/util/List;
public fun getSupportsAlterTableWithAddColumn ()Z
public fun getSupportsMultipleResultSets ()Z
public fun getSupportsSelectForUpdate ()Z
public fun getTableNames ()Ljava/util/Map;
public fun getUrl ()Ljava/lang/String;
public fun getVersion ()Ljava/math/BigDecimal;
public fun resetCurrentScheme ()V
public fun tableConstraints (Ljava/util/List;)Ljava/util/Map;
}

public final class org/jetbrains/exposed/sql/statements/jdbc/JdbcDatabaseMetadataImpl$Companion {
}

public final class org/jetbrains/exposed/sql/statements/jdbc/JdbcPreparedStatementImpl : org/jetbrains/exposed/sql/statements/api/PreparedStatementApi {
public fun <init> (Ljava/sql/PreparedStatement;Z)V
public fun addBatch ()V
public fun cancel ()V
public fun closeIfPossible ()V
public fun executeBatch ()Ljava/util/List;
public fun executeQuery ()Ljava/sql/ResultSet;
public fun executeUpdate ()I
public fun fillParameters (Ljava/lang/Iterable;)I
public fun getFetchSize ()Ljava/lang/Integer;
public fun getResultSet ()Ljava/sql/ResultSet;
public final fun getStatement ()Ljava/sql/PreparedStatement;
public final fun getWasGeneratedKeysRequested ()Z
public fun set (ILjava/lang/Object;)V
public fun setFetchSize (Ljava/lang/Integer;)V
public fun setInputStream (ILjava/io/InputStream;)V
public fun setNull (ILorg/jetbrains/exposed/sql/IColumnType;)V
}

public final class org/jetbrains/exposed/sql/statements/jdbc/JdbcSavepoint : org/jetbrains/exposed/sql/statements/api/ExposedSavepoint {
public fun <init> (Ljava/lang/String;Ljava/sql/Savepoint;)V
}

Loading

0 comments on commit 4401056

Please sign in to comment.