Skip to content

Releases: electric-sql/pglite

v0.2.0-alpha.3

27 Jul 07:49
Compare
Choose a tag to compare
v0.2.0-alpha.3 Pre-release
Pre-release

Alpha of version 0.2, this marks a large step forward with a new build architecture and better stability.

What's Changed

  • PGlite Next by @pmp-p in #112
    • Now based on Postgres version 16.3
    • Support for dynamic loading of extensions, with the first being pgvector
    • A new dumpDataDir method to dump a tarball of the database, and a loadDataDir option when starting to load a database
    • Fixes issues with TOAST values and materialised views.
  • Fix web worker syntax for webpack static analysis by @gregnr in #103
  • Support for adding or receiving a blob for use with COPY FROM/TO by @samwillis in #106
  • Support for pg_notify by @samwillis in #102
  • Extension API by @samwillis in #99
  • Fix extension loading when server sends content-encoding: gzip header by @samwillis in #124
  • Live Query API by @samwillis in #104
  • New method execProtocolRaw() by @gregnr in #127

New Contributors

Full Changelog: v0.1.5...v0.2.0-alpha.3

v0.2.0-alpha.2

26 Jul 06:09
Compare
Choose a tag to compare
v0.2.0-alpha.2 Pre-release
Pre-release

What's Changed

Full Changelog: v0.2.0-alpha.0...v0.2.0-alpha.2

v0.2.0-alpha.0

23 Jul 13:53
Compare
Choose a tag to compare
v0.2.0-alpha.0 Pre-release
Pre-release

First Alpha of version 0.2, this marks a large step forward with a new build architecture and better stability.

What's Changed

  • PGlite Next by @pmp-p in #112
    • Now based on Postgres version 16.3
    • Support for dynamic loading of extensions, with the first being pgvector
    • A new dumpDataDir method to dump a tarball of the database, and a loadDataDir option when starting to load a database
    • Fixes issues with TOAST values and materialised views.
  • Fix web worker syntax for webpack static analysis by @gregnr in #103
  • Support for adding or receiving a blob for use with COPY FROM/TO by @samwillis in #106
  • Support for pg_notify by @samwillis in #102
  • Extension API by @samwillis in #99

New Contributors

Full Changelog: v0.1.5...v0.2.0-alpha.0

v0.1.5

22 Apr 10:14
Compare
Choose a tag to compare

What's Changed

  • fix: Handle undefined as though it's a null when serializing by @samwillis in #84

Full Changelog: v0.1.4...v0.1.5

v0.1.4

17 Apr 13:45
Compare
Choose a tag to compare

What's Changed

  • Add a relaxed durability mode for use with the idb vfs by @samwillis in #79

Full Changelog: v0.1.3...v0.1.4

v0.1.3

16 Apr 18:33
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.2...v0.1.3

v0.1.2

06 Apr 07:42
Compare
Choose a tag to compare

What's Changed

Contributors

Full Changelog: v0.1.1...v0.1.2

v0.1.1

28 Mar 14:57
Compare
Choose a tag to compare

Patch release including:

  • Improvements to Postgres type parsing and serialisation.
  • Adds support for Postgres array types.

v0.1.0

27 Mar 17:17
Compare
Choose a tag to compare

Whats new in V0.1

Version 0.1 (up from 0.0.2) includes significant changes to the Postgres build - it's about 1/3 smaller at 2.6mb gzipped, and up to 2-3 times faster. We have also found a way to statically compile Postgres extensions into the build - the first of these is pl/pgsql with more coming soon.

Key changes in this release are:

  • Support for parameterised queries #39
  • An interactive transaction API #39
  • pl/pgsql support #48
  • Additional query options #51
  • Run PGlite in a Web Workers #49
  • Fix for running on Windows #54
  • Fix for missing pg_catalog and information_schema tables and view #41

We have also published some benchmarks in comparison to a WASM SQLite build, and both native Postgres and SQLite. While PGlite is currently a little slower than WASM SQLite we have plans for further optimisations, including OPFS support and removing some the the Emscripten options that can add overhead.