@eventferry/schema-registry 3.2.2 → 3.2.3

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 (2) hide show
  1. package/CHANGELOG.md +136 -0
  2. package/package.json +5 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,136 @@
1
+ # @eventferry/schema-registry
2
+
3
+ ## 3.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 3c33f71: **chore: ship `CHANGELOG.md` inside the npm tarball**
8
+
9
+ Previously, each package's `files` allowlist contained only `"dist"` (and `"sql"` for `@eventferry/postgres`), so the auto-generated `CHANGELOG.md` was never published. Users browsing the package on npmjs.com or unpacking the tarball couldn't see release notes — they had to navigate to the GitHub repo.
10
+
11
+ This release adds `"CHANGELOG.md"` to the `files` array of every publishable package. Starting with this version, the per-version release notes are accessible:
12
+
13
+ - Directly in `node_modules/@eventferry/<pkg>/CHANGELOG.md` after `npm install`
14
+ - In the file listing on npmjs.com (under the "Code" / "Files" tab, depending on the npm UI)
15
+ - Inside the tarball downloaded from `https://registry.npmjs.org/...`
16
+
17
+ No code or API surface changes.
18
+
19
+ - Updated dependencies [3c33f71]
20
+ - @eventferry/core@3.3.1
21
+
22
+ ## 3.2.2
23
+
24
+ ### Patch Changes
25
+
26
+ - Updated dependencies [cdc20cf]
27
+ - @eventferry/core@3.3.0
28
+
29
+ ## 3.2.1
30
+
31
+ ### Patch Changes
32
+
33
+ - 9beb3e2: **chore: migrate to independent versioning (Astro pattern)**
34
+
35
+ Fixes the major-version inflation that produced four consecutive surprise majors (`1.0.4 → 2.0.0`, `2.0.0 → 3.0.0`, `3.0.0 → 4.0.0 corrected to 3.1.0`, `3.1.0 → 4.0.0 corrected to 3.2.0`) from changesets whose frontmatter only asked for `minor`.
36
+
37
+ **Root cause** (cited in [changesets/changesets#1759](https://github.com/changesets/changesets/issues/1759) and [docs/decisions.md](https://github.com/changesets/changesets/blob/main/docs/decisions.md)): the adapters listed `@eventferry/core` as a `peerDependency` with `workspace:*`. Changesets' documented rule is that an internal bump of a peer forces a major bump on the dependent — and the `fixed: [["@eventferry/*"]]` group reconciler then propagated that major across every package in the group.
38
+
39
+ **Fix** (exactly the [Astro config](https://github.com/withastro/astro/blob/main/.changeset/config.json)):
40
+
41
+ 1. `.changeset/config.json` — drop `fixed`, set `linked: []`, enable
42
+ `___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH.onlyUpdatePeerDependentsWhenOutOfRange: true`.
43
+ 2. Move `@eventferry/core` from `peerDependencies` to `dependencies` in
44
+ `@eventferry/postgres`, `@eventferry/mysql`, `@eventferry/kafka`, and
45
+ `@eventferry/schema-registry`. External user-facing peers (`pg`,
46
+ `mysql2`, `kafkajs`, `@confluentinc/kafka-javascript`,
47
+ `@kafkajs/confluent-schema-registry`) stay unchanged.
48
+
49
+ **Effect on releases.** Packages now evolve at independent semver tempos: a `core: minor` changeset produces `core@3.3.0` alongside `postgres@3.2.1` (patch, from "Updated dependencies"). No more major surprises. No more manual force-push corrections.
50
+
51
+ **Effect on consumers.** Pure-additive at the install boundary: `npm i @eventferry/kafka` now resolves `@eventferry/core` automatically (it's a regular dep). Previously consumers had to install it themselves as a peer; the typical flow already did this. No source-code changes required.
52
+
53
+ - Updated dependencies [9beb3e2]
54
+ - @eventferry/core@3.2.1
55
+
56
+ ## 3.2.0
57
+
58
+ ### Patch Changes
59
+
60
+ - @eventferry/core@3.2.0
61
+
62
+ ## 3.1.0
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [da39b08]
67
+ - @eventferry/core@3.1.0
68
+
69
+ ## 3.0.0
70
+
71
+ ### Patch Changes
72
+
73
+ - Updated dependencies [f0c7483]
74
+ - @eventferry/core@3.0.0
75
+
76
+ ## 2.0.0
77
+
78
+ ### Patch Changes
79
+
80
+ - @eventferry/core@2.0.0
81
+
82
+ ## 1.0.4
83
+
84
+ ### Patch Changes
85
+
86
+ - Updated dependencies [64d115d]
87
+ - @eventferry/core@1.0.4
88
+
89
+ ## 1.0.3
90
+
91
+ ### Patch Changes
92
+
93
+ - Updated dependencies [aaca9a2]
94
+ - @eventferry/core@1.0.3
95
+
96
+ ## 1.0.2
97
+
98
+ ### Patch Changes
99
+
100
+ - 89f1867: Declare `engines.node` (>=18) so npm shows the supported Node version and tooling can warn on unsupported runtimes.
101
+ - Updated dependencies [89f1867]
102
+ - @eventferry/core@1.0.2
103
+
104
+ ## 1.0.1
105
+
106
+ ### Patch Changes
107
+
108
+ - docs: polish per-package READMEs (npm page content). No code changes.
109
+ - Updated dependencies
110
+ - @eventferry/core@1.0.1
111
+
112
+ ## 1.0.0
113
+
114
+ ### Minor Changes
115
+
116
+ - b06f8ec: New package: `@eventferry/schema-registry`.
117
+
118
+ A core `Serializer` that encodes outbox payloads with a Confluent-compatible Schema
119
+ Registry (Avro / Protobuf / JSON Schema) instead of plain JSON — drop it into the
120
+ `serializer` option of `Relay` or `PostgresStreamingRelay`.
121
+
122
+ - Wraps `@kafkajs/confluent-schema-registry` as an **optional** peer dependency
123
+ (dynamically imported); inject your own client for tests or custom config.
124
+ - Per-topic schema resolution: register a supplied schema, or use the subject's latest
125
+ (default subject `${topic}-value`, configurable). Schema ids are resolved once and
126
+ cached.
127
+ - Consumers decode with the same registry client; no changes to `core`/`postgres`/`kafka`.
128
+
129
+ ### Patch Changes
130
+
131
+ - Updated dependencies [b06f8ec]
132
+ - Updated dependencies [b06f8ec]
133
+ - Updated dependencies [b06f8ec]
134
+ - Updated dependencies [b06f8ec]
135
+ - Updated dependencies [b06f8ec]
136
+ - @eventferry/core@1.0.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventferry/schema-registry",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "Confluent Schema Registry serializer for @eventferry (Avro/Protobuf/JSON Schema)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -14,7 +14,8 @@
14
14
  }
15
15
  },
16
16
  "files": [
17
- "dist"
17
+ "dist",
18
+ "CHANGELOG.md"
18
19
  ],
19
20
  "keywords": [
20
21
  "outbox",
@@ -44,7 +45,7 @@
44
45
  "node": ">=18"
45
46
  },
46
47
  "dependencies": {
47
- "@eventferry/core": "3.3.0"
48
+ "@eventferry/core": "3.3.1"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "@kafkajs/confluent-schema-registry": "^3.0.0"
@@ -59,7 +60,7 @@
59
60
  "tsup": "^8.3.5",
60
61
  "typescript": "^5.7.2",
61
62
  "vitest": "^2.1.8",
62
- "@eventferry/core": "3.3.0"
63
+ "@eventferry/core": "3.3.1"
63
64
  },
64
65
  "scripts": {
65
66
  "build": "tsup",