Skip to content

Latest commit

 

History

History
798 lines (369 loc) · 34.7 KB

CHANGELOG.md

File metadata and controls

798 lines (369 loc) · 34.7 KB

0.6.5 (2021-04-22)

Features

0.6.4 (2021-04-21)

Bug Fixes

  • allows _verificationToken to come back via showHiddenFields (74430ea)

0.6.3 (2021-04-21)

Bug Fixes

  • 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)

Features

  • modifies relationship field to react to changing relationTo (ddf25fb)

0.6.1 (2021-04-19)

Bug Fixes

  • cleans up duplicative columns (5f2073a)
  • graphql localized relationship bugs (280f809)
  • moves enableRichTextRelationship to proper spot (16ca22b)

Features

  • sets enableRichTextRelationship to true by default (9970470)

0.6.0 (2021-04-19)

BREAKING CHANGES

  • 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.

Migration Instructions to 0.6.x:

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.

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • feeds collectionSlug through me auth for graphql resolver (9ee2f9c)

0.5.9 (2021-04-14)

0.5.8 (2021-04-13)

Bug Fixes

  • revises graphql import syntax (20f1e6c)

0.5.7 (2021-04-13)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • allows soft breaks in rich text (ecd277d)

0.5.4 (2021-04-02)

Bug Fixes

  • ensures arrays and blocks reset row count on initialState change (9a7c0e3)
  • unique indices (23c45f1)

0.5.2 (2021-03-31)

Bug Fixes

  • modal issues with richtext relationship (8ea4407)

0.5.1 (2021-03-29)

Bug Fixes

  • base auth / upload fields no longer cause validation issues (23e1fc3)

0.5.0 (2021-03-29)

BREAKING CHANGES

  • changes global find and update payload api from global to slug as the key to find/update with (c71ba2b)

Bug Fixes

  • 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)

Features

  • saves cursor position when relationship element is added to richText (d24b3f7)

0.4.7 (2021-03-15)

0.4.6 (2021-03-14)

Features

  • 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)

Bug Fixes

  • config validation allow admin dashboard (2d1d1b4)

0.4.4 (2021-03-04)

Bug Fixes

  • email verification template missing token (93ed664)

0.4.1 (2021-03-04)

Documentation

  • fixed broken links throughout docs (3afefbe)

0.4.0 (2021-02-28)

Breaking Changes

  • reverts preview function to only requiring the return of a preview URL (ca14e66)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Breaking Changes

  • Preview function now no longer takes form field state as an arg and instead takes a copy of the document itself

Features

  • supports newTab in Button, updates generatePreviewURL api to forward through PreviewButton (6b6297f)
  • detaches localization from mongoose entirely (162ec74)

Bug Fixes

  • 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)

Documentation

  • removes incorrect hasMany from upload field type (e549298)

0.2.12 (2021-02-1-0)

Bug Fixes

  • middleware for cors set up on static files
  • windows compatible upload filename paths

0.2.11 (2021-02-05)

Bug Fixes

  • middleware for cors set up on static files (55e0de1)
  • file size in local operations (0feb7b7)

0.2.11 (2021-02-05)

Features

  • allows upload through Local API (1a59028)

Bug Fixes

  • fix localization within blocks (e50fc1f)
  • forces fallbackLocale to null in update ops (3005360)

0.2.10 (2021-02-04)

Features

Bug Fixes

  • 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)

Bug Fixes

  • field validation type can return promise (06ddab1)

0.2.8 (2021-01-25)

Chore

  • add bugs and keywords to package.json (37f5b32)

0.2.6 (2021-01-25)

0.2.5 (2021-01-25)

Bug Fixes

  • field gutter padding (90d2078)
  • richtext sticky toolbar within block (8218343)

0.2.4 (2021-01-24)

Bug Fixes

0.2.3 (2021-01-24)

Bug Fixes

  • ensures modal heights are 100% of viewport (7edab5d)

0.2.2 (2021-01-24)

Bug Fixes

  • revert serverURL config change (f558bd2)

Features

  • adds better serverURL validation (75056e2)

Reverts

  • Revert "docs: configuration overview describe serverURL and removed from code examples where not needed" (bd446b6)

0.2.1 (2021-01-24)

Features

0.2.0 (2021-01-23)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

0.1.145 (2021-01-17)

Bug Fixes

  • add minLength and maxLength to textarea field validations (2c98087)
  • minLength field validation error messages (5e60b86)

0.1.144 (2021-01-16)

Bug Fixes

  • add default user to collections before checking for valid relationships (b2d05c7)
  • handle user collection 'auth: true' (c303711)

0.1.143 (2021-01-14)

Bug Fixes

  • payload schema validation allow '*' (bd92b0a)

Features

  • allows undefined collections (6bb58ce)

0.1.142 (2021-01-09)

Bug Fixes

  • adds disableDuplicate to schema validation of collections config (e9ed7ee)

Features

  • 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)

Bug Fixes

  • properly exports ES6 components (f493263)

0.1.140 (2021-01-07)

Bug Fixes

  • admin field error messages (423df3f)

0.1.139 (2021-01-06)

Bug Fixes

  • improves typing in delete op (644519c)
  • use FileSize and ImageSize types (4d6871a)

0.1.138 (2021-01-06)

Bug Fixes

0.1.137 (2021-01-05)

Bug Fixes

0.1.136 (2021-01-05)

0.1.135 (2021-01-05)

0.1.134 (2021-01-05)

Bug Fixes

  • updates payload-config path within webpack (6bf141c)

0.1.133 (2021-01-05)

0.1.132 (2021-01-05)

Bug Fixes

  • 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)

Bug Fixes

  • 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)

Features

  • allows for refresh operation to accept a deliberately specified token (7d05069)
  • types this within crreate op (d43ff8b)

0.1.127 (2020-12-31)

Bug Fixes

  • converts class methods to arrow functions (662839f)

0.1.126 (2020-12-30)

Bug Fixes

  • adds delete and unlock to joi baseField schema (36d51de)

0.1.125 (2020-12-30)

Bug Fixes

  • removes prod source maps (eeea06d)

0.1.124 (2020-12-30)

Bug Fixes

  • 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)

Features

  • allows for adding custom CSS in addition to SCSS overrides (544a4db)

0.1.123 (2020-12-28)

Bug Fixes

  • allows config validation to accept esmodules as components (b8ad84c)
  • prod webpack publicPath (8bda6ea)

0.1.122 (2020-12-28)

Bug Fixes

  • improves field schema validation (db13512)
  • safely accesses field permissions (1fff737)

Features

  • sends config through babel/register (fec718e)
  • splits tsconfig between admin and server (efe0b40)

0.1.121 (2020-12-27)

0.1.20 (2020-12-27)

Bug Fixes

  • production webpack css (6e83edc)
  • removes unnecessary meta defaults in admin config (0117f18)

Features

  • improves edit scroll UX in Account and Globals (604922a)
  • improves scrolling UX in Edit views (a715a42)

0.1.19 (2020-12-27)

Bug Fixes

  • copyfiles, autocomplete transition (5b8c721)

Features

  • flattens build into one command (8571dc3)

0.1.18 (2020-12-27)

0.1.17 (2020-12-27)

0.1.16 (2020-12-27)

Bug Fixes

  • handle access result gracefully (1cd578e)
  • undo property fix, field exists - bad typing (66946c8)

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)

Bug Fixes

  • webpack: more require.resolves needed (924eb1d)
  • webpack: use require.resolve for modules (badd59a)
  • add missing webpack dep path-browserify (8789dae)

Features

0.0.141 (2020-11-20)

0.0.140 (2020-11-20)

Features

  • 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)

Bug Fixes

0.0.138 (2020-11-17)

Bug Fixes

  • 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)

Features

  • add blind index for encrypting API Keys (9a1c1f6)
  • add license key to access routej (2565005)

0.0.137 (2020-11-12)