Skip to content

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

Release notes

View source on GitHub

0.22.2 - 2023-07-25

Patch Changes

0.22.1 - 2023-07-05

Patch Changes

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

0.21.0 - 2022-11-03

Minor Changes

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

Patch Changes

0.20.0 - 2022-08-12

Minor Changes

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

Patch Changes

0.19.1 - 2022-07-08

Patch Changes

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

0.18.2 - 2022-04-14

Patch Changes

0.18.1 - 2022-02-23

Patch Changes

0.18.0 - 2022-02-07

Minor Changes

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

Patch Changes

0.17.2 - 2022-01-12

Patch Changes

0.17.1 - 2021-12-30

Patch Changes

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

0.16.2 - 2021-12-04

Patch Changes

0.16.1 - 2021-11-24

Patch Changes

0.16.0 - 2021-11-10

Minor Changes

Patch Changes

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

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

0.13.0 - 2021-09-19

Minor Changes

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

Patch Changes

0.12.1 - 2021-09-14

Patch Changes

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

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