Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@payloadcms/plugin-form-builder

Package Overview
Dependencies
Maintainers
9
Versions
334
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@payloadcms/plugin-form-builder - npm Package Versions

1
33

3.0.0-alpha.52

Diff

elliotpayload
published 3.0.0-alpha.51 •

elliotpayload
published 3.0.0-alpha.50 •

elliotpayload
published 1.2.1 •

elliotpayload
published 1.2.0 •

Changelog

Source

1.2.0 (2022-11-18)

🐛 Bug Fixes

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

✨ Features

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

🚨 BREAKING CHANGES

  • You might need to update your config. This change affects collections, globals and block 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',
            },
          }
          ```
      
      **Breaking changes recap**:
      
  • On Collections

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

    • Use graphQL.name for GraphQL Schema name.
    • Use typescript.interface for typescript generation name.
  • On Blocks (within Block fields)

    • Use graphQL.singularName for graphQL schema names.
elliotpayload
published 1.1.2 •

elliotpayload
published 1.1.1 •

Changelog

Source

1.1.1 (2022-09-13)

Bug Fixes

  • conditions on collapsible fields (9c4f2b6)
  • dashboard links to globals (dcc8dad)
elliotpayload
published 1.1.0 •

Changelog

Source

1.1.0 (2022-09-13)

Bug Fixes

Features

  • #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)
elliotpayload
published 1.0.16-beta.0 •

jacobsfletch
published 1.0.15 •

Changelog

Source

1.0.15 (2022-08-04)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc