chore: publish new package versions #2046
Merged
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
@electric-sql/[email protected]
Minor Changes
e96928e: [BREAKING]: Move non-protocol options like table & where to the params sub-key
Context
Electric's TypeScript client is currently tightly coupled to PostgreSQL-specific options in its
ShapeStreamOptions
interface. As Electric plans to support multiple data sources in the future, we need to separate protocol-level options from source-specific options.Changes
PostgresParams
type to define PostgreSQL-specific parameters:table
: The root table for the shapewhere
: Where clauses for the shapecolumns
: Columns to include in the shapereplica
: Whether to send full or partial row updatesShapeStreamOptions
interface to theparams
sub-keyParamsRecord
type to include PostgreSQL parametersShapeStream
class to handle parameters from theparams
objectMigration Example
Before:
After:
Patch Changes
@electric-sql/[email protected]
Minor Changes
9c50e8f: [BREAKING]: Remove databaseId option from ShapeStream in favor of params option.
e96928e: [BREAKING]: Move non-protocol options like table & where to the params sub-key
Context
Electric's TypeScript client is currently tightly coupled to PostgreSQL-specific options in its
ShapeStreamOptions
interface. As Electric plans to support multiple data sources in the future, we need to separate protocol-level options from source-specific options.Changes
PostgresParams
type to define PostgreSQL-specific parameters:table
: The root table for the shapewhere
: Where clauses for the shapecolumns
: Columns to include in the shapereplica
: Whether to send full or partial row updatesShapeStreamOptions
interface to theparams
sub-keyParamsRecord
type to include PostgreSQL parametersShapeStream
class to handle parameters from theparams
objectMigration Example
Before:
After:
Patch Changes
@core/[email protected]
Patch Changes
@core/[email protected]
Patch Changes
Remove corrupted shapes from store when recovery fails.
field = const
orfield = const AND another_condition
ELECTRIC_LOG_CHUNK_BYTES_THRESHOLD
and logging-related configuration options. AddELECTRIC_
prefix toLOG_LEVEL
toLOG_OTP_REPORTS
config options. Introduce a new config option namedELECTRIC_LOG_COLORS
.