s

sveltejs / svelte

You can copy the badge and add it to your README!

pkg.pr.new badge
Continuous Releases from main
remove unused import4 days ago8f11796
Docs: Updated the custom elements documentation to include $host (#16686) * Updated the custom elements documentation to include * moved the rune reference further up * Small update to the sentence * updated the formatting * Update documentation/docs/07-misc/04-custom-elements.md --------- Co-authored-by: Rich Harris <hello@rich-harris.dev>4 days ago9d1aa69
fix: don't fail on `flushSync` while flushing effects (#16674) * fix: don't fail on `flushSync` while flushing effects WIP fixes #16640 * cleanup, unrelated lint * revert * fixlast weekbde51ed
Version Packages (#16673) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>last week5314f48
Version Packages (#16667) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>last week5912754
fix: ensure async deriveds always get dependencies from thennable (#16672) When an async derived already has a previous promise that is still pending, we were not accessing the `then` property of the new promise. If that property access causes signals to be read, that meant that those dependencies were lost and as such the derived wouldn't rerun anymore when it should. The fix is to make sure to always access the thennable.last week677af57
chore(elements.d.ts): add "Accept-CH" as valid value for `http-equiv` (#16671) * chore(elements.d.ts): add "Accept-CH" as valid value for `http-equiv` It seems like this is a valid value and it has been working for me, however I did find conflicting information on whether it is supported or not. Supporting Evidence: - https://github.com/WICG/client-hints-infrastructure?tab=readme-ov-file#opt-in-mechanism - https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Client_hints#overview - https://developer.chrome.com/docs/privacy-security/user-agent-client-hints#introducing_the_new_user-agent_client_hints - https://github.com/httpwg/http-extensions/issues/189 Conflicting Evidence: - https://html.spec.whatwg.org/multipage/semantics.html#attr-meta-http-equiv * changeset --------- Co-authored-by: Rich Harris <hello@rich-harris.dev>last week967431c