Release notes
0.28.1 - 2023-07-25
Patch Changes
- Updated dependencies: druxt@0.23.0, druxt-router@0.30.0, druxt-schema@0.11.3.
0.28.0 - 2023-07-05
Minor Changes
Patch Changes
- Updated dependencies: druxt@0.22.0, druxt-router@0.29.1, druxt-schema@0.11.2.
0.27.1 - 2023-05-15
Patch Changes
0.27.0 - 2022-11-03
Minor Changes
Patch Changes
- Updated dependencies: druxt@0.21.0, druxt-router@0.29.0, druxt-schema@0.11.1.
0.26.1 - 2022-08-24
Patch Changes
- Sanitised empty emitted strings, fixing themed text fields whose value became
truewhen emptied. (#552,cc18581)
0.26.0 - 2022-08-12
Minor Changes
- Added watch for 'settings' prop. (
2f2a7cc)
Patch Changes
- Added DruxtModule props to component module stories. (
fc811db) - Updated dependencies: druxt-router@0.28.0, druxt@0.20.0, druxt-schema@0.11.0.
0.25.1 - 2022-07-08
Patch Changes
- Fixed bug with DruxtEntity Storybook and unpublished content. (
28bed4c) - Fixed support for nuxt/storybook. (
45e14b8) - Updated dependencies: druxt@0.19.3, druxt-router@0.27.4.
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
- Updated dependencies: druxt@0.19.0, druxt-router@0.27.0, druxt-schema@0.10.4.
0.24.3 - 2022-04-14
Patch Changes
- Updated drupal-jsonapi-params to 2.0.0. (
540afca) - Updated dependencies: druxt@0.18.2, druxt-schema@0.10.3.
0.24.2 - 2022-02-23
Patch Changes
- Updated dependencies: druxt-schema@0.10.2, druxt@0.18.0, druxt-router@0.26.1.
0.24.1 - 2022-02-10
Patch Changes
0.24.0 - 2022-02-07
Minor Changes
Patch Changes
- Fixed errors in storybook. (#249,
d7e92b2) - Updated dependencies: druxt-router@0.26.0, druxt@0.17.0, druxt-schema@0.10.1.
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
- Updated dependencies: druxt-schema@0.10.0.
0.22.0 - 2021-12-30
Minor Changes
- Updated DruxtEntityForm error handling. (
7b749bd)
Patch Changes
- Updated dependencies: druxt@0.16.0, druxt-router@0.25.0, druxt-schema@0.9.3.
0.21.4 - 2021-12-11
Patch Changes
- Updated dependencies: druxt@0.15.0, druxt-router@0.24.2, druxt-schema@0.9.2.
0.21.3 - 2021-12-04
Patch Changes
- Updated dependencies: druxt@0.14.0, druxt-router@0.24.1, druxt-schema@0.9.1.
0.21.2 - 2021-11-24
Patch Changes
- Updated dependencies: druxt-router@0.24.0.
0.21.1 - 2021-11-17
Patch Changes
- Fixed Vuex mutation error. (
6ade3a2)
0.21.0 - 2021-11-10
Minor Changes
-
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
- Updated dependencies: druxt-schema@0.9.0, druxt@0.13.0, druxt-router@0.23.0.
0.20.0 - 2021-10-10
Minor Changes
- Updated DruxtEntityForm to use new DruxtClient methods. (
897dcbc)
Patch Changes
- Updated dependencies: druxt@0.12.0, druxt-router@0.22.0, druxt-schema@0.8.1.
0.19.0 - 2021-09-29
Minor Changes
- Added module-level options. (
dae345e) - Updated storybook integration. (
8d28c18) - Moved
$druxtEntityplugin settings to$druxt.settings.entity. (dae345e)
Patch Changes
- Updated dependencies: druxt-router@0.21.0, druxt-schema@0.8.0, druxt@0.11.0.
0.18.0 - 2021-09-19
Minor Changes
- Updated component registration method to use the Nuxt
components:dirshook. (715e5ef) - Updated to use DruxtDebug component. (
2b8c3f3)
Patch Changes
- Fixed path to components in Storybook. (
49454cb) - Updated dependencies: druxt-router@0.20.0, druxt@0.10.0, druxt-schema@0.7.10.
0.17.1 - 2021-09-14
Patch Changes
- Fixed dependencies. (
c4616df) - Updated dependencies: druxt-router@0.19.1, druxt-schema@0.7.9.
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
- Updated dependencies: druxt@0.9.0, druxt-router@0.19.0, druxt-schema@0.7.8.
0.16.0 - 2021-07-04
Minor Changes
-
Added support for default template injection.
- For details, see the Druxt 0.8.0 release notes
-
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" />- For more details, refer to the DruxtEntityForm API documentation
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.