data-table-sqlite@0.3.0
Breaking Changes📦 remixView on GitHub →
⚠ 1 breaking🔧 3 symbols
Summary
This minor release removes the deprecated adapter options argument from SQLite database adapter creation and construction, forcing users to mutate capabilities directly if overrides are necessary.
⚠️ Breaking Changes
- Removed adapter options. Previously, adapter capabilities could be overridden via the `options` argument in `createSqliteDatabaseAdapter` or the `SqliteDatabaseAdapter` constructor. These arguments are now removed. To override capabilities, mutate the adapter instance directly after creation: `adapter.capabilities = { ...adapter.capabilities, returning: false }`.
Migration Steps
- If you were passing an `options` argument to `createSqliteDatabaseAdapter` or the `SqliteDatabaseAdapter` constructor, remove it.
- If you relied on the `options` argument to override adapter capabilities (e.g., for testing), modify your code to mutate the adapter instance after creation: `adapter.capabilities = { ...adapter.capabilities, ...overrides }`.