Version Packages#1027
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
58828f3 to
a39a61c
Compare
Contributor
|
@simolus3 Is there any schedule for release? |
Contributor
|
@delagen Because this includes breaking changes, we want to coordinate this properly and will probably release this in about 2 weeks. I can prepare a set of dev versions with this if you want to use it earlier than that, but that's not something we'd support officially. |
Contributor
Can we #1015 to v1 branch and release wa-sqlite with latest changes? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@powersync/attachments@3.0.0
Major Changes
Patch Changes
@powersync/common@2.0.0
Major Changes
ce608a0: Refactor open and sync options:
SyncOptionsinterface alone, whichreplaces
PowerSyncConnectionOptionsand several other existing types.Sync options are only set on the call to
connect(), and can no longer be set whenconstructing a database.
SyncOptionsis the same type across all SDKs, SDK-specific options need to be specifiedwhen opening a database.
PowerSyncDatabaseOptions).Using a custom open factory or an existing
DBAdapterinstance now requires thefactoryandopenedkey, respectively (previously these options shadowed thedatabasefield).On the web, all options that previously required a
WASQLiteOpenFactoryare now available ondatabasetoo.Also on the web, all database open options are represented via
WebSQLOpenOptions. Additionaloptions related to the sync process have moved to the
WebSpecificOptionstype to separate thoseconcerns better.
from WebSockets to HTTP.
As a small guide on how to upgrade, consider these examples:
57373f9: Remove the deprecated table v1 syntax. To create tables based on column arrays, use the new ResolvedTable class.
299adaf: Remove
SQLOnChangeOptions.rawTableNamesandWatchOnChangeHandler.onError- both were already ignored before.2c3370d: Make
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.06db9d8: Remove js-logger dependency in favor of a custom logger interface that needs to be passed to PowerSync databases explicitly.
Minor Changes
5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.@powersync/kysely-driver@2.0.0
Major Changes
Patch Changes
@powersync/react@2.0.0
Major Changes
usePowerSyncQueryandusePowerSyncWatchedQuery(useuseQueryinstead) andusePowerSyncStatus(useuseStatusinstead).Patch Changes
@powersync/react-native@2.0.0
Major Changes
57373f9: Remove the deprecated table v1 syntax. To create tables based on column arrays, use the new ResolvedTable class.
1a644f9: This release removes polyfills previously embedded into the React Native SDK to support
older React Native versions.
In particular, the following polyfills have been removed:
TextEncoderandTextDecoder: Support forTextDecoderhas recently been added to React Native,and the SDK only uses it with very old PowerSync service versions as binary streams are preferred.
react-native-fetch-api: The package was effectively unmaintained. We now useexpo/fetchas a defaultHTTP client. When unavailable, we fall back to the builtin
fetchpolyfill in React Native.Note that this doesn't support streams, so we recommend enabling
{ connectionMethod: SyncStreamConnectionMethod.WEB_SOCKET }for non-Expo apps with PowerSync.ReadableStream: We expect thatfetchimplementations correctly implementResponse.getReader().299adaf: Remove
SQLOnChangeOptions.rawTableNamesandWatchOnChangeHandler.onError- both were already ignored before.5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.2c3370d: Make
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.1a644f9: Remove support for React Native Quick SQLite (RNQS). Additionally,
OPSqliteOpenFactoryis now the default and partof the
@powersync/react-nativepackage.To upgrade, drop dependencies on
@powersync/op-sqlite. If you've previously used RNQS, also add a dependency on@op-engineering/op-sqlite.If you've previously used a
OPSqliteOpenFactory, all options are now available on thePowerSyncDatabaseconstructor directly:
Minor Changes
Patch Changes
@powersync/web@2.0.0
Major Changes
ce608a0: Refactor open and sync options:
SyncOptionsinterface alone, whichreplaces
PowerSyncConnectionOptionsand several other existing types.Sync options are only set on the call to
connect(), and can no longer be set whenconstructing a database.
SyncOptionsis the same type across all SDKs, SDK-specific options need to be specifiedwhen opening a database.
PowerSyncDatabaseOptions).Using a custom open factory or an existing
DBAdapterinstance now requires thefactoryandopenedkey, respectively (previously these options shadowed thedatabasefield).On the web, all options that previously required a
WASQLiteOpenFactoryare now available ondatabasetoo.Also on the web, all database open options are represented via
WebSQLOpenOptions. Additionaloptions related to the sync process have moved to the
WebSpecificOptionstype to separate thoseconcerns better.
from WebSockets to HTTP.
As a small guide on how to upgrade, consider these examples:
57373f9: Remove the deprecated table v1 syntax. To create tables based on column arrays, use the new ResolvedTable class.
299adaf: Remove
SQLOnChangeOptions.rawTableNamesandWatchOnChangeHandler.onError- both were already ignored before.5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.45f4d61: To reduce setup complexity, the database and sync workers have moved to a single file.
The UMD build for the main library has been removed, import
@powersync/webdirectly andremove import mappings pointing to
@powersync/web/umd.If you were using the pre-bundled sync or web workers, run
powersync-web copy-assetsagainand update URLs from
/@powersync/worker/WASQLiteDB.umd.jsand/@powersync/worker/SharedSyncImplementation.umd.jsto/@powersync/worker.js.2c3370d: Make
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.Minor Changes
WASQLiteVFS.InMemoryVFS.Patch Changes
@powersync/capacitor@1.0.0
Minor Changes
ce608a0: Refactor open and sync options:
SyncOptionsinterface alone, whichreplaces
PowerSyncConnectionOptionsand several other existing types.Sync options are only set on the call to
connect(), and can no longer be set whenconstructing a database.
SyncOptionsis the same type across all SDKs, SDK-specific options need to be specifiedwhen opening a database.
PowerSyncDatabaseOptions).Using a custom open factory or an existing
DBAdapterinstance now requires thefactoryandopenedkey, respectively (previously these options shadowed thedatabasefield).On the web, all options that previously required a
WASQLiteOpenFactoryare now available ondatabasetoo.Also on the web, all database open options are represented via
WebSQLOpenOptions. Additionaloptions related to the sync process have moved to the
WebSpecificOptionstype to separate thoseconcerns better.
from WebSockets to HTTP.
As a small guide on how to upgrade, consider these examples:
57373f9: Remove the deprecated table v1 syntax. To create tables based on column arrays, use the new ResolvedTable class.
299adaf: Remove
SQLOnChangeOptions.rawTableNamesandWatchOnChangeHandler.onError- both were already ignored before.5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.2c3370d: Make
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.Patch Changes
@powersync/drizzle-driver@1.0.0
Minor Changes
Patch Changes
@powersync/node@1.0.0
Minor Changes
ce608a0: Refactor open and sync options:
SyncOptionsinterface alone, whichreplaces
PowerSyncConnectionOptionsand several other existing types.Sync options are only set on the call to
connect(), and can no longer be set whenconstructing a database.
SyncOptionsis the same type across all SDKs, SDK-specific options need to be specifiedwhen opening a database.
PowerSyncDatabaseOptions).Using a custom open factory or an existing
DBAdapterinstance now requires thefactoryandopenedkey, respectively (previously these options shadowed thedatabasefield).On the web, all options that previously required a
WASQLiteOpenFactoryare now available ondatabasetoo.Also on the web, all database open options are represented via
WebSQLOpenOptions. Additionaloptions related to the sync process have moved to the
WebSpecificOptionstype to separate thoseconcerns better.
from WebSockets to HTTP.
As a small guide on how to upgrade, consider these examples:
57373f9: Remove the deprecated table v1 syntax. To create tables based on column arrays, use the new ResolvedTable class.
5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.9caca19: Internal: Refactor remote to load WebSocket support lazily, reducing the size of the main PowerSync SDK.
2c3370d: Make
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.Patch Changes
@powersync/nuxt@1.0.0
Minor Changes
ce608a0: Refactor open and sync options:
SyncOptionsinterface alone, whichreplaces
PowerSyncConnectionOptionsand several other existing types.Sync options are only set on the call to
connect(), and can no longer be set whenconstructing a database.
SyncOptionsis the same type across all SDKs, SDK-specific options need to be specifiedwhen opening a database.
PowerSyncDatabaseOptions).Using a custom open factory or an existing
DBAdapterinstance now requires thefactoryandopenedkey, respectively (previously these options shadowed thedatabasefield).On the web, all options that previously required a
WASQLiteOpenFactoryare now available ondatabasetoo.Also on the web, all database open options are represented via
WebSQLOpenOptions. Additionaloptions related to the sync process have moved to the
WebSpecificOptionstype to separate thoseconcerns better.
from WebSockets to HTTP.
As a small guide on how to upgrade, consider these examples:
57373f9: Remove the deprecated table v1 syntax. To create tables based on column arrays, use the new ResolvedTable class.
5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.Patch Changes
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.@powersync/tauri-plugin@0.1.0
Minor Changes
5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.Patch Changes
ce608a0: Refactor open and sync options:
SyncOptionsinterface alone, whichreplaces
PowerSyncConnectionOptionsand several other existing types.Sync options are only set on the call to
connect(), and can no longer be set whenconstructing a database.
SyncOptionsis the same type across all SDKs, SDK-specific options need to be specifiedwhen opening a database.
PowerSyncDatabaseOptions).Using a custom open factory or an existing
DBAdapterinstance now requires thefactoryandopenedkey, respectively (previously these options shadowed thedatabasefield).On the web, all options that previously required a
WASQLiteOpenFactoryare now available ondatabasetoo.Also on the web, all database open options are represented via
WebSQLOpenOptions. Additionaloptions related to the sync process have moved to the
WebSpecificOptionstype to separate thoseconcerns better.
from WebSockets to HTTP.
As a small guide on how to upgrade, consider these examples:
299adaf: Remove
SQLOnChangeOptions.rawTableNamesandWatchOnChangeHandler.onError- both were already ignored before.2c3370d: Make
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.Updated dependencies [ce608a0]
Updated dependencies [57373f9]
Updated dependencies [299adaf]
Updated dependencies [5650e7f]
Updated dependencies [2c3370d]
Updated dependencies [06db9d8]
@powersync/vue@1.0.0
Minor Changes
299adaf: Breaking: Remove
usePowerSyncQueryandusePowerSyncWatchedQuery(useuseQueryinstead) andusePowerSyncStatus(useuseStatusinstead).5650e7f: Rename
AbstractPowerSyncDatabasetoCommonPowerSyncDatabase, make it a TypeScript interface.CrudEntryis now a TypeScript interface, remove it's constructor andCrudEntry.fromRow.SyncStatusis no longer constructable in user code.Deprecate
DataFlowStatus. Use fields onSyncStatusdirectly instead.Patch Changes
@powersync/adapter-sql-js@0.0.19
Patch Changes
@powersync/attachments-storage-react-native@1.0.0
Patch Changes
@powersync/tanstack-react-query@1.0.0
Patch Changes
tauri-plugin-powersync@0.0.5
Patch Changes
DBAdapterandLockContextabstract classes, refactorQueryResultto provide column names and raw data.@powersync/diagnostics-app@0.13.15
Patch Changes