- Prevent calling
proxifyContextover an already-proxified context insidewp-context(#65090). - Update iterable signals when
deepMerge()adds new properties (#65135).
- Improve internal
deepMergefunction (#64879).
- Fix computeds without scope in Firefox (#64825).
- Fix context inheritance from namespaces different than the current one (#64677).
- Refactor internal proxy and signals system (#62734).
- Prevent overriding of existing properties on state and context after a client-side navigation (#62734).
- Export
splitTaskfunction from@wordpress/interactivitypackage to facilitate yielding to the main thread. See example in async actions documentation. (#62665)
- Introduce
wp-on-asyncdirective as performant alternative over synchronouswp-ondirective. (#61885)
- Variables like
process.env.IS_GUTENBERG_PLUGINhave been replaced byglobalThis.IS_GUTENBERG_PLUGIN. Build systems usingprocess.envshould be updated (#61486). - Increase the minimum required Node.js version to v18.12.0 matching long-term support releases (#31270). Learn more about Node.js releases.
- Fix null and number strings as namespaces runtime error. (#61960)
- Strict type checking: fix some missing nulls in published types (#59865).
- Allow multiple event handlers for the same type with
data-wp-on-documentanddata-wp-on-window. (#61009) - Prevent wrong written directives from killing the runtime (#61249)
- Prevent empty namespace or different namespaces from killing the runtime (#61409)
- Improve data-wp-context debugging by validating it as a stringified JSON Object. (#61045)
- Hooks useMemo and useCallback should return a value. (#60474)
- Prevent non-objects from being set in store state. (#59886)
- Ensure that stores are available for subscription before hydration. (#59842)
- Ensure scope is restored when catching exceptions thrown in async generator actions. (#59708)
- Prevent passing state proxies as receivers to deepSignal proxy handlers. (#57134)
- Keep the same references to objects defined inside the context. (#59553)
- Only add proxies to plain objects inside the store. (#59039)
- Improve context merges using proxies. (59187)
- Export
getConfig()to retrieve the server-defined configuration for the passed namespace. (58749)
- Remove the style prop (
key) and class name arguments thedata-wp-styleanddata-wp-classdirectives. (#58835). - Remove the
data-wp-bodydirective. (#58835)
- Break up init with yielding to main to prevent long task from hydration. (#58227)
- Support setting the namespace using a string in
data-wp-interactive, likedata-wp-interactive="myPlugin". (#58743)
- Avoid initializing private stores as public when they have initial state. (#58754)
- Interactivity API: Remove non default suffix data wp context processing. (#58664)
- Ensure Preact is used in published packages (58258.
- Prevent the usage of Preact components in
wp-text. (#57879) - Update
preact,@preact/signalsanddeepsignaldependencies. (#57891) - Export
withScope()and allow to use it with asynchronous operations. (#58013) - Add
block supportsforclientNavigationandinteractiveproperties onblock.jsonschema.(#58132)
- Add the
data-wp-rundirective along with theuseInitanduseWatchhooks. (#57805) - Add
wp-data-on-windowandwp-data-on-documentdirectives. (#57931) - Add the
data-wp-eachdirective to render lists of items using a template. (57859)
- Remove
data-wp-slotanddata-wp-fill. (#57854) - Remove
wp-data-navigation-linkdirective. (#57853) - Remove unused
stateand renamepropstoattributesingetElement(). (#57974) - Convert
navigateandprefetchfunction to actions of the newcore/routerstore, available when importing the@wordpress/interactivity-routermodule. (#57924)
- Prevent
wp-data-on=""from creatingonDefaulthandlers. (#57925)
- Fix namespaces when there are nested interactive regions. (#57029)
- Update the title when using enhanced pagination. (#55446)
- Improve
navigate()to render only the result of the last call when multiple happen simultaneously. (#54201)
- Remove
roleattribute when set tonullindata-wp-bind. (#54608) - Add
timeoutoption tonavigate(), with a default value of10000milliseconds. (#54474)
- Support keys using
data-wp-key. (#53844) - Merge new server-side rendered context on client-side navigation. (#53853)
- Support region-based client-side navigation. (#53733)
- Improve
data-wp-bindhydration to match Preact's logic. (#54003)
- Add new directives that implement the Slot and Fill pattern:
data-wp-slot-provider,data-wp-slotanddata-wp-fill. (#53958)
- Allow passing optional
afterLoadcallbacks tostorecalls. (#53363)
- Add support for underscores and leading dashes in the suffix part of the directive. (#53337)
- Add an asynchronous short circuit to
useSignalEffectto avoid infinite loops. (#53358)
- Add JSDoc comments to
store()anddirective()functions. (#52469)
- Remove the
wp-showdirective until we figure out its final implementation. (#53240)
- Runtime support for the
data-wp-styledirective. (#52645)