Skip to content

Releases: kidunot89/wp-graphql-composer

WP-GraphQL-Composer

28 Nov 04:56
18c2114
Compare
Choose a tag to compare
WP-GraphQL-Composer Pre-release
Pre-release

Added

  • CUSTOM_LOGO_QUERY new query add to Attachment default stack.
    Example use with default Attachment stack: <Attachment customLogo />.

Changes

  • Header CUSTOM_LOGO_QUERY now used by Attachment component in default Header view component.

WP-GraphQL-Composer

27 Nov 20:48
6edb323
Compare
Choose a tag to compare
WP-GraphQL-Composer Pre-release
Pre-release

Added

  • New build configuration see changes below

Changes

  • PWD restructured src/lib/ => src/
  • Create-React-App ejected to solves some styling issues as well as for optimization purposes the CRA has been ejected and all dependencies directly related to react-scripts have been removed.
  • Circular dependencies removed all /[component-group]/index.js have modified to be solely exporters all composer definitions are defined in the same file as the view layer for modularity and optimization.
  • Unit Tests they now run against the dist/ instead of the src/

Fixed

  • Unit Tests unit test were broken somewhere between [0.1.5] - [0.1.3]

Removed

  • **wp-graphql-compose CLI ** see [0.1.10]:Deprecated
  • ./src/demo Incomplete demo replace

WP-GraphQL-Composer

27 Nov 20:51
Compare
Choose a tag to compare
WP-GraphQL-Composer Pre-release
Pre-release

[0.1.10]

Deprecated

  • **wp-graphql-compose CLI ** code related to the command line interface wp-graphql-compose is official deprecated and its recommend that you use Oil-Based Boilerplate instead. wp-graphql-compose CLI will be remove in 0.2.x

[0.1.9 and below]

Added

New components

  • Archive only post-results created
  • Header custom schema required until updates made to WP-GraphQL
  • Main
  • Menu
  • MenuItem
  • SubMenu
  • Attachment
  • Page
  • Post
  • PostComments
  • Comment
  • EditComment
  • Login
  • UserControls
  • Error
  • Loading
  • Icon
  • WPProvider

Tests

  • Archive only post-results created
  • Header custom schema required until updates made to WP-GraphQL
  • Main
  • Menu
  • Attachment
  • Page
  • Post
  • PostComments
  • Login
  • Error
  • Loading
  • Icon
  • WPProvider

WP-Composer functions

  • baseComposer
  • composeQuery
  • errorHandler
  • forError
  • queryComposer
  • utilComposer
  • whileLoading

wp-graphql-compose CLI commands

  • wp-graphql-compose init - for scaffolding a WordPress theme or plugin stub
  • wp-graphql-compose build - for adding stub code to build directory