nextjs-wordpress-starter icon indicating copy to clipboard operation
nextjs-wordpress-starter copied to clipboard

Fix/676 gf file upload issue

Open ravewebdev opened this issue 2 years ago • 5 comments

Closes #676

Description

  • Addresses bug in wds-headless-blocks causing block rendering to break. Splits hex color handling into separate filters for attrs and edit override.
  • Bumps requirement for WP GraphQL Gravity Forms to ^0.6. Note: 0.7.0 introduces breaking changes, which we will need to integrate separately at a later date due to the complexity involved.
  • Re-applies changes from #606 that were lost in the switch to canary.

Screenshot

Screen Shot 2021-09-21 at 3 45 49 PM

Verification

  1. gh pr checkout 676
  2. Ensure local WP install is running WP GraphQL Gravity Forms 0.6.x
  3. npm run build && npm run start
  4. http://localhost:3000/contact
  5. submit form with an image upload

ravewebdev avatar Sep 21 '21 21:09 ravewebdev

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/webdevstudios/nextjs-wordpress-starter/Cmiz8exmyTLCk13k25WqgUJgUUQq
✅ Preview: https://nextjs-wordpress-starter-git-fix-676-gf-fi-ba3eaf-webdevstudios.vercel.app

vercel[bot] avatar Sep 21 '21 21:09 vercel[bot]

@ravewebdev wasn't entirely sure where to leave this, but I'd hold off a few weeks before migrating to v0.7+

The next release is a major rewrite of the plugin but we expect it to be the last major breaking change on the path to v1.0 (e.g. not bugfixing an Int to a Float, or replacing a string with an enum.)

With it should come a significantly simpler way to handle custom fields, better query syntaxes, and more robust/performant ways to query/mutate/paginate and otherwise handle data.

justlevine avatar Nov 18 '21 04:11 justlevine

@justlevine do you have an estimated release date for this next release?

ravewebdev avatar Dec 14 '21 20:12 ravewebdev

@ravewebdev at the current pace, I'd say ~3 weeks.

justlevine avatar Dec 15 '21 00:12 justlevine

@ravewebdev https://github.com/harness-software/wp-graphql-gravity-forms/tree/v0.10.0

There's tons of breaking changes, but there shouldnt be any more major breaks before v1.0. Feel free to hmu on the WPGraphQL slack if you need any help with the migration.

justlevine avatar Jan 02 '22 00:01 justlevine