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)