Releases: kpavlov/langchain4j-kotlin
Releases · kpavlov/langchain4j-kotlin
0.3.0
Notable Changes
- Update Langchain4j to v1.1.0
- Update Kotlin to v2.2.0
- Replace StreamingChatLanguageModelReply.Error with throwing exception by @nomisRev and @kpavlov in #178 #113
- Remove
reports
module and update Kover configuration by @kpavlov in #177 - Multiple dependency upgrades
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Release Notes for langchain4j-kotlin v0.2.0
Major Improvements
New: Coroutine-based AI Service Orchestration
- Introduced coroutine support to the
AiServiceOrchestrator
for true asynchronous operations - Implemented suspend functions for non-blocking AI service interactions
- Added customizable coroutine context support for flexible execution control
Integration with langchain4j 1.0.0
- Updated dependency to the stable langchain4j 1.0.0 release (upgraded from beta4)
- Updated coroutines dependency to 1.9.0 (latest version compatible with Kotlin 1.9)
- Enhanced compatibility with the latest LangChain4j Java interfaces and APIs
Code Enhancements
Sample Code Improvements
- Restructured examples for better clarity and readability
- Centralized model creation in the Environment class
- Added proper coroutine scope management in examples
Dependency Updates
- Kotlin 2.1.21 (from 2.1.20)
- kotlinx-coroutines 1.8.1
Bug Fixes
- Fixed sample code compilation issues
This release marks a significant milestone with the introduction of true coroutine-based asynchronous operations and integration with the stable LangChain4j 1.0.0 release. The new orchestration system provides Kotlin developers with idiomatic concurrency patterns while delegating to InternalReflectionVariableResolver
ensures compatibility with future updates to the Java library.
v0.1.12
v0.1.11
What's Changed
- Upgrade LangChain4j to 1.0.0-beta4 by @kpavlov in #130
- Update langchain4j.version by @renovate in #131
- Configure streaming buffer (#113). Replace AssertK assertions with Kotest matchers by @kpavlov in #132
- Update dependency dev.langchain4j:langchain4j-core to v1.0.0-rc1 by @renovate in #133
- [WIP] Add asynchronous AI service infrastructure for Kotlin by @kpavlov in #128
Full Changelog: v0.1.10...v0.1.11
v0.1.10
v0.1.9
Release Notes
What's New
- Kotlin Monorepo Updates:
- Major update to Kotlin monorepo (
v2
), and bumped tov2.1.20
- Major update to Kotlin monorepo (
- Dependency Updates:
- Updated
me.kpavlov.langchain4j.kotlin:langchain4j-kotlin
tov0.1.8
- Updated
org.openrewrite.maven:rewrite-maven-plugin
multiple times, now atv6.7.0
- Updated
com.diffplug.spotless:spotless-maven-plugin
tov2.44.4
- Updated
org.apache.maven.plugins
artifacts (e.g.,maven-compiler-plugin
,maven-deploy-plugin
,maven-failsafe-plugin
,maven-surefire-plugin
) - Updated
org.junit:junit-bom
tov5.12.2
- Updated
org.mockito:mockito-bom
tov5.17.0
- Updated
slf4j
monorepo tov2.0.17
- Updated
kotlinx-coroutines
monorepo tov1.10.2
- Updated
- Features:
- Added TokenStream adapters for Kotlin Flow and supporting tests (#116).
New Contributors
Full Changelog: v0.1.8...v0.1.9
v0.1.8
What's Changed
- Add AI Mock support, improve integration tests: Integrated AI Mock library to enable OpenAI API mocking for tests. Refactored testing utilities and added
TestSetup
for better test configuration. Enhanced mock verification and added error handling for streaming chat model tests. - Update langchain4j.version to v1.0.0-beta1 by @renovate in #76
- Update dependency org.openrewrite.maven:rewrite-maven-plugin to v6.0.1 by @renovate in #70
- Update dependency org.openrewrite.maven:rewrite-maven-plugin to v6.0.2 by @renovate in #71
- Update dependency org.openrewrite.maven:rewrite-maven-plugin to v6.0.3 by @renovate in #72
- Update dependency org.openrewrite.maven:rewrite-maven-plugin to v6.0.4 by @renovate in #73
- Update dependency org.openrewrite.maven:rewrite-maven-plugin to v6.0.5 by @renovate in #74
- Update dependency org.jetbrains.kotlin:kotlin-bom to v2.1.10 by @renovate in #75
Full Changelog: v0.1.7...v0.1.8
v0.1.7
v0.1.6
What's Changed
- Added ChatRequest builders API by @kpavlov in #62
- Refactor and enhance template system handling, added Java sample demonstrating template system usage by @kpavlov in #63
- Update dependency org.sonatype.central:central-publishing-maven-plugin to v0.7.0 by @renovate in #59
- Update dependency org.openrewrite.maven:rewrite-maven-plugin to v6 by @renovate in #60
Full Changelog: v0.1.5...v0.1.6