@ocoda/event-sourcing-mariadb 2.0.0 → 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 +35 -0
- package/dist/index.js +3 -3
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,40 @@
|
|
|
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
|
+
|
|
3
38
|
## 2.0.0
|
|
4
39
|
|
|
5
40
|
### Major 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
|
|
61
|
-
__export(
|
|
60
|
+
var index_exports = {};
|
|
61
|
+
__export(index_exports, {
|
|
62
62
|
MariaDBEventStore: () => MariaDBEventStore,
|
|
63
63
|
MariaDBSnapshotStore: () => MariaDBSnapshotStore
|
|
64
64
|
});
|
|
65
|
-
module.exports = __toCommonJS(
|
|
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": "2.
|
|
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",
|
|
@@ -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": "2.
|
|
22
|
+
"@ocoda/event-sourcing": "2.1.0"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@biomejs/biome": "1.9.4",
|
|
26
|
-
"@faker-js/faker": "^9.
|
|
27
|
-
"@nestjs/common": "11.0.
|
|
28
|
-
"@nestjs/core": "11.0.
|
|
29
|
-
"@nestjs/platform-express": "11.0.
|
|
30
|
-
"@nestjs/testing": "11.0.
|
|
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.
|
|
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.
|
|
40
|
-
"tsup": "^8.
|
|
41
|
-
"typescript": "5.
|
|
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
|
},
|