Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request removes JaCoCo code coverage integration from the project and updates the
Session
API to return more detailed results usingClerkResult
. Additionally, it introduces new strategies for password reset in theSignIn
module.Removal of JaCoCo code coverage integration:
JACOCO_USAGE.md
: Deleted the documentation for JaCoCo code coverage integration, including usage instructions, configuration, and CI/CD integration details.source/build.gradle.kts
: Removed thejacoco
plugin and all associated tasks, including thejacocoTestReport
task and its dependencies. [1] [2]Updates to
Session
API:source/src/main/kotlin/com/clerk/session/Session.kt
: Updated theSession.delete
method to return aClerkResult<Client, ClerkErrorResponse>
instead ofUnit
. Enhanced theSession.fetchToken
method to return aClerkResult<TokenResource, ClerkErrorResponse>
for better error handling and success reporting.New password reset strategies in
SignIn
module:source/src/main/kotlin/com/clerk/signin/SignIn.kt
: Added two new strategies,ResetPasswordEmailCode
andResetPasswordPhoneCode
, to support password reset via email or phone code. Both strategies are annotated with@AutoMap
and@Serializable
.