Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #4

Merged
merged 494 commits into from
Dec 4, 2024
Merged

merge #4

merged 494 commits into from
Dec 4, 2024

Conversation

adiguba
Copy link
Owner

@adiguba adiguba commented Dec 4, 2024

merge

trueadm and others added 30 commits October 24, 2024 22:12
* fix: enable bound store props in runes mode components

* add some JSDoc, since it could be a headscratcher for future us

* make it clear that this is specifically about bindings

* skip intermediate value

* tweak other names too

---------

Co-authored-by: Rich Harris <[email protected]>
* chore: setup `pkg.pr.new`

* chore: let's try with this
…node removal (#13884)

* set onfinish to null to fix a rare bug

* replace null by noop
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* typo: HTMLDiveElement

* regenerate types

* add changeset

---------

Co-authored-by: Conduitry <[email protected]>
* clarify why we need to use the derived rune

* put clarification as note
* fix: ensure SVG element attributes have case preserved

* fix: ensure SVG element attributes have case preserved

* fix: ensure SVG element attributes have case preserved
Besides being private API that shouldn't be exposed, they caused our AST explorer on the Svelte site to traverse endlessly

fixes sveltejs/svelte.dev#480
* chore: highlight swallowed errors from await blocks in DEV

* chore: highlight swallowed errors from await blocks in DEV

* chore: highlight swallowed errors from await blocks in DEV

* lint

* feedback

* feedback

* add test

* Update packages/svelte/tests/runtime-runes/samples/await-no-catch-error/main.svelte

---------

Co-authored-by: Simon H <[email protected]>
…13924)

* fix: ensure value is correctly set to zero on the progress element

* fix: ensure value is correctly set to zero on the progress element

* fix: ensure value is correctly set to zero on the progress element
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…13942)

* fix: add empty stack to `CompileDiagnostic` to show error on build

* chore: generate types

* chore: make stack optional to make TS happy

* chore: generate types -.-"

* chore: add comment
…3957) (#13958)

Make the casing of the word ‘DOM’ in the Svelte 5 migration guide
consistent.
* fix: more exhaustive check during `SvelteMap.set` in deriveds

* chore: use set for version reactions

* chore: cleanup
A full stop or colon, we myst choose
* Update 03-lifecycle-hooks.md

* Update documentation/docs/06-runtime/03-lifecycle-hooks.md

Co-authored-by: Paolo Ricciuti <[email protected]>

---------

Co-authored-by: Paolo Ricciuti <[email protected]>
Update (some) of the links pointing to the old preview site as mentioned in #13982.

This updates all the links in documentation/ and packages/svelte/messages, but doesn't touch others present in packages/svelte/ or fix the original link in that issue.
)

* fix: ensure effect_tracking correctly handles tracking reactions

* fix: ensure effect_tracking correctly handles tracking reactions
dummdidumm and others added 27 commits December 2, 2024 08:19
* feat: each without as

WIP

closes #8348

* properly

* docs

* changeset

* real world demo

* simplify

* typo

---------

Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
a instead of an before failed
playgrounds/sandbox/run.js doesn't work for components containing bigints, because they can't be serialized to JSON. There isn't really a great fix for this issue but this at least allows the sandbox to run
* feat: allow snippets to be exported from module scripts

* tweak type

* fix issue + add test

* refactor

* refactor

* fix exports error

* fix lint

* fix lint

* error on undefined export

* hoisted snippets belong in transform state, not analysis

* put the code where it's used

* drop the local_. just binding. it's cleaner

* simplify

* simplify

* simplify

* simplify

* tidy up

* oops

* update message, add some details

* lint

* Apply suggestions from code review

* add some docs

* Update packages/svelte/src/compiler/phases/3-transform/utils.js

* Update .changeset/famous-parents-turn.md

---------

Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Simon H <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Also fix adjacent code examples

closes #14187
* chore: add test for binding event reactive context

* revised
…rovided (#14507)

* fix: leave update expressions untransformed unless a transformer is provided

* fix more cases
…e warning (#14192)

* turn `reactive_declaration_non_reactive_property` into a runtime warning

* ignore warning

* Update packages/svelte/src/internal/client/reactivity/effects.js

Co-authored-by: Simon H <[email protected]>

* Update packages/svelte/src/internal/client/runtime.js

Co-authored-by: Simon H <[email protected]>

* fix

* test

* changeset

* Update .changeset/witty-turtles-bake.md

Co-authored-by: Simon H <[email protected]>

* add some details

* check

* regenerate

---------

Co-authored-by: Simon H <[email protected]>
…14525)

* fix: ensure SvelteDate cached methods have no reactive context

* fix: ensure SvelteDate cached methods have no reactive context

* fix

* lint

* use active reaction at time of instance creation

* tweak changeset

* Update packages/svelte/src/internal/client/dom/elements/bindings/shared.js

Co-authored-by: Paolo Ricciuti <[email protected]>

---------

Co-authored-by: Dominic Gannaway <[email protected]>
Co-authored-by: Paolo Ricciuti <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: capture infinite_loop_guard in error boundary

* fix
* fix: don't try to add owners to non-`$state` class fields

`$state.raw` and `$derived(.by)` will not have a state symbol on them, potentially causing a disastrous amount of traversal to potentially not find any state symbol. So it's better to not traverse them.

Potentially someone could create a `$state` while creating `$state.raw` or inside a `$derived.by`, but that feels so much of an edge case that it doesn't warrant a perf hit for the common case.

Fixes #14491

* for bind:, too
…tors (#14273)

* add failing test for #14268

* simplify

* proxify values when using ||=, &&= and ??= assignment operators

* proxify values assigned to private state fields

* changeset

* fix

* fix

* add warning

* update test
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

vercel bot commented Dec 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
adiguba-svelte-5-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 0:13am

@adiguba adiguba merged commit 7677ee1 into adiguba:if-alt Dec 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.