Commit Graph

38 Commits

Author SHA1 Message Date
ericdong-langchain 9f90d52312 Edong/bump kotlin gradle ver (#127)
* chore: bumping ver

* chore: add back warning
2026-04-13 18:30:19 -04:00
stainless-app[bot] f3d8fdeccf release: 0.1.0-alpha.25 (#109)
* Revert "main to next (#108)" (#110)

This reverts commit 5a8988d3f6.

* Fix/lint and remove method count (#111)

* release: 0.1.0-alpha.24

* fix: lint and remove outdated method count ci test

Made-with: Cursor

---------

Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>

* feat: Adds package version resource to build (#100)

* codegen metadata

* codegen metadata

* chore: make `Properties` more resilient to `null`

* chore: drop apache dependency

* codegen metadata

* codegen metadata

* codegen metadata

* chore(internal): expand imports

* feat(api): manual updates

* codegen metadata

* feat(api): manual updates

* codegen metadata

* feat(api): manual updates

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* feat(api): api update

* feat(api): api update

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* feat(api): manual updates

removed endpoints not in openAPI spec

* codegen metadata

* codegen metadata

* codegen metadata

* chore: align user agent format (#96)

* feat(api): api update

* codegen metadata

* codegen metadata

* feat(api): api update

* chore(internal): codegen related update

* chore(internal): bump palantir-java-format

* chore(ci): skip uploading artifacts on stainless-internal branches

* chore: update placeholder string

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* fix(client): incorrect `Retry-After` parsing

* codegen metadata

* codegen metadata

* feat(api): api update

* feat(api): api update

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* chore(internal): tweak CI branches

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* chore(internal): update retry delay tests

* fix(client): allow updating header/query affecting fields in `toBuilder()`

* codegen metadata

* codegen metadata

* feat(api): api update

* feat(api): api update

* codegen metadata

* chore(internal): bump ktfmt

* chore: remove old test (#97)

* codegen metadata

* feat(api): manual updates

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* codegen metadata

* chore(internal): update gitignore

* codegen metadata

* codegen metadata

* codegen metadata

* chore(ci): skip lint on metadata-only changes

Note that we still want to run tests, as these depend on the metadata.

* Fix error messages (#102)

* codegen metadata

* Merge

* Merge

* Lint

* Add debug log

* main to next (#108)

* codegen metadata

* codegen metadata

* chore: make `Properties` more resilient to `null`

* chore: drop apache dependency

* codegen metadata

* codegen metadata

* codegen metadata

* chore(internal): expand imports

* feat(api): manual updates

* codegen metadata

* feat(api): manual updates

* codegen metadata

* feat(api): manual updates

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* feat(api): api update

* feat(api): api update

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* feat(api): manual updates

removed endpoints not in openAPI spec

* codegen metadata

* codegen metadata

* codegen metadata

* chore: align user agent format (#96)

* feat(api): api update

* codegen metadata

* codegen metadata

* feat(api): api update

* chore(internal): codegen related update

* chore(internal): bump palantir-java-format

* chore(ci): skip uploading artifacts on stainless-internal branches

* chore: update placeholder string

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* fix(client): incorrect `Retry-After` parsing

* codegen metadata

* codegen metadata

* feat(api): api update

* feat(api): api update

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* chore(internal): tweak CI branches

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* chore(internal): update retry delay tests

* fix(client): allow updating header/query affecting fields in `toBuilder()`

* codegen metadata

* codegen metadata

* feat(api): api update

* feat(api): api update

* codegen metadata

* chore(internal): bump ktfmt

* chore: remove old test (#97)

* codegen metadata

* feat(api): manual updates

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* codegen metadata

* chore(internal): update gitignore

* codegen metadata

* codegen metadata

* codegen metadata

* chore(ci): skip lint on metadata-only changes

Note that we still want to run tests, as these depend on the metadata.

* Fix error messages (#102)

* codegen metadata

* release: 0.1.0-alpha.24

* fix: lint and remove outdated method count ci test (#103)

Made-with: Cursor

* chore(deps): bump gradle/actions from 5 to 6 in the all-actions group (#99)

Bumps the all-actions group with 1 update: [gradle/actions](https://github.com/gradle/actions).


Updates `gradle/actions` from 5 to 6
- [Release notes](https://github.com/gradle/actions/releases)
- [Commits](https://github.com/gradle/actions/compare/v5...v6)

---
updated-dependencies:
- dependency-name: gradle/actions
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: all-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Change to warning and add a test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: ericdong-langchain <ericdong@langchain.dev>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Adds contributing guide (#112)

* ci: add minimum workflow permissions (#106)

- Add top-level `permissions: contents: read` to all 4 workflow files
- Change release-doctor.yml trigger from `pull_request` to `pull_request_target`
  to prevent secret exfiltration via PR-controlled workflow modifications

Co-authored-by: Posture Fix <posture-fix@langchain.ai>

* ci: SHA-pin third-party Gradle actions (#107)

Pin gradle/actions/setup-gradle and gradle/gradle-build-action to full
commit SHAs to prevent supply chain attacks via tag hijacking.

- gradle/actions/setup-gradle@v6  → @205054a...  (ci.yml ×2, codeql.yml)
- gradle/gradle-build-action@v3   → @12318b0...  (ci.yml, publish-sonatype.yml)

Co-authored-by: Posture Fix <posture-fix@langchain.ai>

* chore: fix dependabot.yml posture issues (#105)

* chore: update dependabot.yml to comply with posture checks

- Change schedule from weekly to monthly for all ecosystems
- Add update-types split (major vs minor-and-patch) for gradle and github-actions
- Add docker ecosystem entry for .devcontainer/Dockerfile

* chore: add target-branch next and fix docker group split for Stainless posture compliance

---------

Co-authored-by: Posture Fix <posture-fix@langchain.ai>

* feat(api): api update

* feat(api): api update

* feat: Add `traceable` function wrapper for LangSmith tracing (#101)

* Adds versioning resource to build

* Adds initial version of traceable

* Lint

* Deflake

* Progress

* Progress

* Fixes

* Fixes

* More refactor

* Small bug

* Refactor

* Fix

* Devin feedback

* Tests and feedback

* Remove redundant comment

* Docstring

* codegen metadata

* codegen metadata

* feat: Adds processInputs and processOutputs to traceable (#113)

* Adds processInputs and processOutputs to traceable

* Move generics into TraceProcessIO to avoid having them top level

* Fix docstring, nit

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* codegen metadata

* codegen metadata

* codegen metadata

* feat(api): api update

* codegen metadata

* feat(api): manual updates

* codegen metadata

* fix: Fix format detection when pulling legacy prompts (#115)

* Fix format detection when pulling legacy prompts

* Feedback

* Update AGENTS.md (#116)

* feat: Rework wrapOpenAI (#114)

* Update wrapOpenAI

* Remove

* Fixes

* nits

* Feedback

* Cache

* Remove comment

* Fix

* feat(api): api update

* feat(api): api update

* fix: patch security alerts — bump Jackson and constrain vulnerable transitive deps (#119)

Bumps Jackson 2.18.2→2.18.6 in published api deps and adds version
constraints for vulnerable transitive dependencies in test and example
scopes (Tomcat 9.0.115, Jetty 9.4.57, logback 1.2.13,
commons-fileupload 1.6.0, commons-io 2.14.0, json-smart 2.4.9,
snakeyaml 1.31, spring-web 5.3.34).

Addresses alerts: #75 (jackson-core), #82/#81/#80/#79/#78/#72/#70/#69
/#68/#66/#65/#60/#59/#54/#52/#51/#48/#46/#45/#44/#43/#35/#34/#29/#31
(tomcat/jetty/logback/commons).

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

* codegen metadata

* codegen metadata

* feat: Adds support for tracing streams with traceable (#117)

* Adds support for tracing streams with traceable

* Polish

* Make stream tracing opt-in

* Rework to use a passthrough instead of a proxy

* Record stream cancellations as errors

* Feedback

* Format and add to AGENTS.md

* feat: Adds streaming support for wrapOpenAI (#118)

* Adds support for tracing streams with traceable

* Polish

* Make stream tracing opt-in

* Rework to use a passthrough instead of a proxy

* Adds streaming support for wrapOpenAI

* Record stream cancellations as errors

* Adds streaming example

* Allow empty config default, add example

* Fix

* release: 0.1.0-alpha.25

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: ericdong-langchain <ericdong@langchain.dev>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: John Kennedy <65985482+jkennedyvz@users.noreply.github.com>
Co-authored-by: Posture Fix <posture-fix@langchain.ai>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-31 10:46:03 -07:00
Jacob Lee 8cdc61ab86 Merge pull request #98 from langchain-ai/jacob/prompts
feat: Adds prompt pulling helpers
2026-03-25 09:01:29 -07:00
ericdong-langchain 76da93f2c0 fix: fix streaming in java sdk (#95)
* fix: fix streaming in java sdk

* chore: cleanups

* chore: setting gen_ai.completion to json text

* chore: lint fix

* chore: comments

* chore: lint

* fix: type mismatch

* chore: lint

* chore: clean up building JSON
2026-03-09 16:07:54 -04:00
Eric Dong d99b42f8af fix: fix typing 2026-02-20 15:53:03 +00:00
ericdong-langchain 1902c228dd chore: refactor (#90)
* chore: refactor

* fix: lint
2026-02-20 10:13:38 -05:00
Eric Dong 5572d09902 fix: fixed build and test 2025-12-10 22:13:47 +00:00
ericdong-langchain 7a644105f6 fix: fix trace input and output (#83)
* fix: fix trace input and output

* fix: lint
2025-12-10 16:43:16 -05:00
stainless-app[bot] 9de590ad96 release: 0.1.0-alpha.18 (#79)
* chore: Configure workflow for CodeQL

* feat(api): pagination

added pagination to all endpoints that use pagination

* codegen metadata

* chore(internal): version bump

* codegen metadata

* feat(api): change paginated retrieve methods to list

change paginated retrieve methods to list

* feat(api): add go target

* codegen metadata

* feat(api): pagination read me

added pagination read me

* codegen metadata

* feat(api): readme example - change REPLACE_ME session_id to uuid

* feat: method counter in ci

* codegen metadata

* test

* feat(api): api update

* fix: formatting error in record experiment example (#81)

* release: 0.1.0-alpha.18

---------

Co-authored-by: xornivore <30147836+xornivore@users.noreply.github.com>
Co-authored-by: ericdong-langchain <ericdong@langchain.dev>
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
2025-12-09 14:16:39 +00:00
Eric Dong db74f4be82 fix: ls playground errors & commit builder class 2025-11-19 19:00:48 +00:00
Eric Dong ae64e429ec chore: align env vars with other SDKs 2025-11-17 23:08:10 +00:00
Eric Dong 802f5a118c chore: convert to kotlin 2025-11-17 23:08:10 +00:00
Eric Dong 3fdd586165 fix: lint 2025-11-17 23:08:10 +00:00
Eric Dong e020cc02cc added prompt example 2025-11-17 23:08:10 +00:00
Quentin Brosse 73a79dd3c5 refactor: migrate to SLF4J logging and Builder-only API
Refactor OpenTelemetry configuration and logging to improve usability and follow industry standards.

API Changes:
  - Remove `configureForLangSmith()` static methods in favor of Builder pattern
  - Remove `configureFromEnv()` - use `builder().build()` instead
  - Add required field validation in `Builder.build()` with clear error messages
  - Builder constructor auto-reads environment variables (LANGSMITH_API_KEY, etc.)
  - Builder methods override environment variable values
2025-11-17 23:08:10 +00:00
Quentin Brosse de912b531c improve 2025-11-17 23:08:10 +00:00
Quentin Brosse 217929c1f0 improve 2025-11-17 23:08:10 +00:00
Quentin Brosse fa00021a3b improve 2025-11-17 23:08:10 +00:00
Quentin Brosse b2488993e9 fix 2025-11-17 23:08:10 +00:00
Quentin Brosse a396ce53f3 doc: add eval examples 2025-11-17 23:08:10 +00:00
Quentin Brosse 05c6e74007 doc: RecordExperiment 2025-11-17 23:08:10 +00:00
Eric Dong bf3497554e chore: combine otel examples 2025-11-17 23:08:10 +00:00
Quentin Brosse 86480af3e3 fix 2025-11-17 23:08:10 +00:00
Quentin Brosse 8afffa6275 doc: improve/fix DatasetExample 2025-11-17 23:08:10 +00:00
Eric Dong 866970e8e0 fix: added back the stdin build config 2025-11-10 16:55:45 -05:00
Eric Dong cd244b3fe9 fix: lint fix 2025-11-10 15:06:30 -05:00
ericdong-langchain cd54282023 Merge branch 'next' into ericdong/feat-otel-ingestion-java 2025-11-10 14:38:18 -05:00
Eric Dong 19c2cf595a feat: added otel ingestion examples and code 2025-11-10 14:26:14 -05:00
Quentin Brosse e260744b87 fix 2025-11-10 20:21:41 +01:00
Quentin Brosse 431e6c6e4c example 2025-11-10 20:13:11 +01:00
Quentin Brosse f73ad91858 fix 2025-11-10 20:13:11 +01:00
Quentin Brosse 1e2825f8ae fix 2025-11-10 20:13:11 +01:00
Quentin Brosse fefc3d7a09 fix 2025-11-10 20:13:11 +01:00
Quentin Brosse c834f2571b get or create 2025-11-10 20:13:11 +01:00
Quentin Brosse 35c381c47b doc: add dataset example 2025-11-10 20:13:11 +01:00
Samuel El-Borai 6225ccac5a fix: rename example directory directory 2025-11-05 21:38:24 +01:00
Samuel El-Borai e2ac9ba053 fix: remove outdated directories 2025-11-05 21:21:15 +01:00
stainless-app[bot] 9e876f623d chore: sync repo 2025-11-05 19:10:50 +00:00