Skip to content

Drupal Display Mode-powered Entity, Form and Field Druxt components.

Release notes

View source on GitHub

0.28.1 - 2023-07-25

Patch Changes

0.28.0 - 2023-07-05

Minor Changes

  • Added bypassCache druxt setting to DruxtEntity components. (#639, 41cab3a)

Patch Changes

0.27.1 - 2023-05-15

Patch Changes

  • Added passthrough attrs to DruxtField. (#632, 39af33a)

0.27.0 - 2022-11-03

Minor Changes

  • Updated missing schema/vue component message with DruxtDevelTemplate tool. (#578, f6b4a66)

Patch Changes

0.26.1 - 2022-08-24

Patch Changes

  • Sanitised empty emitted strings, fixing themed text fields whose value became true when emptied. (#552, cc18581)

0.26.0 - 2022-08-12

Minor Changes

  • Added watch for 'settings' prop. (2f2a7cc)

Patch Changes

0.25.1 - 2022-07-08

Patch Changes

0.25.0 - 2022-05-23

Minor Changes

  • Added langcode prop to DruxtEntity and DruxtField components for multilingual support. (be21952)

    example:

    <DruxtEntity
      type="node--recipe"
      uuid="16268720-a0fa-4243-8bdc-491d8857eb26"
      langcode="es"
    />
    
  • Added langcode to component mixins. (be21952)

Patch Changes

0.24.3 - 2022-04-14

Patch Changes

0.24.2 - 2022-02-23

Patch Changes

0.24.1 - 2022-02-10

Patch Changes

  • Fixed DruxtEntity and DruxtEntityForm stories. (#438, d65eb40)

0.24.0 - 2022-02-07

Minor Changes

  • Improved DruxtEntity and DruxtEntityForm storybook stories and documentation. (#249, b79701c)

Patch Changes

0.23.0 - 2022-01-12

Minor Changes

  • Updated DruxtRouterEntity to use Full view mode. (87ec487)

    ⚠ Potential breaking change

    Note: This may effect the rendered template if the Full view mode is configured in Drupal.

    -components/DruxtEntityNodePageDefault.vue
    +components/DruxtEntityNodePageFull.vue
    -components/druxt/entity/node/page/Default.vue
    +components/druxt/entity/node/page/Full.vue
    
  • Added DruxtEntity[EntityType][viewmode][SchemaType] component options. (60ee4e8)

Patch Changes

0.22.0 - 2021-12-30

Minor Changes

  • Updated DruxtEntityForm error handling. (7b749bd)

Patch Changes

0.21.4 - 2021-12-11

Patch Changes

0.21.3 - 2021-12-04

Patch Changes

0.21.2 - 2021-11-24

Patch Changes

0.21.1 - 2021-11-17

Patch Changes

  • Fixed Vuex mutation error. (6ade3a2)

0.21.0 - 2021-11-10

Minor Changes

  • Added API Proxy support. (#362, 77ab204)

  • Added include option and the ability to filter related resources. (025315a)

    export default {
      druxt: {
        query: {
          include: ["field_media_image", "field_media_image.field_media_image"],
          fields: [
            ["file--file", ["uri"]],
            ["media--image", []],
          ],
        },
      },
    };
    
  • Added settings property to the DruxtEntity and DruxtEntityForm components. (025315a)

    <template>
      <DruxtEntity
        :settings="{ query: { include: ['uid'] } }"
        type="node--page"
        :uuid="uuid"
      />
    </template>
    
  • Refactored DruxtModule fetch hooks. (e7b1533)

Patch Changes

0.20.0 - 2021-10-10

Minor Changes

  • Updated DruxtEntityForm to use new DruxtClient methods. (897dcbc)

Patch Changes

0.19.0 - 2021-09-29

Minor Changes

  • Added module-level options. (dae345e)
  • Updated storybook integration. (8d28c18)
  • Moved $druxtEntity plugin settings to $druxt.settings.entity. (dae345e)

Patch Changes

0.18.0 - 2021-09-19

Minor Changes

  • Updated component registration method to use the Nuxt components:dirs hook. (715e5ef)
  • Updated to use DruxtDebug component. (2b8c3f3)

Patch Changes

0.17.1 - 2021-09-14

Patch Changes

0.17.0 - 2021-09-13

Minor Changes

  • Moved Vue components out of bundle. (21170fb)

    ⚠ Potential breaking change

    Note: This only effects custom Druxt modules and implementations.

    -import { DruxtEntity } from 'druxt-entity'
    +import DruxtEntity from 'druxt-entity/dist/components/DruxtEntity.vue'
    

Patch Changes

0.16.0 - 2021-07-04

Minor Changes

  • Added support for default template injection.

  • Added support for schema-less entities.

  • Added improved defaults to the DruxtField component.

  • Deprecated DruxtField default field components.

    The components can be tree shaken with the following setting in nuxt.config.js:

    module.exports = {
      druxt: {
        entity: {
          components: {
            fields: false,
          },
        },
      },
    };
    

0.15.0 - 2021-06-18

Minor Changes

  • Fixed issue with EntityReferenceLabel component.
  • Added watch to update DruxtEntity data on props change.
  • Updated components v-model support.
  • Updated Storybook integration.
  • Updated dependencies.

0.14.2 - 2021-06-13

Patch Changes

  • Updated fetchKey.

0.14.1 - 2021-06-12

Patch Changes

  • Added custom fetchKey to fix hydration issues.

0.14.0 - 2021-05-06

Minor Changes

  • Added v-model support for DruxtEntity/DruxtEntityForm components.

    <template>
      <DruxtEntity v-model="entity" />
      <DruxtEntityForm v-model="entity" />
    </template>
    

0.13.0 - 2021-04-22

Minor Changes

  • Added DruxtEntityForm component.

    <DruxtEntityForm type="node--page" @submit="onSubmit" @error="onError" />
    

0.12.0 - 2021-03-15

Minor Changes

  • Added ability to filter JSON:API fields.
  • Updated Storybook integration.

0.11.2 - 2021-03-06

Patch Changes

  • Fixed issue with Storybook integration.
  • Updated Storybook integration.

0.11.1 - 2021-03-04

Patch Changes

  • Fixed issue with Storybook integration.

0.11.0 - 2021-03-02

Minor Changes

  • Added DruxtEntity Storybook integration.
  • Updated dependencies.

0.10.1 - 2021-02-28

Patch Changes

  • Added TextSummaryOrTrimmed field.
  • Added TextTrimmed field.
  • Updated dependencies.

0.10.0 - 2021-02-10

Minor Changes

  • Refactored module to use DruxtClient/DruxtStore.

0.9.0 - 2021-01-12

Minor Changes

  • Added support for Entity reference view mode.
  • Added ability to passthrough $attrs.

0.8.1 - 2021-01-07

Patch Changes

  • Updated dependencies.

0.8.0 - 2020-12-04

Minor Changes

  • Added DruxtRouter Entity component.
  • Updated dependencies.

0.7.2 - 2020-11-14

Patch Changes

  • Updated dependencies.

0.7.1 - 2020-10-24

Patch Changes

  • Updated DruxtEntity for DruxtComponentMixin.
  • Updated Field component mixins.
  • Updated dependencies.

0.7.0 - 2020-10-23

Minor Changes

  • Updated DruxtEntity for DruxtComponentMixin.

0.6.3 - 2020-10-14

Patch Changes

  • Fixed issue with images and HMR.

0.6.2 - 2020-10-09

Patch Changes

  • Fixed issue with internal: links.
  • Updated dependencies.

0.6.1 - 2020-08-29

Patch Changes

  • Updated dependencies.

0.6.0 - 2020-08-27

Minor Changes

  • Refactored to use Nuxt fetch hook.

0.5.2 - 2020-08-06

Patch Changes

  • Updated documentation.

0.5.1 - 2020-07-02

Patch Changes

  • Added support for UUIDs in component suggestions.

0.5.0 - 2020-06-29

Minor Changes

  • Added isEmpty method.
  • Added FileDefault and Image fields.
  • Added mode to EntityReferenceEntityView field.
  • Added component suggestion system.
  • Added context mixin.

0.4.0 - 2020-06-22

Minor Changes

  • Updated Field and label system.
  • Updated Entity suggestions.

0.3.1 - 2020-06-14

Patch Changes

  • Added named slots for fields.

0.3.0 - 2020-06-13

Minor Changes

  • Added view mode suggestions.
  • Added field id suggestions.

0.2.2 - 2020-05-31

Patch Changes

  • Fixed issues with EntityReferenceLabel field.
  • Updated NumberInteger field.

0.2.1 - 2020-05-30

Patch Changes

  • Added BasicString field.
  • Added Timestamp field.
  • Fixed issue with ReferenceLabel field.
  • Fixed empty field filter.

0.2.0 - 2020-05-29

Minor Changes

  • Added better multivalue field support.
  • Added ResponsiveImage field.
  • Added EntityReferenceEntityView field.
  • Added NumberInteger field.
  • Added EntityReferenceRevisionsEntityView field.
  • Added ListDefault field.
  • Added Link field.
  • Added DatetimeDefault field.
  • Updated dependencies.

0.1.0 - 2020-05-21

Initial release