@jini-ai/cms-forms 0.2.3 → 0.6.15-rc.1
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 +49 -1
- package/README.md +5 -3
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [7479159]
|
|
8
|
+
- Updated dependencies [3feabff]
|
|
9
|
+
- Updated dependencies [fddd084]
|
|
10
|
+
- Updated dependencies [c31264d]
|
|
11
|
+
- Updated dependencies [5634614]
|
|
12
|
+
- Updated dependencies [0728914]
|
|
13
|
+
- Updated dependencies [6ecbdb2]
|
|
14
|
+
- Updated dependencies [63bacc5]
|
|
15
|
+
- @jini-ai/core@0.6.13
|
|
16
|
+
- @jini-ai/cms@0.6.13
|
|
17
|
+
|
|
18
|
+
## 0.6.12
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @jini-ai/cms@0.6.12
|
|
24
|
+
- @jini-ai/core@0.6.12
|
|
25
|
+
|
|
26
|
+
## 0.6.11
|
|
27
|
+
|
|
28
|
+
### Patch Changes
|
|
29
|
+
|
|
30
|
+
- Updated dependencies [8fe4cb0]
|
|
31
|
+
- Updated dependencies
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
- @jini-ai/cms@0.6.11
|
|
34
|
+
- @jini-ai/core@0.6.11
|
|
35
|
+
|
|
36
|
+
## 0.6.10
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- Updated dependencies [0ca4d2a]
|
|
41
|
+
- Updated dependencies [b2f0fa8]
|
|
42
|
+
- Updated dependencies [22f0619]
|
|
43
|
+
- Updated dependencies [82ed2d3]
|
|
44
|
+
- Updated dependencies [ea8d883]
|
|
45
|
+
- Updated dependencies [9098d22]
|
|
46
|
+
- Updated dependencies [5a3de86]
|
|
47
|
+
- @jini-ai/cms@0.6.10
|
|
48
|
+
- @jini-ai/core@0.6.10
|
|
49
|
+
|
|
3
50
|
## 0.2.3 — 2026-10-05
|
|
4
51
|
|
|
5
52
|
- `submitForm` takes an optional `transaction` port (`SubmissionTransactionPort`): the submission row and its `form.submission.received` event are written inside it, so a failed enqueue rolls the row back instead of leaving a stored submission that never notifies. Dispatch starts only after it commits. Without the port the two writes run back to back, as before.
|
|
@@ -23,6 +70,8 @@
|
|
|
23
70
|
|
|
24
71
|
## Unreleased
|
|
25
72
|
|
|
73
|
+
- Deprecated in favour of `@jini-ai/cms/forms`; retain the current version and workspace links until the consumer forms switch.
|
|
74
|
+
|
|
26
75
|
### Compilation
|
|
27
76
|
|
|
28
77
|
- Align the in-memory event-bus fixture and subscriber test calls with the current CMS argument objects.
|
|
@@ -34,7 +83,6 @@
|
|
|
34
83
|
- Use core runtime/JSON/ID/time types and `Pick<Logger, 'warn'>`; structured warning error data is passed in argument two.
|
|
35
84
|
- Pass notification subscriptions as `{ eventName, handler }` and change-set insertion as `{ record, items }, { event }`.
|
|
36
85
|
|
|
37
|
-
|
|
38
86
|
- Restore independent empty `fieldErrors` defaults for message-only field and
|
|
39
87
|
submission validation errors.
|
|
40
88
|
- Validate name updates against the host's reserved-slug policy using the stored,
|
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
Deprecated: use `@jini-ai/cms/forms` (same API; adapters at `/html`, `/sql`, `/express`).
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Deprecated package: use `@jini-ai/cms/forms` for new consumers. This package is marked for npm deprecation in the owner's publish. Keep `packages/cms/forms` until the consumer forms switch is complete: existing workspace links still resolve to this folder. No npm deprecation has been issued by this metadata change.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Configurable forms in the CMS family. The root export includes field and submission validation, honeypot handling, domain errors and records, audited definition writes, anonymous submissions, rate-limit key construction, and notification subscribers. The package uses Apache-2.0 licensing.
|
|
6
|
+
|
|
7
|
+
Runtime code has no framework, Node, database, mail-provider, or CMS implementation imports. CMS contracts are type-only dependencies from `@jini-ai/cms/core`. The successor lives in the CMS package at `@jini-ai/cms/forms`, with separate `/html`, `/sql` and `/express` adapters.
|
|
6
8
|
|
|
7
9
|
Every public function accepts a required object and, where applicable, a second optional object. Consumers bind repositories, clock, IDs, authorization, reserved slugs, permission names, rate limits, outbox, background dispatcher, logger, mailer, sender and audited command execution.
|
|
8
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jini-ai/cms-forms",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.15-rc.1",
|
|
4
4
|
"description": "Framework-free configurable form validation, audited definitions, anonymous submissions and notification services with injected host ports.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"!dist/**/*.map"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@jini-ai/cms": "^0.
|
|
41
|
-
"@jini-ai/core": "^0.
|
|
40
|
+
"@jini-ai/cms": "^0.6.15-rc.1",
|
|
41
|
+
"@jini-ai/core": "^0.6.15-rc.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"vitest": "^2.1.0",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"access": "public",
|
|
50
50
|
"registry": "https://registry.npmjs.org"
|
|
51
51
|
},
|
|
52
|
+
"deprecated": "Use @jini-ai/cms/forms. Scheduled for npm deprecation in the owner publish; retained for existing workspace links until the consumer forms switch.",
|
|
52
53
|
"scripts": {
|
|
53
54
|
"build": "tsc -p tsconfig.json",
|
|
54
55
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|