Repository navigation
feat: V4 migration guide - #2627
Luca Forstner (lforst) wants to merge 2 commits into
Conversation
| **Node.js:** The supported version range is now `^20.12.0 || >=22.13.0`. | ||
| This drops support for Node 18, Node 21, and Node 22 versions before 22.13.0. | ||
|
|
||
| **Provider libraries:** Support for the following versions has been removed: |
There was a problem hiding this comment.
while we are here, should we increase min versions for anything else?
There was a problem hiding this comment.
I did some analysis and there are some candidates but nothing that would meaningfully let us clean up things.
Top candidates to drop were Transformers.js 3.0–3.3 which is 2.85% of it's download share. And Claude Agent SDK 0.1.x which is 3.09%.
| - Eve versions before v0.34.0; upgrade to v0.34.0 or newer. | ||
| - Flue versions before v1; upgrade to v1 or newer. | ||
|
|
||
| Upgrade Braintrust integration packages alongside `braintrust`, using releases compatible with v4. |
There was a problem hiding this comment.
we should be explicit about this, or just remove the note all together
| ```ts | ||
| initLogger({ | ||
| projectName: "my-project", | ||
| captureAttachments: true, |
There was a problem hiding this comment.
should we call this autoCaptureAttachments? idk this is fine too, this is just bikeshed.
There was a problem hiding this comment.
yes gonna update that
| ### Temporal | ||
|
|
||
| `@braintrust/temporal` now propagates `traceparent`, `tracestate`, and `baggage` instead of the `_braintrust-span` and `_braintrust-workflow-span*` headers. | ||
| Upgrade clients and workers together. |
There was a problem hiding this comment.
what does this mean?
There was a problem hiding this comment.
Temporal has clients and servers. And if you update braintrust on the client but not on the server (or vice versa) you may have broken traces.
No description provided.