datanotes 3.4.1 → 3.4.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.
@@ -314,7 +314,7 @@ Answer:
314
314
  "op": "create_table",
315
315
  "planned_texts": ["datanotes/metastore.yaml"],
316
316
  "commits": [{ "table": "main.public.film", "version": 0, "operation": "CREATE TABLE" }],
317
- "migration_id": "20261024T081156-create_table-create-table-main-public-film"
317
+ "migration_id": "20261024T203000-create_table-create-table-main-public-film"
318
318
  }
319
319
  ```
320
320
 
@@ -359,7 +359,7 @@ Answer (70 lines)
359
359
  "path": "Films/Charade.md",
360
360
  "set": {
361
361
  "table": "main.public.film",
362
- "id": "01a16cf7-6b19-78cd-bae8-ca1a8fd27c66",
362
+ "id": "01a16f9b-230f-733e-bbe4-83739c8553c0",
363
363
  "director": "Stanley Donen",
364
364
  "title": "Charade"
365
365
  },
@@ -369,7 +369,7 @@ Answer (70 lines)
369
369
  "path": "Films/His Girl Friday.md",
370
370
  "set": {
371
371
  "table": "main.public.film",
372
- "id": "01a16cf7-6b19-7117-90e4-2b59555b974a",
372
+ "id": "01a16f9b-2310-7285-bd86-19c52b42de66",
373
373
  "director": "Howard Hawks",
374
374
  "title": "His Girl Friday"
375
375
  },
@@ -379,7 +379,7 @@ Answer (70 lines)
379
379
  "path": "Films/Metropolis.md",
380
380
  "set": {
381
381
  "table": "main.public.film",
382
- "id": "01a16cf7-6b19-73f5-a95f-7200d392529b",
382
+ "id": "01a16f9b-2310-7849-8987-2433f84c5cd4",
383
383
  "director": "Fritz Lang",
384
384
  "title": "Metropolis"
385
385
  },
@@ -389,7 +389,7 @@ Answer (70 lines)
389
389
  "path": "Films/Nosferatu.md",
390
390
  "set": {
391
391
  "table": "main.public.film",
392
- "id": "01a16cf7-6b19-74d9-a8c2-353ae0902e8c",
392
+ "id": "01a16f9b-2310-7fed-ab01-51ef740bd322",
393
393
  "director": "F. W. Murnau",
394
394
  "title": "Nosferatu"
395
395
  },
@@ -399,7 +399,7 @@ Answer (70 lines)
399
399
  "path": "Films/The Gold Rush.md",
400
400
  "set": {
401
401
  "table": "main.public.film",
402
- "id": "01a16cf7-6b19-7a60-b0ac-0a9dcdc412f1",
402
+ "id": "01a16f9b-2310-7d23-9b9a-57fa004619ec",
403
403
  "director": "Charlie Chaplin",
404
404
  "title": "The Gold Rush"
405
405
  },
@@ -458,7 +458,7 @@ Answer (73 lines)
458
458
  "path": "Films/Charade.md",
459
459
  "set": {
460
460
  "table": "main.public.film",
461
- "id": "01a16cf7-6b1e-7993-9c87-2ed68d76eba0",
461
+ "id": "01a16f9b-2314-76cc-a0b0-3737ae7c5e61",
462
462
  "director": "Stanley Donen",
463
463
  "title": "Charade"
464
464
  },
@@ -468,7 +468,7 @@ Answer (73 lines)
468
468
  "path": "Films/His Girl Friday.md",
469
469
  "set": {
470
470
  "table": "main.public.film",
471
- "id": "01a16cf7-6b1e-79db-8bd7-c55a21c2d29f",
471
+ "id": "01a16f9b-2314-7ec6-b8a4-9769d2eb74ed",
472
472
  "director": "Howard Hawks",
473
473
  "title": "His Girl Friday"
474
474
  },
@@ -478,7 +478,7 @@ Answer (73 lines)
478
478
  "path": "Films/Metropolis.md",
479
479
  "set": {
480
480
  "table": "main.public.film",
481
- "id": "01a16cf7-6b1e-7e74-9fb2-5f094a71a39f",
481
+ "id": "01a16f9b-2314-790b-b772-e40f5d94e4b1",
482
482
  "director": "Fritz Lang",
483
483
  "title": "Metropolis"
484
484
  },
@@ -488,7 +488,7 @@ Answer (73 lines)
488
488
  "path": "Films/Nosferatu.md",
489
489
  "set": {
490
490
  "table": "main.public.film",
491
- "id": "01a16cf7-6b1e-79e9-b36d-92f76a21ce59",
491
+ "id": "01a16f9b-2314-75a4-9a76-5d74cf364168",
492
492
  "director": "F. W. Murnau",
493
493
  "title": "Nosferatu"
494
494
  },
@@ -498,7 +498,7 @@ Answer (73 lines)
498
498
  "path": "Films/The Gold Rush.md",
499
499
  "set": {
500
500
  "table": "main.public.film",
501
- "id": "01a16cf7-6b1e-7d6d-8c78-3104c4071c47",
501
+ "id": "01a16f9b-2314-70f1-89fe-b68f7e2d3b9f",
502
502
  "director": "Charlie Chaplin",
503
503
  "title": "The Gold Rush"
504
504
  },
@@ -519,7 +519,7 @@ Answer (73 lines)
519
519
  }
520
520
  ],
521
521
  "commits": [{ "table": "main.public.film", "version": 1, "operation": "ADOPT ROWS" }],
522
- "migration_id": "20261024T081156-adopt_rows-adopt-5-notes-into-film"
522
+ "migration_id": "20261024T203000-adopt_rows-adopt-5-notes-into-film"
523
523
  }
524
524
  ```
525
525
 
@@ -536,7 +536,7 @@ Answer:
536
536
  ```markdown
537
537
  ---
538
538
  table: main.public.film
539
- id: 01a16cf7-6b1e-7993-9c87-2ed68d76eba0
539
+ id: 01a16f9b-2314-76cc-a0b0-3737ae7c5e61
540
540
  year: 1963
541
541
  minutes: 113
542
542
  status: watched
@@ -623,7 +623,7 @@ Answer:
623
623
  "files_created": 1,
624
624
  "planned_creates": ["datanotes/main/public/film/Battleship Potemkin.md"],
625
625
  "commits": [{ "table": "main.public.film", "version": 2, "operation": "WRITE" }],
626
- "migration_id": "20261024T081156-insert_row-insert-into-film"
626
+ "migration_id": "20261024T203000-insert_row-insert-into-film"
627
627
  }
628
628
  ```
629
629
 
@@ -655,7 +655,7 @@ Answer:
655
655
  "op": "add_column",
656
656
  "planned_texts": ["datanotes/metastore.yaml"],
657
657
  "commits": [{ "table": "main.public.film", "version": 4, "operation": "ADD COLUMNS" }],
658
- "migration_id": "20261024T081158-add_column-add-column-added_by-to-film"
658
+ "migration_id": "20261024T203002-add_column-add-column-added_by-to-film"
659
659
  }
660
660
  ```
661
661
 
@@ -683,7 +683,7 @@ Answer:
683
683
  "files_created": 1,
684
684
  "planned_creates": ["datanotes/main/public/film/Night of the Living Dead.md"],
685
685
  "commits": [{ "table": "main.public.film", "version": 5, "operation": "WRITE" }],
686
- "migration_id": "20261024T081158-insert_row-insert-into-film"
686
+ "migration_id": "20261024T203002-insert_row-insert-into-film"
687
687
  }
688
688
  ```
689
689
 
@@ -692,7 +692,7 @@ Answer:
692
692
  ```markdown
693
693
  ---
694
694
  table: main.public.film
695
- id: 01a16cf7-71f8-7c36-a392-61386c267a0e
695
+ id: 01a16f9b-2919-7508-87ca-f5b7fa31c65d
696
696
  director: George A. Romero
697
697
  minutes: 96
698
698
  status: to watch
@@ -734,7 +734,7 @@ Answer:
734
734
  ```markdown
735
735
  ---
736
736
  table: main.public.film
737
- id: 01a16cf7-74bb-7a3e-ad0e-2dac8433ce30
737
+ id: 01a16f9b-2ba1-7ac8-8f00-71d7b7fe5143
738
738
  year: 1924
739
739
  minutes: 45
740
740
  status: to watch
@@ -762,7 +762,7 @@ Answer:
762
762
  "op": "alter_table",
763
763
  "planned_texts": ["datanotes/metastore.yaml"],
764
764
  "commits": [{ "table": "main.public.film", "version": 7, "operation": "ALTER TABLE" }],
765
- "migration_id": "20261024T081200-alter_table-alter-table-main-public-film"
765
+ "migration_id": "20261024T203004-alter_table-alter-table-main-public-film"
766
766
  }
767
767
  ```
768
768
 
@@ -825,7 +825,7 @@ This is the table as you inferred, corrected and extended it on this page. Its d
825
825
 
826
826
  ```yaml
827
827
  # Metastore (Datanotes): catalogs, schemas, tables, columns, views.
828
- id: 01a16cf7-6b02-7b71-b2d6-cede5690ed1f
828
+ id: 01a16f9b-22f5-7be8-a003-1d43db75c224
829
829
  config:
830
830
  history: true
831
831
 
@@ -31,7 +31,7 @@ Answer:
31
31
  "files_created": 1,
32
32
  "planned_creates": ["datanotes/main/public/film/Metropolis.md"],
33
33
  "commits": [{ "table": "main.public.film", "version": 1, "operation": "WRITE" }],
34
- "migration_id": "20261024T081147-insert_row-insert-into-film"
34
+ "migration_id": "20261024T202950-insert_row-insert-into-film"
35
35
  }
36
36
  ```
37
37
 
@@ -40,7 +40,7 @@ Answer:
40
40
  ```markdown
41
41
  ---
42
42
  table: main.public.film
43
- id: 01a16cf7-4642-7759-8b98-011e31e573c9
43
+ id: 01a16f9a-fc9a-7240-be4c-cdf811716ef7
44
44
  title: Metropolis
45
45
  year: 1927
46
46
  minutes: 153
@@ -103,7 +103,7 @@ Answer:
103
103
  }
104
104
  ],
105
105
  "commits": [{ "table": "main.public.film", "version": 6, "operation": "UPDATE" }],
106
- "migration_id": "20261024T081151-update_row-update-film"
106
+ "migration_id": "20261024T202955-update_row-update-film"
107
107
  }
108
108
  ```
109
109
 
@@ -174,7 +174,7 @@ Answer:
174
174
  }
175
175
  ],
176
176
  "commits": [{ "table": "main.public.film", "version": 8, "operation": "UPDATE" }],
177
- "migration_id": "20261024T081151-update_row-update-film-3",
177
+ "migration_id": "20261024T202955-update_row-update-film-3",
178
178
  "ambiguous_mentions": [
179
179
  {
180
180
  "path": "datanotes/main/public/film/Nosferatu.md",
@@ -193,7 +193,7 @@ Answer:
193
193
  ```markdown
194
194
  ---
195
195
  table: main.public.film
196
- id: 01a16cf7-5635-75b3-8e95-68aa1e5d8b03
196
+ id: 01a16f9b-0dbb-7154-b84c-122a05f5cb15
197
197
  title: Nosferatu
198
198
  year: 1922
199
199
  status: watched
@@ -246,7 +246,7 @@ Answer:
246
246
  }
247
247
  ],
248
248
  "commits": [{ "table": "main.public.film", "version": 9, "operation": "UPDATE" }],
249
- "migration_id": "20261024T081151-update_row-update-film-4"
249
+ "migration_id": "20261024T202955-update_row-update-film-4"
250
250
  }
251
251
  ```
252
252
 
@@ -332,7 +332,7 @@ Answer:
332
332
  }
333
333
  ],
334
334
  "commits": [{ "table": "main.public.film", "version": 10, "operation": "UPDATE" }],
335
- "migration_id": "20261024T081151-update_rows-update-film"
335
+ "migration_id": "20261024T202955-update_rows-update-film"
336
336
  }
337
337
  ```
338
338
 
@@ -370,7 +370,7 @@ Answer:
370
370
  ],
371
371
  "planned_creates": ["datanotes/main/public/film/Battleship Potemkin.md"],
372
372
  "commits": [{ "table": "main.public.film", "version": 11, "operation": "MERGE" }],
373
- "migration_id": "20261024T081151-merge_rows-merge-2-rows-into-film"
373
+ "migration_id": "20261024T202955-merge_rows-merge-2-rows-into-film"
374
374
  }
375
375
  ```
376
376
 
@@ -431,7 +431,7 @@ Answer:
431
431
  }
432
432
  ],
433
433
  "commits": [{ "table": "main.public.film", "version": 12, "operation": "DELETE" }],
434
- "migration_id": "20261024T081151-delete_rows-archive-1-rows-of-film"
434
+ "migration_id": "20261024T202955-delete_rows-archive-1-rows-of-film"
435
435
  }
436
436
  ```
437
437
 
@@ -568,6 +568,6 @@ Answer (51 lines)
568
568
  { "table": "main.public.film", "version": 22, "operation": "MOVE ROWS" },
569
569
  { "table": "main.public.watchlist", "version": 1, "operation": "MOVE ROWS" }
570
570
  ],
571
- "migration_id": "20261024T081151-move_rows-move-4-rows-from-film-to-watch"
571
+ "migration_id": "20261024T202955-move_rows-move-4-rows-from-film-to-watch"
572
572
  }
573
573
  ```
@@ -87,7 +87,7 @@ Answer (62 lines)
87
87
  {
88
88
  "start": 81,
89
89
  "end": 86,
90
- "context": "-8b5b-1f2bd9e696e3\nname: Cary Grant\n---\n\n"
90
+ "context": "-a4e8-0331bc07052a\nname: Cary Grant\n---\n\n"
91
91
  }
92
92
  ]
93
93
  },
@@ -3,7 +3,7 @@
3
3
  > The datanotes command and its options.
4
4
 
5
5
  ```text
6
- datanotes 3.4.1: Markdown notes as database tables, for you and your agents.
6
+ datanotes 3.4.2: Markdown notes as database tables, for you and your agents.
7
7
 
8
8
 
9
9
  Usage:
@@ -4,6 +4,19 @@
4
4
 
5
5
  This page lists each version of Datanotes, newest first. Datanotes follows [semantic versioning](https://semver.org): a major version can break what you rely on, and its notes list those changes first. The package is on [npm](https://www.npmjs.com/package/datanotes), and each version has a [GitHub release](https://github.com/davidefornelli/datanotes/releases).
6
6
 
7
+ ## 3.4.2
8
+
9
+ Datanotes 3.4.2 fixes the install of an extension on columns you mapped. It only adds to 3.4: no operation, argument or setting goes away.
10
+
11
+ ### Fixes
12
+
13
+ * **Mapped columns of a dependency**: `--map person.name=full_name` binds a column of a table the extension depends on. The installer now rewrites that column wherever the extension names it: in view queries, CHECKs, `ref_where` and `ref_by`, through links too, such as `author.name`. Before, those kept the manifest’s name and read a column the table doesn’t have. [Choose the tables an extension uses](https://datanotes.dev/administration/extensions/#choose-the-tables-an-extension-uses) explains mapping.
14
+ * **No guess where it can’t rewrite**: the installer refuses a mapped column in the outer clauses of a `union` view with `column_map_unsupported`. It refuses a migration step that names one with `migration_conflict`. Each problem has a hint and a docs link.
15
+
16
+ ### After you update
17
+
18
+ * **Repair a mapped install**: an extension installed with a mapped column keeps its old views and CHECKs. Run `datanotes extension install` with the same source again. The repair replaces each view and CHECK that names the mapped column.
19
+
7
20
  ## 3.4.1
8
21
 
9
22
  Datanotes 3.4.1 closes three gaps in token permissions. It only adds to 3.4: no operation, argument or setting goes away. One fix can refuse a write that 3.4.0 allowed, so check your tokens before you update.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "datanotes",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "mcpName": "io.github.davidefornelli/datanotes",
5
5
  "description": "The engine of your second brain: Markdown notes as database tables, for you and your agents.",
6
6
  "keywords": [