Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 14.86 KB
MD5: 7729fc47b77999d0bd39cf9bd6820816
SHA-1: 37545033010bebe05f41c6ce6c296d77cb94931e
SHA-256: ed7619e389f2c221e38e13bcc1bb543a60c4426aa06234317cad1dd90a70f20b
Download zip 20.84 KB
MD5: 0d41b9cb1b336bc5aef8d860b217127f
SHA-1: 3907bf23f56bf2c86cd41103edd458b2ad38fc9a
SHA-256: d0cae029c2168ad277e2d6add9c982e017672e48968edd9c5840ed28df09ca44

Release notes

We are now in Beta

The module is officially ready for beta status! Please continue to test and report any bugs or potential feature enhancements.

New Features since 8.x-1.0-alpha3

  1. You can now add a security key in the Gatsby module configuration page and then match that key in your gatsby-config.js file. This is an additional security mechanism to prevent unauthorized JSON from being sent to your preview server. The key must match in both places for the gatsby-source-drupal plugin to ingest the JSON. Make sure you are using the most recent version of the gatsby-source-drupal plugin.
  2. You can now edit a content type to enable the Gatsby Preview button. This adds a Gatsby themed preview button to the bottom of the Node Edit page for that content type. This allows a content editor to easily open the preview version of that page.
  3. You can now replace the default Node view content for a content type with an iframe of the Gatsby preview page for this content. This creates a more intuitive content editing experience for a content editor. This can be enabled on a per content type basis by editing the content type settings. Note: There is currently a known issue with BigPipe (see README for more details).
  4. A menu link enhancer was added and can be configured with JSON:API Extras. This makes it possible to work with nested menu items in Gatsby. The goal is to eventually move this upstream to JSON:API Extras. The README has some setup instructions for this and xaviemirmon has some example Menu components that can be used in Gatsby.

Issues Resolved

  • Issue #3080202 by drupalninja99, joestewart: Integrate a Gatsby Preview button on node forms
  • Issue #3088460 by abhisekmazumdar: Checkbox default value throwing Warning: Invalid argument supplied for foreach() in Drupal\Core\Render\Element\Checkboxes::valueCallback()
  • Issue #3089744: PHP Warnings Triggered when No Entity Types are selected
  • Issue #3089512 by xaviemirmon: Drupal+Gatsby Menus
Created by: codekarate
Created on: 24 Nov 2019 at 18:34 UTC
Last updated: 17 Feb 2020 at 21:03 UTC
Bug fixes
New features

Other releases