@procedures/lib 0.46.0 → 0.47.2
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.
- package/CHANGELOG.md +55 -6
- package/dist/.tsbuildinfo +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/dist/procedures/ecosystem/procedures.d.ts +1 -1
- package/dist/procedures/ecosystem/procedures.d.ts.map +1 -1
- package/dist/procedures/ecosystem/procedures.js +2 -2
- package/dist/procedures/ecosystem/procedures.js.map +1 -1
- package/dist/procedures/lib/import-cycles.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/types.js.map +1 -1
- package/package.json +9 -9
- package/src/module.ts +1 -1
- package/src/procedures/ecosystem/procedures.ts +2 -2
- package/src/procedures/lib/import-cycles.ts +1 -1
- package/src/types.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# @procedures/lib
|
|
2
2
|
|
|
3
|
+
## 0.47.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0650616]
|
|
8
|
+
- Updated dependencies [2684531]
|
|
9
|
+
- Updated dependencies [ae1e3fd]
|
|
10
|
+
- Updated dependencies [f1ece74]
|
|
11
|
+
- @procedures/client@0.47.2
|
|
12
|
+
- @procedures/dag@0.47.2
|
|
13
|
+
- @procedures/fs@0.47.2
|
|
14
|
+
- @procedures/git@0.47.2
|
|
15
|
+
- @procedures/pnpm@0.47.2
|
|
16
|
+
- @procedures/shell@0.47.2
|
|
17
|
+
|
|
18
|
+
## 0.47.1
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [74f2f24]
|
|
23
|
+
- Updated dependencies [f845c6d]
|
|
24
|
+
- @procedures/dag@0.47.1
|
|
25
|
+
- @procedures/client@0.47.1
|
|
26
|
+
- @procedures/fs@0.47.1
|
|
27
|
+
- @procedures/git@0.47.1
|
|
28
|
+
- @procedures/pnpm@0.47.1
|
|
29
|
+
- @procedures/shell@0.47.1
|
|
30
|
+
|
|
31
|
+
## 0.47.0
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- e913014: Each module imports zod with `import * as z from "zod"`, not `import { z } from "zod"`. With the old form, an esbuild bundle got each locale of zod: 264 kB of minified code (esbuild metafile of the journey worker of the site). The Vite build of the site gives the same worker files with both forms. The procedure scaffolder writes the new form in `types.ts`. The API and the behavior stay the same.
|
|
36
|
+
- Updated dependencies [c9125a8]
|
|
37
|
+
- Updated dependencies [335728b]
|
|
38
|
+
- Updated dependencies [d987202]
|
|
39
|
+
- Updated dependencies [45a737f]
|
|
40
|
+
- Updated dependencies [d77e9e8]
|
|
41
|
+
- Updated dependencies [e913014]
|
|
42
|
+
- Updated dependencies [2f0c7b0]
|
|
43
|
+
- Updated dependencies [ad70c38]
|
|
44
|
+
- Updated dependencies [47819c6]
|
|
45
|
+
- @procedures/client@0.47.0
|
|
46
|
+
- @procedures/dag@0.47.0
|
|
47
|
+
- @procedures/fs@0.47.0
|
|
48
|
+
- @procedures/git@0.47.0
|
|
49
|
+
- @procedures/pnpm@0.47.0
|
|
50
|
+
- @procedures/shell@0.47.0
|
|
51
|
+
|
|
3
52
|
## 0.46.0
|
|
4
53
|
|
|
5
54
|
### Patch Changes
|
|
@@ -142,7 +191,7 @@
|
|
|
142
191
|
|
|
143
192
|
- A caller of `cli-kit` with a `format` hook for a path with a dotted segment writes the key in the encoded form, for example `a.b%2Ec`.
|
|
144
193
|
- A reader of the ecosystem scan that splits a `key` on `.` uses `keyToPath(key)`.
|
|
145
|
-
-
|
|
194
|
+
- Apps: no step, if their procedure paths have no segment with `.` or `%`.
|
|
146
195
|
|
|
147
196
|
### Patch Changes
|
|
148
197
|
|
|
@@ -241,8 +290,8 @@
|
|
|
241
290
|
- A host whose `expose`, policy or limit pattern names such a path in text uses the encoded form, for example `collections.e2e%2Etabs.*`.
|
|
242
291
|
- An `mcpExclude` entry, an `expose` deny entry or a limit entry in the old raw form, for example `collections.e2e.tabs.drop`, does not match. The check compares the encoded key, so the procedure becomes visible, or the limit does not apply. Write each such entry in the encoded form, for example `collections.e2e%2Etabs.drop`.
|
|
243
292
|
- A subscriber of a dotted collection uses `collectionChangeTopic(name)`. The raw topic `collections.a.b` is the topic of the partition `b` of `a`.
|
|
244
|
-
-
|
|
245
|
-
-
|
|
293
|
+
- An app: read the collection of a topic with `collectionTopicPartition(topic)`, not with a pattern, for example `/^collections\.([^.]+)\./`.
|
|
294
|
+
- Other apps: no change, if their collection names have no `.` and no `%`.
|
|
246
295
|
- fa1a61a: Less boilerplate in each procedure definition (dedupe review F1, tracker item O58).
|
|
247
296
|
|
|
248
297
|
PATCH (pre-1.0): this change adds exports and deprecates names. It removes no export and changes no behavior.
|
|
@@ -256,7 +305,7 @@
|
|
|
256
305
|
|
|
257
306
|
Migration:
|
|
258
307
|
|
|
259
|
-
-
|
|
308
|
+
- Apps: no change at this time. The deprecated names work until the next MINOR.
|
|
260
309
|
- Before the next MINOR, replace `zodAdapter<T>(schema)` with `schema`. To keep the check of a schema against a type, write `const schema: z.ZodType<T> = ...`.
|
|
261
310
|
- Before the next MINOR, replace `typedAnySchema<T>()` and `outputSchema<T>()` with `typed<T>()`.
|
|
262
311
|
- A parse-only object (`{ parse }`) in `zodAdapter` becomes a Standard Schema with a `~standard` property.
|
|
@@ -651,7 +700,7 @@
|
|
|
651
700
|
|
|
652
701
|
Deprecated: at the timeout of 15 s, `server.start` gives `success: true` with the message "still loading" while the process still starts. From the next MINOR of the client group, a start that is not ready at the timeout gives `success: false`, with the PID of the process that still starts. Read the readiness probe or `mark server status` for the state.
|
|
653
702
|
|
|
654
|
-
|
|
703
|
+
Apps: no change. A host with a listener now also answers the paths under `/_probes`. Before, these paths got 404.
|
|
655
704
|
- @procedures/client@0.17.3
|
|
656
705
|
- @procedures/dag@0.17.3
|
|
657
706
|
- @procedures/fs@0.17.3
|
|
@@ -779,7 +828,7 @@
|
|
|
779
828
|
|
|
780
829
|
### Patch Changes
|
|
781
830
|
|
|
782
|
-
- 992b801: New: the procedure `lib.importCycles` and the functions `importCycles` and `importGraph
|
|
831
|
+
- 992b801: New: the procedure `lib.importCycles` and the functions `importCycles` and `importGraph`. They give the import cycles of a tree of TypeScript sources: the cycles at runtime (after the import elision of TypeScript, with the injection tokens of Angular as an option), the cycles of the declared imports, or the cycles of each import. `findCycles` keeps its own stack, so a long chain does not overflow the call stack.
|
|
783
832
|
- @procedures/client@0.13.1
|
|
784
833
|
- @procedures/dag@0.13.1
|
|
785
834
|
- @procedures/fs@0.13.1
|