Version Compatibility Matrix
This document provides version compatibility information for TrustWeave SDK and its dependencies.
TrustWeave SDK Version
Current Version: 0.6.0
Note: TrustWeave follows semantic versioning (e.g.,
0.6.0,0.7.0,1.0.0, etc.).
Runtime Requirements
Java
| TrustWeave Version | Java Version | Status |
|---|---|---|
| 0.6.0 | 21+ | ✅ Required |
| Future | 21+ | ✅ Required |
Why Java 21?
- Java 21 provides required language features (records, pattern matching, etc.)
- Long-term support (LTS) release
- Required for Kotlin 2.2.0+ compatibility
Kotlin
| TrustWeave Version | Kotlin Version | Status |
|---|---|---|
| 0.6.0 | 2.2.21+ | ✅ Required |
| Future | 2.2.0+ | ✅ Required |
Why Kotlin 2.2.0+?
- Required for DSL builders and type-safe configuration
- Modern coroutine features
- Improved type inference
Build Tools
| Build Tool | Minimum Version | Status |
|---|---|---|
| Gradle | 8.5+ | ✅ Required |
| Maven | 3.8.0+ | ✅ Required |
Dependency Compatibility
Core Dependencies
| Dependency | Version | Purpose |
|---|---|---|
kotlinx-serialization-json |
1.6.0+ | JSON serialization |
kotlinx-coroutines-core |
1.7.3+ | Coroutines support |
kotlinx-datetime |
0.5.0+ | Date/time handling |
Optional Dependencies
| Dependency | Version | Purpose | Plugin |
|---|---|---|---|
| AWS SDK | 2.x | AWS KMS integration | org.trustweave:kms-plugins-aws |
| Azure SDK | Latest | Azure Key Vault integration | org.trustweave:kms-plugins-azure |
| Google Cloud SDK | Latest | Google Cloud KMS integration | org.trustweave:kms-plugins-google |
Module Compatibility
All TrustWeave modules share the same version number for consistency:
1
2
3
4
5
6
org.trustweave:distribution-all:0.6.0
org.trustweave:trust:0.6.0
org.trustweave:did-did-core:0.6.0
org.trustweave:kms-kms-core:0.6.0
org.trustweave:anchors-anchor-core:0.6.0
org.trustweave:testkit:0.6.0
Recommendation: Use the same version for all TrustWeave modules to avoid compatibility issues.
Platform Compatibility
Operating Systems
| Platform | Status | Notes |
|---|---|---|
| Linux | ✅ Supported | Primary development platform |
| macOS | ✅ Supported | Full support |
| Windows | ✅ Supported | Full support |
JVM Versions
| JVM | Status | Notes |
|---|---|---|
| OpenJDK 21+ | ✅ Supported | Recommended |
| Oracle JDK 21+ | ✅ Supported | Full support |
| Eclipse Temurin 21+ | ✅ Supported | Recommended |
| Amazon Corretto 21+ | ✅ Supported | Full support |
Breaking Changes
Version History
| Version | Status | Breaking Changes |
|---|---|---|
| 0.6.0 | Current | None (initial version) |
| Future 1.0.0 | Planned | None expected |
| Future 1.1.0 | Planned | TBD |
Note: Breaking changes will be documented in Migration Guides.
Compatibility Recommendations
For Production Use
- Use stable releases (avoid
-SNAPSHOTversions in production) - Pin dependency versions in your build configuration
- Test upgrades in staging before production
- Review migration guides before upgrading major versions
For Development
- Use latest snapshot for testing new features
- Follow semantic versioning when upgrading
- Check release notes for changes
- Update dependencies regularly
Version Checking
Gradle
1
2
3
4
5
6
dependencies {
implementation("org.trustweave:distribution-all:0.6.0")
}
// Check version at runtime
val version = TrustWeave::class.java.getPackage()?.implementationVersion
Maven
1
2
3
4
5
<dependency>
<groupId>org.trustweave</groupId>
<artifactId>distribution-all</artifactId>
<version>0.6.0</version>
</dependency>
Troubleshooting
Version Conflicts
If you encounter version conflicts:
- Check dependency tree:
1
./gradlew dependencies
- Resolve conflicts:
1 2 3 4 5
configurations.all { resolutionStrategy { force("org.trustweave:common:0.6.0") } }
- Use BOM (when available):
1 2 3 4 5
dependencies { implementation(platform("org.trustweave:distribution-bom:0.6.0")) implementation("org.trustweave:trust") implementation("org.trustweave:did-did-core") }
Upgrade Path
When upgrading TrustWeave versions:
- Review release notes for changes
- Check migration guides for breaking changes
- Update dependencies gradually
- Test thoroughly before production deployment
Related Documentation
- Installation Guide](../getting-started/installation.md) - Setup instructions
- Migration Guides](../migration/README.md) - Upgrade instructions
- Module Overview](../modules/core-modules.md) - Module dependencies
Last Updated: January 2025
TrustWeave Version: 0.6.0