Skip to content

Drupal Views components for Druxt with support for filters, pagination and sorting.

Release notes

View source on GitHub

0.23.0 - 2026-10-23

Minor Changes

  • vue and vuex are now peer dependencies, so the packages use the site's own copy. A second copy stopped Nuxt at startup with a version mismatch. (#875, 46e77f7)

Patch Changes

  • Uses axios 0.34.0, the current 0.x release. (#923, 6998f56)
  • Components no longer flicker or fetch their data again on the first load of a production build. Remove any components:extend hook added to work around it. (#854, 8b47d6f)
  • View results fetched across a flush are no longer stored. (#885, 75b3768)
  • Each package exports its package.json, so require('druxt/package.json') works. (#835, 14dca08)
  • Modules require the current druxt and druxt-router, where some still required versions from 2023, so a site no longer installs an older copy of either beside its own. (#698, a1d6708)
  • Themes built on the menu, breadcrumb and views mixins no longer render module data as HTML attributes, such as value="[object Object]" or langcode="en". A theme that read value or langcode from $attrs reads it from the prop. (#945, 15ed58f)
  • Package READMEs show their banner on npm. (#863, d963bcb)
  • A bypassCache view query goes past druxt 0.25.0's server cache as well as the store, so a refreshed view comes from Drupal. (#639, 80a84d9)
  • View attachments use their intended ref name. Only code reading this.$refs on a DruxtView is affected. (#758, 7d560a6)
  • Updated dependencies: druxt-blocks@0.18.0, druxt@0.25.0, druxt-entity@0.29.0, druxt-router@0.32.0.

0.22.2 - 2023-07-25

Patch Changes

  • Updated dependencies: druxt@0.23.0, druxt-blocks@0.17.3, druxt-entity@0.28.1, druxt-router@0.30.0.

0.22.1 - 2023-07-05

Patch Changes

  • Fixed issue with axios dependency. (400e4f8)
  • Updated dependencies: druxt-blocks@0.17.2.

0.22.0 - 2023-07-05

Minor Changes

  • Added druxt/views/flushResults mutation. (#639, 41cab3a)
  • Added bypassCache option to druxt/views/getResults action. (#639, 41cab3a)
  • Added bypassCache druxt setting to DruxtView component. (#639, 41cab3a)

Patch Changes

  • Updated dependencies: druxt@0.22.0, druxt-entity@0.28.0, druxt-blocks@0.17.1, druxt-router@0.29.1.

0.21.0 - 2022-11-03

Minor Changes

  • Updated components to support the DruxtDevelTemplate tool. (#578, f6b4a66)

Patch Changes

  • Updated dependencies: druxt-entity@0.27.0, druxt@0.21.0, druxt-router@0.29.0, druxt-blocks@0.17.0.

0.20.0 - 2022-08-12

Minor Changes

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

Patch Changes

  • Added DruxtModule props to component module stories. (fc811db)
  • Updated dependencies: druxt-router@0.28.0, druxt-blocks@0.16.3, druxt-entity@0.26.0, druxt@0.20.0.

0.19.1 - 2022-07-08

Patch Changes

  • Fixed undefined errors in DruxtView watch methods. (ffd9d54)
  • Fixed support for nuxt/storybook. (45e14b8)
  • Updated dependencies: druxt@0.19.3, druxt-entity@0.25.1, druxt-blocks@0.16.2, druxt-router@0.27.4.

0.19.0 - 2022-05-23

Minor Changes

  • Added langcode and prefix support to DruxtView component and Vuex store. (be21952)

    ⚠ Potential breaking change

    - $store.state['druxt/views'].results.frontpage.page_1
    + $store.state['druxt/views'].results.frontpage.page_1[undefined]
    + $store.state['druxt/views'].results.frontpage.page_1.en
    + $store.state['druxt/views'].results.frontpage.page_1.es
    
  • Added langcode to component mixins. (be21952)

  • Added multilingual support to Views block components. (be21952)

Patch Changes

  • Updated dependencies: druxt@0.19.0, druxt-router@0.27.0, druxt-blocks@0.16.0, druxt-entity@0.25.0.

0.18.2 - 2022-04-14

Patch Changes

  • Fixed available component options. (c6d7c83)
  • Updated drupal-jsonapi-params to 2.0.0. (540afca)
  • Updated dependencies: druxt-blocks@0.15.2, druxt@0.18.2, druxt-entity@0.24.3.

0.18.1 - 2022-02-23

Patch Changes

  • Added support for the @nuxtjs/axios module. (#63, e3d5238)
  • Updated dependencies: druxt@0.18.0, druxt-blocks@0.15.1, druxt-entity@0.24.2, druxt-router@0.26.1.

0.18.0 - 2022-02-07

Minor Changes

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

Patch Changes

  • Fixed errors in storybook. (#249, d7e92b2)
  • Updated dependencies: druxt-router@0.26.0, druxt-blocks@0.15.0, druxt@0.17.0, druxt-entity@0.24.0.

0.17.2 - 2022-01-12

Patch Changes

  • Updated dependencies: druxt-entity@0.23.0, druxt-blocks@0.14.5.

0.17.1 - 2021-12-30

Patch Changes

  • Updated dependencies: druxt@0.16.0, druxt-entity@0.22.0, druxt-router@0.25.0, druxt-blocks@0.14.4.

0.17.0 - 2021-12-11

Minor Changes

  • Fixed DruxtViewsFilter render method. (7709ece)

    ⚠ Potential breaking change

    Note: This may change the markup of a Druxt View filter component.

Patch Changes

  • Updated dependencies: druxt@0.15.0, druxt-blocks@0.14.3, druxt-entity@0.21.4, druxt-router@0.24.2.

0.16.2 - 2021-12-04

Patch Changes

  • Updated dependencies: druxt@0.14.0, druxt-blocks@0.14.2, druxt-entity@0.21.3, druxt-router@0.24.1.

0.16.1 - 2021-11-24

Patch Changes

  • Updated dependencies: druxt-router@0.24.0, druxt-blocks@0.14.1, druxt-entity@0.21.2.

0.16.0 - 2021-11-10

Minor Changes

Patch Changes

  • Fixed issue with undefined wrapper in DruxtViewsFilter. (d80f5d4)
  • Updated dependencies: druxt-entity@0.21.0, druxt-blocks@0.14.0, druxt@0.13.0, druxt-router@0.23.0.

0.15.0 - 2021-10-10

Minor Changes

  • Added support for Contextual filters (arguments). (c769243)

    <DruxtView :arguments="[1, 2, 3]" displayid="block_1" view-id="articles_aside" />
    

Patch Changes

  • Updated dependencies: druxt@0.12.0, druxt-router@0.22.0, druxt-entity@0.20.0, druxt-blocks@0.13.1.

0.14.1 - 2021-09-29

Patch Changes

  • Fixed missing templates in package. (b9e5839)

0.14.0 - 2021-09-29

Minor Changes

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

Patch Changes

  • Fixed errors when no props provided to component. (4da7fd3)
  • Updated dependencies: druxt-router@0.21.0, druxt-blocks@0.13.0, druxt-entity@0.19.0, druxt@0.11.0.

0.13.0 - 2021-09-19

Minor Changes

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

Patch Changes

  • Fixed path to components in Storybook. (49454cb)
  • Updated dependencies: druxt-router@0.20.0, druxt-blocks@0.12.0, druxt@0.10.0, druxt-entity@0.18.0.

0.12.1 - 2021-09-14

Patch Changes

  • Fixed dependencies. (c4616df)
  • Updated dependencies: druxt-blocks@0.11.1, druxt-entity@0.17.1, druxt-router@0.19.1.

0.12.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 { DruxtView } from 'druxt-views'
    +import DruxtView from 'druxt-views/dist/components/DruxtView.vue'
    

Patch Changes

  • Updated dependencies: druxt-blocks@0.11.0, druxt@0.9.0, druxt-entity@0.17.0, druxt-router@0.19.0.

0.11.0 - 2021-06-24

Minor Changes

  • Added support for default template injection.

  • Added ability to load by UUID or View ID.

0.10.0 - 2021-06-17

Minor Changes

  • Added empty content to results slot if no results.

0.9.3 - 2021-06-14

Patch Changes

  • Fixed issue with model filter forcing a refresh.

0.9.2 - 2021-06-12

Patch Changes

  • Added fetchKey to fix hydration issues.

0.9.1 - 2021-04-26

Patch Changes

  • Fixed issue with default view mode value.

0.9.0 - 2021-03-22

Minor Changes

  • Added ability to filter JSON:API fields.
  • Refactored components to use DruxtModule.
  • Fixed issues with Storybook integration.

0.8.3 - 2021-03-09

Patch Changes

  • Fixed missing attachment Views.

0.8.2 - 2021-03-08

Patch Changes

  • Fixed issues with Storybook integration.

0.8.1 - 2021-03-08

Patch Changes

  • Fixed issues with Storybook integration.
  • Fixed missing attachments Views.

0.8.0 - 2021-03-06

Minor Changes

  • Added Storybook integration.
  • Fixed broken View results.

0.7.2 - 2021-03-01

Patch Changes

  • Fixed broken View results.

0.7.1 - 2021-02-27

Patch Changes

  • Fixed deprecation notice.

0.7.0 - 2021-02-22

Minor Changes

  • Refactored module to use DruxtClient/DruxtStore.
  • Added pagination.
  • Added exposed sorts.
  • Added exposed filters.
  • Added Views Vuex store.

0.6.2 - 2021-01-29

Patch Changes

  • Fixed issue with View display data.

0.6.1 - 2021-01-08

Patch Changes

  • Updated dependencies.

0.6.0 - 2020-12-04

Minor Changes

  • Added DruxtRouter View component.
  • Updated dependencies.

0.5.1 - 2020-11-14

Patch Changes

  • Updated dependencies.

0.5.0 - 2020-10-19

Minor Changes

  • Added support for DruxtComponentMixin.
  • Updated dependencies.

0.4.2 - 2020-10-09

Patch Changes

  • Updated attachment_before/after slots.
  • Updated dependencies.

0.4.1 - 2020-09-28

Patch Changes

  • Added attachment_before/after slots.

0.4.0 - 2020-09-01

Minor Changes

0.3.0 - 2020-07-07

Minor Changes

0.2.1 - 2020-06-16

Patch Changes

0.2.0 - 2020-06-13

Minor Changes

0.1.0 - 2020-06-05

Initial release