Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update langchain4j.version to v1.0.0-beta1 #76

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 5, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dev.langchain4j:langchain4j-bom 1.0.0-alpha1 -> 1.0.0-beta1 age adoption passing confidence
dev.langchain4j:langchain4j-core 1.0.0-alpha1 -> 1.0.0-beta1 age adoption passing confidence

Release Notes

langchain4j/langchain4j (dev.langchain4j:langchain4j-bom)

v1.0.0-beta1

Compare Source

Announcements

  • We are deprecating our old ChatLanguageModel.generate(...) and StreamingChatLanguageModel.generate(...) APIs in favour of the new ChatLanguageModel.chat(...) and StreamingChatLanguageModel.chat(...) APIs. We plan to fully migrate all of our chat model integrations to the new chat() API in the upcoming releases. If you have any concerns or comments, please reach out.
  • We have started decoupling our modules from OkHttp client. Ollama is the first module that has been migrated as part of this release. When using the langchain4j-ollama dependency, Ollama*Models will now use JDK's HttpClient by default. When using the langchain4j-ollama-spring-boot-starter dependency, Ollama*Models will now use Spring's RestClient. This change reduces unnecessary dependencies, enables out-of-the-box observability and makes it easy to customize supported HTTP clients or integrate other HTTP clients. We plan to migrate a few other modules (OpenAI, Anthropic, Mistral, Hugging Face, etc.) in the future releases. If you have any concerns or comments, please reach out.

Notable Changes

Breaking Changes

Potentially Breaking Changes

Updates in the Spring Boot integration

See https://github.com/langchain4j/langchain4j-spring/releases/tag/1.0.0-beta1

Other Changes

New Contributors

Full Changelog: langchain4j/langchain4j@1.0.0-alpha1...1.0.0-beta1


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) February 5, 2025 12:41
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.
Copy link
Contributor Author

renovate bot commented Feb 6, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
+0.00% (target: -1.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (b7c79ec) 229 217 94.76%
Head commit (f049a48) 229 (+0) 217 (+0) 94.76% (+0.00%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#76) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@renovate renovate bot merged commit e140d9d into main Feb 6, 2025
5 checks passed
@renovate renovate bot deleted the renovate/langchain4j.version branch February 6, 2025 08:46
Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.00%. Comparing base (198c943) to head (f049a48).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #76   +/-   ##
=======================================
  Coverage   90.00%   90.00%           
=======================================
  Files          16       16           
  Lines         230      230           
  Branches       26       26           
=======================================
  Hits          207      207           
  Misses         13       13           
  Partials       10       10           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants