Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sveltejs/svelte
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: svelte@5.38.0
Choose a base ref
...
head repository: sveltejs/svelte
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 8 commits
  • 46 files changed
  • 9 contributors

Commits on Aug 6, 2025

  1. Update 18-class.md (#16558)

    Rest of doc references 5.16 but this is from 5.19 so added the clarification.
    jhpaige authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    9efe672 View commit details
    Browse the repository at this point in the history
  2. chore:Update for TS7 (#16485)

    * Update for TS7
    
    I am testing Typescript 7's JS support, which I've largely rewritten
    during the switch to Go. That means Javascript code will need to change
    much more than Typescript code. Fortunately, most of the changes are for
    the better: Javascript semantics are now nearly identical to Typescript
    semantics. It's much stricter and no longer has some persistent bugs
    that arose from shady JS handling I wrote years ago.
    
    This PR changes Svelte so that it compiles both with TS5.* and TS7,
    which means that occasionally there are duplicative or non-obvious
    changes. I'll annotate the interesting changes to explain why I made them.
    
    Because TS7 is quite a way off, I don't know whether you'll want to take
    this PR. Most of the changes are for the better, because they're due to
    stricter TS-aligned checking. But some are neutral and there is the
    previously mentioned duplication in a few places.
    
    * add changeset
    
    * revert scribbles mistakenly added
    
    * pnpm run format
    
    * revert mistaken edit
    
    * return to function declarations w/type tag
    
    * add job to ci.yml
    
    * skipLibCheck for now
    
    * no need for a changeset here
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    Co-authored-by: Rich Harris <hello@rich-harris.dev>
    3 people authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    97f263c View commit details
    Browse the repository at this point in the history
  3. fix: wrap abort in without_reactive_context (#16570)

    * fix: wrap `abort` in `without_reactive_context`
    
    * only call without_reactive_context when the controller exists
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    paoloricciuti and Rich-Harris authored Aug 6, 2025
    Configuration menu
    Copy the full SHA
    548ad7b View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2025

  1. Configuration menu
    Copy the full SHA
    f00b364 View commit details
    Browse the repository at this point in the history
  2. fix: add hint popover (#16581)

    * fix: add hint popover
    
    * changeset
    
    ---------
    
    Co-authored-by: Rich Harris <hello@rich-harris.dev>
    shamokit and Rich-Harris authored Aug 9, 2025
    Configuration menu
    Copy the full SHA
    d2ba258 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2025

  1. fix: skip effects inside dynamic component that is about to be destro…

    …yed (#16601)
    
    * fix: skip effects inside dynamic component that is about to be destroyed
    
    When a dynamic component was updated to a different instance and its props were updated at the same time, effects inside the component were still called with the already-changed props.
    The fix is to mark the branch as skipped to never got to those effects.
    
    Fixes #16387
    
    * undo accidental commit
    dummdidumm authored Aug 11, 2025
    Configuration menu
    Copy the full SHA
    0480f04 View commit details
    Browse the repository at this point in the history
  2. chore: add script to generate test from playground (#16602)

    * chore: add script to generate test from playground
    
    I often play around with stuff locally and then turn it into a test, this automates the last mile of that
    
    * ask if should override
    dummdidumm authored Aug 11, 2025
    Configuration menu
    Copy the full SHA
    ca442e4 View commit details
    Browse the repository at this point in the history
  3. Version Packages (#16573)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Aug 11, 2025
    Configuration menu
    Copy the full SHA
    2e02868 View commit details
    Browse the repository at this point in the history
Loading