Packages

@electric-sql/pglite

0.5.17 · 19 Nov 2026Apache-2.044.2M / weekRepositoryHomepagenpmAtom feed

Your version

68 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.

  1. 0.5.x · latest line
  2. 0.5.17

    19 Nov 2026
    • Upgrade to PostgreSQL 18.7

  3. 0.5.16

    9 Nov 2026
    • Export pglite.wasm, initdb.wasm and pglite.data so they can be imported by package path (e.g. @electric-sql/pglite/pglite.wasm), and document Nitro/Nuxt support.

    • Parse infinity and -infinity in date, timestamp and timestamptz values as Infinity and -Infinity instead of Invalid Date, and serialize them back to infinity and -infinity.

    • Escape embedded double quotes in identifier template helper so identifiers containing " produce valid SQL

  4. 0.5.15

    3 Nov 2026
    • Reject with TransactionAbortedError when committing an aborted transaction rolls it back instead of silently resolving.

    • Reduce initdb memory usage by passing a smaller WebAssembly.Memory object during initialization'

  5. 0.5.14

    31 Oct 2026
    • Only build the pglite.wasm, initdb.wasm and pglite.data URLs when PGlite has to load them. Passing pgliteWasmModule, initdbWasmModule and fsBundle now works in bundles where import.meta.url is undefined, such as an esbuild IIFE build.

    • Use PROXYFS instead of dumping the data dir from the scratch PGlite used for initdb when the data dir is in memory.

    • Do not copy parsers on each query

  6. 0.5.13

    28 Oct 2026
    • close() now waits for queries, execs and transactions that were issued before it, so they complete instead of failing with Cannot read properties of undefined after teardown.

    • Added support for node-postgres through createPgConfig()

    • Added MemfsFrontendFS which allows other filesystems be implemented on top of a MEMFS. Example: added Memfs2OpfsFS which is backed by an OPFS fs.

  7. 0.5.12

    26 Oct 2026
    • Fix custom filesystems not receiving times set with FS.utime. Emscripten's FS.utime calls setattr with atime and mtime, but the BaseFilesystem bridge only handled the older timestamp field, so utimes was never called on OPFS AHP or any other BaseFilesystem. Files restored from a tarball kept the time they were written instead of the time stored in the tarball.

    • Run initdb with TZ=UTC, like the backend, so a new database gets timezone = 'UTC' in postgresql.conf. Before, initdb wrote the host's zone as a fixed offset without daylight saving (e.g. Etc/GMT+5 for America/New_York), so timestamptz input without an offset was stored at a different instant on each non-UTC machine.

    • Start under the Node.js permission model (node --permission). Emscripten's NODEFS read the fs open flags with process.binding('constants'), which Node always denies in that mode, so new PGlite() threw ERR_ACCESS_DENIED even for memory://. The bundled build now reads them from require('fs').constants, which holds the same values.

  8. 0.5.11

    21 Oct 2026
    • Bug fix: check ready before close

    • Update submodule

    • Fix premature ReadyForQuery responses after extended-query errors, preventing PostgreSQL clients from desynchronizing before Sync.

  9. 0.5.10

    14 Oct 2026
    • Bug fix: wait for running queries to finish before doing a data dir dump

    • Wait for queries to finish before closing PGlite instance. See #1128

    • Fix a windowed live.query (one given offset and limit) leaking its live_query_<id>_get_total_count prepared statement on unsubscribe. Only live_query_<id>_get was deallocated, so the count statement survived every teardown while its backing view was dropped, accumulating dangling prepared statements for the lifetime of the database.

  10. 0.5.9

    12 Oct 2026
    • Upgrade to PostgreSQL 18.6

    • Export additional core symbols from the main WASM module required by the plpgsql_check extension

  11. 0.5.8

    26 Aug 2026
    • Do not set process.exitCode at all

  12. 0.5.7

    23 Aug 2026

    Reading the note…

  13. 0.5.6

    22 Aug 2026

    Reading the note…

  14. 0.5.5

    13 Aug 2026

    Reading the note…

  15. 0.5.4

    2 Jul 2026

    Reading the note…

  16. 0.5.3

    16 Jun 2026

    Reading the note…

  17. 0.5.2

    11 Jun 2026

    Reading the note…

  18. 0.5.1

    2 Jun 2026

    Reading the note…

  19. 0.5.0

    2 Jun 2026

    Reading the note…

  20. 0.4.x
  21. 0.4.6

    25 May 2026

    Reading the note…

  22. 0.4.5

    27 Apr 2026

    Reading the note…

  23. 0.4.4

    9 Apr 2026

    Reading the note…

  24. 0.4.3

    2 Apr 2026

    Reading the note…

  25. 0.4.2

    25 Mar 2026

    Reading the note…

  26. 0.4.1

    19 Mar 2026

    Reading the note…

  27. 0.4.0

    17 Mar 2026

    Reading the note…

  28. 0.3.x
  29. 0.3.16

    10 Mar 2026

    Reading the note…

  30. 0.3.15

    15 Jan 2026

    Reading the note…

  31. 0.3.14

    6 Nov 2025

    Reading the note…

  32. 0.3.13

    5 Nov 2025

    Reading the note…

  33. 0.3.12

    3 Nov 2025

    Reading the note…

  34. 0.3.11

    14 Oct 2025

    Reading the note…

  35. 0.3.10

    24 Sep 2025

    Reading the note…

  36. 0.3.9

    22 Sep 2025

    Reading the note…

  37. 0.3.8

    8 Sep 2025

    Reading the note…

  38. 0.3.7

    4 Aug 2025

    Reading the note…

  39. 0.3.6

    28 Jul 2025

    Reading the note…

  40. 0.3.5

    15 Jul 2025

    Reading the note…

  41. 0.3.4

    26 Jun 2025

    Reading the note…

  42. 0.3.3

    4 Jun 2025

    Reading the note…

  43. 0.3.2

    21 May 2025

    Reading the note…

  44. 0.3.1

    12 May 2025

    Reading the note…

  45. 0.3.0

    24 Apr 2025

    Reading the note…

  46. 0.2.x
  47. 0.2.17

    12 Feb 2025

    Reading the note…

  48. 0.2.16

    21 Jan 2025

    Reading the note…

  49. 0.2.15

    9 Dec 2024

    Reading the note…

  50. 0.2.14

    26 Nov 2024

    Reading the note…

  51. 0.2.13

    12 Nov 2024

    Reading the note…

  52. 0.2.12

    11 Oct 2024

    Reading the note…

  53. 0.2.11

    7 Oct 2024

    Reading the note…

  54. 0.2.10

    2 Oct 2024

    Reading the note…

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.