Skip to content

Releases: 10up/10up-toolkit

10up-toolkit@4.2.1-next.1

07 Sep 19:25
653a8d6
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 80e858f: fix how block editor styles get handled if useBlockAssets option is not set

10up-toolkit@4.2.1-next.0

07 Sep 10:32
3f682e8
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 8bbd562: fix regression in block file names in dist folder if useBlockAssets option is not set

10up-toolkit@4.2.0

06 Sep 15:05
Compare
Choose a tag to compare

Minor Changes

  • 2e67b06: Replaces squoosh with a custom implementation using sharp for optimizing images.
  • d60ce6c: Refine the way block assets get handled. 10up-toolkit will now create Webpack entrypoints for any assets that are defined in any block.json files automatically for you. So no need to manually adding manual entrypoints per block.

Patch Changes

  • bc89638: Fix how webpack handles addition of new block.json files during watch mode

10up-toolkit@4.2.0-next.2

22 Aug 13:57
0a87860
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • 2e67b06: Replaces squoosh with a custom implementation using sharp for optimizing images.

10up-toolkit@4.2.0-next.1

22 Aug 11:59
1ffef9b
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • bc89638: Fix how webpack handles addition of new block.json files during watch mode

10up-toolkit@4.2.0-next.0

01 Aug 15:19
3272285
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • d60ce6c: Refine the way block assets get handled. 10up-toolkit will now create Webpack entrypoints for any assets that are defined in any block.json files automatically for you. So no need to manually adding manual entrypoints per block.

10up-toolkit@4.1.2

15 Jun 00:37
c1ebfd2
Compare
Choose a tag to compare

Patch Changes

  • 64134a9: Adding unmissable notice (error) when using HMR and SCRIPT_DEBUG is not set to true

    The recommended way of including the fast-refresh.php file is now the following:

    $is_local_env = in_array( wp_get_environment_type(), [ 'local', 'development' ], true );
    $is_local_url = strpos( home_url(), '.test' ) || strpos( home_url(), '.local' );
    $is_local     = $is_local_env || $is_local_url;
    
    if ( $is_local && file_exists( __DIR__ . '/dist/fast-refresh.php' ) ) {
    	require_once __DIR__ . '/dist/fast-refresh.php';
    	TenUpToolkit\set_dist_url_path( basename( __DIR__ ), TENUP_THEME_DIST_URL, TENUP_THEME_DIST_PATH );
    }
  • 86d68ac: Update devServer so the overlay only shows up on errors.
    Update StyleLintPlugin so it sets failOnError to false, similarly to EslintPlugin.

props @Antonio-Laguna @nicholasio

10up-toolkit@4.1.1

07 Jun 14:58
07821da
Compare
Choose a tag to compare

Patch Changes

  • da9c394: Treat js files inside block or blocks directories as blocks. #204

props @tlovett1

10up-toolkit@4.1.0

06 Jun 18:49
Compare
Choose a tag to compare

Minor Changes

  • c206d75: Remove grid autoprefixer. See #197
  • f33afc6: Fix react-refresh-runtime entrypoint

All notable changes to this project will be documented in this file, per the Keep a Changelog standard.

10up-toolkit@4.1.0-next.2

06 Jun 18:37
c391ce8
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • c206d75: Remove grid autoprefixer. See #197
  • f33afc6: Fix react-refresh-runtime entrypoint

All notable changes to this project will be documented in this file, per the Keep a Changelog standard.