Repository navigation
Features
- Add an
onOpenoption to configure the connection, for example to run your ownPRAGMAstatements (#147)
Fixes
- Take the write lock when a write transaction begins (#149)
- Roll back a transaction when its callback throws
- Close the connection and retry when opening the database fails
- Close the op-sqlite connection on
close() - Keep a shared connection open until its last instance closes
- Handle every promise the adapter starts
- Update react-native to v0.88.1, react-native-quick-crypto to v1.1.10 and react-native-quick-base64 to v3.0.2
Refactoring
- Replace inline comments with names, types and tests
Docs
- Say that
onOpenruns once per connection, not once per PouchDB instance
Other
- Migrate the toolchain to pnpm, oxlint, oxfmt, vitest and TypeScript 7 (#192)
- Adopt the
@nkzw/oxlint-configrules and reject comments other than JSDoc on declarations - Update dependencies, including security fixes for
fast-xml-parser,qs,fast-uri,undici,handlebars,compression,joi,brace-expansion,ip-addressandshell-quote - Regenerate the example's iOS pods for React Native 0.88.1 and update Gradle
Full Changelog: v4.4.2...v4.5.0