@skillstech/thunderlang 1.4.2 → 1.5.0

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 CHANGED
@@ -1,3 +1,39 @@
1
+ # 1.5.0
2
+
3
+ - **Thunder Trace reads tables, settings, and packages.** `thunder trace` now links SQL to the repository that
4
+ creates the table (`CREATE TABLE` in its SQL files), and a dependency to the repository that publishes the package
5
+ (`package.json` name, `go.mod` module, `.csproj` `PackageId`). It also lists what repositories share: setting keys
6
+ more than one reads (`process.env.ORDERS_URL`, `os.getenv("ORDERS_URL")`, and the other languages' ways), tables
7
+ more than one uses, and packages asked for at different versions in different repositories. `thunder trace impact`
8
+ takes `table:orders`, `setting:ORDERS_URL`, and `package:@acme/client` (or the plain name), and `--diff` reports a
9
+ changed, dropped (`DROP TABLE`), or no-longer-created table with every place in another repository that still uses
10
+ it, SQL on another repository's table, a changed setting other repositories read, and a change inside a package
11
+ other repositories depend on. The same rules as routes: facts only, one hop, test and fixture files left out, every
12
+ item cited `repo@sha:file:line`. SQL in code counts only in strings shaped like a statement, so a sentence such as
13
+ "Delete your data from Profile" is never read as SQL. The MCP `intent_trace` tool takes the same names.
14
+ - **Fix: a pure deletion in `--diff`** (lines removed, none added) no longer marks the line before it as changed. It
15
+ touches only what spans the gap, such as the function or statement it was inside.
16
+ - **Passport** words the new table links ("billing reads the orders table, which orders creates").
17
+
18
+ **Upgrade note.** No command, flag, or exit code changed. The `thunder-trace-v1` graph gains fields: each repository
19
+ has `packages`, `settings`, and `tables`; links can have `kind: "data"` or `kind: "package"`; and there is a new
20
+ `shared` object. `rulesVersion` is now `"2"`, so fingerprints differ from rules v1 for the same commits. Readers that
21
+ switch on `link.kind` should handle (or skip) the two new kinds. `thunder trace` now reads `package.json`, `go.mod`,
22
+ `requirements.txt`, and `*.csproj` files from each folder.
23
+
24
+ # 1.4.3
25
+
26
+ **Upgrade note.** No command, flag, exit code, or JSON shape changed. `readingLayout` can now end with a new
27
+ `actions` section (`id: 'actions'`); apps that switch on section ids should draw it or skip it.
28
+
29
+ - **The drawing kit: a file of plain functions is no longer an empty Big Picture.** With no focus, or a file in focus,
30
+ `readingLayout` now ends with an "Actions and rules" section (`id: 'actions'`, `READING_LABELS.actions`): every
31
+ action or rule that belongs to no Thing, with its symbol and doc, and `BigPicture` draws each as a door to open
32
+ (`onOpen`). A Thing's own abilities stay on its card. Before, a file with only functions drew nothing.
33
+ - **Fix: the kit on phones and in panels.** The Yes / No / Otherwise tags in Flow and Details no longer break inside
34
+ a word on a narrow screen, and the Data cards size their columns from the space they are given instead of the
35
+ window's width, so they are no longer cramped inside a side panel.
36
+
1
37
  # 1.4.2
2
38
 
3
39
  **Upgrade note.** No command, flag, exit code, or JSON shape changed. New in `@skillstech/thunderlang/react`: