Skip to content

Svelte 5 : important recent regression with DexieJs LiveQuery that stopped working  #12341

Closed
@tobiasBora

Description

@tobiasBora

Describe the bug

I recently tried to upgrade my svelte 5 installation (it used to work fine with a previous version of svelte 5), and now I'm basically unable to use Dexie.js as liveQuery just outputs an undefined value if I refresh the page, until I write to the database. This happens even on trivial repositories (I just copied the quickstart of Dexie.js). Since an image is worth a thousand words:

Peek 08-07-2024 09-41

Reproduction

Clone https://github.com/tobiasBora/debugLiveQuery, start with npm run dev -- --open, add a new friend, refresh the page: the friend should be gone. Then add another friend: both the new friend and the old friend should appear.

Logs

No error or non-trivial log of any kind is visible.

System Info

System:
    OS: Linux 6.1 NixOS 24.05 (Uakari) 24.05 (Uakari)
    CPU: (8) x64 Intel(R) Core(TM) i5-8365U CPU @ 1.60GHz
    Memory: 929.63 MB / 15.45 GB
    Container: Yes
    Shell: 5.9 - /home/leo/.nix-profile/bin/zsh
  Binaries:
    Node: 21.6.2 - /nix/store/va3sggfgfb709lm31bzvpjfyapjdy435-nodejs-21.6.2/bin/node
    npm: 10.2.4 - /nix/store/va3sggfgfb709lm31bzvpjfyapjdy435-nodejs-21.6.2/bin/npm
  Browsers:
    Chromium: 122.0.6261.94
  npmPackages:
    svelte: ^5.0.0-next.1 => 5.0.0-next.175

[email protected] /tmp/debugLiveQuery/my-app
├── @fontsource/[email protected]
├── @neoconfetti/[email protected]
├── @sveltejs/[email protected]
├── @sveltejs/[email protected]
├── @sveltejs/[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

Severity

blocking all usage of svelte

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions