发布

  • chore: release v4.5.0-rc.3 (#3763)

    frostbyte_neo 发布于 2026-06-01 09:34:45 +00:00 | 792 次提交 在此版本后已推送到 main

    Summary

    1 improvement, 2 bug fixes.

    Improvements

    • Retry TASK_MIDDLEWARE_ERROR under the task's retry policy instead of
      failing the run on the first attempt. The error was already classified
      as retryable by shouldRetryError, but shouldLookupRetrySettings did
      not include it, so the retry flow fell through to fail_run. Fixes
      #3231. (#3676)

    Bug fixes

    • Fix TypeError in unflattenAttributes when the input attribute map
      contains conflicting dotted key paths (e.g. both a.b set to a scalar
      and a.b.c set to a value). The path-walk loop now applies
      last-write-wins when a prior key wrote a primitive, null, or array at an
      intermediate slot, matching the existing precedent in
      AttributeFlattener.addAttribute. Callers no longer crash when handed
      malformed external attribute inputs.
      (#3762)
    • Fix external trace context leaking across runs on warm-started workers
      with processKeepAlive enabled. Every subsequent run's attempt span was
      being exported with the first run's traceId and parentSpanId,
      breaking causal-chain navigation in external APM tools. Runs without an
      external trace context are unaffected.
      (#3768)
    Raw changeset output

    ⚠️⚠️⚠️⚠️⚠️⚠️

    main is currently in pre mode so this branch has prereleases
    rather than normal releases. If you want to exit prereleases, run
    changeset pre exit on main.

    ⚠️⚠️⚠️⚠️⚠️⚠️

    Releases

    @trigger.dev/build@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3

    trigger.dev@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3
      • @trigger.dev/build@4.5.0-rc.3
      • @trigger.dev/schema-to-json@4.5.0-rc.3

    @trigger.dev/core@4.5.0-rc.3

    Patch Changes

    • Retry TASK_MIDDLEWARE_ERROR under the task's retry policy instead of
      failing the run on the first attempt. The error was already classified
      as retryable by shouldRetryError, but shouldLookupRetrySettings did
      not include it, so the retry flow fell through to fail_run. Fixes
      #3231. (#3676)
    • Fix TypeError in unflattenAttributes when the input attribute map
      contains conflicting dotted key paths (e.g. both a.b set to a scalar
      and a.b.c set to a value). The path-walk loop now applies
      last-write-wins when a prior key wrote a primitive, null, or array at an
      intermediate slot, matching the existing precedent in
      AttributeFlattener.addAttribute. Callers no longer crash when handed
      malformed external attribute inputs.
      (#3762)
    • Fix external trace context leaking across runs on warm-started workers
      with processKeepAlive enabled. Every subsequent run's attempt span was
      being exported with the first run's traceId and parentSpanId,
      breaking causal-chain navigation in external APM tools. Runs without an
      external trace context are unaffected.
      (#3768)

    @trigger.dev/plugins@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3

    @trigger.dev/python@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3
      • @trigger.dev/build@4.5.0-rc.3
      • @trigger.dev/sdk@4.5.0-rc.3

    @trigger.dev/react-hooks@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3

    @trigger.dev/redis-worker@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3

    @trigger.dev/rsc@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3

    @trigger.dev/schema-to-json@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3

    @trigger.dev/sdk@4.5.0-rc.3

    Patch Changes

    • Updated dependencies:
      • @trigger.dev/core@4.5.0-rc.3

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

    下载附件