API Documentation
Release notes
druxt-entity
0.28.0
Minor Changes
- 41cab3a0: feat(#639): add bypassCache druxt setting to DruxtEntity components.
Patch Changes
- Updated dependencies [41cab3a0]
0.27.1
Patch Changes
- 39af33a4: fix(#632): add passthrough attrs to DruxtField
0.27.0
Minor Changes
- f6b4a664: feat(#578): updated missing schema/vue component message with DruxtDevelTemplate tool.
Patch Changes
- Updated dependencies [e46a3290]
0.26.1
Patch Changes
- cc185819: fix(#552): sanitised empty emitted strings to prevent
true
error on themed text fields.
0.26.0
Minor Changes
- 2f2a7cce: Added watch for 'settings' prop.
Patch Changes
- fc811db3: Add DruxtModule props to component module stories.
- Updated dependencies [49b67872]
0.25.1
Patch Changes
- 28bed4ca: Fixed bug with DruxtEntity Storybook and unpublished content.
- 45e14b84: Fixed support for nuxt/storybook.
- Updated dependencies [352b7a51]
0.25.0
Minor Changes
-
be21952: Added langcode prop to DruxtEntity and DruxtField components for multilingual support.
example:
<DruxtEntity type="node--recipe" uuid="16268720-a0fa-4243-8bdc-491d8857eb26" langcode="es" />
-
be21952: Added langcode to component mixins.
Patch Changes
- Updated dependencies [be21952]
0.24.3
Patch Changes
- 540afca: Updated drupal-jsonapi-params to 2.0.0
- Updated dependencies [540afca]
0.24.2
Patch Changes
- Updated dependencies [e3d5238]
0.24.1
Patch Changes
- d65eb40: fix(#438): fixed DruxtEntity and DruxtEntityForm stories.
0.24.0
Minor Changes
- b79701c: feat(#249): Improved DruxtEntity and DruxtEntityForm storybook stories and documentation.
Patch Changes
- d7e92b2: feat(#249): Fixed errors in storybook.
- Updated dependencies [b79701c]
0.23.0
Minor Changes
-
87ec487: Updated DruxtRouterEntity to use Full view mode.
⚠ 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
-
60ee4e8: Added DruxtEntity[EntityType][viewmode][SchemaType] component options.
Patch Changes
- Updated dependencies [87ec487]
0.22.0
Minor Changes
- 7b749bd: Updated DruxtEntityForm error handling.
Patch Changes
- Updated dependencies [7b749bd]
0.21.4
Patch Changes
- Updated dependencies [2ae1d6d]
0.21.3
Patch Changes
- Updated dependencies [45bc0b9]
0.21.2
Patch Changes
- Updated dependencies [9161b38]
0.21.1
Patch Changes
- 6ade3a2: Fixed Vuex mutation error
0.21.0
Minor Changes
-
025315a: Added include option and the ability to filter related resources.
export default { druxt: { query: { include: ["field_media_image", "field_media_image.field_media_image"], fields: [ ["file--file", ["uri"]], ["media--image", []], ], }, }, };
-
025315a: Added settings property to the DruxtEntity and DruxtEntityForm components.
<template> <DruxtEntity :settings="{ query: { include: ['uid'] } }" type="node--page" :uuid="uuid" /> </template>
-
e7b1533: Refactored DruxtModule fetch hooks
Patch Changes
- Updated dependencies [77ab204]
0.20.0
Minor Changes
- 897dcbc: Updated DruxtEntityForm to use new DruxtClient methods
Patch Changes
- Updated dependencies [4504a2f]
0.19.0
Minor Changes
- dae345e: Added module level options
- 8d28c18: Updated storybook integration
- dae345e: Moved
$druxtEntity
plugin settings to$druxt.settings.entity
Patch Changes
- Updated dependencies [9d905e8]
0.18.0
Minor Changes
- 715e5ef: Updated component registration method to use the Nuxt
components:dirs
hook - 2b8c3f3: Updated to use DruxtDebug component
Patch Changes
- 49454cb: Fixed path to components in Storybook
- Updated dependencies [1ab762c]
0.17.1
Patch Changes
- c4616df: Fixed dependencies
- Updated dependencies [c4616df]
0.17.0
Minor Changes
-
21170fb: Moved Vue components out of bundle
⚠ 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 [21170fb]
0.16.0
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
Minor Changes
- Fixed issue with EntityReferenceLabel component
- Added watch to update DeruxtEntity data on props change
- Updated components v-model support
- Updated Storybook integration
- Updated dependencies
0.14.2
Patch Changes
- Updated fetchKey
0.14.1
Patch Changes
- Added custom fetchKey to fix hydration issues
0.14.0
Minor Changes
-
Added v-model support for DruxtEntity/DruxtEntityForm components
<template> <DruxtEntity v-model="entity" /> <DruxtEntityForm v-model="entity" /> </template>
0.13.0
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
Minor Changes
- Added ability to filter JSON:API fields
- Updated Storybook integration
0.11.2
Patch Changes
- Fixed issue with Storybook intergration
- Updated Storybook integration
0.11.1
Patch Changes
- Fixed issue with Storybook intergration
0.11.0
Minor Changes
- Added DruxtEntity Storybook integration
- Updated dependencies
0.10.1
Patch Changes
- Added TextSummaryOrTrimmed field
- Added TextTrimmed field
- Updated dependencies
0.10.0
Minor Changes
- Refactored module to use DruxtClient/DruxtStore
0.9.0
Minor Changes
- Added support for Entity reference view mode
- Add ability to passthrough $attrs
0.8.1
Patch Changes
- Updated dependencies
0.8.0
Minor Changes
- Added DruxtRouter Entity component
- Updated dependencies
0.7.2
Patch Changes
- Updated dependencies
0.7.1
Patch Changes
- Updated DruxtEntity for DruxtComponentMixin
- Updatd Field component mixins
- Updated dependencies
0.7.0
Minor Changes
- Updated DruxtEntity for DruxtComponentMixin
0.6.3
Patch Changes
- Fixed issue with images and HMR
0.6.2
Patch Changes
- Fixed issue with
internal:
links - Updated dependencies
0.6.1
Patch Changes
- Updated dependencies
0.6.0
Minor Changes
- Refactored to use Nuxt fetch hook
0.5.2
Patch Changes
- Updated documentation
0.5.1
Patch Changes
- Added support for UUIDs in component suggestions
0.5.0
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
Minor Changes
- Update Field and label system
- Updated Entity suggestions
0.3.1
Patch Changes
- Added named slots for fields
0.3.0
Minor Changes
- Added view mode suggestions
- Added field id suggestions
0.2.2
Patch Changes
- Fixed issues with EntityReferenceLabel field
- Updated NuberInteger field
0.2.1
Patch Changes
- Added BasicString field
- Added Timestamp field
- Fixed issue with ReferenceLabel field
- Fixed empty field filter
0.2.0
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