You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
While still remaining in beta, the Gitea backend has been evolving. This update switches the authentication mechanism to PKCE auth and improves performance when dealing with multiple file commits.
To use Gitea with Static CMS v3, you need to update your Gitea instance to at least v1.20. You will also need to update your config to match the setup for PKCE authentication. See Gitea authentication.
CMS Events have undergone a significant refactor in this update, including adding a new change event. You may need to update your config as follows to continue to use them. The preSave and postSave events along with the new change event, now require a collection be provided during registration, with an optional file if you are targeting a file collection. All events now can handle async handlers as well.
Codemod description
This codemod(s) should help with migrating to Static CMS v3 as described in the migration guide.
Changes required:
Update Gitea backend
Changes specified here.
Refactor CMS Events
Before:
After:
More information can be found here
Other breaking changes
hidden
mediaPaths
- Use useMediaInsert instead.openMediaLibrary
- Use useMediaInsert instead.removeInsertedMedia
- Use useMediaInsert instead.INT-2352
The text was updated successfully, but these errors were encountered: