payload

The best way to build a modern backend + admin UI. No black magic, all TypeScript, and fully open-source, Payload is both an app framework and a headless CMS.

MIT License

Downloads
1.5M
Stars
19.2K
Committers
263

Bot releases are hidden (Show)

payload - Release 1.4.1

Published by jmikrut almost 2 years ago

1.4.1 (2022-12-24)

Bug Fixes

  • #1761, avoids rich text modifying form due to selection change (9f4ce8d)
payload - Release 1.4.0

Published by jmikrut almost 2 years ago

1.4.0 (2022-12-23)

Bug Fixes

  • #1611, unable to query draft versions with draft=true (44b31a9)
  • #1656 remove size data (389ee26)
  • #1698 - globals and autosave not working (915f1e2)
  • #1738 save image dimensions to svg uploads (2de435f)
  • #1747, rich text in arrays improperly updating initialValue when moving rows (d417e50)
  • #1748, bails out of autosave if doc is published while autosaving (95e9300)
  • #1752, removes label from row field type (ff3ab18)
  • #551 - rich text nested list structure (542ea8e)
  • allows cleared file to be reselected (35abe81)
  • get relationships in locale of i18n language setting (#1648) (60bb265)
  • missing file after reselect in upload component (6bc1758)
  • prevents special characters breaking relationship field search (#1710) (9af4c1d)
  • refreshes document drawer on save (9567328)
  • removes update and created at fields when duplicating, ensures updatedAt data is reactive (bd4ed5b)
  • safely clears sort #1736 (341c163)
  • simplifies radio validation (0dfed3b)
  • translated tab classnames (238bada)
  • updates relationship label on drawer save and prevents stepnav update (59de4f7)
  • updates richtext toolbar position if inside a drawer (468b0d2)
  • use the slug for authentication header API Key (5b70ebd)

Features

BREAKING CHANGES

  • replaced the useAPIKey authentication header format to use the collection slug instead of the collection label. Previous: ${collection.labels.singular} API-Key ${apiKey}, updated: ${collection.slug} API-Key ${apiKey}
payload - Release 1.3.4

Published by jmikrut almost 2 years ago

1.3.4 (2022-12-16)

Bug Fixes

  • async validate out of order (e913fbe)
  • autosave with nested localized fields (4202fc2)
  • doc access should not run where query on collections without id (016beb6)
  • run docAccess also when checking global (b8c0482)
payload - Release 1.3.3

Published by jmikrut almost 2 years ago

1.3.3 (2022-12-16)

Bug Fixes

  • allow translation in group admin.description (#1680) (91e33ad)
  • ensures select field avoids circular dependencies (f715146)
payload - Release 1.3.2

Published by jmikrut almost 2 years ago

1.3.2 (2022-12-15)

Bug Fixes

  • safely handles rich text deselection (420eef4)
payload - Release 1.3.1

Published by DanRibbens almost 2 years ago

1.3.1 (2022-12-15)

Bug Fixes

  • add i18n type to collection and globals admin.description (#1675) (049d560)
  • adds draftsEnabled to baseSchema for tabs / arrays / groups & allows for null enum (80da898)
  • adds draftsEnabled to versionSchema in collections / globals (f0db5e0)
  • collapsible margin bottom adjustment (#1673) (64086e8)
  • escapes react-select events when drawer is open (f290cda)
  • label translation in about to delete dialog (#1667) (d9c45f6)
  • list view date field display format (#1661) (934b443)
  • removes case for select field that sets data to undefined if set to null (b4f39d5)
  • Set 'Dashboard's link to config route (#1652) (940c1e8)
  • stringifies date in DateTime field for useAsTitle (#1674) (a1813ca)

Features

  • inline relationships (8d744c8)
  • custom button html element (5592fb1)
  • further Tooltip improvements (e101f92)

1.3.0 (2022-12-09)

payload - Release 1.3.0

Published by DanRibbens almost 2 years ago

1.3.0 (2022-12-09)

Bug Fixes

  • #1547, global afterChange hook not falling back to original global if nothing returned (a72123d)

  • #1632 graphQL non-nullable relationship and upload fields (#1633) (eff3f18)

  • change edit key to prevent richtext editor from crashing (#1616) (471d214)

  • filterOptions function argument relationTo is an array (#1627) (11b1c0e)

  • resets slate state when initialValue changes, fixes #1600, #1546 (9558a22)

  • sanitizes global find query params (512bc1e)

  • Select with hasMany and localized (#1636) (756edb8)

  • translation key in revert published modal (#1628) (b6c597a)

  • unflattens fields in filterOptions callback (acff46b)

  • feat!: no longer sanitize collection slugs to kebab case (#1607) (ba2f2d6), closes #1607

Features

BREAKING CHANGES

  • collection slugs are no longer automatically sanitized to be kebab case. This will only be an issue if your current slugs were in camel case. The upgrade path will be to change those slugs to the kebab case version that the slug was automatically being sanitized to on the backend.

If you only use kebab case or single word slugs: no action needed.

If you have existing slugs with camel case and populated data: you'll need to convert these to the kebab case version to match the previously sanitized value.

ie. myOldSlug is your slug, you should convert it to my-old-slug.

Any future slugs after updating will be used as-is.

payload - Release 1.2.5

Published by jmikrut almost 2 years ago

1.2.5 (2022-12-06)

Bug Fixes

  • exits findOptionsByValue when matchedOption is found (881c067)
  • mismatch language condition when rendering unpublish (3ddd0ea)
  • safely coerces limit and depth to number or undefined (dd04d78)
  • uses pathOrName to pass to internal Relationship field components (8874e87)

Features

payload - Release 1.2.4

Published by DanRibbens almost 2 years ago

1.2.4 (2022-12-03)

Bug Fixes

payload - Release 1.2.3

Published by DanRibbens almost 2 years ago

1.2.3 (2022-12-02)

Bug Fixes

payload - Release v1.2.1

Published by DanRibbens almost 2 years ago

1.2.1 (2022-11-22)

Bug Fixes

  • adjusts styles to allow error bg to fill textarea (2e57b76)
  • allows patching global drafts #1415 (25822a9)
  • dynamically sets stepnav from default edit view (40c8778)
  • ensures drafts operations saves as draft #1415 (fc16ffe)
  • flattens locales before versioning published docs #1415 (f700f51)
  • i18n: version count (#1465) (075b7e9)
  • Increase textarea click area (c303913)
  • invalid query string user account request (#1478) (400cb9b)
  • removes incorrectly import/export option type - #1441 (ed01a17)
  • rendering of localized select value (1d1d249)
  • sanitizes select values on the server, allowing isClearable selects to be cleared without error (699ca14)
  • translate version comparison view field labels (#1470) (8123585)
  • versionCount was broken & other i18n improvements (#1450) (078c28b)
  • versions tests (af6a7aa)

Features

  • add i18n to option labels in version comparison (#1477) (7b6a9ed)
  • exports field types properly (7c6d6fd)
payload - Release 1.2.2

Published by DanRibbens almost 2 years ago

1.2.2 (2022-12-02)

Bug Fixes

  • adds contain operators for text/email/radio fields (4c37af6)
  • adjusts how limit is set, both in options and paginates limit (a718010)
  • aligns mongoose PaginatedDocs type with actual lib type (dce2081)
  • allows for form controlled relationship fields to be populated (e4435bb)
  • allows for limit bypass on version find operations (891f00d)
  • blockName grows in all browsers (03c2ab5)
  • corrects skipValidation (e6f1c6f)
  • dynamic relationship filterOptions (99c1f41)
  • ensures enums cannot query on partial matches (ec51929)
  • german translation optimizations (#1485) (e9d2163)
  • handle multiple locales in relationship population (#1452) (04c689c)
  • i18n: requiresAtLeast variable in de.json (#1556) (47fd0d9)
  • ignore validation when unpublishing, do not allow restore with invalid form state (77ab542)
  • indexSortableFields timestamp fields #1506 (#1537) (7aada3c)
  • infinite rerenders, accounts for hasMany false (16d00e8)
  • moves relationship field useEffect into async reducer action (54ef40a)
  • moves sharp types from devDeps to deps (b3d526b)
  • reverts async reducer and resolves infinite effect (a9da81f)
  • sanitize number query params before passing to find operation (c8d1b9f)
  • translate select field option labels (#1476) (3a9dc9e)
  • update drafts includes latest version changes (48989d0)
  • updates code field css (3eebd66)
  • updates syntax colors for light theme (dbfe7ca)
  • uses baseClass in code field (d03f0ae)

Features

  • decouples limit from pagination, allows for no limit query (f7ce0c6)
  • improve typescript comments (#1467) (5bd8657)
  • log email transport error messages (#1469) (a90a1a9)
  • removes theme provider and updates background for code fields (1a6c9a3)
payload - Release 1.2.0

Published by DanRibbens almost 2 years ago

1.2.0 (2022-11-18)

Bug Fixes

  • build errors (65f0e1c)
  • components optional chaining (d5e725c)
  • corrects exported custom component type (2878b4b)
  • corrects type for CollapsibleLabel example type, adjusts custom component filenames (ccb4231)
  • sets pointer-events to none so the entire label bar is clickable (e458087)

Features

  • add i18n to admin panel (#1326) (bab34d8)
  • adds docs example (2bf0fff)
  • adds playwright tests for array fields (57a8c35)
  • converts rowHeader to collapsibleLabel, extends data passed to functions/components (13ec1e0)
  • customizable header-labels (d45de99)
  • simplifies collapsible label API, adds e2e tests (d9df98f)
  • specifies component names for arrays/collapsibles, simplifies threaded data (b74ea21)

BREAKING CHANGES

  • If you assigned labels to collections, globals or block names, you need to update your config! Your GraphQL schema and generated Typescript interfaces may have changed. Payload no longer uses labels for code based naming. To prevent breaking changes to your GraphQL API and typescript types in your project, you can assign the below properties to match what Payload previously generated for you from labels.

On Collections
Use graphQL.singularName, graphQL.pluralName for GraphQL schema names.
Use typescript.interface for typescript generation name.

On Globals
Use graphQL.name for GraphQL Schema name.
Use typescript.interface for typescript generation name.

On Blocks (within Block fields)
Use graphQL.singularName for graphQL schema names.

payload - Release 1.1.26

Published by jmikrut almost 2 years ago

1.1.26 (2022-11-15)

Bug Fixes

payload - Release 1.1.25

Published by jmikrut almost 2 years ago

1.1.25 (2022-11-15)

Bug Fixes

  • add slug to DocumentInfo context (#1389) (4d8cc97)
  • adds unique key to upload cards to prevent old images being shown while navigating to new page (5e8a8b2)
  • ensures admin components is defaulted (d103f6c)
  • global afterRead and afterChange execution (#1405) (cdaa8cc)

Features

payload - Release 1.1.24

Published by jmikrut almost 2 years ago

1.1.24 (2022-11-14)

Bug Fixes

  • cursor jumping while typing in inputs (216b9f8), closes #1393
payload - Release 1.1.23

Published by jmikrut almost 2 years ago

1.1.23 (2022-11-12)

Bug Fixes

  • #1361, ensures collection auth depth works while retrieving static assets (2f68404)

Features

  • optimizes field performance by storing internal values in useField hook (66210b8)
payload - Release 1.1.22

Published by jmikrut almost 2 years ago

1.1.22 (2022-11-12)

Bug Fixes

  • #1353, ensures errors returned from server make their way to UI (3f28a69)
  • #1357, nested arrays and blocks sometimes not allowing save (86855d6)
  • #1358, allows listSearchableFields to work when indicated fields are nested (eb0023e)
  • #1360, relationship field onMenuScrollToBottom not working in some browsers (7136db4)
  • #1367, allows custom global components within schema validation (1d76e97)
  • 1309, duplicative logout in admin UI (35f91b0)
  • fixed GraphQL Access query resolver to return the correct data (#1339) (cfef68f)
payload - Release 1.1.21

Published by jmikrut almost 2 years ago

1.1.21 (2022-11-05)

payload - Release 1.1.20

Published by jmikrut almost 2 years ago

1.1.20 (2022-11-05)

Features

  • optimizes blocks and arrays by removing some additional rerenders (483adf0)