canopycms 0.7.0 → 0.7.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 +61 -47
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/worker/git-sync.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,9 @@ packages release together, at one version.
|
|
|
5
5
|
|
|
6
6
|
## This build
|
|
7
7
|
|
|
8
|
-
Version `0.7.
|
|
8
|
+
Version `0.7.1`, built from [`fc7c124`](https://github.com/safeinsights/canopycms/tree/fc7c124fae32a1df226f082b618889ad6c3e8345).
|
|
9
9
|
|
|
10
|
-
Its entries are [0.7.
|
|
10
|
+
Its entries are [0.7.1](#071), under **Released**.
|
|
11
11
|
|
|
12
12
|
If you upgraded from a build on another branch, compare the `<!-- changeset: … -->` slugs in your previous build's `CHANGELOG.md` (`npm pack canopycms@<old>` fetches it) with this one's: entries whose slug your old file lacks are new to you.
|
|
13
13
|
|
|
@@ -24,7 +24,7 @@ Each entry has up to three parts:
|
|
|
24
24
|
`node_modules/canopycms/CHANGELOG.md`, assembled for that build: its **This build** section lists
|
|
25
25
|
what is new since the previous int on the same branch, or on a stable release links its entries, and its links point at the commit the build
|
|
26
26
|
came from. The copy in the repository holds released history and the entries from before changesets;
|
|
27
|
-
every entry written since is a file in [`.changeset/`](https://github.com/safeinsights/canopycms/blob/
|
|
27
|
+
every entry written since is a file in [`.changeset/`](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/.changeset/README.md) until a stable release
|
|
28
28
|
moves it here.
|
|
29
29
|
|
|
30
30
|
**Find your starting point.** From a stable pin, start at the first version under **Released**
|
|
@@ -62,6 +62,20 @@ entries under **Released**.
|
|
|
62
62
|
|
|
63
63
|
## Released
|
|
64
64
|
|
|
65
|
+
### 0.7.1
|
|
66
|
+
|
|
67
|
+
<!-- changeset: worker-platform-ci -->
|
|
68
|
+
|
|
69
|
+
#### An alarm for a running worker whose git syncs all fail
|
|
70
|
+
|
|
71
|
+
<!-- changeset: worker-sync-failing-alarm -->
|
|
72
|
+
|
|
73
|
+
_First in 0.7.1._
|
|
74
|
+
|
|
75
|
+
**What changed.** The worker-down alarm counts the line every git-sync cycle logs as it starts, so a running worker whose every sync failed stayed green. The worker now also logs `Git sync complete` when a cycle runs to its end. With `alarmTopic` set, `CanopyCmsService` adds `workerSyncFailingAlarm`, which notifies the topic, and again on recovery, when cycles keep starting and none completes for an hour. A GitHub outage is the usual cause, and the alarm's description says to check GitHub's status first.
|
|
76
|
+
|
|
77
|
+
**To adopt.** Nothing, in the default asset mode. With `workerCode: { source: 'parameter' }`, roll the bundle within the hour of deploying the template: an older bundle never logs `Git sync complete`, so the alarm fires until it rolls.
|
|
78
|
+
|
|
65
79
|
### 0.7.0
|
|
66
80
|
|
|
67
81
|
<!-- changeset: playwright-1-64-ubuntu-26-04 -->
|
|
@@ -97,7 +111,7 @@ _First in 0.7.0._
|
|
|
97
111
|
|
|
98
112
|
**What changed.** The pull request a submit opens now lists the branch's unresolved editor comment threads: where each one is, the first line of its first comment (80 characters at most) and a link to it in the editor. Once every thread is resolved, it says so. The list is updated whenever a comment is added, replied to or resolved, as well as on submit. Comment excerpts are visible to everyone who can read the pull request, which on a public repository means everyone. Open threads do not block the merge or keep the pull request in draft. A pull request opened before this release shows no list until its branch is next submitted.
|
|
99
113
|
|
|
100
|
-
**To adopt.** Nothing, if your deploy replaces the worker along with the CMS, as `cdk deploy` of the canopycms-cdk stack does with the default `workerCode`. A worker on an earlier release fails each update of the list and marks the branch's sync failed until a later task succeeds, so a pipeline that leaves the worker behind must roll it no later than the CMS: see [Rolling the worker from CI](https://github.com/safeinsights/canopycms/blob/
|
|
114
|
+
**To adopt.** Nothing, if your deploy replaces the worker along with the CMS, as `cdk deploy` of the canopycms-cdk stack does with the default `workerCode`. A worker on an earlier release fails each update of the list and marks the branch's sync failed until a later task succeeds, so a pipeline that leaves the worker behind must roll it no later than the CMS: see [Rolling the worker from CI](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#rolling-the-worker-from-ci).
|
|
101
115
|
|
|
102
116
|
#### Pull request bodies link back to the editor
|
|
103
117
|
|
|
@@ -107,7 +121,7 @@ _First in 0.7.0._
|
|
|
107
121
|
|
|
108
122
|
**What changed.** The pull request a submit opens links to the branch in the editor, and each changed entry to that entry. A notice tells reviewers that comments on the pull request do not reach the editor, so the author will not see them. The links use the editor's URL from the submit, accepted only when its host is the one the request was addressed to (`X-Forwarded-Host`, else `Host`), which holds behind `canopycms-cdk`'s CloudFront distribution as it stands.
|
|
109
123
|
|
|
110
|
-
**To adopt.** Nothing, unless a proxy in front of the CMS sets neither header to the editor's public host: then set `editorUrl` in your Canopy config to the editor page's URL, e.g. `editorUrl: 'https://cms.example.org/edit'`. See [the config reference](https://github.com/safeinsights/canopycms/blob/
|
|
124
|
+
**To adopt.** Nothing, unless a proxy in front of the CMS sets neither header to the editor's public host: then set `editorUrl` in your Canopy config to the editor page's URL, e.g. `editorUrl: 'https://cms.example.org/edit'`. See [the config reference](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#definecanopyconfig-options).
|
|
111
125
|
|
|
112
126
|
#### CloudFront origin read timeout accepted up to 120 s; the editor waits 135 s
|
|
113
127
|
|
|
@@ -193,7 +207,7 @@ _First in 0.6.0._
|
|
|
193
207
|
|
|
194
208
|
**What changed.** `CanopyCmsService` takes `clerkOrganizationsAsGroups` (default `true`, unchanged), which the worker honours; in a deployment it, not the plugin's `useOrganizationsAsGroups`, decides the groups. When Clerk refuses the organization list with a 403 (Organizations disabled), the refresh now writes users with no groups and logs a warning, instead of failing whole; any other failure still keeps the last snapshot. Memberships are fetched instance-wide rather than per user. The scaffolds write `false` explicitly: `useOrganizationsAsGroups` in `canopycms init`'s `canopy.ts`, and `clerkOrganizationsAsGroups` in `canopycms init-deploy aws`'s CDK stack.
|
|
195
209
|
|
|
196
|
-
**To adopt.** On a Clerk instance without Organizations, set `clerkOrganizationsAsGroups: false` on `CanopyCmsService` and `useOrganizationsAsGroups: false` in `createClerkAuthPlugin`. See [Deploying to AWS](https://github.com/safeinsights/canopycms/blob/
|
|
210
|
+
**To adopt.** On a Clerk instance without Organizations, set `clerkOrganizationsAsGroups: false` on `CanopyCmsService` and `useOrganizationsAsGroups: false` in `createClerkAuthPlugin`. See [Deploying to AWS](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md).
|
|
197
211
|
|
|
198
212
|
### 0.5.0
|
|
199
213
|
|
|
@@ -205,7 +219,7 @@ _First in 0.5.0._
|
|
|
205
219
|
|
|
206
220
|
**What changed.** A `type: 'reference', list: true` field now edits as rows in stored order, like an `object` list: drag a row or use its "…" menu to move or remove it, open a row to swap its entry in place, and pick from Add under the rows to append. Neither control offers an entry the list already holds. Any `list: true` field, and any `block` field, takes `maxItems`. The editor stops adding at the cap and says why, a save over it is refused, and a production build fails on an entry over it, naming the entry, field, count and cap. Adding `maxItems` to a list that already holds more therefore fails the build until an editor removes the extra items. `maxItems` on a field that holds no items is refused when the entry schema registry is created.
|
|
207
221
|
|
|
208
|
-
**To adopt.** Set `maxItems: 3` on the list field in its entry schema. See [Field Types](https://github.com/safeinsights/canopycms/blob/
|
|
222
|
+
**To adopt.** Set `maxItems: 3` on the list field in its entry schema. See [Field Types](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#field-types).
|
|
209
223
|
|
|
210
224
|
#### SEO field location moves into config; reference pickers mark hidden entries and take a sort order — **breaking: `createNextCanopyContext({ seo })` and `AIContentConfig.seo` are removed**
|
|
211
225
|
|
|
@@ -215,7 +229,7 @@ _First in 0.5.0._
|
|
|
215
229
|
|
|
216
230
|
**What changed.** `defineCanopyConfig` takes `seo: { group?, fields? }`, the one place every surface reads an entry's `noindex` flag: the sitemap and `entryToMetadata` that `createNextCanopyContext` returns, AI content and the editor's reference picker. A per-call `seo`/`group`/`fields` still overrides it. The free `generateContentSitemap` takes `seo` as an argument and refuses to run without it when the config sets one; `createNextCanopyContext` and the AI content config refuse a leftover `seo`. A reference picker now badges an entry hidden from search as "Hidden from search", and picking one adds a note naming the setting on that entry's form, since a page listing only indexed entries won't show it. A reference field takes `optionSort`: `'label'` (the default), `'collection'`, or `{ field, direction }`. Point `field` at an ISO date, since strings compare as text.
|
|
217
231
|
|
|
218
|
-
**To adopt.** Move `seo` from `createNextCanopyContext({ seo })` and from `defineAIContentConfig({ seo })` into `defineCanopyConfig({ seo })`. See [Sitemap and SEO Metadata](https://github.com/safeinsights/canopycms/blob/
|
|
232
|
+
**To adopt.** Move `seo` from `createNextCanopyContext({ seo })` and from `defineAIContentConfig({ seo })` into `defineCanopyConfig({ seo })`. See [Sitemap and SEO Metadata](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#sitemap-and-seo-metadata) and [How References Work in the Editor](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#how-references-work-in-the-editor).
|
|
219
233
|
|
|
220
234
|
**Now deletable.** A shared `seo` constant passed separately to the Next context and the AI content config.
|
|
221
235
|
|
|
@@ -243,7 +257,7 @@ resolved without it.
|
|
|
243
257
|
**To adopt.** Where a reference renders its target's prose, set `includeBody: true` on that
|
|
244
258
|
reference field. Code that reads the body from a link-only reference's resolved type now sees
|
|
245
259
|
`string | undefined`; either set `includeBody: true` or handle the missing value. See
|
|
246
|
-
[Resolving References in a Listing](https://github.com/safeinsights/canopycms/blob/
|
|
260
|
+
[Resolving References in a Listing](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#resolving-references-in-a-listing).
|
|
247
261
|
|
|
248
262
|
### 0.3.3
|
|
249
263
|
|
|
@@ -660,7 +674,7 @@ URL.
|
|
|
660
674
|
2. For a branch preview: wrap views with `withCanopyPreview` in a `'use client'` module, add
|
|
661
675
|
`app/preview/[[...path]]/page.server.tsx`, set `editor.previewPrefix: '/preview'`, and serve that
|
|
662
676
|
route with `frame-ancestors 'self'`, not `X-Frame-Options: DENY` (see
|
|
663
|
-
[Live Preview](https://github.com/safeinsights/canopycms/blob/
|
|
677
|
+
[Live Preview](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#live-preview)).
|
|
664
678
|
3. A test reading view content from the route's server HTML must load the page in a browser.
|
|
665
679
|
Server output rendered during a preview request carries the signed-in asset prefix; keep it out
|
|
666
680
|
of cross-request caches (`unstable_cache`, module memos).
|
|
@@ -675,7 +689,7 @@ kept site styles ahead of Mantine's in the preview.
|
|
|
675
689
|
server components. A string path marks the form's spelling (`'a.0.b'` marks `a[0].b`), and an empty
|
|
676
690
|
path marks nothing. The editor counts and logs marks naming no field. `createEntrySchemaRegistry`
|
|
677
691
|
refuses a field name that is empty, all digits or contains `.`, `[` or `]`. See
|
|
678
|
-
[Live Preview](https://github.com/safeinsights/canopycms/blob/
|
|
692
|
+
[Live Preview](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#live-preview).
|
|
679
693
|
|
|
680
694
|
**To adopt.** Fix each path that stops compiling; the error lists valid ones. Rewrite computed paths
|
|
681
695
|
as literal segments, or type that component's prop as plain `FieldProps`. Pass `fieldProps` as
|
|
@@ -757,7 +771,7 @@ or a failed render) renders as its plain text, with no URL; any other form of th
|
|
|
757
771
|
fields are nested or renamed, pass the AI config's `seo` the same object you pass
|
|
758
772
|
`createNextCanopyContext({ seo })`, so the sitemap and AI content read the flag from the same
|
|
759
773
|
place. A field that links to a hidden section by plain URL needs a field transform; the README
|
|
760
|
-
shows [the recipe](https://github.com/safeinsights/canopycms/blob/
|
|
774
|
+
shows [the recipe](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#ai-content-configuration).
|
|
761
775
|
|
|
762
776
|
**Now deletable.** An `exclude.where` that re-read the `noindex` flag by hand.
|
|
763
777
|
|
|
@@ -779,7 +793,7 @@ A `markdown` field with `renderAs: 'mdx'` is checked as MDX, and `mdxAllow` narr
|
|
|
779
793
|
field or site-wide. New: field options `renderAs`, `mdxAllow`; config key `mdxAllow`; type
|
|
780
794
|
`MdxAllowlist`. (int.110) A component prop allowance can be `'string'` (or
|
|
781
795
|
`{ type: 'string', maxLength }`): a quoted value only, never bare or `{…}`. See
|
|
782
|
-
[MDX content cannot run code](https://github.com/safeinsights/canopycms/blob/
|
|
796
|
+
[MDX content cannot run code](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#mdx-content-cannot-run-code).
|
|
783
797
|
|
|
784
798
|
**To adopt.** Set `renderAs: 'mdx'` on each `markdown` field your site compiles as MDX, and
|
|
785
799
|
`mdxAllow` to what your renderer takes. Set `executable: true` only on a field whose editors you
|
|
@@ -916,7 +930,7 @@ a format check.
|
|
|
916
930
|
|
|
917
931
|
- (int.93) Submit commits gain an `Edited-by: Name (id)` trailer; PR bodies gain a section that
|
|
918
932
|
re-submits replace, keeping human text. Options: `gitEditedByTrailers`, `gitCoAuthoredByTrailers`
|
|
919
|
-
([reference](https://github.com/safeinsights/canopycms/blob/
|
|
933
|
+
([reference](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#definecanopyconfig-options)).
|
|
920
934
|
- (int.110) Submit-commit trailers name every user who saved since the last submit commit, and
|
|
921
935
|
the PR-body section every user who edited the branch, not only the submitter; settings commits
|
|
922
936
|
(permissions, groups) carry the acting user's trailer.
|
|
@@ -940,7 +954,7 @@ saves only push the branch, and no failing PR task lands in System health.
|
|
|
940
954
|
that entry type goes unavailable: the editor says so, and its entries answer 503 with
|
|
941
955
|
`code: 'SCHEMA_UNAVAILABLE'`. Builds, static deploys and `generate-ai-content` still fail. The
|
|
942
956
|
worker holds the base branch for up to 30 minutes while that lasts; see
|
|
943
|
-
[New schemas wait for the editor deploy](https://github.com/safeinsights/canopycms/blob/
|
|
957
|
+
[New schemas wait for the editor deploy](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#new-schemas-wait-for-the-editor-deploy).
|
|
944
958
|
Public types gain optional `unavailable` on `EntryTypeConfig` and `FlatSchemaItem`, optional
|
|
945
959
|
`ApiResponse.code`, and a required `SchemaResolutionResult.issues`.
|
|
946
960
|
|
|
@@ -978,7 +992,7 @@ hang until the drain heartbeat lets termination continue. Its in-flight task is
|
|
|
978
992
|
new stack needs no steps.
|
|
979
993
|
|
|
980
994
|
**What changed.** (int.109) Detailed in
|
|
981
|
-
[The worker instance](https://github.com/safeinsights/canopycms/blob/
|
|
995
|
+
[The worker instance](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#the-worker-instance): IMDSv2 with a hop limit of 1; the
|
|
982
996
|
bundle is one file whose sha256 user data checks, readable as that one object; a file-system policy
|
|
983
997
|
refusing clients without TLS or IAM, replacing the worker's
|
|
984
998
|
`AmazonElasticFileSystemClientReadWriteAccess`; an encrypted gp3 root volume; a boot-time upgrade to
|
|
@@ -1032,10 +1046,10 @@ failure and exits non-zero on `selfStopped`, with a code outside `RestartPrevent
|
|
|
1032
1046
|
with its hash, as `worker/dist/index.js` and `index.js.sha256`. The default, `'asset'`, is
|
|
1033
1047
|
unchanged.
|
|
1034
1048
|
- `CanopyCmsService` alarms when the worker logs no git sync for 30 minutes. See
|
|
1035
|
-
[Worker-down alarm](https://github.com/safeinsights/canopycms/blob/
|
|
1049
|
+
[Worker-down alarm](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#worker-down-alarm).
|
|
1036
1050
|
|
|
1037
1051
|
**To adopt.** Optional. For parameter-only change sets, see
|
|
1038
|
-
[Rolling the worker from CI](https://github.com/safeinsights/canopycms/blob/
|
|
1052
|
+
[Rolling the worker from CI](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#rolling-the-worker-from-ci). For the alarm, pass
|
|
1039
1053
|
`alarmTopic`.
|
|
1040
1054
|
|
|
1041
1055
|
**Now deletable.** A manual `cdk deploy` after each canopycms bump whose only purpose is moving the
|
|
@@ -1046,7 +1060,7 @@ worker, and a hand-built alarm on the worker log group.
|
|
|
1046
1060
|
**What changed.** (int.112) The boot's `dnf upgrade` could be OOM-killed on every retry. A 1 GiB
|
|
1047
1061
|
swap file now goes on first; an upgrade that still fails starts the worker unpatched and notifies
|
|
1048
1062
|
`alarmTopic` if set; a retried step names itself when it gives up. See
|
|
1049
|
-
[The worker instance](https://github.com/safeinsights/canopycms/blob/
|
|
1063
|
+
[The worker instance](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#the-worker-instance).
|
|
1050
1064
|
|
|
1051
1065
|
**To adopt.** Deploy, which replaces the worker instance. The bundle needs none of this, so it is
|
|
1052
1066
|
not Template first and the worker contract stays at 1.
|
|
@@ -1112,7 +1126,7 @@ and operations may reuse GitHub fetches under 30 seconds old.
|
|
|
1112
1126
|
|
|
1113
1127
|
**To adopt.** Nothing. Seeding `remote.git` stages a copy of the repository beside the gateway's
|
|
1114
1128
|
mirror, so the root volume needs room for two
|
|
1115
|
-
([details](https://github.com/safeinsights/canopycms/blob/
|
|
1129
|
+
([details](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#the-worker-instance)).
|
|
1116
1130
|
|
|
1117
1131
|
#### The worker follows a rebased or deleted GitHub branch
|
|
1118
1132
|
|
|
@@ -1134,7 +1148,7 @@ changes the template too (the fallback bundle's key and hash), so only the contr
|
|
|
1134
1148
|
bundle-only roll is safe.
|
|
1135
1149
|
|
|
1136
1150
|
**To adopt.** Parameter mode: gate bundle-only rolls on the contract
|
|
1137
|
-
([recipe](https://github.com/safeinsights/canopycms/blob/
|
|
1151
|
+
([recipe](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#rolling-the-worker-from-ci)). The gate refuses a stack without the
|
|
1138
1152
|
`WorkerContract` output, so `cdk deploy` the template once, which adds it. A hand-installed unit
|
|
1139
1153
|
copies its `Environment=CANOPYCMS_WORKER_CONTRACT=` line from `worker/canopy-worker.service`.
|
|
1140
1154
|
|
|
@@ -1151,8 +1165,8 @@ units from the bundle's contract: 2 gets the split, an older bundle the single u
|
|
|
1151
1165
|
template, then roll the bundle; on an older template it stops with `template too old for this
|
|
1152
1166
|
bundle`. Inspect EFS only through `sudo /opt/canopy-worker/canopy-inspect <command>`, never from a root shell. A hand install
|
|
1153
1167
|
takes `worker/`'s three units and `gateway.env.example`
|
|
1154
|
-
([steps](https://github.com/safeinsights/canopycms/blob/
|
|
1155
|
-
[checklist](https://github.com/safeinsights/canopycms/blob/
|
|
1168
|
+
([steps](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#installing-the-units-by-hand)). After the first deploy, run the
|
|
1169
|
+
[checklist](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#first-deploy-checklist).
|
|
1156
1170
|
|
|
1157
1171
|
#### `canopycms-cdk`: `CanopyCmsService.attachTo`, and editor response headers — **behaviour change if you frame the CMS**
|
|
1158
1172
|
|
|
@@ -1163,7 +1177,7 @@ response headers policy. `CanopyCmsDistribution` sends the same headers: `frame-
|
|
|
1163
1177
|
`X-Frame-Options: SAMEORIGIN`, `nosniff`, HSTS and `X-Robots-Tag: noindex`. Unless your app sends
|
|
1164
1178
|
its own framing headers, no other origin can frame the editor or any page the CMS domain serves. Every such page is
|
|
1165
1179
|
marked `noindex`. The editor's default preview is same-origin and unaffected. See
|
|
1166
|
-
[Serving the editor from a distribution you already own](https://github.com/safeinsights/canopycms/blob/
|
|
1180
|
+
[Serving the editor from a distribution you already own](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#serving-the-editor-from-a-distribution-you-already-own).
|
|
1167
1181
|
|
|
1168
1182
|
**To adopt.** If you wired the Function URL into your own distribution by hand, delete those
|
|
1169
1183
|
behaviors and call `attachTo`, passing your CMS build's `assetPrefix` as `editorAssetPrefix` and a
|
|
@@ -1339,7 +1353,7 @@ one the exclusions leave out. A throw or any other return is logged and treated
|
|
|
1339
1353
|
**To adopt.** If your site's routes, sitemap or bylines decide that some entries have no page,
|
|
1340
1354
|
apply the same rule here, for example `referenceLink: (target, { body }) =>
|
|
1341
1355
|
!body?.trim() ? false : undefined` in `defineAIContentConfig` from `canopycms/ai`. See
|
|
1342
|
-
[AI Content Configuration](https://github.com/safeinsights/canopycms/blob/
|
|
1356
|
+
[AI Content Configuration](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#ai-content-configuration).
|
|
1343
1357
|
|
|
1344
1358
|
**Now deletable.** A `fieldTransforms` entry that re-renders a reference field only to drop or
|
|
1345
1359
|
change its link.
|
|
@@ -1414,7 +1428,7 @@ _First in int.115._
|
|
|
1414
1428
|
entry the base branch also changed, the "updated on the base branch" notice and the branch's
|
|
1415
1429
|
conflict count now stay until the branch merges, so a reviewer still sees which entries replaced a
|
|
1416
1430
|
base change. They used to clear on the next sync, about five minutes later. README's new [Drafts
|
|
1417
|
-
and Unpublishing](https://github.com/safeinsights/canopycms/blob/
|
|
1431
|
+
and Unpublishing](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#drafts-and-unpublishing) section covers long-lived branches and
|
|
1418
1432
|
unpublishing.
|
|
1419
1433
|
|
|
1420
1434
|
#### The editor calls the content drawer "All content"
|
|
@@ -1726,7 +1740,7 @@ editor carries an unsaved draft of a stamped entry onto its stamped version.
|
|
|
1726
1740
|
The flag is refused off a top-level `datetime`, on `list: true`, and with `required: true`.
|
|
1727
1741
|
|
|
1728
1742
|
**To adopt.** Add `stampOnPublish: true` to the date field your site sorts or labels by, such as
|
|
1729
|
-
`{ name: 'publishedAt', type: 'datetime', stampOnPublish: true }`. See [Stamping a publication date](https://github.com/safeinsights/canopycms/blob/
|
|
1743
|
+
`{ name: 'publishedAt', type: 'datetime', stampOnPublish: true }`. See [Stamping a publication date](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#stamping-a-publication-date).
|
|
1730
1744
|
|
|
1731
1745
|
**Now deletable.** A build step or hook that writes a missing publication date into new entries.
|
|
1732
1746
|
|
|
@@ -1773,7 +1787,7 @@ preview/form divider is now keyboard-resizable within the same 15–85% the spli
|
|
|
1773
1787
|
stored at, and `react-split-pane` is no longer a dependency.
|
|
1774
1788
|
`EditorPanes`, `EditorPanesProps`, the `PaneLayout` type and the `SPLIT_PERCENT_*` and `DEFAULT_*_SPLIT_PERCENT` constants are
|
|
1775
1789
|
no longer exported from `canopycms/client`. See
|
|
1776
|
-
[Your root layout](https://github.com/safeinsights/canopycms/blob/
|
|
1790
|
+
[Your root layout](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#editor-customization).
|
|
1777
1791
|
|
|
1778
1792
|
**To adopt.** Nothing, unless you import `EditorPanes` or those constants: render `CanopyEditor`
|
|
1779
1793
|
instead, which lays out its own panes. Hiding your site chrome on the editor route is now
|
|
@@ -1884,7 +1898,7 @@ never ended. `canopycms-auth-clerk` skips it while the editor is mounted, and ex
|
|
|
1884
1898
|
**To adopt.** Nothing for the editor, if your edit page uses `useClerkAuthConfig()` or
|
|
1885
1899
|
`ClerkSignIn`. If your CMS build renders `<SignIn>`, `UserButton` or `OrganizationSwitcher` on your
|
|
1886
1900
|
own pages, mount the hook as in
|
|
1887
|
-
[Clerk components on your own pages](https://github.com/safeinsights/canopycms/blob/
|
|
1901
|
+
[Clerk components on your own pages](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/packages/canopycms-auth-clerk/README.md#clerk-components-on-your-own-pages).
|
|
1888
1902
|
Your own Server Actions in the CMS build still 403 behind OAC.
|
|
1889
1903
|
|
|
1890
1904
|
**Now deletable.** Any local patch of `window.__internal_onBeforeSetActive` (or 6.x's
|
|
@@ -1925,12 +1939,12 @@ fast naming the ARN, the field and the keys present, never a value.
|
|
|
1925
1939
|
**To adopt.** Nothing, unless one of those secrets holds a JSON document: then set the matching
|
|
1926
1940
|
prop. The scaffolded stack fills them from the repository _variables_
|
|
1927
1941
|
`CANOPY_GITHUB_TOKEN_SECRET_JSON_FIELD` and `CLERK_SECRET_KEY_SECRET_JSON_FIELD`
|
|
1928
|
-
([why the prefix](https://github.com/safeinsights/canopycms/blob/
|
|
1942
|
+
([why the prefix](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#repository-secrets-and-variables)); a stack scaffolded earlier
|
|
1929
1943
|
adds the props to `infrastructure/bin/app.ts` and `infrastructure/lib/cms-stack.ts` and the two `env`
|
|
1930
1944
|
lines to `.github/workflows/deploy-cms.yml`, or re-runs the generator and diffs. `cdk synth` refuses a `…JsonField` prop without its `…SecretArn`, and an ARN carrying the ECS `:KEY::` suffix
|
|
1931
1945
|
(also in `secretsArns`). Don't use CDK's `secretValueFromJson`: it resolves the plaintext into the deployed
|
|
1932
1946
|
resource's configuration, readable by anyone who can describe it. Only `CLERK_SECRET_KEY` goes through Secrets Manager; `CLERK_JWT_KEY` and the publishable
|
|
1933
|
-
key are public material ([Security Model](https://github.com/safeinsights/canopycms/blob/
|
|
1947
|
+
key are public material ([Security Model](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#security-model)).
|
|
1934
1948
|
|
|
1935
1949
|
**Now deletable.** A wrapper that fetches the secret, parses it and re-exports one field into the
|
|
1936
1950
|
worker's environment, such as a `jq` step in user data or a wrapper entrypoint around
|
|
@@ -1942,7 +1956,7 @@ worker's environment, such as a `jq` step in user data or a wrapper entrypoint a
|
|
|
1942
1956
|
`githubToken` is not deprecated and stays the documented default; `canopycms` neither depends on
|
|
1943
1957
|
nor imports `@octokit/auth-app`. Register one App per site, not one shared across repositories:
|
|
1944
1958
|
anyone holding an App's key can mint a token for any of its installations
|
|
1945
|
-
([why](https://github.com/safeinsights/canopycms/blob/
|
|
1959
|
+
([why](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/ARCHITECTURE.md#why-one-github-app-per-site-not-one-shared-across-an-organisation)).
|
|
1946
1960
|
|
|
1947
1961
|
**To adopt with `canopycms-cdk`** (existing stacks need no edit). `CanopyCmsServiceProps` takes
|
|
1948
1962
|
`githubAppId`, `githubAppInstallationId`, `githubAppPrivateKeySecretArn` and
|
|
@@ -1955,7 +1969,7 @@ anyone holding an App's key can mint a token for any of its installations
|
|
|
1955
1969
|
`verify` checks an existing installation's permissions: run it, since an App missing a
|
|
1956
1970
|
permission only shows up later, as `sync-failed`. `create` needs an interactive terminal and
|
|
1957
1971
|
never edits an existing JSON secret (create one and point the JSON-field prop at it)
|
|
1958
|
-
([details](https://github.com/safeinsights/canopycms/blob/
|
|
1972
|
+
([details](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#register-it-with-canopycms-init-github-app)).
|
|
1959
1973
|
2. Set the three props and **remove `githubTokenSecretArn`** (with its JSON field). A partial set
|
|
1960
1974
|
of the three is refused at synth, and so is an App alongside a token.
|
|
1961
1975
|
3. In the generated workflow, store them as `CANOPY_GITHUB_APP_ID`,
|
|
@@ -1966,7 +1980,7 @@ anyone holding an App's key can mint a token for any of its installations
|
|
|
1966
1980
|
|
|
1967
1981
|
The private key is ARN-only; passing the key itself is refused at synth. Its ARN joins the worker's
|
|
1968
1982
|
IAM policy automatically, so you need not add it to `secretsArns`. See
|
|
1969
|
-
[Authenticating as a GitHub App](https://github.com/safeinsights/canopycms/blob/
|
|
1983
|
+
[Authenticating as a GitHub App](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#authenticating-as-a-github-app).
|
|
1970
1984
|
|
|
1971
1985
|
```bash
|
|
1972
1986
|
canopycms init-github-app create -- \
|
|
@@ -2014,7 +2028,7 @@ downloads the `.pem` from the App's settings page.
|
|
|
2014
2028
|
|
|
2015
2029
|
**What changed.** The worker re-reads a Secrets Manager secret (the GitHub token or the Clerk secret
|
|
2016
2030
|
key) when the operation using it fails. Timings, costs and the store-before-revoke order are in
|
|
2017
|
-
[Rotating a secret](https://github.com/safeinsights/canopycms/blob/
|
|
2031
|
+
[Rotating a secret](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#rotating-a-secret).
|
|
2018
2032
|
|
|
2019
2033
|
**To adopt.** Nothing for credentials from `*_SECRET_ARN`, which is every scaffolded deployment. A
|
|
2020
2034
|
GitHub App private key is still read only at boot: store the new key, replace the instance, and
|
|
@@ -2068,12 +2082,12 @@ also check the bucket policy for its grant.
|
|
|
2068
2082
|
5. `withCanopy()` adds sharp's libvips to Next's file tracing (not for a static export) and, on
|
|
2069
2083
|
Next 16 and later, sets `turbopack: {}` when your config has neither `turbopack` nor your own
|
|
2070
2084
|
`webpack` and it can read your Next version. A webpack build still fails its image transforms
|
|
2071
|
-
([Dual Build Support](https://github.com/safeinsights/canopycms/blob/
|
|
2085
|
+
([Dual Build Support](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#dual-build-support)).
|
|
2072
2086
|
|
|
2073
2087
|
**Breaking:** a stack setting `platform` on `fromImageAsset` without `architecture` gets an arm64
|
|
2074
2088
|
function while `platform` still decides the image, so `Platform.LINUX_AMD64` builds an image the
|
|
2075
2089
|
function cannot run. A stack setting neither moves to arm64 with a matching image, built under QEMU
|
|
2076
|
-
on an x86 host ([Where the image is built](https://github.com/safeinsights/canopycms/blob/
|
|
2090
|
+
on an x86 host ([Where the image is built](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#where-the-image-is-built)).
|
|
2077
2091
|
|
|
2078
2092
|
**To adopt.**
|
|
2079
2093
|
|
|
@@ -2102,7 +2116,7 @@ reason; `platform` on `fromImageAsset`; and, with `withCanopy()`, a hand-written
|
|
|
2102
2116
|
|
|
2103
2117
|
**What changed.** `media.uploadUrl` (s3 adapter; an absolute http(s) URL or a site-relative path)
|
|
2104
2118
|
replaces the `url` that `beginUpload()` returns, leaving the presign's `fields` untouched, so
|
|
2105
|
-
uploads can be same-origin. See [Media Configuration](https://github.com/safeinsights/canopycms/blob/
|
|
2119
|
+
uploads can be same-origin. See [Media Configuration](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#media-configuration) for the
|
|
2106
2120
|
CloudFront behavior it expects.
|
|
2107
2121
|
|
|
2108
2122
|
**To adopt.** Optional. Set it from an environment variable: a site-relative value works only where
|
|
@@ -2127,7 +2141,7 @@ needs `lazyPublicTransforms: true`) let you pass a deterministically named role,
|
|
|
2127
2141
|
bucket's stack computes `arn:aws:iam::<account>:role/<name>` from literals instead of a
|
|
2128
2142
|
`Fn::GetStackOutput` reference only the CDK CLI resolves. The constructs re-attach
|
|
2129
2143
|
`AWSLambdaBasicExecutionRole` (and the VPC policy) that `lambda.Function` drops from a role you
|
|
2130
|
-
pass. See [Cross-account asset bucket](https://github.com/safeinsights/canopycms/blob/
|
|
2144
|
+
pass. See [Cross-account asset bucket](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#cross-account-asset-bucket).
|
|
2131
2145
|
|
|
2132
2146
|
**To adopt.** Optional:
|
|
2133
2147
|
|
|
@@ -2237,7 +2251,7 @@ public JWKS PEM, used only to verify signatures.
|
|
|
2237
2251
|
to variables (Settings → Secrets and variables → Actions → Variables); `bin/app.ts` refuses the
|
|
2238
2252
|
deploy at synth while it is unset. Check that `bin/app.ts` passes `CLERK_SECRET_KEY` as
|
|
2239
2253
|
`clerkSecretKeySecretArn` (read by the worker), never in the Lambda's `environment`, unless you keep
|
|
2240
|
-
`clerkMiddleware` ([Security Model](https://github.com/safeinsights/canopycms/blob/
|
|
2254
|
+
`clerkMiddleware` ([Security Model](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/docs/deploying-to-aws.md#security-model)).
|
|
2241
2255
|
|
|
2242
2256
|
#### `readByUrlPath` answers only where `listEntries` publishes — **breaking (routing)**
|
|
2243
2257
|
|
|
@@ -2336,7 +2350,7 @@ basePath: process.env.NEXT_PUBLIC_BASE_PATH,
|
|
|
2336
2350
|
Then pass `baseUrl` to `assetUrl` only if Next serves `/assets` (local adapter, `next dev`, S3 with
|
|
2337
2351
|
no distribution): `assetUrl(image, { width: 960, baseUrl: BASE_PATH })`. Assets on CloudFront via
|
|
2338
2352
|
`AssetSupport` stay at the distribution root; pass no `baseUrl` (mount table under "Where `/assets`
|
|
2339
|
-
is mounted" in [Media Configuration](https://github.com/safeinsights/canopycms/blob/
|
|
2353
|
+
is mounted" in [Media Configuration](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#media-configuration)). Two traps:
|
|
2340
2354
|
|
|
2341
2355
|
- Don't pass a deployment `basePath` to `contentStaticParams({ basePath })`; that option filters by
|
|
2342
2356
|
a nested route prefix and emits zero params, building green.
|
|
@@ -2495,7 +2509,7 @@ Under `exactOptionalPropertyTypes: true`, omit keys instead of assigning `undefi
|
|
|
2495
2509
|
`withTrailingSlash` and `isAbsoluteUrl` from `canopycms/server`; `defineSeoFieldGroup()` from
|
|
2496
2510
|
`canopycms`; `generateContentSitemap` and `entryToMetadata` from `canopycms-next`, bound on
|
|
2497
2511
|
`createNextCanopyContext`'s result. See
|
|
2498
|
-
[Sitemap and SEO Metadata](https://github.com/safeinsights/canopycms/blob/
|
|
2512
|
+
[Sitemap and SEO Metadata](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#sitemap-and-seo-metadata). Every routable entry type is in
|
|
2499
2513
|
the sitemap unless `exclude`d or `noindex`; one `noindex` predicate drives both robots metadata and
|
|
2500
2514
|
sitemap exclusion. `trailingSlash` is never inferred. `lastModified` defaults to `updatedAt`, a
|
|
2501
2515
|
filesystem mtime. An empty SEO field counts as unset. `siteUrl` must be absolute, colliding URLs are
|
|
@@ -2552,7 +2566,7 @@ underscore-prefixed files are skipped.
|
|
|
2552
2566
|
|
|
2553
2567
|
**What changed.** New scaffolds write `defaultBranchAccess: 'deny'` and
|
|
2554
2568
|
`defaultPathAccess: { read: 'allow' }`
|
|
2555
|
-
([Public read on server deployments](https://github.com/safeinsights/canopycms/blob/
|
|
2569
|
+
([Public read on server deployments](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#public-read-on-server-deployments)).
|
|
2556
2570
|
|
|
2557
2571
|
**To adopt.** An older scaffold's `defaultBranchAccess: 'allow'` is wider than recommended;
|
|
2558
2572
|
consider `'deny'`. If you deleted `defaultPathAccess: { read: 'allow' }`, anonymous visitors get no content until you
|
|
@@ -2605,7 +2619,7 @@ re-checked an entry's type (a `switch` on `meta.entryType` can merge them into o
|
|
|
2605
2619
|
**What changed.** `BlockComponentRegistry<Blocks>` (types only, from `canopycms`; `BlockValueOf<Blocks, 'hero'>`
|
|
2606
2620
|
gives one template's value type) requires exactly
|
|
2607
2621
|
one component per block template name when written as an object literal. See
|
|
2608
|
-
[Block Component Registries](https://github.com/safeinsights/canopycms/blob/
|
|
2622
|
+
[Block Component Registries](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#block-component-registries) and
|
|
2609
2623
|
`apps/example1/app/components/PostView.tsx`.
|
|
2610
2624
|
|
|
2611
2625
|
```ts
|
|
@@ -2627,7 +2641,7 @@ templates against the schema.
|
|
|
2627
2641
|
|
|
2628
2642
|
**What changed.** Spreading a `const` field array into several schemas, and nesting
|
|
2629
2643
|
`defineInlineFieldGroup()` inside a block template, are documented
|
|
2630
|
-
([Reusable Field Fragments](https://github.com/safeinsights/canopycms/blob/
|
|
2644
|
+
([Reusable Field Fragments](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#reusable-field-fragments)); `defineFieldFragment()` is an
|
|
2631
2645
|
identity helper for them.
|
|
2632
2646
|
|
|
2633
2647
|
```ts
|
|
@@ -2646,7 +2660,7 @@ field by composing from the same `const` field object.
|
|
|
2646
2660
|
A block template holding a `reference` field is a shared block; `read()`/`readByUrlPath()` resolve
|
|
2647
2661
|
it, and listings do with
|
|
2648
2662
|
[`resolveReferences`](#listings-resolve-references-and-a-resolved-reference-carries-urlpath-and-optionally-its-body-16--breaking-type-level)
|
|
2649
|
-
(0.0.64). See [Shared / Referenced Blocks](https://github.com/safeinsights/canopycms/blob/
|
|
2663
|
+
(0.0.64). See [Shared / Referenced Blocks](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#shared--referenced-blocks).
|
|
2650
2664
|
|
|
2651
2665
|
**Now deletable.** A second `read()` in page code to unwrap a shared block's reference.
|
|
2652
2666
|
|
|
@@ -2668,7 +2682,7 @@ Not retro-documented, apart from these:
|
|
|
2668
2682
|
|
|
2669
2683
|
#### The registry is keyed by entry-type name (0.0.42)
|
|
2670
2684
|
|
|
2671
|
-
**What changed.** `createEntrySchemaRegistry` keys are the entry-type names that `.collection.json` files name in `entry.schema`, and `EntryTypesFromRegistry` derives the typed entry-type map from them. Schema-variable keys (`{ postSchema }`) still work but derive nothing; [README's registry convention](https://github.com/safeinsights/canopycms/blob/
|
|
2685
|
+
**What changed.** `createEntrySchemaRegistry` keys are the entry-type names that `.collection.json` files name in `entry.schema`, and `EntryTypesFromRegistry` derives the typed entry-type map from them. Schema-variable keys (`{ postSchema }`) still work but derive nothing; [README's registry convention](https://github.com/safeinsights/canopycms/blob/fc7c124fae32a1df226f082b618889ad6c3e8345/README.md#convention-why-key-the-registry-by-entry-type-name) says when to keep them.
|
|
2672
2686
|
|
|
2673
2687
|
**To adopt.**
|
|
2674
2688
|
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const CANOPYCMS_VERSION = "0.7.
|
|
1
|
+
export declare const CANOPYCMS_VERSION = "0.7.1";
|
package/dist/version.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Generated by scripts/bump-version.mjs, its only writer. The package builds with plain
|
|
2
2
|
// tsc (rootDir: src), so src/ cannot import ../package.json; version.test.ts keeps the two equal.
|
|
3
|
-
export const CANOPYCMS_VERSION = '0.7.
|
|
3
|
+
export const CANOPYCMS_VERSION = '0.7.1';
|
package/dist/worker/git-sync.js
CHANGED
|
@@ -518,6 +518,11 @@ export async function syncGit(ctx) {
|
|
|
518
518
|
tracked: trackedSummary,
|
|
519
519
|
};
|
|
520
520
|
await writeWorkerStatus(ctx.taskDir, report).catch((writeErr) => workerLogError('Failed to write worker status:', getErrorMessage(writeErr)));
|
|
521
|
+
// The CDK sync-failing alarm counts this line against the one above
|
|
522
|
+
// (WORKER_SYNC_DONE_LOG_PHRASE in canopycms-cdk worker-lifecycle.ts); changing its text
|
|
523
|
+
// breaks the alarm. Only a cycle that ran to its end logs it: not a drain's early return,
|
|
524
|
+
// not a throw.
|
|
525
|
+
workerLog('Git sync complete');
|
|
521
526
|
}
|
|
522
527
|
catch (err) {
|
|
523
528
|
const report = ctx.ensureStatusReport();
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"//": "@codemirror/language, @lezer/highlight: workaround — @mdxeditor/editor uses cm6-theme-basic-light which peer-requires these but mdxeditor doesn't declare them as dependencies",
|
|
3
3
|
"name": "canopycms",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"description": "CanopyCMS core package: schema-driven content, branch-aware editing, and editor UI for Next.js.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|