Categories
blocks Core Quality wc-admin

WooCommerce Community News: April 2021

Howdy, Woo Developer Community! πŸ‘‹ Here are some updates of recent happenings that you may have missed over the past month. Some items are detailed in previous posts on this blog, and other items are pulled from sources like GitHub. We’ve packaged everything into a digest to help keep everyone in the loop.


Developer Resources

  • We’re continuing to revise and refine some of our developer guidance around building React-powered interfaces with components. We made recent updates that feature function-based components and React hooks, which are quickly becoming the standard across the WordPress ecosystem.
  • Be on the lookout for updated guidance around all things related to testing in WooCommerce, including concepts and tooling, as well as best practices for writing and running tests.
  • The teams who maintain WooCommerce have released several recent updates to some of the underlying Node packages that power the Woo ecosystem. If you’re a developer who relies on any of these resources, take a look at some of the updates that have recently been published to NPM:
    • New Packages
      • Customer Effort Score – Initial release of a package to help measure customer satisfaction.
      • Experimental – Initial release of a package intended to help fortify import statements as components transition from experimental to non-experimental.
      • ExPlat – Initial release of a package to help facilitate A/B testing in WooCommerce. You can read more about ExPlat, Automattic’s new experimentation platform, in this recent blog post.
    • Updates
      • API v0.1.2 added support for new product types and coupons.
      • Components v6.0 and v6.1 collectively include enhancements to search components as well as improvements to pagination buttons and other styling.
      • Currency v3.1.0 was published April 12 and includes improvements that localize regional currency for merchant onboarding, as well as a fix that protects against errors if a country code is not available in the locale information.
      • Data v1.2.0 was published April 12 and includes many improvements, such as support for persisted queries in the navigation data store, as well as the addition of a useUser hook.
      • Date v3.0 was published April 12 and includes an enhancement that takes leap year into account when calculating previous periods for comparisons.
      • Dependency Extraction Webpack Plugin v1.5.0 shipped April 16 and added support for the ExPlat and Experimental packages listed above.
      • End-to-End Testing Environment v0.2.1 added support for screenshots during test failures and reporting of errors to Slackbot.
      • End-to-End Core Tests has multiple recent releases that include the addition of over 20 new test flows.
      • Navigation v6.0 was published April 12 and introduced support for adding listeners that respond to history changes along with persisted query management and a new parameter for overriding default pages in WooCommerce Admin.
      • Number v2.1.1 was published April 12 and introduced TypeScript support.

WooCommerce Core

WooCommerce Admin

WooCommerce Blocks


We want to hear from you

If you’re reading this, drop us a line in the comments below to let us know how you’re liking this community news format. We want to make sure we’re sharing information and engaging with the community in an impactful and efficient way. And as always, feel free to ask us questions in the comments below or in the #developers channel of the WooCommerce Community Slack.

By Allen Smith

I'm a dad who loves telling stories, connecting people, and making the world a better place.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.