Repository navigation
Releases
Releases · webcredo/payload-dynamic
Payload Dynamic 0.1.1 Beta
What changed
- Remove an optional top-level field or change its type after clearing its saved values in every entry.
- Keep populated fields protected, including zero, false and JSON values. Conflicts identify the affected field.
- Keep existing entries editable after the field changes.
This release targets Payload 4.0.0-beta.9. PostgreSQL uses Payload's normal transactions. SQLite hosts can enable this behavior with transactionOptions: {} in their adapter configuration. The previous guard still applies when transactions are inactive.
Verified with SQLite and PostgreSQL integration tests and a PostgreSQL admin smoke test. PR #3
Payload Dynamic 0.1.0 Beta
Payload Dynamic lets you define record types and fields in the Payload admin with SQLite or PostgreSQL. This beta targets Payload 4.0.0-beta.9. JSON and Rich Text fields require PostgreSQL.
Install the beta from npm when the tag is available.
npm install payload-dynamic@betaYou can also download the tarball attached to this release and install it from your Payload project.
npm install ./payload-dynamic-0.1.0.tgz