@requence/task 0.8.4-edge.1223 → 0.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @requence/task
2
2
 
3
+ ## 0.8.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 445719c: Walking a payload no longer costs tens of milliseconds per update.
8
+
9
+ The payload walk asks every plain object whether it is a file, stream,
10
+ claim-check or callback reference. Each of those checks was a full zod parse,
11
+ and every miss built a complete error object. On an ordinary payload almost
12
+ every object is a miss, so a task update with a few hundred objects blocked the
13
+ event loop for about 40 ms, and a consumer catching up on many updates could
14
+ stay busy for minutes. The checks now compare the `__REQUENCE_type` tag first
15
+ and parse only a real candidate. Which values count as references is unchanged.
16
+
3
17
  ## 0.8.3
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@requence/task",
3
3
  "type": "module",
4
- "version": "0.8.4-edge.1223",
4
+ "version": "0.8.4",
5
5
  "bin": {
6
6
  "requence-task": "build/cli.js"
7
7
  },