Commit 2d03fee
authored
chore: release v4.6.3 (#4945)
## Summary
3 improvements.
## Improvements
- Show how to override the default cron window in schedule policy
warnings.
([`630eb75d1`](630eb75))
- Thrown error `cause` chains are now captured and shown. When a task
throws an error that wraps another one, the run's error in the
dashboard, the CLI dev output, and failure alerts all carry the chain
instead of only the outermost message.
([`4f36f614b`](4f36f61))
```ts
throw new Error("Could not sync the customer", { cause: originalError
});
```
The chain is flattened outermost first, capped at five causes, and cycle
safe. It also rides on the `error` of API and realtime run records as a
`causes` array, and `triggerAndWait` and `triggerAndSubscribe` rebuild
it as a native `cause` on the error they hand back, so `err.cause` works
in your own catch blocks.
- Keep summarized assistant steps and tool results out of future
`chat.agent()` model context after inner compaction, while preserving
the full visible conversation.
([`fc77bfc9a`](fc77bfc))
<details>
<summary>Raw changeset output</summary>
# Releases
## @trigger.dev/build@4.6.3
### Patch Changes
- Updated dependencies:
- `@trigger.dev/core@4.6.3`
## trigger.dev@4.6.3
### Patch Changes
- Show how to override the default cron window in schedule policy
warnings.
([`630eb75d1`](630eb75))
- Thrown error `cause` chains are now captured and shown. When a task
throws an error that wraps another one, the run's error in the
dashboard, the CLI dev output, and failure alerts all carry the chain
instead of only the outermost message.
([`4f36f614b`](4f36f61))
```ts
throw new Error("Could not sync the customer", { cause: originalError
});
```
The chain is flattened outermost first, capped at five causes, and cycle
safe. It also rides on the `error` of API and realtime run records as a
`causes` array, and `triggerAndWait` and `triggerAndSubscribe` rebuild
it as a native `cause` on the error they hand back, so `err.cause` works
in your own catch blocks.
- Updated dependencies:
- `@trigger.dev/core@4.6.3`
- `@trigger.dev/build@4.6.3`
- `@trigger.dev/schema-to-json@4.6.3`
## @trigger.dev/core@4.6.3
### Patch Changes
- Thrown error `cause` chains are now captured and shown. When a task
throws an error that wraps another one, the run's error in the
dashboard, the CLI dev output, and failure alerts all carry the chain
instead of only the outermost message.
([`4f36f614b`](4f36f61))
```ts
throw new Error("Could not sync the customer", { cause: originalError
});
```
The chain is flattened outermost first, capped at five causes, and cycle
safe. It also rides on the `error` of API and realtime run records as a
`causes` array, and `triggerAndWait` and `triggerAndSubscribe` rebuild
it as a native `cause` on the error they hand back, so `err.cause` works
in your own catch blocks.
## @trigger.dev/python@4.6.3
### Patch Changes
- Updated dependencies:
- `@trigger.dev/sdk@4.6.3`
- `@trigger.dev/core@4.6.3`
- `@trigger.dev/build@4.6.3`
## @trigger.dev/react-hooks@4.6.3
### Patch Changes
- Updated dependencies:
- `@trigger.dev/core@4.6.3`
## @trigger.dev/redis-worker@4.6.3
### Patch Changes
- Updated dependencies:
- `@trigger.dev/core@4.6.3`
## @trigger.dev/rsc@4.6.3
### Patch Changes
- Updated dependencies:
- `@trigger.dev/core@4.6.3`
## @trigger.dev/schema-to-json@4.6.3
### Patch Changes
- Updated dependencies:
- `@trigger.dev/core@4.6.3`
## @trigger.dev/sdk@4.6.3
### Patch Changes
- Thrown error `cause` chains are now captured and shown. When a task
throws an error that wraps another one, the run's error in the
dashboard, the CLI dev output, and failure alerts all carry the chain
instead of only the outermost message.
([`4f36f614b`](4f36f61))
```ts
throw new Error("Could not sync the customer", { cause: originalError
});
```
The chain is flattened outermost first, capped at five causes, and cycle
safe. It also rides on the `error` of API and realtime run records as a
`causes` array, and `triggerAndWait` and `triggerAndSubscribe` rebuild
it as a native `cause` on the error they hand back, so `err.cause` works
in your own catch blocks.
- Keep summarized assistant steps and tool results out of future
`chat.agent()` model context after inner compaction, while preserving
the full visible conversation.
([`fc77bfc9a`](fc77bfc))
- Updated dependencies:
- `@trigger.dev/core@4.6.3`
</details>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent c1dfce7 commit 2d03fee
23 files changed
Lines changed: 125 additions & 58 deletions
File tree
- .changeset
- hosting/k8s/helm
- packages
- build
- cli-v3
- core
- python
- react-hooks
- redis-worker
- rsc
- schema-to-json
- trigger-sdk
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
3 | 21 | | |
4 | 22 | | |
5 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
88 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
3 | 15 | | |
4 | 16 | | |
5 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments