@duraxis/core 0.2.0 → 0.3.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,5 +1,29 @@
1
1
  # @duraxis/core changelog
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - eb56e40: Add transactional collection alteration/removal, final-schema validation, schema-aware index rebuilding, and protected subsystem metadata. Add standalone ORM schema export and opt-in strict managed validation. Introduce the migration runtime and CLI with snapshots, schema comparison, atomic history, conservative rollback, baseline adoption, and recovery-aware publication. Document deployment sequencing and transaction memory limits.
8
+
9
+ ## 0.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 8c357b5: fix: padronize the published versions
14
+ - 8c357b5: fix: padronize the published versions
15
+ - Updated dependencies [8c357b5]
16
+ - Updated dependencies [8c357b5]
17
+ - @duraxis/storage@0.1.2
18
+
19
+ ## 0.2.1
20
+
21
+ ### Patch Changes
22
+
23
+ - e6facc7: fix: padronize the published versions
24
+ - Updated dependencies [e6facc7]
25
+ - @duraxis/storage@0.1.1
26
+
3
27
  ## 0.2.0
4
28
 
5
29
  ### Minor Changes
package/README.md CHANGED
@@ -49,4 +49,27 @@ O pacote depende somente de `@duraxis/storage` em runtime. Drivers são instalad
49
49
  separadamente. `@duraxis/orm` adiciona entidades e repositórios sobre esta API.
50
50
 
51
51
  Duraxis ainda está em `0.x`. As garantias efetivas dependem do driver; não há coordenação
52
- distribuída, e o formato persistido pode evoluir. Requer Node.js 22.12+.
52
+ distribuída, e o formato persistido pode evoluir. Requer Node.js 24.15.0+.
53
+
54
+ ## Transactional schema evolution
55
+
56
+ Transactions expose `getCollectionDefinitions()`, `alterCollection(name,
57
+ definition)`, `dropCollection(name)`, and streaming `scanCollection(name)`.
58
+ Catalog changes are visible to subsequent transaction operations. Replacement
59
+ validates existing and pending documents against the final schema, including
60
+ foreign keys; indexes rebuild when indexed field definitions change. Collection
61
+ drops remove logical records and index roots while captured snapshots retain
62
+ visibility. Physical deletion remains the garbage collector's responsibility.
63
+ A dropped collection cannot be recreated in the same transaction.
64
+
65
+ Trusted subsystems can use `getMetadata(namespace)` and `putMetadata(namespace,
66
+ bytes)` for protected transactional metadata. Ordinary raw-key writes still
67
+ reject reserved namespaces. This is an explicit internal extension mechanism,
68
+ not access control against code with direct storage access. Metadata uses existing
69
+ primary-tree entries and format-1 manifests. Older Core versions cannot perform
70
+ all full-tree operations on databases containing these new reserved entries;
71
+ upgrade Core before adopting migrations and do not downgrade migrated databases.
72
+
73
+ Affected-schema validation stages final records in memory. Streaming reads do not
74
+ bound transaction memory, and schema-mutated index queries may scan and sort.
75
+ For versioned evolution use [`@duraxis/migrations`](../migrations/README.md).