@duraxis/nestjs 0.2.4 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +14 -1
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @duraxis/nestjs 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
+ ### Patch Changes
10
+
11
+ - Updated dependencies [eb56e40]
12
+ - @duraxis/core@0.3.0
13
+ - @duraxis/orm@0.3.0
14
+
3
15
  ## 0.2.4
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -143,4 +143,17 @@ Veja a [decisão de arquitetura](../../docs/NESTJS_TRANSACTIONS.md) para a anál
143
143
 
144
144
  Transações declarativas dependem de metadados e inicialização do Nest; o pacote não é marcado
145
145
  como livre de efeitos colaterais. Ele não adiciona coordenação distribuída. Requer Node.js
146
- 22.12+.
146
+ 24.15.0+.
147
+
148
+ ## Migration deployment
149
+
150
+ Run `duraxis migrate:up` in a deployment job before starting NestJS, then use
151
+ `schema: { mode: "validate" }` (or opt-in `validate-managed`) in your connection
152
+ options. See the [CLI guide](../cli/README.md). Migrations introduce no NestJS CLI
153
+ dependency or automatic startup changes. Named connections, `forRootAsync`,
154
+ `autoLoadEntities`, and existing transaction/resource ownership remain unchanged.
155
+ For disk, stop the connection owner before the migration job opens the directory.
156
+ For S3, coordinate application writers separately: manifest CAS prevents competing
157
+ publications but does not put application replicas into maintenance mode. Stop
158
+ older incompatible replicas before migration and start compatible versions after
159
+ successful validation; use staged compatible schema releases for rolling upgrades.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duraxis/nestjs",
3
- "version": "0.2.4",
3
+ "version": "0.3.0",
4
4
  "description": "NestJS modules, injection tokens, repositories, and transactions for Duraxis.",
5
5
  "license": "ISC",
6
6
  "author": "João Paulo Dias <joaopdias.dev@gmail.com>",
@@ -21,7 +21,7 @@
21
21
  "url": "https://github.com/Joaopdiasventura/Duraxis/issues"
22
22
  },
23
23
  "engines": {
24
- "node": ">=22.12.0"
24
+ "node": ">=24.15.0"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public",
@@ -45,8 +45,8 @@
45
45
  "CHANGELOG.md"
46
46
  ],
47
47
  "dependencies": {
48
- "@duraxis/core": "0.2.2",
49
- "@duraxis/orm": "0.2.2",
48
+ "@duraxis/core": "0.3.0",
49
+ "@duraxis/orm": "0.3.0",
50
50
  "@duraxis/storage": "0.1.2"
51
51
  },
52
52
  "peerDependencies": {