@n8n/db 1.27.1 → 1.28.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 (40) hide show
  1. package/dist/build.tsbuildinfo +1 -1
  2. package/dist/entities/execution-entity.d.ts +2 -1
  3. package/dist/entities/execution-entity.js +4 -0
  4. package/dist/entities/execution-entity.js.map +1 -1
  5. package/dist/entities/types-db.d.ts +3 -1
  6. package/dist/entities/types-db.js.map +1 -1
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.js +3 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/migrations/common/1784000000033-AddBinaryDataSizeBytesToExecutionEntity.d.ts +5 -0
  11. package/dist/migrations/common/1784000000033-AddBinaryDataSizeBytesToExecutionEntity.js +20 -0
  12. package/dist/migrations/common/1784000000033-AddBinaryDataSizeBytesToExecutionEntity.js.map +1 -0
  13. package/dist/migrations/common/1784000000034-AllowAzureStoredAt.d.ts +4 -0
  14. package/dist/migrations/common/1784000000034-AllowAzureStoredAt.js +21 -0
  15. package/dist/migrations/common/1784000000034-AllowAzureStoredAt.js.map +1 -0
  16. package/dist/migrations/common/1784000000035-AddUniqueAgentFileNames.d.ts +5 -0
  17. package/dist/migrations/common/1784000000035-AddUniqueAgentFileNames.js +15 -0
  18. package/dist/migrations/common/1784000000035-AddUniqueAgentFileNames.js.map +1 -0
  19. package/dist/migrations/common/1784000000036-CreateInstanceAiThreadGrantTable.d.ts +5 -0
  20. package/dist/migrations/common/1784000000036-CreateInstanceAiThreadGrantTable.js +29 -0
  21. package/dist/migrations/common/1784000000036-CreateInstanceAiThreadGrantTable.js.map +1 -0
  22. package/dist/migrations/postgresdb/index.js +8 -0
  23. package/dist/migrations/postgresdb/index.js.map +1 -1
  24. package/dist/migrations/sqlite/1784000000034-AllowAzureStoredAt.d.ts +4 -0
  25. package/dist/migrations/sqlite/1784000000034-AllowAzureStoredAt.js +12 -0
  26. package/dist/migrations/sqlite/1784000000034-AllowAzureStoredAt.js.map +1 -0
  27. package/dist/migrations/sqlite/index.js +8 -0
  28. package/dist/migrations/sqlite/index.js.map +1 -1
  29. package/dist/repositories/execution.repository.js +5 -1
  30. package/dist/repositories/execution.repository.js.map +1 -1
  31. package/dist/repositories/workflow-publication-outbox.repository.d.ts +7 -0
  32. package/dist/repositories/workflow-publication-outbox.repository.js +106 -19
  33. package/dist/repositories/workflow-publication-outbox.repository.js.map +1 -1
  34. package/dist/repositories/workflow.repository.d.ts +7 -2
  35. package/dist/repositories/workflow.repository.js +70 -14
  36. package/dist/repositories/workflow.repository.js.map +1 -1
  37. package/dist/utils/is-unique-constraint-error.d.ts +1 -0
  38. package/dist/utils/is-unique-constraint-error.js +20 -0
  39. package/dist/utils/is-unique-constraint-error.js.map +1 -0
  40. package/package.json +13 -12
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@n8n/db",
3
- "version": "1.27.1",
3
+ "version": "1.28.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "src/index.ts",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [
8
8
  "dist/**/*",
9
- "LICENSE.md",
10
- "LICENSE_EE.md"
9
+ "LICENSE_EE.md",
10
+ "LICENSE.md"
11
11
  ],
12
12
  "dependencies": {
13
13
  "@n8n/typeorm": "0.3.20-17",
@@ -20,22 +20,23 @@
20
20
  "uuid": "11.1.1",
21
21
  "xss": "1.0.15",
22
22
  "zod": "3.25.67",
23
- "@n8n/backend-common": "1.27.1",
24
- "@n8n/api-types": "1.27.0",
25
- "@n8n/config": "2.25.1",
26
- "@n8n/constants": "0.27.0",
27
- "@n8n/decorators": "1.27.1",
28
- "@n8n/permissions": "0.64.0",
23
+ "@n8n/config": "2.26.0",
24
+ "@n8n/api-types": "1.28.0",
25
+ "@n8n/constants": "0.28.0",
26
+ "@n8n/backend-common": "1.28.0",
29
27
  "@n8n/di": "0.14.0",
30
- "n8n-workflow": "2.27.0",
31
- "n8n-core": "2.27.1",
32
- "@n8n/utils": "1.35.0"
28
+ "@n8n/permissions": "0.65.0",
29
+ "@n8n/decorators": "1.28.0",
30
+ "@n8n/utils": "1.36.0",
31
+ "n8n-core": "2.28.0",
32
+ "n8n-workflow": "2.28.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@types/lodash": "4.17.17",
36
36
  "@testcontainers/postgresql": "^11.13.0",
37
37
  "@vitest/coverage-v8": "4.1.1",
38
38
  "express": "5.1.0",
39
+ "testcontainers": "^11.13.0",
39
40
  "typescript": "6.0.2",
40
41
  "vitest": "^4.1.1",
41
42
  "vitest-mock-extended": "^3.1.0",