Skip to content

v0.2.0

Compare
Choose a tag to compare
@jasonbahl jasonbahl released this 18 Oct 16:12
· 367 commits to main since this release
728e057

What's Changed

  • Use default max-age for batch queries by @markkelnar in #156
  • Improve Cache-Control header implementation by @chriszarate in #164
  • Chore: Add comments cache handling by @markkelnar in #160
  • feat: rely on WPGraphQL Core's functionality for outputting X-GraphQL-Key headers by @jasonbahl in #170
  • v0.2.0 by @jasonbahl in #171
  • chore: remove unreferenced .zip build artifact
  • feat: remove a lot of logic from Collection.php that analyzes queries to generate cache keys and response headers, as this has been moved to core WPGraphQL
  • feat: reference core WPGraphQL functions for storing cache maps for object caching
  • chore: remove unused "use" statements in Invalidation.php
  • feat: introduce new "graphql_purge" action, which can be hooked into by caching clients to purge caches by key
  • chore: remove $collection->node_key() method and references to it.
  • feat: add "purge("skipped:$type_name)" event when purge_nodes is called
  • chore: remove model class prefixes from purge_nodes() calls
  • chore: rename const WPGRAPHQL_LABS_PLUGIN_DIR to WPGRAPHQL_SMART_CACHE_PLUGIN_DIR
  • chore: update tests to remove "node:" prefix from expected keys
  • chore: update tests to use self::factory() instead of $this->tester->factory()
  • chore: update Plugin docblock
  • feat: add logic to ensure minimum version of WPGraphQL is active before executing functionality needed by it
  • chore: remove filters that add model definitions to Types as that's been moved to WPGraphQL core

New Contributors

Full Changelog: v0.1.2...v0.2.0