@jini-ai/cms-forms 0.2.3 → 0.6.12

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,37 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.12
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @jini-ai/cms@0.6.12
9
+ - @jini-ai/core@0.6.12
10
+
11
+ ## 0.6.11
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [8fe4cb0]
16
+ - Updated dependencies
17
+ - Updated dependencies
18
+ - @jini-ai/cms@0.6.11
19
+ - @jini-ai/core@0.6.11
20
+
21
+ ## 0.6.10
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [0ca4d2a]
26
+ - Updated dependencies [b2f0fa8]
27
+ - Updated dependencies [22f0619]
28
+ - Updated dependencies [82ed2d3]
29
+ - Updated dependencies [ea8d883]
30
+ - Updated dependencies [9098d22]
31
+ - Updated dependencies [5a3de86]
32
+ - @jini-ai/cms@0.6.10
33
+ - @jini-ai/core@0.6.10
34
+
3
35
  ## 0.2.3 — 2026-10-05
4
36
 
5
37
  - `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 +55,8 @@
23
55
 
24
56
  ## Unreleased
25
57
 
58
+ - Deprecated in favour of `@jini-ai/cms/forms`; retain the current version and workspace links until the consumer forms switch.
59
+
26
60
  ### Compilation
27
61
 
28
62
  - Align the in-memory event-bus fixture and subscriber test calls with the current CMS argument objects.
@@ -34,7 +68,6 @@
34
68
  - Use core runtime/JSON/ID/time types and `Pick<Logger, 'warn'>`; structured warning error data is passed in argument two.
35
69
  - Pass notification subscriptions as `{ eventName, handler }` and change-set insertion as `{ record, items }, { event }`.
36
70
 
37
-
38
71
  - Restore independent empty `fieldErrors` defaults for message-only field and
39
72
  submission validation errors.
40
73
  - Validate name updates against the host's reserved-slug policy using the stored,
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
- # @jini-ai/cms-forms
1
+ Deprecated: use `@jini-ai/cms/forms` (same API; adapters at `/html`, `/sql`, `/express`).
2
2
 
3
- Configurable forms in the CMS family, kept as a private workspace package at `packages/cms/forms`. Do not publish this package to npm. 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. Version 0.1.0 uses Apache-2.0 licensing.
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
- Runtime code has no framework, Node, database, mail-provider, or CMS implementation imports. CMS contracts are type-only dependencies from `@jini-ai/cms/core`. There is no `@jini-ai/cms/forms` compatibility alias.
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.2.3",
3
+ "version": "0.6.12",
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.5.0",
41
- "@jini-ai/core": "^0.4.1"
40
+ "@jini-ai/cms": "^0.6.12",
41
+ "@jini-ai/core": "^0.6.12"
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",