Skip to content

Java SDK

<!-- Gradle -->
implementation "com.scalekit:scalekit-sdk-java:v2.0.9"
<!-- Maven -->
<dependency>
<groupId>com.scalekit</groupId>
<artifactId>scalekit-sdk-java</artifactId>
<version>v2.0.9</version>
</dependency>
v2.0.9 Spring Boot Maven Central
Updated 1 day ago
Initialize the client
import com.scalekit.ScalekitClient;
public class ScalekitConfig {
public ScalekitClient scalekitClient() {
return new ScalekitClient(
System.getenv("SCALEKIT_ENVIRONMENT_URL"),
System.getenv("SCALEKIT_CLIENT_ID"),
System.getenv("SCALEKIT_CLIENT_SECRET")
);
}
}

v2.0.9

Version 2.0.9

Domains API Release Notes

What's Changed

New Contributors

New Feature: Domain List API Type Filtering

Added optional type filtering to listDomainsByOrganizationId() method. Filter domains by ALLOWED_EMAIL_DOMAIN or ORGANIZATION_DOMAIN type.

API:

// List all domains (no filter)
List<Domain> domains = client.domains().listDomainsByOrganizationId("org_123456");

// Filter by type
List<Domain> domains = client.domains().listDomainsByOrganizationId(
    "org_123456", 
    DomainType.ALLOWED_EMAIL_DOMAIN  // or DomainType.ORGANIZATION_DOMAIN
);

Highlights:

  • ✅ Fully backward compatible
  • ✅ Uses DomainType enum for type safety
  • ✅ Comprehensive test coverage
  • ✅ No migration required

Changes

Added:

  • Type filtering parameter in listDomainsByOrganizationId(String organizationId, DomainType domainType)
  • Method overload to maintain backward compatibility

Improved:

  • Type safety for domain filtering using enum values
  • Better code clarity with explicit domain type filtering

Migration

No migration needed - existing code works unchanged. The new overloaded method with DomainType parameter is optional.


Documentation: Domain API Docs

Full Changelog: v2.0.8...v2.0.9

v2.0.8

What's Changed

  • Add WebAuthn client support to ScalekitClient in #32

Full Changelog: v2.0.7...v2.0.8

v2.0.7

What's Changed

New sdk methods

  • Add upsertUserManagementSettings() to OrganizationClient by @dhaneshbs in #31

Full Changelog: v2.0.6...v2.0.7

v2.0.6

What's Changed

  • Generate proto files to support given_name and family_name in user object in #29

Full Changelog: v2.0.5...v2.0.6

v2.0.5

What's Changed

  • Add Session management sdk methods in #24

New Contributors

Full Changelog: v2.0.4...v2.0.5

v1.1.3

What's Changed

  • Minimum Requirements
  • Add Connection and Directory Delete
  • update README.md