Title: What’s new for developers? (March 2024)
Author: Nick Diego
Published: March 10, 2024
Last modified: April 10, 2024

---

 * [Showcase](https://wordpress.org/showcase/)
 * [Plugins](https://wordpress.org/plugins/)
 * [Themes](https://wordpress.org/themes/)
 * [Hosting](https://wordpress.org/hosting/)
 * [News](https://wordpress.org/news/)
    - [Learn WordPress](https://learn.wordpress.org/)
    - [Documentation](https://wordpress.org/documentation/)
    - [Education](https://wordpress.org/education/)
    - [Forums](https://wordpress.org/support/forums/)
    - [Developers](https://developer.wordpress.org/)
    - [Blocks](https://wordpress.org/blocks/)
    - [Patterns](https://wordpress.org/patterns/)
    - [Photos](https://wordpress.org/photos/)
    - [Openverse ︎](https://openverse.org/)
    - [WordPress.tv ︎](https://wordpress.tv/)
 *  - [About WordPress](https://wordpress.org/about/)
    - [Make WordPress](https://make.wordpress.org/)
    - [Events](https://events.wordpress.org/)
    - [Five for the Future](https://wordpress.org/five-for-the-future/)
    - [Enterprise](https://wordpress.org/enterprise/)
    - [Gutenberg ︎](https://wordpress.org/gutenberg/)
    - [Job Board ︎](https://jobs.wordpress.net/)
 * [Swag ︎](https://mercantile.wordpress.org/)
 * [Get WordPress](https://wordpress.org/download/)

Search in WordPress.org

 [ Get WordPress ](https://wordpress.org/download/)

[WordPress Developer Blog](https://developer.wordpress.org/news)

What’s new for developers? (March 2024)

 * [Snippets](https://developer.wordpress.org/news/snippets/)
    - [Blocks](https://developer.wordpress.org/news/category/blocks/)
    - [Concepts](https://developer.wordpress.org/news/category/concepts/)
    - [Common APIs](https://developer.wordpress.org/news/category/common-apis/)
    - [Design](https://developer.wordpress.org/news/category/design/)
    - [Playground](https://developer.wordpress.org/news/category/playground/)
    - [Plugins](https://developer.wordpress.org/news/category/plugins/)
    - [Themes](https://developer.wordpress.org/news/category/themes/)
 *  - [About this site](https://developer.wordpress.org/news/about/)
    - [Updates](https://developer.wordpress.org/news/category/updates/)
    - [How to contribute](https://developer.wordpress.org/news/how-to-contribute/)
    - [Tips and guidelines](https://developer.wordpress.org/news/tips-and-guidelines-for-writers/)
 * [Subscribe](https://developer.wordpress.org/news/subscribe/)
 * [Developer Resources](https://developer.wordpress.org/)

 * [Snippets](https://developer.wordpress.org/news/snippets/)
    - [Blocks](https://developer.wordpress.org/news/category/blocks/)
    - [Concepts](https://developer.wordpress.org/news/category/concepts/)
    - [Common APIs](https://developer.wordpress.org/news/category/common-apis/)
    - [Design](https://developer.wordpress.org/news/category/design/)
    - [Playground](https://developer.wordpress.org/news/category/playground/)
    - [Plugins](https://developer.wordpress.org/news/category/plugins/)
    - [Themes](https://developer.wordpress.org/news/category/themes/)
 *  - [About this site](https://developer.wordpress.org/news/about/)
    - [Updates](https://developer.wordpress.org/news/category/updates/)
    - [How to contribute](https://developer.wordpress.org/news/how-to-contribute/)
    - [Tips and guidelines](https://developer.wordpress.org/news/tips-and-guidelines-for-writers/)
 * [Subscribe](https://developer.wordpress.org/news/subscribe/)
 * [Developer Resources](https://developer.wordpress.org/)

# What’s new for developers? (March 2024)

By [Nick Diego](https://profiles.wordpress.org/ndiego/)

March 10, 2024

[Blocks](https://developer.wordpress.org/news/category/blocks/), [Plugins](https://developer.wordpress.org/news/category/plugins/),
[Themes](https://developer.wordpress.org/news/category/themes/)

The release of WordPress 6.5 on March 26th is fast approaching, making now the perfect
time to start testing and exploring the many new features.

The first [release candidate](https://wordpress.org/news/2024/03/wordpress-6-5-release-candidate-1/)(
RC1) was released on Tuesday, March 5, signaling the final stages of the 6.5 development
cycle. This will be the final public version unless critical issues emerge that 
need fixing in subsequent release candidates (RC2 or RC3). 

Whether you’re a plugin or theme developer, build sites for clients, or maintain
your website, [testing RC1](https://make.wordpress.org/test/2024/02/28/help-test-wordpress-beta-3/)
is vital. Not only will you be able to start exploring the new enhancements, but
rigorous testing will help ensure stability and backward compatibility while ironing
out any potential issues before the official launch.

Given the scope of the upcoming release, knowing what to test can be challenging.
This article will help guide you along with the official [Field Guide](https://make.wordpress.org/core/wordpress-6-5-field-guide/)(
coming soon). If you do find an issue, please make sure to report it on [GitHub](https://github.com/WordPress/gutenberg/issues)
or in [Trac](https://core.trac.wordpress.org/). 

While I’ll primarily be focusing on features in WordPress 6.5, development never
stops. Contributors are already laying the groundwork for future improvements in
WordPress 6.6 and beyond. It’s impossible to cover everything, but you should leave
with a solid understanding of what to expect in the upcoming versions of both WordPress
and Gutenberg. If you haven’t already, I also encourage you to read last month’s
[“What’s new for developers?”](https://developer.wordpress.org/news/2024/02/10/whats-new-for-developers-february-2024)
article.

As always, ensure you are running WordPress trunk and the latest version of the 
Gutenberg plugin in a development environment to test the following updates.

Table of Contents

 1. [Highlights](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#highlights)
 2.  a. [Interactivity API](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#block-bindings-api-custom-fields-and-pattern-overrides)
     b. [Grid layout variation](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#block-bindings-api-custom-fields-and-pattern-overrides)
     c. [Font Library](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#block-bindings-api-custom-fields-and-pattern-overrides)
     d. [Data Views project](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#block-bindings-api-custom-fields-and-pattern-overrides)
     e. [Outreach program](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#block-bindings-api-custom-fields-and-pattern-overrides)
 3. [Plugins and tools](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#plugins-and-tools)
 4.  a.  [Proposal for Core blocks in the Plugin directory](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#proposal-for-core-blocks-in-the-plugin-directory)
     b.  [Plugin dependencies](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#plugin-dependencies)
     c.  [Script Modules API](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#script-modules-api)
     d.  [Block Bindings API](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#block-bindings-api)
     e.  [Navigation block extensibility](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#navigation-block-extensibility)
     f.  [Plugins that modify Code blocks](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#plugins-that-modify-code-blocks)
     g.  [Footnotes meta registration](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#footnotes-meta-registration)
     h.  [Allow symlinks in block registration](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#allow-symlinks-in-block-registration)
     i.  [Featured images added to attachments endpoint](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#featured-images-added-to-attachments-endpoint)
     j.  [Storybook updates](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#storybook-updates)
     k.  [PHP autoloader](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#php-autoloader)
 5. [Themes](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#themes)
 6.  a.  [Synced Pattern Overrides](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#synced-pattern-overrides)
     b.  [Shadow support](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#shadow-support)
     c.  [Restricting Template Part and Content blocks](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#restricting-template-part-and-content-blocks)
     d.  [Surfacing template-related patterns](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#surfacing-template-related-patterns)
     e.  [Background image support](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#background-image-support)
     f.  [Pattern export and import](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#pattern-export-and-import)
     g.  [AVIF image support](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#avif-image-support)
     h.  [Global styles loading order](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#global-styles-loading-order)
     i.  [Additional typography controls for elements](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#additional-typography-controls-for-elements)
     j.  [A fix for theme font sizes](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#a-fix-for-theme-font-sizes)
     k.  [Additional block fixes](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#additional-block-fixes)
 7. [Resources](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#resources)
 8.  a. [Dev Notes of note](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#dev-notes-of-note)
     b. [Developer Hours and Hallway Hangouts](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#developer-hours-and-hallway-hangouts)
     c. [Developer Blog](https://developer.wordpress.org/news/2024/03/10/whats-new-for-developers-march-2024/#developer-blog)

## Highlights

### Interactivity API

The Interactivity API was [officially merged](https://make.wordpress.org/core/2024/02/19/merge-announcement-interactivity-api/)
into Core and will soon be publicly available in WordPress 6.5. The team has been
hard at work getting the API ready for release, and a few notable changes were made
recently:

 *  Setting a namespace [using a string instead of an object](https://github.com/WordPress/gutenberg/pull/59034)
   on the `wp-data-interactive` directive is now supported.
 * Custom blocks can now [declare compatibility](https://github.com/WordPress/gutenberg/pull/58132)
   with client-side navigation in the Query block using the `clientNavigation` and`
   interactive` properties in `block.json`. 

Much of the focus has been on improving the [documentation](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-interactivity/packages-interactivity-api-reference/)
and moving it to the Block Editor Handbook. More work is planned over the next few
weeks.

To learn more about the Interactivity API, check out the latest [WP Briefing Episode](https://wordpress.org/news/2024/02/episode-73-inside-the-interactivity-api/)
or attend the next [Developer Hours](https://www.meetup.com/learn-wordpress-online-workshops/events/299511132/)
event on Tuesday, March 12. The session recording will be uploaded to [WordPress.tv](https://wordpress.tv/)
and [YouTube](https://www.youtube.com/playlist?list=PL1pJFUVKQ7ETApyQQlt3pLNjPx2HrQwl5).

### Grid layout variation

The Grid variation of the Group block has been significantly improved in Gutenberg
17.8 and is now available [without needing an experimental flag](https://github.com/WordPress/gutenberg/pull/59051).
It offers two layout options: “Auto,” which automatically creates rows and columns
with a minimum item width, and “Manual,” where you can set a specific number of 
columns. You can also define [column and row span](https://github.com/WordPress/gutenberg/pull/58539)
in grid children.

Though not part of WordPress 6.5, start testing to discover the design possibilities
this Group variation unlocks.

### Font Library

The [Font Library](https://core.trac.wordpress.org/ticket/59166), initially planned
for WordPress 6.4, will finally be included in WordPress 6.5. It simplifies typography
management on your site, allowing you to add and manage fonts just like media files,
irrespective of the theme you’re using. You can easily install both local and Google
Fonts, and the system is designed to be extendable, enabling you to add custom font
collections.

As designed, uploaded fonts will be stored in a `fonts` directory within `wp-content`.
There was [some debate](https://github.com/WordPress/gutenberg/issues/59417) on 
the merits of this location, with `uploads` being an alternative suggestion. Project
leadership [stepped in](https://make.wordpress.org/core/2024/03/07/unblocking-wp6-5-font-library-and-synced-pattern-overrides/)
and decided that `wp-content` will be used.

Additionally, a few noteworthy enhancements were made in the past Gutenberg releases:

 * You can now register font collections stored in JSON files using [`wp_register_font_collection_from_json`](https://github.com/WordPress/gutenberg/pull/58363).
 * The use of `generic()` in font family names is [now supported](https://github.com/WordPress/gutenberg/pull/59103).

### Data Views project

The [Data Views project](https://github.com/WordPress/gutenberg/issues/55083) continues
to evolve with each Gutenberg release, and WordPress 6.5 will include the initial
implementation. Key recent improvements include the introduction of [bulk actions](https://github.com/WordPress/gutenberg/pull/58144)
in grid view, a [redesign of filters](https://github.com/WordPress/gutenberg/pull/58569),
and the default display of the [sync status filter](https://github.com/WordPress/gutenberg/pull/58367)
on the patterns screen.

As shown in the video above, you can test this new feature in the Site Editor by
navigating to the pattern, template, template part, or page management screens.

### Outreach program

In January, a [proposal was introduced](https://make.wordpress.org/core/2024/01/29/proposal-whats-next-for-the-outreach-program/)
to shift the focus of the FSE Outreach Experiment towards a wider outreach initiative
aimed at developers and designers. The transition began last month with a [Hallway Hangout](https://make.wordpress.org/core/2024/02/23/recap-hallway-hangout-whats-next-for-the-outreach-program/),
during which contributors discussed the next steps.

As a result, the Slack channel was renamed from #fse-outreach-experiment to [#outreach](https://make.wordpress.org/core/tag/outreach/),
and a new GitHub group, [WordPress/outreach](https://github.com/orgs/WordPress/teams/outreach),
was established. 

Contributors seeking extra feedback or testing for their pull requests (PRs) can
now ping `@WordPress/outreach` for assistance. Those interested in contributing 
to this initiative can request to join the group by messaging in the #outreach Slack
channel.

## Plugins and tools

### Proposal for Core blocks in the Plugin directory

Matías Ventura, the lead architect of Gutenberg, [began a discussion](https://github.com/WordPress/gutenberg/issues/58773)
in the Gutenberg repository about developing Core blocks within the Plugins directory.
This approach addresses the demand for specialized blocks that may not fit directly
into WordPress Core. 

The idea is for these blocks to be created and maintained by WordPress contributors
in the Gutenberg repository yet made available for insertion via the [Block directory](https://wordpress.org/plugins/browse/block/),
a subset of the Plugins directory. If this topic interests you, please review the
proposal and share your feedback.

### Plugin dependencies

As mentioned in [last month’s article](https://developer.wordpress.org/news/2024/02/10/whats-new-for-developers-february-2024/#plugin-dependencies),
plugins can specify required dependencies through a `Requires Plugins` header starting
with WordPress 6.5. The recently published [merge announcement](https://make.wordpress.org/core/2024/02/15/merge-announcement-plugin-dependencies/)
post has all the details. 

The one notable change is that the functionality for automatically deactivating 
plugins when their dependencies are unmet has been omitted due to community concerns.

### Script Modules API

Work has continued on the Script Modules API ahead of its debut in WordPress 6.5.
One of the biggest changes was [the renaming](https://github.com/WordPress/gutenberg/pull/58731)
of the `viewModule` property to `viewScriptModule` in `block.json`. If you have 
blocks currently using `viewModule` to enqueue module scripts, everything will continue
to work, but the property is now deprecated, and you should switch to `viewScriptModule`.

The [interactive template](https://developer.wordpress.org/block-editor/reference-guides/packages/packages-create-block-interactive-template/)
for the `@wordpress/create-block` package has also been updated to reflect these
changes. 

If you’re currently using JavaScript modules in your WordPress projects or are interested
in the Interactivity API, make sure to review the comprehensive [Script Modules in 6.5](https://make.wordpress.org/core/2024/03/04/script-modules-in-6-5/)
post for a deep dive into all the technical specifics.

### Block Bindings API

The [Block Bindings API](https://make.wordpress.org/core/2024/03/06/new-feature-the-block-bindings-api/)
is one of the most exciting new features in WordPress 6.5, and some final touches
were added in the last few weeks. The most important change is that editing bound
blocks is now [disabled by default](https://github.com/WordPress/gutenberg/pull/58787).

For more information on Block Bindings, check out the [introductory tutorial](https://developer.wordpress.org/news/2024/02/20/introducing-block-bindings-part-1-connecting-custom-fields/)
here on the Developer Blog. 

### Navigation block extensibility

The previous month’s article [highlighted](https://developer.wordpress.org/news/2024/02/10/whats-new-for-developers-february-2024/#define-and-filter-allowed-inner-blocks)
that blocks could specify their allowed inner blocks using the `allowedBlocks` property
in `block.json` and that this property can be modified with the `blocks.registerBlockType`
hook. This enhancement in WordPress 6.5 allows developers to include almost any 
block within the Navigation block. However, since the Navigation block uses an unordered
list, custom blocks might not be properly wrapped in an `<li>` element.

To address this, Gutenberg 17.7 introduced the [`block_core_navigation_listable_blocks`](https://github.com/WordPress/gutenberg/pull/55551)
filter. This filter ensures custom blocks used in Navigation blocks are correctly
wrapped in `<li>` elements for proper rendering and accessibility. If you’re adding
custom blocks to menus without an `<li>` wrapper, the following code snippet can
be used to apply it automatically.

    ```php
    function add_icon_block_to_needs_list_item_wrapper( $blocks ) {
        $blocks[] = 'example-block/custom-icon';
        return $blocks;
    }
    add_filter( 'block_core_navigation_listable_blocks', 'add_icon_block_to_needs_list_item_wrapper' );
    ```

### Plugins that modify Code blocks

In Gutenberg 17.1, [an update](https://github.com/WordPress/gutenberg/pull/55999)
normalized line breaks to serialize as HTML elements, which inadvertently broke 
several syntax highlighter plugins that directly modify the output of Code blocks.
Code that should be highlighted and displayed across multiple lines appears on a
single line instead.

There is an open PR that resolves the line break issue and is slated for WordPress
6.5. However, any valid HTML should be correctly handled in your plugin when extending
the Core Code block. For those using PrismJs for syntax highlighting, there is an
extension you can use to preserve markup. Refer to the [original issue](https://github.com/WordPress/gutenberg/issues/59548)
to learn more.

### Footnotes meta registration

WordPress 6.5’s registration priority for footnotes meta [has been increased](https://github.com/WordPress/gutenberg/pull/58882)
from 10 to 20. This adjustment ensures that footnotes are registered for the majority
of post types, including custom ones, which are typically registered at priority
10. For those with specific needs requiring changes to the footnotes meta, it’s 
important to use a priority above 20 to ensure your modifications are applied.

### Allow symlinks in block registration

Starting with WordPress 6.5, you will be [able to use symbolic links](https://core.trac.wordpress.org/ticket/59175)
when registering a block using a `block.json` file and [`register_block_type()`](https://developer.wordpress.org/reference/functions/register_block_type/).
Before this update, while blocks could be registered using symlinks, the `editorScript`
and `editorStyle` files specified in `block.json` would fail to enqueue. 

### Featured images added to attachments endpoint

Seven years ago, an [issue was opened](https://core.trac.wordpress.org/ticket/41692)
in Trac, noting that while Audio and Video attachments can have featured images,`
featured_media` was not returned by the REST API `wp/v2/media` endpoint. This is
now fixed in WordPress 6.5.

### Storybook updates

If you are unfamiliar with the [Storybook](https://wordpress.github.io/gutenberg/?path=/docs/docs-introduction--page),
it’s an excellent reference for user interface components developed in WordPress
packages, especially the [@wordpress/components](https://github.com/WordPress/gutenberg/tree/trunk/packages/components)
package. You can use these components in your own plugins and Editor extension projects.

The Storybook is routinely updated with each Gutenberg release, and recently, [badges were added](https://github.com/WordPress/gutenberg/pull/58518)
that make it easier to determine which components are “private” and should not be
used in custom development.  

### PHP autoloader

In early February, [a proposal](https://make.wordpress.org/core/2024/02/01/proposal-implement-a-php-autoloader-in-wordpress-core/)
to add a PHP autoloader to WordPress Core was put forward. This complex topic dates
back to a ticket created eight years ago. If you’re interested, please read the 
proposal and share your thoughts. Your feedback is crucial for determining the project’s
future direction.

## Themes

### Synced Pattern Overrides

This feature, initially set for WordPress 6.5, [has been delayed](https://github.com/WordPress/gutenberg/issues/53705#issuecomment-1983576920)
to version 6.6 due to unexpected issues arising from a recent update. Additional
time is required to identify and resolve these problems.

Synced pattern overrides continue to see enhancements. The most recent updates in
Gutenberg 17.7 include a button in the block toolbar that allows users to [reset a pattern](https://github.com/WordPress/gutenberg/pull/57907),
and [support was added](https://github.com/WordPress/gutenberg/pull/58587) for the`
linkTarget` and `rel` attributes in Button blocks.

Additionally, the data structure for pattern overrides [was changed](https://github.com/WordPress/gutenberg/pull/58596).
Overrides were previously stored using the `overrides` attribute. This has been 
updated to the `content` attribute, which will provide more flexibility in the future.
If you have been experimenting with this feature already, any existing patterns 
that use the `overrides` attribute will continue to work. 

If you are interested in learning more about this feature in general, ensure you’re
following the [primary issue](https://github.com/WordPress/gutenberg/issues/53705#issuecomment-1882305331)
on GitHub.

### Shadow support

In WordPress 6.5, you can [add shadows](https://github.com/WordPress/gutenberg/pull/57982)
to Columns, Column, and Image blocks directly from the Editor. While refinements
were made, this feature was previously restricted to Button blocks. Notably, the
Shadow control is [now located](https://github.com/WordPress/gutenberg/pull/58466)
in the Border panel, which is renamed “Border & Shadow” for blocks that support 
the feature. 

WordPress does provide a set of default shadows, but you will probably want to add
your own. If you need a refresher on defining custom shadows in `theme.json`, check
out the [corresponding article](https://developer.wordpress.org/news/2023/01/12/using-the-box-shadow-feature-for-themes/)
here on the Developer Blog. You can also test the following code snippet. 

    ```language-json
    {
    	"version": 2,
    	"settings": {
    		"shadow": {
    			"presets": [
    				{
    					"name": "Small",
    					"slug": "sm",
    					"shadow": "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"
    				},
    				{
    					"name": "Medium",
    					"slug": "md",
    					"shadow": "0 4px  10px 0 rgba( 0, 0, 0, 0.3 )"
    				},
    				{
    					"name": "Large",
    					"slug": "lg",
    					"shadow": "0 8px  15px 0 rgba( 0, 0, 0, 0.3 )"
    				}
    			]
    		}
    	}
    }
    ```

### Restricting Template Part and Content blocks

Starting in Gutenberg 17.8,  Template Part and Content blocks [will be hidden](https://github.com/WordPress/gutenberg/pull/58928)
within the Site Editor in some contexts. This is part of an effort to unify the 
Post Editor and Site Editor experiences while removing the blocks when they are 
unnecessary, such as in-page content.  You can still add Content blocks within Query
blocks as expected. 

### Surfacing template-related patterns

When you [register patterns](https://developer.wordpress.org/themes/features/block-patterns/#registering-block-patterns)
in a theme, you can specify their association with certain templates using the `
Template Types` property or with template parts using the `Block Types` property.
For example, you might have multiple patterns designed for Headers and Footers.

In WordPress 6.5, patterns linked to a specific template or template part [will be displayed in the Settings Sidebar](https://github.com/WordPress/gutenberg/pull/55091)
while editing them. This enhancement streamlines the editing process, allowing users
to quickly change any template’s design. You can explore this feature with the Twenty
Twenty-Four theme, which includes multiple patterns tailored to specific templates
and parts.

### Background image support

Background image support in Group blocks will be improved in WordPress 6.5. Recent
updates include the ability to set the [background position and size](https://github.com/WordPress/gutenberg/pull/58592).

With this enhancement, the `appearanceTools` property in `theme.json` will now opt-
in to `backgroundSize`. The documentation has [been updated](https://github.com/WordPress/gutenberg/pull/59165)
to reflect this change, and the JSON schema has also [been updated](https://github.com/WordPress/gutenberg/pull/59127)
for the various background supports. 

### Pattern export and import

In WordPress 6.5, you can [bulk export](https://github.com/WordPress/gutenberg/pull/58897)
patterns directly from the Site Editor, making it much easier to transfer patterns
between sites. Bulk import is not yet available, but given the amount of interest,
I expect it’s only a matter of time. 

### AVIF image support

In WordPress 6.5, you can upload, edit, and save images in the AVIF (AV1 Image File)
format, just like other supported image types like JPEG or PNG. The AVIF format 
offers many benefits, such as image quality and compression.

AVIF image support assumes your web server has the necessary image processing libraries.
You can check this in Site Health under the “Media Handling” section. Learn more
in the official [documentation](https://make.wordpress.org/core/2024/02/23/wordpress-6-5-adds-avif-support/).

### Global styles loading order

WordPress 6.5 will optimize the [loading sequence](https://github.com/WordPress/gutenberg/pull/58761)
for Global Styles on the front end. This work allows for the future reduction of
specificity in block global styles. The order will now be:

 * Block library styles
 * Base global styles (element styles, etc)
 * Block-specific global styles

This loading order applies whether [`should_load_separate_core_block_assets`](https://developer.wordpress.org/reference/hooks/should_load_separate_core_block_assets/)
is active or not. When this setting is enabled, Core block global styles load immediately
after the base global styles within the `global-styles-inline-css` tag, ensuring
consistency with the Editor iframe and when the setting is disabled. 

As a reminder, with `should_load_separate_core_block_assets` enabled, only styles
related to the blocks on the page are loaded, enhancing loading efficiency by avoiding
unnecessary styles.

### Additional typography controls for elements

Text, caption, and button elements in Global Styles were missing controls for Letter
Spacing and Letter Case (`text-transform`). This [is now fixed](https://github.com/WordPress/gutenberg/pull/58142)
in WordPress 6.5.

### A fix for theme font sizes

If your theme specifies font sizes in `theme.json` using the same slugs as Core,
you may have encountered problems with recent versions of Gutenberg. Specifically,
Gutenberg 17.6 had a bug that caused Core font sizes to override theme-defined sizes
in the Editor and on the front end. This issue [has been resolved](https://github.com/WordPress/gutenberg/pull/58951)
in Gutenberg 17.8 and WordPress 6.5.

### Additional block fixes

Gutenberg 17.8 introduced several block improvements worth noting. 

Author-related blocks (Author, Author Name, and Author Biography) now [display correctly](https://github.com/WordPress/gutenberg/pull/55451)
on the Author Archive template, even if the author has no posts.

The Spacer block’s orientation [now matches](https://github.com/WordPress/gutenberg/pull/58921)
the direction of its container, correcting a previous issue where it was always 
displayed vertically in flex layout containers like Row or Navigation blocks.

Two bug fixes were made to the Cover block. First, you might have noticed a bug 
in Chrome v122 where the image would not respect the border radius set on the block.
This has [now been fixed](https://github.com/WordPress/gutenberg/pull/59388). Second,
the minimum height setting now [properly resets](https://github.com/WordPress/gutenberg/pull/59191)
when an aspect ratio is selected.

## Resources

### Dev Notes of note

Developers’ notes, or Dev Notes for short, are published on the [Make Core blog](https://make.wordpress.org/core/)
ahead of each WordPress release and provide a technical overview of new functionality
and features. With WordPress 6.5 coming soon, new notes are published almost daily
using the tag [#dev-notes-6-5](https://make.wordpress.org/core/tag/dev-notes-6-5/).
Here are a few that caught my eye: 

 * [Interactivity API in 6.5](https://make.wordpress.org/core/2024/03/04/interactivity-api-dev-note/)
 * [Script Modules in 6.5](https://make.wordpress.org/core/2024/03/04/script-modules-in-6-5/)
 * [New Feature: The Block Bindings API](https://make.wordpress.org/core/2024/03/06/new-feature-the-block-bindings-api/)
 * [Updates to the HTML API in 6.5](https://make.wordpress.org/core/2024/03/04/updates-to-the-html-api-in-6-5/)
 * [Updates to Block Hooks in 6.5](https://make.wordpress.org/core/2024/03/04/updates-to-block-hooks-in-6-5/)
 * [Unification of the site and post editors in 6.5](https://make.wordpress.org/core/2024/03/05/unification-of-the-site-and-post-editors-in-6-5/)
 * [Block metadata viewScriptModule field in 6.5](https://make.wordpress.org/core/2024/03/04/block-metadata-viewscriptmodule-field-in-6-5/)
 * [Introducing Plugin Dependencies in WordPress 6.5](https://make.wordpress.org/core/2024/03/05/introducing-plugin-dependencies-in-wordpress-6-5/)
 * [Miscellaneous Editor changes in WordPress 6.5](https://make.wordpress.org/core/2024/03/09/miscellaneous-editor-changes-in-wordpress-6-5/)
 * [Performance improvements for registering block variations with callbacks](https://make.wordpress.org/core/2024/02/29/performance-improvements-for-registering-block-variations-with-callbacks/)

### Developer Hours and Hallway Hangouts

It’s been a busy few weeks for Developer Hours and Hallway Hangouts. Check out the
recaps and recordings below: 

 * [Developer Hours: How to build modern web layouts with WordPress](https://www.youtube.com/watch?v=w5ZQLNYxdPY&ab_channel=WordPress)
 * [Developer Hours: JavaScript for modern WordPress development](https://www.youtube.com/watch?v=c3Uphamlb3g)
 * [Hallway Hangout: Let’s chat about overlapping problems in the Site Editor](https://make.wordpress.org/core/2024/02/27/summary-of-hallway-hangout-on-overlapping-problems-in-the-site-editor/)
 * [Hallway Hangout: What’s next for the outreach program?](https://make.wordpress.org/core/2024/02/23/recap-hallway-hangout-whats-next-for-the-outreach-program/)

### Developer Blog

Check out the most recent tutorial here on the Developer Blog if you haven’t already,
and stay tuned for more content showcasing features coming in WordPress 6.5.  

 * [An introduction to block-based mega menus](https://developer.wordpress.org/news/2024/02/29/an-introduction-to-block-based-mega-menus/)
 * [Introducing Block Bindings, part 1: connecting custom fields](https://developer.wordpress.org/news/2024/02/20/introducing-block-bindings-part-1-connecting-custom-fields/)
 * [Introducing Block Bindings, part 2: Working with custom binding sources](https://developer.wordpress.org/news/2024/03/06/introducing-block-bindings-part-2-working-with-custom-binding-sources/)
 * [How do Log in and Registration work for developers?](https://developer.wordpress.org/news/2024/02/12/how-do-log-in-and-registration-work-for-developers/)

_Props for review [@greenshady](https://profiles.wordpress.org/greenshady/) and 
[@eidolonnight](https://profiles.wordpress.org/eidolonnight/)_

**Share the post: **

**Categories:** [Blocks](https://developer.wordpress.org/news/category/blocks/),
[Plugins](https://developer.wordpress.org/news/category/plugins/), [Themes](https://developer.wordpress.org/news/category/themes/)

**Tags:** [Monthly Roundups](https://developer.wordpress.org/news/tag/roundup/)

## One response to “What’s new for developers? (March 2024)”

 1. ![joynall Avatar](https://secure.gravatar.com/avatar/8af61a9102fc8dde87881b7cbb9707071bf5aeefb439d9840d2a628586ae6048?
    s=40&d=identicon&r=g)
 2. [joynall](https://profiles.wordpress.org/joynall/)
 3. [March 11, 2024](https://developer.wordpress.org/news/2024/03/whats-new-for-developers-march-2024/#comment-3773)
 4. Thanks Nick Diego
 5. [Reply](https://developer.wordpress.org/news/2024/03/whats-new-for-developers-march-2024/?replytocom=3773#respond)

### Leave a Reply 󠀁[Cancel reply](https://developer.wordpress.org/news/2024/03/whats-new-for-developers-march-2024/?output_format=md#respond)󠁿

Your email address will not be published. Required fields are marked *

Comment *

Name *

Email *

Website

 Save my name, email, and website in this browser for the next time I comment.

 Notify me of follow-up comments by email.

 Notify me of new posts by email.

Δ

## Have an idea for a new post?

### 󠀁[Learn how to contribute](https://developer.wordpress.org/news/how-to-contribute/)󠁿

Share your knowledge with fellow WordPress developers.

Search

### 󠀁[Review tips and guidelines](https://developer.wordpress.org/news/tips-and-guidelines-for-writers/)󠁿

Everything you need to know about writing for the Blog.

## Subscribe to the Blog

  Email Address

 Join 1,948 other subscribers

 * [About](https://wordpress.org/about/)
 * [News](https://wordpress.org/news/)
 * [Hosting](https://wordpress.org/hosting/)
 * [Privacy](https://wordpress.org/about/privacy/)

 * [Showcase](https://wordpress.org/showcase/)
 * [Themes](https://wordpress.org/themes/)
 * [Plugins](https://wordpress.org/plugins/)
 * [Patterns](https://wordpress.org/patterns/)

 * [Learn](https://learn.wordpress.org/)
 * [Documentation](https://wordpress.org/documentation/)
 * [Developers](https://developer.wordpress.org/)
 * [WordPress.tv ](https://wordpress.tv/)

 * [Get Involved](https://make.wordpress.org/)
 * [Events](https://events.wordpress.org/)
 * [Donate ](https://wordpressfoundation.org/donate/)
 * [Swag ](https://mercantile.wordpress.org/)

 * [WordPress.com ](https://wordpress.com/?ref=wporg-footer)
 * [Matt ](https://ma.tt/)
 * [bbPress ](https://bbpress.org/)
 * [BuddyPress ](https://buddypress.org/)

 The WordPress® trademark is the intellectual property of the WordPress Foundation.

 * [Visit our X (formerly Twitter) account](https://www.x.com/WordPress)
 * [Visit our Bluesky account](https://bsky.app/profile/wordpress.org)
 * [Visit our Mastodon account](https://mastodon.world/@WordPress)
 * [Visit our Threads account](https://www.threads.net/@wordpress)
 * [Visit our Facebook page](https://www.facebook.com/WordPress/)
 * [Visit our Instagram account](https://www.instagram.com/wordpress/)
 * [Visit our LinkedIn account](https://www.linkedin.com/company/wordpress)
 * [Visit our TikTok account](https://www.tiktok.com/@wordpress)
 * [Visit our YouTube channel](https://www.youtube.com/wordpress)
 * [Visit our Tumblr account](https://wordpress.tumblr.com/)