domma-cms 1.10.21 → 1.10.22

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.10.22] - 2026-10-25
4
+
5
+ - Survey definition exports and imports preserve public or invitation-only access, supporting keyless public surveys in Surveys 1.8.0. Imported surveys still start as drafts.
6
+
3
7
  ## [1.10.21] - 2026-10-25
4
8
 
5
9
  - **A form in a footer block keeps cached pages up to date.** What a footer block draws (a `[form]`, its file cap) now tags every cached page that shows it, so saving the form or changing the cap reaches those pages at once instead of after the cache expires. Producers can add tags to a plain cached value with `{_cacheValue, _cacheTags}`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "domma-cms",
3
- "version": "1.10.21",
3
+ "version": "1.10.22",
4
4
  "description": "File-based CMS powered by Domma and Fastify. Run npx domma-cms my-site to create a new project.",
5
5
  "type": "module",
6
6
  "main": "server/server.js",
@@ -1,7 +1,7 @@
1
1
  /** Versioned, definition-only transfers. Runtime entries and audience IDs stay on their site. */
2
2
  const KEYS = {
3
3
  form: ['slug', 'title', 'description', 'fields', 'settings', 'actions'],
4
- survey: ['slug', 'title', 'description', 'formSlug', 'mode', 'reminderAfterDays', 'intro', 'footer', 'thankYou', 'inviteEmail'],
4
+ survey: ['slug', 'title', 'description', 'formSlug', 'access', 'mode', 'reminderAfterDays', 'intro', 'footer', 'thankYou', 'inviteEmail'],
5
5
  campaign: ['slug', 'title', 'description', 'message', 'linkUrl', 'endsAt', 'offer']
6
6
  };
7
7
  export function definition(kind, value) {