From 1f32e7b36187c0b1541f354e58aeff9e03e309a2 Mon Sep 17 00:00:00 2001 From: Daniel Sandoval Date: Sat, 29 Oct 2022 19:15:58 -0600 Subject: [PATCH] add mentions of 3.51.0 release notes --- .../blog/2022-11-01-whats-new-in-svelte-november-2022.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/content/blog/2022-11-01-whats-new-in-svelte-november-2022.md b/site/content/blog/2022-11-01-whats-new-in-svelte-november-2022.md index 0df034ba62..fbf1653cca 100644 --- a/site/content/blog/2022-11-01-whats-new-in-svelte-november-2022.md +++ b/site/content/blog/2022-11-01-whats-new-in-svelte-november-2022.md @@ -21,6 +21,10 @@ There's also a _huge_ showcase to cover... so let's jump in! - Route IDs have been prefixed with `/` ([#7338](https://github.com/sveltejs/kit/pull/7338)) ## Svelte changes +- New accessibility warnings, `a11y-click-events-have-key-events` and `a11y-no-noninteractive-tabindex`, will now warn when your components lack required key events or tabindex. While `a11y-role-has-required-aria-props` will no longer warn when elements match their semantic role (**3.51.0**) +- `--style-props` are now supported on `` and `` (**3.51.0**, Component Example: [Before](https://svelte.dev/repl/48984f20503f4959b70f24f4130d164b?version=3.47.0) and [After](https://svelte.dev/repl/48984f20503f4959b70f24f4130d164b?version=3.51.0), SVG Example: [Before](https://svelte.dev/repl/b7a3f94255914044b35462234ccaea43?version=3.50.0) and [After](https://svelte.dev/repl/b7a3f94255914044b35462234ccaea43?version=3.51.0)) +- "nullish" values for component event handlers are now supported (**3.51.0**, [Example](https://svelte.dev/repl/9228022922af4c76af68ce42349ccbf9?version=3.51.0)) +- Scoped styles can now be applied to `` (**3.51.0**, [Example](https://svelte.dev/repl/23d982fc6f4f4f06a6aa227860fa2d84?version=3.51.0)) - You can now use `important` in inline style tags: `style:foo|important` (**3.52.0**, [#7365](https://github.com/sveltejs/svelte/issues/7365)) - A warning will now be thrown when using `` without `rel="noreferrer"` (**3.52.0**, [#6188](https://github.com/sveltejs/svelte/issues/6188))