Skip to content

Latest commit

 

History

History
538 lines (319 loc) · 12.3 KB

CHANGELOG.md

File metadata and controls

538 lines (319 loc) · 12.3 KB

@powersync/web

1.14.2

Patch Changes

  • fe98172: Fixed race condition in async closing of databases
  • 17fc01e: Update core PowerSync SQLite extensions to 0.3.12
  • Updated dependencies [76dfb06]
  • Updated dependencies [3c595af]
  • Updated dependencies [fe98172]
  • Updated dependencies [85f0228]

1.14.1

Patch Changes

  • 44582ef: Fixed bug where using OPFS and reconnecting would cause upload triggers to fail.

1.14.0

Minor Changes

  • 56185bb: Add cacheSizeKb option, defaulting to 50MB.

Patch Changes

  • Updated dependencies [893d42b]
  • Updated dependencies [0606ac2]

1.13.1

Patch Changes

1.13.0

Minor Changes

  • 065aba6: Added support for OPFS virtual filesystem.

1.12.3

Patch Changes

  • 2c86114: Update powersync-sqlite-core to 0.3.8 - Increase limit on number of columns per table to 1999.
  • Updated dependencies [2c86114]

1.12.2

Patch Changes

  • Updated dependencies [7a47778]
  • Updated dependencies [4a262cd]

1.12.1

Patch Changes

1.12.0

Minor Changes

  • 36af0c8: Added temporaryStorage option to WebSQLOpenFactoryOptions. The temp_store value will now defaults to "MEMORY".

Patch Changes

  • 7e23d65: Added a bin/cli utilty that can be invoked with npx powersync-web copy-assets or pnpm powersync-web copy-assets.

1.11.0

Minor Changes

  • bacc1c5: Updated WA-SQLite to @journeyapps/[email protected]. Note that WA-SQLite performed some changes to the virtual filesystem structure in this update. An automatic migration will be executed when upgrading, however no down-migration is available. Downgrading to @journeyapps/wa-sqlite < 1.0.0 will require the IndexDB storage to be erased.

1.10.2

Patch Changes

  • fa26eb4: Update powersync-sqlite-core to 0.3.6 to fix issue with dangling rows

1.10.1

Patch Changes

  • e9773d9: Add error check for insecure context

1.10.0

Minor Changes

  • 7b49661: Added refreshSchema() which will cause all connections to be aware of a schema change.

Patch Changes

1.9.2

Patch Changes

  • 96f1a87: Improved getCrudBatch to use a default limit of 100 CRUD entries.
  • Updated dependencies [96f1a87]

1.9.1

Patch Changes

  • 79d4211: Handle additional forward slash in the POWERSYNC_URL environment variable
  • 8554526: chore: Updated minimum WA-SQLite peer dependnency version.
  • Updated dependencies [79d4211]

1.9.0

Minor Changes

  • 77e196d: Use powersync-sqlite-core 0.3.0 - faster incremental sync

Patch Changes

1.8.2

Patch Changes

1.8.1

Patch Changes

  • 944ee93: Fixed issue where sequentially mutating the same row multiple times could cause the CRUD upload queue monitoring to think CRUD operations have not been processed correctly by the BackendConnector uploadData method.
  • 245bef5: Ensuring sourcemaps are not included for packages.
  • Updated dependencies [944ee93]
  • Updated dependencies [245bef5]

1.8.0

Minor Changes

  • 7428f39: Remove lodash dependency.
  • 02f0ce7: DB and sync workers instantiation can now be overriden with a path or a factory method. Added UMD distribution to introduce react-native-web support (available under @powersync/web/umd).

Patch Changes

  • Updated dependencies [02f0ce7]
  • Updated dependencies [7428f39]
  • Updated dependencies [367d65d]

1.7.0

Minor Changes

  • b1a76b3: Fixed SSR Mode detection for DB adapters. Removed the potential for SSR Web Streamining implementations from to perform syncing operations.
  • 447f979: Use wa-sqlite 0.3.0 / powersync-sqlite-core 0.2.0.

Patch Changes

  • Updated dependencies [447f979]
  • Updated dependencies [b1a76b3]
  • Updated dependencies [e77b1ab]
  • Updated dependencies [447f979]
  • Updated dependencies [f202944]
  • Updated dependencies [447f979]
  • Updated dependencies [447f979]
  • Updated dependencies [447f979]
  • Updated dependencies [447f979]

1.6.0

Minor Changes

  • 9f95437: Updated default streaming connection method to use WebSockets

Patch Changes

  • 2db0e8f: Debounce update notifications to fix performance issue with large amounts of data synced
  • Updated dependencies [9521e24]
  • Updated dependencies [7d04f74]
  • Updated dependencies [4fc1de3]

1.5.1

Patch Changes

  • 58fd059: Fix an issue where the shared sync manager would not discard stale credentials
  • Updated dependencies [7668495]

1.5.0

Minor Changes

  • 042589c: Added a warning if connector uploadData functions don't process CRUD items completely.

Patch Changes

1.4.0

Minor Changes

  • 02ae5de: Prebundling dependencies with the aim of reducing the need for polyfills.

Patch Changes

  • 32e342a: Fix: correctly apply SQLOpen flags. This fixes an issue where PowerSyncDatabase constructor flags options were not used when opening SQLite connections in web.
  • Updated dependencies [32e342a]
  • Updated dependencies [02ae5de]

1.3.0

Minor Changes

  • 05f3dbd: Add debugMode flag to log queries on the performance timeline

Patch Changes

  • 843cfec: revert peer dep change
  • Updated dependencies [05f3dbd]

1.2.4

Patch Changes

1.2.3

Patch Changes

  • 31c61b9: Change @powersync/common peerDep to ^

1.2.2

Patch Changes

  • a1b52be: Fix read statements not using the transaction lock

1.2.1

Patch Changes

  • 8d5b702: Silencing transactions that are reporting on failed rollback exceptions when they are safe to ignore.

1.2.0

Minor Changes

  • dca599f: Improved constructor behavior of PowerSyncDatabase and logic for open factories. Deprecated RNQSPowerSyncDatabaseOpenFactory and WASQLitePowerSyncDatabaseOpenFactory.

Patch Changes

1.1.0

Minor Changes

  • 590ee67: Added initial support for client parameters. These parameters can be specified as part of the connect method's options object.

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • 32dc7e3: Bump version for Stable release.

Patch Changes

  • e86e61d: Update PowerSync branding
  • Updated dependencies [32dc7e3]

0.8.1

Patch Changes

  • c3f29a1: Created a fix to resolve the issue where watched queries would not update after syncing upstream changes

0.8.0

Minor Changes

  • 7943626: Allow package to be used without web workers

Patch Changes

  • 48cc01c: Reinclude common package as a dependency

0.7.0

Minor Changes

  • 62e43aa: Improved import and usage of BSON library.

Patch Changes

  • 6b01811: Add @powersync/common as peer dependency
  • Updated dependencies [62e43aa]

0.6.1

Patch Changes

  • f5e42af: Introduced base tsconfig. SourceMaps are now excluded in dev and release publishes.
  • Updated dependencies [f5e42af]

0.6.0

Minor Changes

  • 9d1dc6f: Added support for WebSocket sync stream connections.

Patch Changes

  • 395ea24: Remove uuid dependency
  • Updated dependencies [395ea24]
  • Updated dependencies [9d1dc6f]

0.5.3

Patch Changes

0.5.2

Patch Changes

  • Updated dependencies [c94be6a]
  • Updated dependencies [2f1e034]
  • Updated dependencies [21801b9]

0.5.1

Patch Changes

  • ffe37cf: Update package names from @journey-apps/powersync- to @powersync/
  • Updated dependencies [b902077]
  • Updated dependencies [ffe37cf]
  • Updated dependencies [f9b9a96]

0.5.0

Minor Changes

  • 3aaee03: Added support for Full text search out of the box and enabled recursive triggers.

Patch Changes

0.4.1

Patch Changes

0.4.0

Minor Changes

  • 8f7caa5: Added batch execution functionality to the web and react-native SDKs. This feature allows a SQL statement with multiple parameters to be executed in a single transaction, improving performance and consistency.

Patch Changes

  • 6c43ec6: Fixed shared sync broadcast logger sanitization and error handling. Added ability to disabled broadcast logging in WebPowerSyncFlags.
  • Updated dependencies [8f7caa5]
  • Updated dependencies [6c43ec6]

0.3.3

Patch Changes

0.3.2

Patch Changes

  • 8fc2164: Minor code cleanup for shared sync worker.
  • Updated dependencies [8fc2164]

0.3.1

Patch Changes

  • 37e266d: Added some serialization checks for broadcasted logs from shared web worker. Unserializable items will return a warning.
  • 77b3078: Reduce JS bundle size
  • 37e266d: Fixed issue where SyncBucketStorage logs would not be broadcasted from the shared sync worker to individual tabs.
  • Updated dependencies [37e266d]
  • Updated dependencies [77b3078]

0.3.0

Minor Changes

  • 1aed928: Fix PowerSyncBackendConnector.fetchCredentials type to allow returning null
  • aede9e7: Improved multiple tab syncing by unloading stream and sync bucket adapter functionality to shared webworker.

Patch Changes

  • Updated dependencies [1aed928]
  • Updated dependencies [aede9e7]

0.2.3

Patch Changes

  • e472f17: Change to use lib instead of dist build folder

0.2.2

Patch Changes

  • 69592d0: Fixed issue on NextJS 14.1.0 where shared sync web worker would fail to initialize.
  • Updated dependencies [1229e52]
  • Updated dependencies [69592d0]
  • Updated dependencies [69592d0]

0.2.1

Patch Changes

0.2.0

Minor Changes

  • d20386c: Updated common SDK. Changes #46

0.1.3

Patch Changes

  • 412937f: Fixed watched queries not updating due to race condition when opening multiple WA-SQLite connections due to initiating multiple PowerSync instances simultaneously.

0.1.2

Patch Changes

  • 7fb9df2: Fix bug where opening multiple WA-SQLite instances would erase DB table change watches.
  • 7fb9df2: Update common SDK dependency to v1.0.1: Improved connector CRUD uploads to be triggered whenever an internal CRUD operation change is triggered. Improved CRUD upload debouncing to rather use a throttled approach - executing multiple continuous write/CRUD operations will now trigger a connector upload at most (every) 1 second (by default).

0.1.1

Patch Changes

  • 0e17713: Added ignore directives for Vite to enable bundling the workers correctly.

0.1.0

Minor Changes

  • 1fa25e6: Added mock SSR implementation for sync stream client. Added better worker and multiple tabs support. Added support for Android (without multiple tab support). Fixed race conditions in Safari by disabling Shared web workers (multiple tab support).

0.0.3

Patch Changes

  • 0bc3758: Improved Server Side Rendering support: Client now does not throw exceptions if used Server Side. DB calls will return empty results, allowing pages to be constructed server side and hydrated with data on the client side.

    Improved TypeScript typings from @journeyapps/wa-sqlite.

0.0.2

Patch Changes

  • 5d9cbb9: Update package readme

0.0.1

Patch Changes

  • af78f76: Initial Alpha version