Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@srtfisher srtfisher released this 17 Oct 14:58
· 7 commits to 1.x since this release
1cd7774

Added

  • Add support for dispatching jobs to the queue after the current response has
    been sent.
  • Allow the block factory to override text when generating blocks.
  • Added new defer() helper.
  • Added Cache::flexible() method to add SWR support to the cache (docs)
  • Added support for parallel unit testing with brianium/paratest (in beta).
  • Added dynamic creation of post type/taxonomy factories.
  • Added Reset_Server trait to reset the server between tests.
  • Add with_https() to control if the request being tested is over HTTPS.
  • Add andReturnBoolean() and andReturn( fn ( $value ) => ... ) support to
    action/filter expectations
  • Add cached HTTP response support using the cache() method.

Changed

  • Breaking: Http Client pools should now be built using ->method() and ->url() instead.
  • Dropped support for Redis as a cache backend in favor of the default object
    cache drop-in.
  • Allow returning falsey from Collection::map_to_dictionary().