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 - Multi-tab worker by @samwillis in #120
- OPFS access handle pool VFS by @samwillis in #130
- Postgres contrib extensions by @samwillis in #131
- contrib folder auto builder by @pmp-p in #129
- Fix close and add support for new stage 3 ECMAScript explicit resource management by @samwillis in #133
- Fix bundling for Next.js by @samwillis in #140
- contrib/uuid_ossp by @samwillis in #136
- Fix closing of the IndexedDB when closing an idb backed pglite by @samwillis in #141
- Add a "browser" field to package.json to hint to bundlers what is not required in the browser by @samwillis in #143
- CJS support by @samwillis in #144
- Enable setting a user when connecting to PGlite by @pmp-p in #147
- feat: React hooks by @msfstef in #150
- Enable swapping database by @samwillis in #148
- Fix live query params by @samwillis in #151
- Fix pg-protocol types by forcing tsc to bundle pg-protocol by @samwillis in #158
- Impliment llseek for the /dev/blob device enabling loading larger files by @samwillis in #159
- Fix OPFS AHP state WAL loading by @samwillis in #160
New Contributors
Full Changelog: v0.1.5...v0.2.0-alpha.9