@ocoda/event-sourcing-mariadb 1.1.6 → 2.1.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,54 @@
1
1
  # @ocoda/event-sourcing-mariadb
2
2
 
3
+ ## 2.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#419](https://github.com/ocoda/event-sourcing/pull/419) [`cbc7b08`](https://github.com/ocoda/event-sourcing/commit/cbc7b082555cb0855cd26965020b152c679e6e47) Thanks [@drieshooghe](https://github.com/drieshooghe)! - # Fixes
8
+ Fixes an issue where the metadata from custom event-serializers wasn't returned as an object, resulting in them not being registered by the handlers loader.
9
+
10
+ # Deprecates
11
+
12
+ Removes the `disableDefaultSerializer` option from the module, but falls back to the default serializer for each event that doesn't have a custom event-serializer registered. Refactored because the previous behavior left the event-serializer for an event empty, which doesn't make sense.
13
+
14
+ # Dependencies
15
+
16
+ Updated various dependencies to their latest versions, including:
17
+
18
+ - `@aws-sdk/client-dynamodb` & `@aws-sdk/util-dynamodb` to `3.758.0`
19
+ - `@nestjs/common`, `@nestjs/core`, `@nestjs/platform-express`, and `@nestjs/testing` to `11.0.11`
20
+ - `@changesets/changelog-github` & `@changesets/cli` to their latest versions
21
+ - `@faker-js/faker` to `9.5.1`
22
+ - `@swc/core` to `1.11.5`
23
+ - `mongodb` to `6.14.0`
24
+ - `next` to `15.2.0`
25
+ - `pg` to `8.13.3` and `pg-cursor` to `2.12.3`
26
+ - `rxjs` to `7.8.2`
27
+ - `tsup` to `8.4.0`
28
+ - `turbo` to `2.4.4`
29
+ - `typescript` to `5.8.2`
30
+
31
+ These updates include minor fixes, performance improvements, and compatibility enhancements.
32
+
33
+ ### Patch Changes
34
+
35
+ - Updated dependencies [[`cbc7b08`](https://github.com/ocoda/event-sourcing/commit/cbc7b082555cb0855cd26965020b152c679e6e47)]:
36
+ - @ocoda/event-sourcing@2.1.0
37
+
38
+ ## 2.0.0
39
+
40
+ ### Major Changes
41
+
42
+ - [#406](https://github.com/ocoda/event-sourcing/pull/406) [`d22f846`](https://github.com/ocoda/event-sourcing/commit/d22f8463febe06e43282a10c6fcafdd43a9877e7) Thanks [@renovate](https://github.com/apps/renovate)! - Major bump NestJS dependencies
43
+
44
+ - Drops support for NodeJS 18 as it is no longer supported by NestJS v11
45
+ - Bumps dev dependencies
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [[`d22f846`](https://github.com/ocoda/event-sourcing/commit/d22f8463febe06e43282a10c6fcafdd43a9877e7)]:
50
+ - @ocoda/event-sourcing@2.0.0
51
+
3
52
  ## 1.1.6
4
53
 
5
54
  ### Patch Changes
package/dist/index.js CHANGED
@@ -57,12 +57,12 @@ var __asyncGenerator = (__this, __arguments, generator) => {
57
57
  var __forAwait = (obj, it, method) => (it = obj[__knownSymbol("asyncIterator")]) ? it.call(obj) : (obj = obj[__knownSymbol("iterator")](), it = {}, method = (key, fn) => (fn = obj[key]) && (it[key] = (arg) => new Promise((yes, no, done) => (arg = fn.call(obj, arg), done = arg.done, Promise.resolve(arg.value).then((value) => yes({ value, done }), no)))), method("next"), method("return"), it);
58
58
 
59
59
  // lib/index.ts
60
- var lib_exports = {};
61
- __export(lib_exports, {
60
+ var index_exports = {};
61
+ __export(index_exports, {
62
62
  MariaDBEventStore: () => MariaDBEventStore,
63
63
  MariaDBSnapshotStore: () => MariaDBSnapshotStore
64
64
  });
65
- module.exports = __toCommonJS(lib_exports);
65
+ module.exports = __toCommonJS(index_exports);
66
66
 
67
67
  // lib/mariadb.event-store.ts
68
68
  var import_event_sourcing = require("@ocoda/event-sourcing");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocoda/event-sourcing-mariadb",
3
- "version": "1.1.6",
3
+ "version": "2.1.0",
4
4
  "description": "NestJS Event Sourcing Library (@mariadb)",
5
5
  "author": "Dries Hooghe <dries@drieshooghe.com>",
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/ocoda/event-sourcing/issues"
11
11
  },
12
12
  "engines": {
13
- "node": ">= 18.20.4"
13
+ "node": ">= 20.0.0"
14
14
  },
15
15
  "dependencies": {
16
16
  "mariadb": "^3.4.0"
@@ -19,26 +19,26 @@
19
19
  "@nestjs/core": "^10.0.0",
20
20
  "reflect-metadata": "^0.2.0",
21
21
  "rxjs": "^7.2.0",
22
- "@ocoda/event-sourcing": "1.1.6"
22
+ "@ocoda/event-sourcing": "2.1.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@biomejs/biome": "1.9.4",
26
- "@faker-js/faker": "^9.4.0",
27
- "@nestjs/common": "10.4.15",
28
- "@nestjs/core": "10.4.15",
29
- "@nestjs/platform-express": "10.4.15",
30
- "@nestjs/testing": "10.4.15",
26
+ "@faker-js/faker": "^9.5.1",
27
+ "@nestjs/common": "11.0.11",
28
+ "@nestjs/core": "11.0.11",
29
+ "@nestjs/platform-express": "11.0.11",
30
+ "@nestjs/testing": "11.0.11",
31
31
  "@swc-node/register": "^1.10.9",
32
- "@swc/core": "1.10.15",
32
+ "@swc/core": "1.11.5",
33
33
  "@swc/jest": "0.2.37",
34
34
  "@types/jest": "29.5.14",
35
35
  "@types/node": "20.17.6",
36
36
  "jest": "29.7.0",
37
37
  "jest-mock": "29.7.0",
38
38
  "reflect-metadata": "0.2.2",
39
- "rxjs": "7.8.1",
40
- "tsup": "^8.3.6",
41
- "typescript": "5.7.3",
39
+ "rxjs": "7.8.2",
40
+ "tsup": "^8.4.0",
41
+ "typescript": "5.8.2",
42
42
  "@ocoda/event-sourcing-config": "1.0.0",
43
43
  "@ocoda/event-sourcing-testing": "1.0.0"
44
44
  },