Skip to content

Releases: wunderio/next-drupal-starterkit

3.0.0

22 Nov 08:39
0c3ec4b
Compare
Choose a tag to compare

New major release! 🎉

Major kudos to @jekku123 that has done 99% of the work for this! 🥇

  • Switch from "pages router" to "app router" in Next.js
  • Update to drupal 10.3.9
  • Update contrib modules
  • Update to latest version of next-drupal (beta2) both Drupal module and npm package
  • Switch to Auth.js for authentication
  • Changes to drupalClient to extend NextDrupalBase
  • Switch to next-intl
  • Refinements for the redis integration
  • Implementation of Draft Mode
  • Directory refactoring in the /next subfolder
  • Revamped search functionality using searchkit
  • Added dark mode

2.7.0

19 Nov 12:22
88a8ad9
Compare
Choose a tag to compare

What's Changed

  • Add swrDelta config option for CDNs by @joshua-scott in #266
  • Bump webpack from 5.93.0 to 5.94.0 in /next by @dependabot in #241
  • NEX-172: Fix preview of previous revisions of nodes by @vermario in #250
  • NEX-173: Redirect to current page after exiting preview by @jekku123 in #252
  • NEX-174: Do not return anything from the api preview route by @vermario in #256
  • NEX-175: Add the possibility of running npx commands in lando by @vermario in #258
  • NEX-170: Make example content even more clearly example content by @vermario in #259
  • NEX-171: Upgrade the graphql_compose contrib module to version 2.2.1 by @vermario in #261

New Contributors

Full Changelog: v2.6.0...v2.7.0

v2.6.0

10 Aug 05:52
32bd25e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.5.0...v2.6.0

v2.5.0

10 Jun 12:02
6370988
Compare
Choose a tag to compare

[2.5.0] 10.6.2024

  • Add DDEV support
  • Drupal 10.2.6 and Drush 1.5.2
  • Update the graphql_compose module to 2.1.0
  • Add a paragraph to display an arbitrary list of articles
  • Update npm dependencies
  • Run graphql-codegen with build/dev scripts, rather than committing the result

v2.4.0

22 May 05:14
Compare
Choose a tag to compare

[2.4.0] 22.5.2024

  • Add separate consumer for previewing, prevent anonymous access to the GraphQL endpoint
  • Add authentication to grapqhl-codegen npm operations

This release improves security by closing off the GraphQL endpoint to unauthenticated requests.
Instead, we now setup and use two separate consumer entities associated with user roles with the appropriate permissions. We will use the consumer with higher permissions only when generating previews, and the one with regular permissions for all other operations.

This impacted also the npm run graphql-codegen operation used in development, which now will automatically get an authentication token from the Drupal backend when run.

Full Changelog: v2.3.0...v2.4.0

v2.3.0

18 May 07:37
Compare
Choose a tag to compare

[2.3.0] 18.5.2024

  • Override the next.js dependency for next-drupal to be the same as in package.json
  • Prevent the Drupal backend from being indexed by search engines
  • Return permanent or temporary redirect based on the redirect status code set on the Drupal side
  • Move the generation of sitemap.xml to the frontend
  • Support rendering nodes that are not set up to be translatable
  • Use the new Translations GraphQL field to get translated versions of the node
  • TypeScript: Enable noErrorTruncation in TS config

v2.2.0

25 Apr 12:51
Compare
Choose a tag to compare

[2.2.0] 25.4.2024

  • Update Drupal to 10.2.5 and contrib modules to their latest versions
  • Update Next.js to 14.2.2
  • Use the new Translations GraphQL field to get translated versions of the node
  • Enable noErrorTruncation in TypeScript
  • Replace kibana with Elasticvue in Lando
  • If a catch-all route loads a frontpage node, redirect to / in the correct locale
  • Add mechanism to inhibit revalidation (used during migration of default content)
  • Add retry functionality for failed requests to the backend
  • Switch to standalone Next.js build in CI

v2.1.0

08 Mar 06:27
Compare
Choose a tag to compare

[2.1.0] 08.3.2024

  • Update Drupal core to 10.2.4 and contrib modules to latest versions
  • Added patch for paragraphs module to fix ui bug when translating paragraphs
  • Update to node 20, cypress 13 and other dependencies
  • Update to lando > 3.21
  • Bump jose from 4.15.4 to 4.15.5
  • Fix issue with generated paths for static pages having the language path twice

v2.0.1

10 Feb 08:19
9609af0
Compare
Choose a tag to compare

[2.0.1] 10.2.2024

Changed

  • Updated Drupal core to 10.1.8 and contrib modules to latest versions
  • Updated the graphql_compose module to 2.1 beta1
  • Switched the graphql schema to use Drupal entity ids instead of UUIDs, to fix rendering of nodes at specific revisions.

v2.0.0

09 Feb 12:32
831fb53
Compare
Choose a tag to compare

[2.0.0]

This release is a major update. Instead of using JSONAPI, the starterkit now uses GraphQL to fetch data from Drupal.
All features are kept but have been re-implemented to use the new way of handling data coming from the backend.

Added

  • GraphQL Drupal modules and related configuration
  • graphql-request for fetching data from Drupal
  • graphql-codegen for generating types from GraphQL schema, queries and fragments

Removed

  • JSONAPI modules and related configuration
  • Manual definitions in zod for JSONAPI responses

Changed

  • Reorganization of the components directory structure
  • Updated Readme with new instructions regarding GraphQL setup