Skip to content

fix(deps): update dependency @electric-sql/pglite to ^0.5.0 - #749

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/electric-sql-pglite-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/electric-sql-pglite-0.x

Conversation

@renovate

@renovate renovate Bot commented Aug 18, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@electric-sql/pglite (source) ^0.3.15 → ^0.5.0 age confidence

Release Notes

electric-sql/pglite (@​electric-sql/pglite)

v0.5.16

Compare Source

Patch Changes
  • 4f9737a: 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.
  • 26a6e21: 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.
  • 10378a7: Escape embedded double quotes in identifier template helper so identifiers containing " produce valid SQL
  • 1cb5ca1: Serialize query descriptions and wait for database initialization so concurrent operations return the correct parameter and result metadata.
  • 3e94d9e: reset the stream callback after execProtocolRawStream so later execProtocolRaw/execProtocolRawSync calls are not routed to it

v0.5.15

Compare Source

Patch Changes
  • 649dc0e: Reject with TransactionAbortedError when committing an aborted transaction rolls it back instead of silently resolving.
  • fe8bdc2: Reduce initdb memory usage by passing a smaller WebAssembly.Memory object during initialization'
  • 7c62782: Upgrade tsup to 8.5.1
  • 84ce5ae: Upgrade emsdk to 6.0.13

v0.5.14

Compare Source

Patch Changes
  • 1cf7e86: 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.
  • 48dd3fb: Use PROXYFS instead of dumping the data dir from the scratch PGlite used for initdb when the data dir is in memory.
  • 268929b: do not copy parsers on each query

v0.5.13

Compare Source

Patch Changes
  • c7dc39e: 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.
  • 8364675: Added support for node-postgres through createPgConfig()
  • a4cfd4d: Added MemfsFrontendFS which allows other filesystems be implemented on top of a MEMFS. Example: added Memfs2OpfsFS which is backed by an OPFS fs.
  • 2db5d2d: Upgrade emsdk to 6.0.5

v0.5.12

Compare Source

Patch Changes
  • 0641b37: 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.
  • e752dbe: 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.
  • c31130c: 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.
  • 0641b37: Fix files restored from a tarball getting a January 1970 modification time. loadTar passed the tar header's time to Emscripten's FS.utime in seconds, but FS.utime takes milliseconds. This affected every new database (initdb's data dir is restored from a tarball) and every loadDataDir. With the Node filesystem the files on disk got those dates too.

v0.5.11

Compare Source

Patch Changes
  • 5573bb0: bug fix: check ready before close
  • 2372f39: Update submodule
  • 4321a41: Fix premature ReadyForQuery responses after extended-query errors, preventing PostgreSQL clients from desynchronizing before Sync.

v0.5.10

Compare Source

Patch Changes
  • 367ee2f: Bug fix: wait for running queries to finish before doing a data dir dump
  • cb06c21: Wait for queries to finish before closing PGlite instance. See #​1128
  • 78012ca: 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.

v0.5.9

Compare Source

Patch Changes
  • 389b731: upgrade to PostgreSQL 18.6
  • 389b731: Export additional core symbols from the main WASM module required by the plpgsql_check extension

v0.5.8

Compare Source

Patch Changes
  • c771db3: Do not set process.exitCode at all

v0.5.7

Compare Source

Patch Changes

v0.5.6

Compare Source

Patch Changes
  • 69b7d87: Apply the second options argument when calling PGlite.create(undefined, options).
  • 6c14380: fixes for process.exitCode

v0.5.5

Compare Source

Patch Changes
  • a290741: Reset retained protocol parser state after a malformed backend message so later queries can recover.
  • 6b6f28d: Fix PGlite.create({ fs }) on a fresh database calling the provided filesystem's init() twice: the inner initdb instance no longer inherits the user-provided fs and always runs on its own scratch filesystem. Previously any VFS holding exclusive resources (e.g. OPFS sync access handles) failed with a contention error on first create.
  • 354f4ae: Fix formatQuery (used by live.query/live.incrementalQuery to inline parameters) emitting %NL instead of the positional %N$L format specifier. A bare %NL is "min width N" and consumes format() arguments sequentially, so placeholders that are out of textual order silently bound the wrong values, and repeated placeholders failed with too few arguments for format().
  • 219af1e: Expose the fields node-postgres derives from the CommandComplete command tag on Results: command (e.g. SELECT, INSERT, CREATE), and rowCount (the per-statement count from the tag). The tag was already received and parsed internally to compute affectedRows, but these values were not surfaced. Matching node-postgres' command/rowCount result fields lets pg-compatible adapters report them without re-parsing SQL.
  • 20839a7: Preserve the host process.exitCode when closing a PGlite instance. close() calls _emscripten_force_exit(0), whose Emscripten runtime sets process.exitCode = 0, clobbering any exit code the host process had already set. This mirrors the existing save/restore guards in #init() and execProtocolRaw(), so closing a database no longer silently resets the host process's exit code.
  • 7e784a4: Reject operations performed through transaction handles after the transaction has closed.

v0.5.4

Compare Source

v0.5.3

Compare Source

v0.5.2

Compare Source

v0.5.1

Compare Source

Patch Changes
  • 4f9737a: 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.
  • 26a6e21: 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.
  • 10378a7: Escape embedded double quotes in identifier template helper so identifiers containing " produce valid SQL
  • 1cb5ca1: Serialize query descriptions and wait for database initialization so concurrent operations return the correct parameter and result metadata.
  • 3e94d9e: reset the stream callback after execProtocolRawStream so later execProtocolRaw/execProtocolRawSync calls are not routed to it

v0.5.0

Minor Changes
  • 93d50aa: Upgrade to Postgres 18.3; move other extensions to their own npm packages;

v0.4.6

Patch Changes

v0.4.5

Compare Source

Patch Changes
  • c6bddde: Fix caching of artifacts such that they are not downloaded multiple times

v0.4.4

Compare Source

Patch Changes

v0.4.3

Compare Source

Patch Changes
  • 2ae666f: Default database, user and role are now all "postgres"
  • fb95e66: Allow setting initial memory size.
  • 65fc101: Disable background workers.

v0.4.2

Compare Source

Patch Changes
  • 41632c4: Allow passing initdb.wasm asset for bundlers that need it.

v0.4.1

Patch Changes
  • 37fb39e: clear timers on exit; remove pglite-socket dependency on pglite-postgis

v0.4.0

Minor Changes
  • d848955: New simplified PGlite with separate initdb.
    New included extension: pg_textsearch (experimental).
    New package for postgis (experimental) as extension.
    Breaking changes: 'postgres' is the default database instead of 'template1'.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot requested a review from a team as a code owner August 18, 2026 11:27
@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch 2 times, most recently from 56439ce to c055847 Compare August 29, 2026 19:49
@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch from c055847 to 1e9850a Compare September 3, 2026 00:19
@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch from 1e9850a to 3337bc7 Compare September 15, 2026 11:24
@coderabbitai

coderabbitai Bot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 760aa3b3-f5c3-461e-b2a8-4112df816f21

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch 2 times, most recently from 509640f to e802a0a Compare September 30, 2026 17:53
@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch 2 times, most recently from 73b65c7 to f77df1d Compare October 12, 2026 12:18
@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch 3 times, most recently from 33eacac to 5fb28d4 Compare October 22, 2026 19:08
@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch 3 times, most recently from 0cdd967 to c4ed6fb Compare November 5, 2026 16:21
@pkg-pr-new

pkg-pr-new Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@netlify/ai

npm i https://pkg.pr.new/@netlify/ai@749

@netlify/aws-lambda-compat

npm i https://pkg.pr.new/@netlify/aws-lambda-compat@749

@netlify/blobs

npm i https://pkg.pr.new/@netlify/blobs@749

@netlify/cache

npm i https://pkg.pr.new/@netlify/cache@749

@netlify/dev

npm i https://pkg.pr.new/@netlify/dev@749

@netlify/dev-utils

npm i https://pkg.pr.new/@netlify/dev-utils@749

@netlify/headers

npm i https://pkg.pr.new/@netlify/headers@749

@netlify/images

npm i https://pkg.pr.new/@netlify/images@749

@netlify/otel

npm i https://pkg.pr.new/@netlify/otel@749

@netlify/redirects

npm i https://pkg.pr.new/@netlify/redirects@749

@netlify/runtime

npm i https://pkg.pr.new/@netlify/runtime@749

@netlify/runtime-utils

npm i https://pkg.pr.new/@netlify/runtime-utils@749

@netlify/static

npm i https://pkg.pr.new/@netlify/static@749

@netlify/types

npm i https://pkg.pr.new/@netlify/types@749

@netlify/database-dev

npm i https://pkg.pr.new/@netlify/database-dev@749

@netlify/database

npm i https://pkg.pr.new/@netlify/database@749

@netlify/database-proxy

npm i https://pkg.pr.new/@netlify/database-proxy@749

@netlify/edge-functions-dev

npm i https://pkg.pr.new/@netlify/edge-functions-dev@749

@netlify/edge-functions

npm i https://pkg.pr.new/@netlify/edge-functions@749

@netlify/functions-dev

npm i https://pkg.pr.new/@netlify/functions-dev@749

@netlify/functions

npm i https://pkg.pr.new/@netlify/functions@749

@netlify/identity

npm i https://pkg.pr.new/@netlify/identity@749

@netlify/server-dev

npm i https://pkg.pr.new/@netlify/server-dev@749

@netlify/server

npm i https://pkg.pr.new/@netlify/server@749

commit: ab6522a

@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch 3 times, most recently from 33ae321 to 35543a2 Compare November 11, 2026 17:59
@renovate
renovate Bot force-pushed the renovate/electric-sql-pglite-0.x branch from 35543a2 to ab6522a Compare November 12, 2026 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant