1.5.8 (2023-01-12)
- throws descriptive error when collection or global slug not found (b847d85)
1.5.7 (2023-01-12)
- ensures find with draft=true does not improperly exclude draft ids (69026c5)
- ensures querying with drafts works on both published and non-published posts (f018fc0)
1.5.6 (2023-01-11)
- ensures that find with draft=true returns ids with drafts (3f30b2f)
1.5.5 (2023-01-11)
- #1808, arrays and blocks now save localized nested field data upon reordering rows (ee54c14)
- bug when clearing relationship field without hasMany: true (#1829) (ed7cfff)
- ensures upload file data is available for conditions (d40e136)
- fix miss typo in Thai translation (25e5ab7)
- formats date when useAsTitle (086117d)
- prevents uploads drawer from crashing when no uploads are enabled (84e1417)
- rte link element initial state #1848 (1cde647)
- updatesmargin for group field within a row (1c3a257)
- upload field filterOptions (9483ccb)
- wrong translation and punctuation spacing (bf1242a)
- adds translations for fallbackToDefaultLocale (c247f31)
- ensures compatibility with azure cosmos and aws documentdb (73af283)
1.5.4 (2023-01-06)
- allows init to accept a pre-built config (84e00bf)
1.5.3 (2023-01-05)
- theme flicker on code editor (6567454)
1.5.2 (2023-01-04)
- ignores admin and components from swc (7d27431)
1.5.1 (2023-01-04)
- reverts components directory back to ts (1bbf099)
1.5.0 (2023-01-04)
- json field type (73b8ba3)
- adds initial json field (28d9f90)
- fixes json editor errors and misc styling (efe4f6d)
- swc register (#1779) (c11bcd1)
- updates code field editor (4d6eba8)
- wires up i18n with monaco editor (07b2cca)
1.4.2 (2023-01-03)
- #1775 - siblingData for unnamed fields within array rows improperly formatted (d6fcd19)
- #1786, relationship with hasMany no longer sets empty array as default value (ecfb363)
- error clearing date field (883daf7)
- select field crash on missing value option (ec9196e)
1.4.1 (2022-12-24)
1.4.0 (2022-12-23)
- #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)
- add Czech translation (#1705) (0be4285)
- adds doc permissions to account view (8d643fb)
- graphql: upgrade to graphql 16 (57f5f5e)
- 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}
1.3.4 (2022-12-16)
- 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)
1.3.3 (2022-12-16)
- allow translation in group admin.description (#1680) (91e33ad)
- ensures select field avoids circular dependencies (f715146)
1.3.2 (2022-12-15)
- safely handles rich text deselection (420eef4)
1.3.1 (2022-12-15)
- 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)
- inline relationships (8d744c8)
- custom button html element (5592fb1)
- further Tooltip improvements (e101f92)
1.3.0 (2022-12-09)
-
#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)
-
unflattens fields in filterOptions callback (acff46b)
-
feat!: no longer sanitize collection slugs to kebab case (#1607) (ba2f2d6), closes #1607
- add Norwegian bokmål (nb) translation (#1614) (759f001)
- add Thai translation (#1630) (7777d11)
- upload support pasting file (eb69b82)
- 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.
1.2.5 (2022-12-06)
- 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)
1.2.4 (2022-12-03)
1.2.3 (2022-12-02)
1.2.2 (2022-12-02)
- 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)
- 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)
1.2.1 (2022-11-22)
- 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)
- add i18n to option labels in version comparison (#1477) (7b6a9ed)
- exports field types properly (7c6d6fd)
1.2.0 (2022-11-18)
- 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)
- 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)
- You might need to update your config. This change affects
collections
,globals
andblock fields
with custom labeling.- Collections: are affected if you have a custom
labels.singular
defined that differs from your collection slug.// ExampleCollection.ts // Before const ExampleCollection: CollectionConfig = { slug: 'case-studies', labels: { // Before Payload used `labels.singular` to generate types/graphQL schema singular: 'Project', plural: 'Projects', }, } // After const ExampleCollection: CollectionConfig = { // Now Payload uses `slug` to generate types/graphQL schema slug: 'case-studies', labels: { singular: 'Project', plural: 'Projects', }, // To override the usage of slug in graphQL schema generation graphQL: { singularName: 'Project', pluralName: 'Projects', }, // To override the usage of slug in type file generation typescript: { interface: 'Project', } }
- Globals: are affected if you have a
label
defined that differs from your global slug.// ExampleGlobal.ts // Before const ExampleGlobal: GlobalConfig = { slug: 'footer', // Before Payload used `label` to generate types/graphQL schema label: 'Page Footer', } // After const ExampleGlobal: GlobalConfig = { // Now Payload uses `slug` to generate types/graphQL schema slug: 'footer', label: 'Page Footer', // To override the usage of slug in graphQL schema generation graphQL: { name: 'PageFooter', }, // To override the usage of slug in type file generation typescript: { interface: 'PageFooter', }, }
- Block Fields: are affected if you have a
label
defined that differs from your block slug.// ExampleBlock.ts // Before const ExampleBlock: Block = { slug: 'content', // Before Payload used `label` to generate graphQL schema label: 'Content Block', } // After const ExampleBlock: Block = { // Now Payload uses `slug` to generate graphQL schema slug: 'content', label: 'Content Block', // To override the usage of slug in graphQL schema generation graphQL: { singularName: 'ContentBlock', }, }
- Collections: are affected if you have a custom
Breaking changes recap:
-
On Collections
- Use
graphQL.singularName
,graphQL.pluralName
for GraphQL schema names. - Use
typescript.interface
for typescript generation name.
- Use
-
On Globals
- Use
graphQL.name
for GraphQL Schema name. - Use
typescript.interface
for typescript generation name.
- Use
-
On Blocks (within Block fields)
- Use
graphQL.singularName
for graphQL schema names.
- Use
1.1.26 (2022-11-15)
1.1.25 (2022-11-15)
- 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)
- admin UI logout extensibility (#1274) (a345ef0)
- let textarea grow based on value (#1398) (0f27b10)
- saves tab index to user preferences (5eb8e4a)
1.1.24 (2022-11-14)
1.1.23 (2022-11-12)
- optimizes field performance by storing internal values in useField hook (66210b8)
1.1.22 (2022-11-12)
- #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)
1.1.21 (2022-11-05)
1.1.20 (2022-11-05)
- optimizes blocks and arrays by removing some additional rerenders (483adf0)
1.1.19 (2022-10-31)
- #1307, #1321 - bug with disableFormData and blocks field (2a09f15)
- #1311, select existing upload modal always updates state (e2ec2f7)
- #1318, improves popup positioning and logic (c651835)
- custom pino logger options (#1299) (2500026)
1.1.18 (2022-10-25)
1.1.17 (2022-10-25)
- #1286, uses defaultDepth in graphql rich text depth (66bf8c3)
- #1290, renders more than one rich text leaf where applicable (a9f2f0e)
- #1291, add inline relationship drafts (3967c12)
- enforces depth: 0 in graphql resolvers (3301f59)
- ensures field updates when disableFormData changes (c929725)
- group + group styles within collapsible (17dbbc7)
- added beforeLogin hook (#1289) (09d7939)
- adds default max length for text-based fields (6a1b25a)
- specify node 14+ and yarn classic LTS (#1240) (9181477)
1.1.16 (2022-10-21)
- indexSortableFields not respected (785b992)
- obscure bug where upload collection has upload field relating to itself (36ef378)
1.1.15 (2022-10-14)
- ensures svg mime type is always image/svg+xml (0b0d971)
1.1.14 (2022-10-14)
1.1.11 (2022-10-12)
1.1.10 (2022-10-11)
1.1.9 (2022-10-11)
- improves access control typing (5322ada)
1.1.8 (2022-10-11)
- adds ability to create related docs while editing another (1e048fe)
- implements use-context-selector for form field access (5c1a3fa)
1.1.7 (2022-10-06)
1.1.6 (2022-10-06)
- #1184 (c2ec54a)
- #1189 (3641dfd)
- #1204 (b4becd1)
- #940 (7926083)
- ajusts how disabled states are being set on anchors and buttons (00ef170)
- remove min-width from fileupload (73848b6)
- resize textarea only vertically (6e1dfff)
- richText e2e test, specific selectors (09a8144)
- styles readOnly RichTextEditor, removes interactivity within when readOnly (9181304)
- style: system dark scrollbars (a30d9dc)
- threads readOnly to ReactSelect (b454811)
- upload xls renaming ext (7fd8124)
1.1.5 (2022-09-29)
- bug in useThrottledEffect (3ce8ee4)
1.1.4 (2022-09-24)
- supports root endpoints (52cd3b4)
1.1.3 (2022-09-16)
- adjust prevPage and nextPage graphql typing (#1140) (b3bb421)
- duplicate with relationships (eabb981)
1.1.2 (2022-09-14)
1.1.1 (2022-09-13)
1.1.0 (2022-09-13)
- #1001 - builds a way to allow list view to search multiple fields (a108372)
- collection groups (dffeaf6)
- globals groups (59af872)
- hide nav labels with no un-grouped collections (c40e232)
- implement gravatar (#1107) (ca434b8)
- support localized tab fields (a83921a)
- tabs support localization at the tab level (6a6a691)
- WIP tab compatible with traverseFields (2ae33b6)
1.0.36 (2022-09-10)
- bug with account view (ada1871)
1.0.35 (2022-09-10)
- #1059 (13dc39d)
- add height/width if imageSizes not specified (8bd2a0e)
- incorrect auth strategy type (c8b37f4)
- rich text link with no selection (5a19f69)
1.0.34 (2022-09-07)
- pins faceless ui modal (b38b642)
1.0.33 (2022-09-07)
- #1062 (05d1b14)
- #948 (8df9ee7)
- #981 (d588843)
- accented label char sanitization for GraphQL (#1080) (888734d)
- children of conditional fields required in graphql schema (#1055) (29e82ec)
- ensures adding new media to upload works when existing doc does not exist (5ae666b)
- implement the same word boundary search as the like query (#1038) (c3a0bd8)
- reorder plugin wrapping (#1051) (cd8edba)
- require min 1 option in field schema validation (#1082) (d56882c)
- update removing a relationship with null (#1056) (44b0073)
- update removing an upload with null (#1076) (2ee4c7a)
- cyrillic like query support (#1078) (b7e5828)
- duplicate copies all locales (51c7770)
- update operator type with contains (#1045) (482cbe7)
1.0.30 (2022-08-30)
1.0.29 (2022-08-29)
1.0.28 (2022-08-29)
- incorrect field paths when nesting unnamed fields (#1011) (50b0303), closes #976
- relationship cell loading (#1021) (6a3cfce)
- remove lazy loading of array and blocks (4900fa7)
- require properties in blocks and arrays fields (#1020) (6bc6e7b)
- unpublish item will not crash the UI anymore (#1016) (0586d7a)
- export more fields config types and validation type (#989) (25f5d68)
- types custom components to allow any props (#1013) (3736755)
- validate relationship and upload ids (#1004) (d727fc8)
1.0.27 (2022-08-18)
- react-sortable-hoc dependency instead of dev dependency (4ef6801)
1.0.26 (2022-08-18)
- adds more prismjs syntax highlighting options for code blocks (#961) (f45d5a0)
- enable reordering of hasMany relationship and select fields (#952) (38a1a38)
1.0.25 (2022-08-17)
1.0.24 (2022-08-16)
- #939 (b1a1575)
- create indexes in nested fields (f615abc)
- format graphql localization input type (#932) (1c7445d)
- ensures you can query on blocks via specifying locale or not specifying locale (078e8dc)
1.0.23 (2022-08-15)
1.0.22 (2022-08-12)
1.0.21 (2022-08-11)
1.0.20 (2022-08-11)
- E11000 duplicate key error has no keyValue (#916) (50972b9)
- number validation works with 0 min and max (#906) (874c001)
1.0.19 (2022-08-07)
- exposes static upload handlers (a8d2e09)
1.0.18 (2022-08-06)
1.0.17 (2022-08-06)
1.0.16 (2022-08-05)
1.0.15 (2022-08-04)
1.0.14 (2022-08-04)
- allows querying on rich text content (3343adb)
1.0.13 (2022-08-03)
- improves adjacent group styling (0294c02)
1.0.12 (2022-08-02)
- ensures tabs can overflow on mobile when there are many (663cae4)
- unique index creation (#867) (c175476)
1.0.11 (2022-07-28)
- ensures when initial values changes, field value is updated (858b1af)
1.0.10 (2022-07-27)
- #806, allow partial word matches using 'like' operator (c96985b)
- #836 (84611af)
- accesses payload config correctly in gql refresh resolver (d5e88cc)
- email not always loading while viewing auth collections (36e9acc)
- ensures collapsible preferences are retained through doc save (61f0e8e)
- id now properly required in graphql findByID operation (5dc7caf)
- set overflow payload modal container to auto (cfb5540)
- trim trailing whitespaces of email in login (8feed39)
- greatly enhances performance by using dataloader pattern to batch populations (c5bcd1e)
- significantly improves complex GraphQL query performance (5d57bfa)
1.0.9 (2022-07-21)
- avoid assuming Email will be present on JWT token. Using ID instead as email might not be in if using disableLocalStrategy (#789) (3b4d5af)
- enable index creation from schema (#791) (2a1f387)
- graphql gen logging output (#795) (8a81d0b)
- sharpens radio input edges by replacing box-shadow trick with border property (#768) (e2c366f)
- pass payload and names to custom auth strategies (#781) (3a3026c)
- use provided auth strategy name or strategy.name (#797) (f22f56e)
1.0.8 (2022-07-20)
- export PayloadRequest (66c820c)
- improves generated types by removing unnecessary optional properties (#784) (6f748f1)
1.0.7 (2022-07-19)
1.0.6 (2022-07-19)
- improves initAsync pattern (428edb0)
1.0.5 (2022-07-19)
- adds initAsync (b4ffa22)
1.0.4 (2022-07-19)
- Updated UI: Dark Mode
- Updated UI: Collapsibles (60bfb1c)
- Updated UI: Tabs field (68e7c41)
- Updated UI: Styling Revamp and responsive improvements
- More maintainable colors via CSS vars
- Improved test coverage through granular Payload configs
- Introduction of E2E tests through Playwright
- allow clear select value (#735) (3132d35)
We have removed our reliance on SCSS variables like color and font, replacing them instead with CSS variables wherever possible.
Due to this change, the admin.scss
functionality has become obsolete, and overriding SCSS variables is not longer needed or supported. If you want to customize CSS, you can still do so, but via the admin.css
property instead.
0.19.2 (2022-07-11)
- ensures only plain objects are merged within incoming configs (2c66ad8)
- 🎉 Extensible Authentication Strategies!
- add afterMe afterLogout and afterRefresh (4055908)
- add preMiddleware and postMiddleware, deprecate middleware (e806437)
- better types useAuth and custom provider components (38b52bf)
0.19.1 (2022-07-09)
0.19.0 (2022-07-08)
- relationship fields with access control preventing read of relation will return id instead of null (#644)
- allow passing of autoIndex mongoose connectionOptions (#722) (567d8c1)
- copyfiles cross platform (#712) (67331eb)
- ensures auth/me relations in gql can be queried (01bc1fe)
- ensures old data from arrays is not persisted (d9ef803)
- relationship field disabled from access control in related collections (#644) (91e33d1)
- allow clearing DatePicker value (#641) (9fd171b)
- File argument in create/update operation (#708) (f3b7dcf)
- graphql schema output (#730) (ad43cbc)
0.18.5 (2022-06-29)
- empty cell data renders in list (#699) (b6b0ffb)
- icon appears above select field's option list (#685) (c78d774)
0.18.4 (2022-06-24)
0.18.3 (2022-06-24)
0.18.2 (2022-06-24)
- telemetry (1c37ec3)
0.18.1 (2022-06-21)
0.18.0 (2022-06-14)
- custom fields values resetting in ui (#626) (f2bf239)
- me auth route breaks with query params (#648) (a1fe17d)
- adds timestamps to generated collection types if enabled (#604) (af6479b)
- enable webpack filesystem cache in dev (#621) (44c1232)
0.17.3 (2022-06-08)
- duplicate objects in array fields in validate data and siblingData (#599) (20bbda9)
- ensures unflattening locales only happens if config specifies locales (c18cc23)
0.17.2 (2022-05-24)
- #576, graphql where on hasMany relationship not working (#582) (20d251f)
- adds optional chaining to safely read drafts setting on versions (#577) (982b3f0)
- passes required prop for select field (#579) (734e905)
0.17.1 (2022-05-17)
- only localizes schema if both field and top-level config are enabled (e1a5547)
0.17.0 (2022-05-16)
- apply field condition to custom components (#560) (1dfe2b8)
- prevent changing order of readOnly arrays (#563) (16b7edb)
0.16.4 (2022-05-06)
- fields in groups causing console error in browser (#553) (78edac6)
- save resized image file when equal to upload size (#555) (46f4bc2)
0.16.3 (2022-05-04)
- rare bug while merging locale data (47c37e0)
0.16.2 (2022-05-02)
- exposes findMany argument to afterRead hooks to discern between find and findByID (b3832e2)
- optimizes field operations (18489fa)
0.16.1 (2022-04-29)
- exposes payload within server-side validation args (e46b942)
0.16.0 (2022-04-29)
- allow subfield readOnly to override parent readOnly (#546) (834f4c2)
- allows defaultValue to accept async function to calculate defaultValue (#547) (e297eb9)
0.15.13 (2022-04-26)
0.15.12 (2022-04-26)
- ensures adding array / block rows modifies form state (8bdbd0d)
0.15.11 (2022-04-24)
- improperly typed access control (b99ec06)
0.15.10 (2022-04-24)
- block form-data bug (3b70560)
0.15.9 (2022-04-20)
- intermittent blocks UI issue (3c1dfb8)
0.15.8 (2022-04-20)
- ensure relationTo is valid in upload fields (#533) (9e324be)
- richtext editor input height (#529) (3dcd8a2)
0.15.7 (2022-04-12)
- checkbox validation error positioning (9af89b6)
- sanitize defaultValue to false when field is required (6f84c0a)
0.15.6 (2022-04-06)
- new up separate logger for generateTypes script (cf54b33)
0.15.5 (2022-04-06)
0.15.4 (2022-04-05)
- #495, avoids appending version to id queries (ab432a4)
- default point validation allows not required and some edge cases (29405bb)
- allows like to search by many words, adds contain to match exact strings (ec91757)
- extended validation function arguments (#494) (1b4b570), closes #495
- filter relationship options using filterOptions (485991b)
- logging: allow pino logger options to be passed into init (6620a4f)
- support className config for row, block and array fields (#504) (0461c21)
0.15.3 (2022-04-04)
0.15.2 (2022-04-04)
0.15.1 (2022-03-28)
- builds a way to inject custom React providers into admin UI (5a7e8a9)
- export Plugin type from config types (#491) (45f7011)
0.15.0 (2022-03-16)
The GraphQL error response data object has moved from the top level to the extensions object.
Here is a previous example:
{
"message": "The following fields are invalid: location,",
"data": [
{
"message": "This field requires two numbers",
"field": "location"
},
]
},
The new shape of GraphQL errors is as follows:
"extensions": {
"name": "ValidationError",
"data": [
{
"message": "This field requires two numbers",
"field": "location"
},
]
}
- #422, prevents loading duplicative relationship options (414679d)
- #423, #391 - prevents loading edit views until data initializes (2884654)
- #424, unable to clear localized property vals (1a05fe4)
- #431 - relationship field not properly fetching option results (6fab8bf)
- #454, withCondition type usability (56c16d5)
- #459 - in Relationship field to multiple collections, when the value is null, options are not populated (#460) (a9b83c8)
- #461 (08924a1)
- #464, graphql upload access control (fd0629e)
- adds key to RichText based on initialValue (f710b8c)
- adjusts lte and gte types to match docs and codebase (#480) (8fc4f7f)
- allow jwt to work without csrf in config (4048734)
- awaits beforeDelete hooks (609b871)
- config empty and sparse csrf is now allowed (7e7b058)
- ensures empty hasMany relationships save as empty arrays (08b3e8f)
- ensures nested lists always render properly (20e5dfb)
- ensures overrideAccess is false if undefined while populating (97f3178)
- ensures rte upload is populated when only upload is enabled (39438b8)
- import path for createRichTextRelationshipPromise (586cd4d)
- improperly typed local create method (48aa27c)
- mobile styling to not found page (d3f88a1)
- new slate version types (c5de01b)
- optimizes relationship input search querying (7e69fcb)
- prevents None from appearing in hasMany relationship select options (cbf43fa)
- rare crash with link rte element (f5535f6)
- rte upload field population (8327b5a)
- type error in useField (ef4e6d3)
- 🎉 versions, drafts, & autosave!
- #458, provides field hooks with sibling data (8e23a24)
- add before and after login components (#427) (5591eea)
- add logMockCredentials email option (ff33453)
- add pagination argument to optimize graphql relationships and use in local api (#482) (647db51)
- adds a way to customize express.static options (dbb3c50)
- adds admin.upload.collections[collection-name].fields to the RTE to save specific data on upload elements (3adf44a)
- adds indentation controls to rich text (7df50f9)
- adds originalDoc to field access control (c979513)
- adds path to GraphQL errors (#457) (ad98b29)
- adds recursion to richText field to populate relationship and upload nested fields (42af22c)
- allow empty string radio and select option values (#479) (f14e187)
- allows access control to prevent reading of drafts (c38470c)
- allows global access control to return query constraints (c0150ae)
- allows select input to receive new options (#435) (500fb1c)
- builds a way for multipart/form-data reqs to retain non-string values (4efc2cf)
- enhances rich text upload with custom field API (0e4eb90)
- ensures field hooks run on all locales when locale=all (c3f743a)
- exposes data arg within create and update access control (73f418b)
- exposes FieldWithPath type for reuse (df3a836)
- exposes useLocale for reuse (bef0206)
- improves adding rich text voids to RTE (966c3c6)
- improves relationship field performance (13318ff)
- improves rich text link (2e9a4c7)
- indexes filenames (07c8ac0) a79570c))
- rich text indentation (2deed8b)
- serverURL is no longer required (#437) (dca90c4)
- updates dependencies (3ca3f53)
0.14.31-beta.0 (2022-03-10)
- improves rich text link (2e9a4c7)
- improves adding rich text voids to RTE (966c3c6)
- rare crash with link rte element (f5535f6)
- ensures empty hasMany relationships save as empty arrays (08b3e8f)
- #422, prevents loading duplicative relationship options (414679d)
- #423, #391 - prevents loading edit views until data initializes (2884654)
- #424, unable to clear localized property vals (1a05fe4)
- #431 - relationship field not properly fetching option results (6fab8bf)
- adds key to RichText based on initialValue (f710b8c)
- awaits beforeDelete hooks (609b871)
- ensures multipart/form-data using _payload flattens field data before sending (ae44727)
- ensures nested lists always render properly (20e5dfb)
- ensures rte upload is populated when only upload is enabled (39438b8)
- import path for createRichTextRelationshipPromise (586cd4d)
- improperly typed local create method (48aa27c)
- mobile styling to not found page (d3f88a1)
- new slate version types (c5de01b)
- rte upload field population (8327b5a)
- type error in useField (ef4e6d3)
- #464, graphql upload access control (fd0629e)
- ensures overrideAccess is false if undefined while populating (97f3178)
- 🎉 versions, drafts, & autosave!
- adds originalDoc to field access control (c979513)
- #458, provides field hooks with sibling data (8e23a24)
- add before and after login components (#427) (5591eea)
- add logMockCredentials email option (ff33453)
- adds a way to customize express.static options (dbb3c50)
- adds admin.upload.collections[collection-name].fields to the RTE to save specific data on upload elements (3adf44a)
- adds indentation controls to rich text (7df50f9)
- adds recursion to richText field to populate relationship and upload nested fields (42af22c)
- allows access control to prevent reading of drafts (c38470c)
- allows global access control to return query constraints (c0150ae)
- allows select input to receive new options (#435) (500fb1c)
- builds a way for multipart/form-data reqs to retain non-string values (4efc2cf)
- enhances rich text upload with custom field API (0e4eb90)
- ensures field hooks run on all locales when locale=all (c3f743a)
- exposes FieldWithPath type for reuse (df3a836)
- exposes useLocale for reuse (bef0206)
- improves relationship field performance (13318ff)
- indexes filenames (07c8ac0)
- serverURL is no longer required (#437) (dca90c4)
- updates dependencies (3ca3f53)
- uses DocumentInfo to fetch and maintain doc versions (8f30c3b)
- exposes data arg within create and update access control (73f418b)
0.14.0 (2022-01-03)
- #370, only performs password functions when auth enabled (9738873)
- #390, safari rich text link bug (a16b99b)
- #393, ensures preview button gets up to date data (2f47e39)
- #408 (5c3cfa4)
- #408 (e2c5d93)
- 407 (a09570c)
- allows null in ImageSize width and height types (ba79fd4)
- cross-browser upload drag and drop (4119eec)
- ensures getDataByPath works (140a3aa)
- ensures local findByID retains user (05288ee)
- ensures row count is set properly in block fields (9e091af)
- ensures searching relationships works with many pages of results (961787d)
- globals model typing (da7c0c9)
- builds custom routes API, Before/After Dashboard and Nav custom components (e337c62)
- exports custom text and select inputs (52edb5b)
- exposes default Dashboard and Nav components for re-import (ffe8e17)
0.13.21-beta.0 (2021-12-29)
- #370, only performs password functions when auth enabled (9738873)
- #390, safari rich text link bug (a16b99b)
- #393, ensures preview button gets up to date data (2f47e39)
- #408 (5c3cfa4)
- #408 (e2c5d93)
- 407 (a09570c)
- allows null in ImageSize width and height types (ba79fd4)
- cross-browser upload drag and drop (4119eec)
- ensures getDataByPath works (140a3aa)
- ensures local findByID retains user (05288ee)
- ensures row count is set properly in block fields (9e091af)
- ensures searching relationships works with many pages of results (961787d)
- globals model typing (da7c0c9)
- builds custom routes API, Before/After Dashboard and Nav custom components (e337c62)
- exports custom text and select inputs (52edb5b)
- exposes default Dashboard and Nav components for re-import (ffe8e17)
0.13.6 (2021-11-30)
- requires path in select, text, textarea, and upload components (925a33e)
0.13.5 (2021-11-30)
- select component rendered value (ecabf13)
0.13.4 (2021-11-30)
- passes hasMany through select component (c77bf3a)
- prevents uncontrolled text field component (f0fd859)
- select component types (7e2b259)
- threads props through textarea component (0b13eda)
- abstracts input from text component (615e369)
- abstracts select component (fa67137)
- abstracts textarea component and improves event typing (86480b7)
- abstracts upload component (f234f68)
0.13.3 (2021-11-29)
- upgrade sharp for prebuilt M1 binaries (34f416a)
0.13.2 (2021-11-29)
0.13.1 (2021-11-29)
- ensures sorting by _id instead of improper id (ded891e)
- only adds list search query param if value is present (d6d76d4)
0.13.0 (2021-11-26)
- #351 (94c2b8d)
- #358 - reuploading with existing filenames (a0fb48c)
- allows sync or async preview urls (da6e1df)
- bug with relationship cell when no doc is available (40b33d9) 3839ef75151f))
- ensures richtext links retain proper formatting (abf61d0)
- ensures that querying by relationship subpaths works (37b21b0)
- ensures uploads can be fetched with CORS (96421b3)
- typing for collection description (bb18e82)
- updates field description type to include react nodes (291c193)
- 🎉 🎉 builds a way to automatically generate types for collections and globals!.
- 🎉 dramatically improves Payload types like local API methods and hooks to function as
generic
s - adds relationship filter field (463c4e6)
- applies upload access control to all auto-generated image sizes (051b7d4)
- azure cosmos compatibility (6fd5ac2)
- ensures update hooks have access to full original docs even in spite of access control (b2c5b7e)
- improves querying logic (4c85747)
- indexes filenames (5d43262)
- renames useFieldType to useField (0245747)
- supports custom onChange handling in text, select, and upload fields (4affdc3)
0.12.3 (2021-10-23)
- #348, relationship options appearing twice in admin ui (b4c15ed)
- ensures tooltips in email fields are positioned properly (a0b38f6)
0.12.2 (2021-10-21)
- improves paste html formatting (d443ea5)
0.12.1 (2021-10-21)
- rich text copy and paste now saves formatting properly (9d7feb9)
0.12.0 (2021-10-21)
- bug where field hooks and access control couuld potentially compete (c35009f)
0.11.2-beta.0 (2021-10-21)
- exposes withCondition for re-use (c02e8f1)
0.11.1-beta.0 (2021-10-20)
- builds UI field (edb723a)
0.11.0 (2021-10-20)
- #338, array / block fields with only nested array block fields break admin UI (86e88d9)
- #341 - searching on multiple relationship collections (3b99ded)
- #343 - upload rte element crashes admin when no upload collection present (914cca6)
- make name required on field types (#337) (b257e01)
- more strict field typing (84f6a9d)
- per page now properly modifies search query (fcd9c28)
- properly types row field (7d49302)
- removes node 15 from CI (a2df67e)
- use proper error code on webpack build failure (2eb8154)
- adds dynamic url field to upload-enabled collections (cc4d1fd)
- adds safety checks while querying on id with bad values (900f05e)
- admin: initial per page component (3715e01)
- allows richText enter key break out functionality to be extended in custom elements (ca91f47)
- improves richtext link (423ca01)
- per-page: add pagination to admin config (c132f2f)
- per-page: set and load from preferences (d88ce2d)
- saves active list filters in URL, implements per-page control (a6fc1fd)
0.10.11 (2021-10-08)
- bug with local API and not passing array / block data (fd4fbe8)
0.10.10 (2021-10-07)
- deepObjectCopy returns Date object instead of empty object (2711729)
0.10.9 (2021-10-05)
- ensures field read access within login operation has id (e3229c5)
0.10.8 (2021-10-04)
- ensures update field access control receives id (ffab6c4)
0.10.7 (2021-10-04)
- ensures non populated relationships still retain IDs (a201109)
- ensures relationship field access control receives id (470d434)
- add indexSortableField option to create indexes for sortable fields on all collections (ad09782)
0.10.6 (2021-09-30)
0.10.5 (2021-09-28)
- ensures that fields within non-required groups are correctly not required (1597055)
- index creation on localized field parent (23e8197)
- pagination estimatedCount limited to near query (73bd698)
0.10.4 (2021-09-22)
- allows image resizing if either width or height is larger (8661115)
- array objects now properly save IDs (2b8f925)
- date field error message position (03c0435)
- properly types optional req in local findByID (02e7fe3)
- defaults empty group fields to empty object (8a890fd)
- allows local update api to replace existing files with newly uploaded ones (dbbff4c)
- exposes Pill component for re-use (7e8df10)
- performance improvement while saving large docs (901ad49)
0.10.0 (2021-09-09)
- admin UI collection id is required (dc96b90)
- allow save of collection with an undefined point (f80646c)
- config validation correctly prevents empty strings for option values (41e7feb)
- ensures hooks run before access (96629f1)
- ensures proper order while transforming incoming and outgoing data (c187da0)
- improve id type semantic and restrict possible types to text and number (29529b2)
- remove media directory to improve test run consistency (d42d8f7)
- sanitize custom id number types (c7558d8)
- sort id columns (114dc1b)
- add config validation for collections with custom id (fe1dc0b)
- add config validation for collections with custom id (d0aaf4a)
- add point field type (7504155)
- allows user to pass req through local findByID (8675481)
- frontend polish to point field (64ad6a3)
- graphql support for custom id types (bc2a6e1)
- point field localization and graphql (30f1750)
- replace the collection idType option with an explicit id field (4b70a12)
- support custom ids (3cc921a)
0.9.5 (2021-08-23)
0.9.4 (2021-08-06)
0.9.3 (2021-08-06)
- args no longer optional in collection and global hooks (a5ea0ff)
0.9.2 (2021-08-06)
- row admin type (deef520)
- allow completely disabling local file storage (9661c6d)
- allows upload resizing to maintain aspect ratio (dea54a4)
- exposes auto-sized uploads on payload req (9c8935f)
- reduces group heading from h2 to h3 (907f8fd)
0.9.1 (2021-08-03)
- groups with failing conditions being incorrectly required on backend (4cc0ea1)
- relationship field access control in admin UI (65db8d9)
- exposes collection after read hook type (01a191a)
0.9.0 (2021-08-02)
- Due to greater plugin possibilities and performance enhancements, plugins themselves no longer accept a completely sanitized config. Instead, they accept a validated config as-provided, but sanitization is now only performed after all plugins have been initialized. By config santitization, we refer to merging in default values and ensuring that the config has its full, required shape. What this now means for plugins is that within plugin code, deeply nested properties like
config.graphQL.mutations
will need to be accessed safely (optional chaining is great for this), because a user's config may not have definedconfig.graphQL
. So, the only real breaking change here is are that plugins now need to safely access properties from an incoming config.
- removes sanitization of configs before plugins are instantiated (8af3947)
0.8.2 (2021-08-02)
- more advanced conditional logic edge cases (33983de)
- export error types (12cba62)
0.8.1 (2021-07-29)
- If you have any plugins that are written in TypeScript, we have changed plugin types to make them more flexible. Whereas before you needed to take in a fully sanitized config, and return a fully sanitized config, we now have simplified that requirement so that you can write configs in your own plugins just as an end user of Payload can write their own configs.
Now, configs will be sanitized before plugins are executed as well as after plugins are executed.
So, where your plugin may have been typed like this before:
import { SanitizedConfig } from "payload/config";
const plugin = (config: SanitizedConfig): SanitizedConfig => {
return {
...config,
};
};
It can now be written like this:
import { Config } from "payload/config";
const plugin = (config: Config): Config => {
return {
...config,
};
};
- improves plugin writability (a002b71)
0.8.0 (2021-07-28)
-
There have been a few very minor, yet breaking TypeScript changes in this release. If you are accessing Payload config types from directly within the
dist
folder, like any of the following: -
import { PayloadCollectionConfig, CollectionConfig } from 'payload/dist/collections/config/types';
-
import { PayloadGlobalConfig, GlobalConfig } from 'payload/dist/globals/config/types';
-
import { Config, PayloadConfig } from 'payload/config';
You may need to modify your code to work with this release. The TL;DR of the change is that we have improved our naming conventions of internally used types, which will become more important over time. Now, we have landed on a naming convention as follows:
- Incoming configs, typed correctly for optional / required config properties, are named
Config
,CollectionConfig
, andGlobalConfig
. - Fully defaulted, sanitized, and validated configs are now named
SanitizedConfig
,SanitizedCollectionConfig
, andSanitizedGlobalConfig
.
They can be imported safely outside of the dist
folder now as well. For more information on how to properly import which types you need, see the following Docs pages which have now been updated with examples on how to properly access the new types:
- ensures text component is always controlled (c649362)
- revises naming conventions of config types (5a7e5b9)
0.7.10 (2021-07-27)
- improves conditional logic performance and edge cases (d43390f)
0.7.9 (2021-07-27)
- missing richtext gutter (4d1249d)
- add admin description to collections and globals (4544711)
- add collection slug to schema validation errors (ebfb72c)
- add component support to collection and global description (fe0098c)
- add component support to field description (e0933f6)
- add customizable admin field descriptions (dac60a0)
- add descriptions to every allowed field type, globals and collections (29a1108)
- add global slug and field names to schema validation errors (bb63b4a)
- improves group styling when there is no label (ea358a6)
0.7.8 (2021-07-23)
- fixes group label schema validation (cbac888)
0.7.7 (2021-07-23)
- accurately documents the props for the datepicker field (dcd8052)
- only attempts to find config when payload is initialized (266ccb3)
0.7.6 (2021-07-07)
0.7.5 (2021-07-07)
- crash on bullet list de-selection (5388513)
- updates demo richtext elements with proper SCSS (0075912)
- adds plugins infrastructure (6b25531)
- enables backspace to deactivate richtext list elements (91141ad)
0.7.4 (2021-07-01)
- adds proper scss stylesheets to payload/scss (84e31ae)
0.7.3 (2021-07-01)
- changes scss imports to allow vars imports to payload projects (ea80fd6)
- export all field prop types for custom components (5bea9ae)
0.7.2 (2021-06-22)
- parses incoming numbers through query string for use in where clauses (4933b34)
- respect maxDepth 0 (95c1650)
- safely stringifies ObjectIDs while populating relationships (d6bc6f9)
- adds maxDepth to relationships and upload fields (880dabd)
0.7.1 (2021-06-21)
- babel config file error (3af2554)
0.7.0 (2021-06-21)
- handle all scenarios in select cell (dd40ab0)
0.6.10 (2021-05-23)
0.6.9 (2021-05-16)
- misc responsive improvements
- date clipping in sidebar (#165)
- misc polish to popup component
- admin _verified field not displaying proper field value
- properly typed express-fileupload config options (#180)
0.6.8 (2021-05-12)
- add mimeTypes validation for uploads (a5fcdf0)
- disables user scalable in mobile (#177) (46c1a36)
- exposes locale within preview function (2d67448)
- restrict upload mime types in file picker (1c6f32f)
0.6.7 (2021-05-07)
- add ability to hide gutter for RichText fields (e791c5b)
- allows group field gutter to be disabled (9aebeaf)
- exposes component types (99466fa)
- shrink image thumbnails on larger screens (e565fa6)
- support global date format (670ccf2)
0.6.6 (2021-04-27)
- graphql returns compatible error format (6f188b1)
- handle rich text saving as empty string (382089b)
- removes incoming.data.length check, since data is typed as a keyed array when it is an instance of APIError (2643e1a)
- support image resizing on M1 chip (8cfc039)
- update operation can save password changes (a85bf9e)
0.6.5 (2021-04-22)
0.6.4 (2021-04-21)
- allows _verificationToken to come back via showHiddenFields (74430ea)
0.6.3 (2021-04-21)
- make admin field properties in joi schema match TS types (519c021)
- properly label arrays/blocks with plural and singular (fa49811)
- safely parses incoming stringified richtext json (9c95c75)
0.6.2 (2021-04-19)
- modifies relationship field to react to changing relationTo (ddf25fb)
0.6.1 (2021-04-19)
- cleans up duplicative columns (5f2073a)
- graphql localized relationship bugs (280f809)
- moves enableRichTextRelationship to proper spot (16ca22b)
- sets enableRichTextRelationship to true by default (9970470)
0.6.0 (2021-04-19)
- By default, all Collection and Global access control functions are now set to require a user to be logged in to interact through GraphQL or REST APIs. This default access control is set to ensure that your API data is secure out of the box. From there, you can opt to publicly expose API actions as you need.
If you have any Collections or Globals that should be publicly available without being logged in, you need to define an access control function for each operation that needs to be publicly available.
For example, if you have a pages
collection with no existing access control, and it should be publicly readable, you should change its config from this:
const Page = {
slug: "pages",
access: {
// No `read` access control was set
},
};
To:
const Page = {
slug: "pages",
access: {
// Now we explicitly allow public read access
// to this collection's documents
read: () => true,
},
};
If none of your collections or globals should be publicly exposed, you don't need to do anything to upgrade.
- clears richtext element on enter, refocuses on toolbar button click (4b19795)
- ensures api keys are properly populated in admin (4359a70)
- ensures first relationship options are loaded only once (75a5b04)
- searching on relationship fields properly fetches results (b86c3da)
- upload useAsTitle set to filename by default (7db23f8)
- autolabel fields when label is omitted (#42) (b383eb6)
- dynamically populates richtext relationships (3530424)
- improve unique field value error handling (21b2bd4)
- improves margins in rich text elements (20d7a01)
0.5.10 (2021-04-14)
- feeds collectionSlug through me auth for graphql resolver (9ee2f9c)
0.5.9 (2021-04-14)
0.5.8 (2021-04-13)
- revises graphql import syntax (20f1e6c)
0.5.7 (2021-04-13)
- clears verificationToken when _verified is true (e58b152)
- custom query / mutation types (a78fc97)
- ensures email is still prefilled in auth configs (31c41c2)
- ensures failed conditions send path to form (dff72fb)
- handle add/remove labels for all usage of Array field type (ddf5df2)
- make upload cell mimetype inline (414bc01)
- pagination calculation for current range (000dee8)
- updates config schema for graphQL mutations and queries (afc9454)
- auto verifies first user registration (8f720c0)
- optimize save within Edit (91d37fb)
- prevents DraggableSections from re-mounting on doc save (0094837)
- remembers conditional field values after removing / readding (988d0a4)
- remove mimetype from upload cell type (776b9c9)
0.5.5 (2021-04-02)
- allows soft breaks in rich text (ecd277d)
0.5.4 (2021-04-02)
0.5.2 (2021-03-31)
- modal issues with richtext relationship (8ea4407)
0.5.1 (2021-03-29)
- base auth / upload fields no longer cause validation issues (23e1fc3)
0.5.0 (2021-03-29)
- changes global find and update payload api from global to slug as the key to find/update with (c71ba2b)
- allows absolute urls within adminThumbnail (51b46d4)
- handles empty indices within array field data (d47e2c5)
- moving nested arrays now properly persists row count (5f9a5c8)
- validation consistency within admin (50b9937)
- saves cursor position when relationship element is added to richText (d24b3f7)
0.4.7 (2021-03-15)
0.4.6 (2021-03-14)
- allows admin thumbnail to be set programmatically (b6a9fe4)
- exports collection field hook types from payload/types (36aae5c)
- only runs adminThumbnail func if image type (5e1ddb5)
- provides field access control with document data (339f750)
- reorders uploads to provide beforeChange hooks with upload data (3c42e6e)
0.4.5 (2021-03-04)
- config validation allow admin dashboard (2d1d1b4)
0.4.4 (2021-03-04)
- email verification template missing token (93ed664)
0.4.1 (2021-03-04)
- fixed broken links throughout docs (3afefbe)
0.4.0 (2021-02-28)
- reverts preview function to only requiring the return of a preview URL (ca14e66)
- implements new billing model, including new Personal license which is free forever (c97ddeb)
- simplifies logic in update operations (e268e25)
- removes the requirement of returning a value from field hooks (4de5605)
- properly exposes scss variables for re-use (c1b2301)
- explicitly sets modal z-index and css breakpoints (c1b2301)
- removes
overwrite
from update operation to ensure hidden fields don't get lost on document update (a8e2cc1)
0.3.0 (2021-02-23)
- properly exposes scss variables for re-use (c1b2301)
- explicitly sets modal z-index and css breakpoints (c1b2301)
- removes
overwrite
from update operation to ensure hidden fields don't get lost on document update (a8e2cc1)
0.2.13 (2021-02-20)
- Preview function now no longer takes form field state as an arg and instead takes a copy of the document itself
- supports newTab in Button, updates generatePreviewURL api to forward through PreviewButton (6b6297f)
- detaches localization from mongoose entirely (162ec74)
- infinite loop caused within block component (9e42d11)
- sets sparse true if field localized and unique (2bc5c59)
- returns entire doc to generatePreviewURL callback of PreviewButton (9b9d0f2)
- log mongoose connect error message (e36c7d2)
- removes incorrect hasMany from upload field type (e549298)
0.2.12 (2021-02-1-0)
- middleware for cors set up on static files
- windows compatible upload filename paths
0.2.11 (2021-02-05)
0.2.11 (2021-02-05)
- allows upload through Local API (1a59028)
0.2.10 (2021-02-04)
- add support for setting mongoose connection options (82c4898)
- admin ui create first user add confirm password field (https://github.com/payloadcms/payload/commit/60453fec9ee17e8f83f7e98c5e2b2e39bc6d0365)
- flag scss variables with default (8916e8a)
- relationship component hasMany bug (d540706)
- hide force unlock in admin ui when creating auth collection item (3bd0de0)
0.2.9 (2021-01-27)
- field validation type can return promise (06ddab1)
0.2.8 (2021-01-25)
- add bugs and keywords to package.json (37f5b32)
0.2.6 (2021-01-25)
0.2.5 (2021-01-25)
0.2.4 (2021-01-24)
- block field styles (36f0bd8)
0.2.3 (2021-01-24)
- ensures modal heights are 100% of viewport (7edab5d)
0.2.2 (2021-01-24)
- revert serverURL config change (f558bd2)
- adds better serverURL validation (75056e2)
- Revert "docs: configuration overview describe serverURL and removed from code examples where not needed" (bd446b6)
0.2.1 (2021-01-24)
- exposes further types (e056348)
0.2.0 (2021-01-23)
- better error handler when sendMail fails (ea47736)
- button css specificity (d8b5233)
- migrates Condition UI value/operator pattern (d23cc20)
- target es2019, optional chaining not supported for Node < 14 (52a0096)
- adds contributing guidelines (de5bf6e)
- allows admins to autoverify via admin (a6a23e3)
- auto-removes verificationToken upon manual user verify (2139eb4)
- serverURL no longer required in config (4770f24)
0.1.146 (2021-01-18)
0.1.145 (2021-01-17)
- add minLength and maxLength to textarea field validations (2c98087)
- minLength field validation error messages (5e60b86)
0.1.144 (2021-01-16)
- add default user to collections before checking for valid relationships (b2d05c7)
- handle user collection 'auth: true' (c303711)
0.1.143 (2021-01-14)
- payload schema validation allow '*' (bd92b0a)
- allows undefined collections (6bb58ce)
0.1.142 (2021-01-09)
- adds disableDuplicate to schema validation of collections config (e9ed7ee)
- add getAdminURL and getAPIURL functions (8db73bb)
- adds build to CI (87a1717)
- disable graphQL flag that will bypass gql on payload init (d78c76e)
0.1.141 (2021-01-07)
- properly exports ES6 components (f493263)
0.1.140 (2021-01-07)
- admin field error messages (423df3f)
0.1.139 (2021-01-06)
0.1.138 (2021-01-06)
- removes old css (6066f28)
0.1.137 (2021-01-05)
- removes prod devtool (6808637)
0.1.136 (2021-01-05)
0.1.135 (2021-01-05)
0.1.134 (2021-01-05)
- updates payload-config path within webpack (6bf141c)
0.1.133 (2021-01-05)
0.1.132 (2021-01-05)
- renames webpack config alias (c0636df)
0.1.131 (2021-01-05)
0.1.130 (2021-01-05)
0.1.129 (2021-01-05)
0.1.128 (2021-01-05)
- adds default thumbnail size (f582a25)
- config validation of block imageURL (c572057)
- default config value for email removed as the property was moved out of config (cf89d4c)
- demo email start on payload init (57d2c86)
- Edit view main / sidebar widths (e067fa1)
- graphQL access (4d871c2)
- graphQL logout (709cc9c)
- improves edit view layout constraints (0f7046b)
- issues with select hasMany (a0bf503)
- lowecases joi like everywhere else in payload (5823a86)
- payload config remove types for email (faec969)
- reinstate explicit labels for AllFields collection (885c73c)
- removes delete and unlock from baseField type and schema (4fa942f)
- removes old reliance on config.email (e093e06)
- allows for refresh operation to accept a deliberately specified token (7d05069)
- types this within crreate op (d43ff8b)
0.1.127 (2020-12-31)
- converts class methods to arrow functions (662839f)
0.1.126 (2020-12-30)
- adds delete and unlock to joi baseField schema (36d51de)
0.1.125 (2020-12-30)
- removes prod source maps (eeea06d)
0.1.124 (2020-12-30)
- disable requiring default props in eslint (64cf321)
- disables inline sourcemaps for admin dist (8090b2a)
- type issues that arose from reorganizing certain config props (0c03c2e)
- updates typing on DatePicker component and joi schema (5100fd3)
- webpack config override (8401400)
- allows for adding custom CSS in addition to SCSS overrides (544a4db)
0.1.123 (2020-12-28)
- allows config validation to accept esmodules as components (b8ad84c)
- prod webpack publicPath (8bda6ea)
0.1.122 (2020-12-28)
0.1.121 (2020-12-27)
0.1.20 (2020-12-27)
- improves edit scroll UX in Account and Globals (604922a)
- improves scrolling UX in Edit views (a715a42)
0.1.19 (2020-12-27)
- copyfiles, autocomplete transition (5b8c721)
- flattens build into one command (8571dc3)
0.1.18 (2020-12-27)
0.1.17 (2020-12-27)
0.1.16 (2020-12-27)
0.1.15 (2020-12-02)
0.1.14 (2020-12-02)
0.1.13 (2020-12-02)
0.1.12 (2020-12-02)
0.1.11 (2020-12-01)
0.1.10 (2020-12-01)
0.1.9 (2020-11-25)
0.1.8 (2020-11-25)
0.1.7 (2020-11-25)
0.1.6 (2020-11-25)
0.1.5 (2020-11-25)
0.1.4 (2020-11-25)
0.1.3 (2020-11-24)
0.1.2 (2020-11-24)
0.1.1 (2020-11-24)
0.1.0 (2020-11-24)
- webpack: more require.resolves needed (924eb1d)
- webpack: use require.resolve for modules (badd59a)
- add missing webpack dep path-browserify (8789dae)
- add initial types (983bf71)
0.0.141 (2020-11-20)
0.0.140 (2020-11-20)
- show email creds when explicitly set to 'mock' (dbd305a)
- use react-toastify for notifications (131dd51)
- validate admin user (83d32e4)
0.0.139 (2020-11-17)
- missed a file (f52836a)
0.0.138 (2020-11-17)
- allow e-mail to be unconfigured, remove default fromName and fromAddress (dceeeaa)
- auth json schema didn't allow auth as boolean (0694a09)
- properly concat verification and locking fields (2624ad5)