v0.32.12026-08-01
Added
- pw.io.chroma.write writes a Pathway table to a Chroma collection, keeping the collection in sync with the table as rows are added, changed, and removed. The columns are mapped onto Chroma's record fields explicitly: the optional primarykey becomes the record id (when omitted, the row's internal Pathway key is used instead), embedding the vector, the optional document column the stored text, and metadatacolumns the record metadata. The collection must already exist. The server is addressed with host/port (plus ssl, headers, tenant, and database for authenticated deployments such as Chroma Cloud).
- pw.io.qdrant.write writes a Pathway table to a Qdrant collection. Each row addition is upserted as a point and each deletion removes the corresponding point, so an update replaces a point rather than duplicating it. The pre-created collection's schema drives the writing: every named vector slot of the collection is bound to the table column with the same name — dense slots to list[float] (or 1-D numpy.ndarray) columns, sparse slots to list[tuple[int, float]] columns of (index, weight) pairs — and all vectors of a point are written atomically in one upsert, enabling native hybrid (dense + BM25) search. The remaining columns are stored in the point payload. The connector fails fast on a missing collection or any slot/column mismatch instead of degrading silently. The batchsize parameter bounds how many points are sent per request, and an optional apikey authenticates against Qdrant Cloud or a secured instance.
- pw.io.duckdb.write writes a Pathway table into a DuckDB database file through a native, in-process connector, in either "streamofchanges" or "snapshot" mode. Embeddings stored as numpy arrays or list[float] columns land in native DOUBLE[] list columns, so the result is directly searchable with DuckDB's vector-distance functions for RAG retrieval. The detachbetweenbatches option makes the writer close the database after every minibatch commit and reopen it for the next one, releasing the file lock in between — so a separate process (e.g. a query server) can read committed data with short-lived read-only connections while the pipeline keeps running; the writer retries the reopen with a backoff when a reader momentarily holds the lock.
- pw.io.weaviate.write writes a Pathway table to a Weaviate collection, keeping it in sync with the table: additions and updates upsert objects (keyed by a UUID derived from the required primarykey), and deletions remove them. An optional vector column is stored as the object's embedding; the remaining columns become object properties. The target collection must already exist. The connector writes in parallel across workers (pathway spawn -n), with batchsize and concurrency to tune throughput, and supports api_key/headers authentication for self-hosted and Weaviate Cloud deployments.
- pw.io.pinecone.write writes a Pathway table to a Pinecone index for use as a vector store in RAG pipelines. It keeps the index in sync with the current state of the table: a row is upserted under its record id and a row removed from the table is deleted from the index. By default the id is the table's internal row key (unique, and written in parallel across workers); pass a primarykey column to use your own ids instead, in which case the values must uniquely identify rows (a collision raises an error) and writing runs on a single worker. The vector column holds either a dense embedding (list[float] or a 1-D numpy.ndarray), written to a dense index, or a sparse vector (list[tuple[int, float]] of (index, weight) pairs), written to a sparse index — so a hybrid (dense + BM25) setup is two indexes fed by two write() calls off the same table, with the same record ids landing in both for client-side fusion. The remaining columns — or just those listed in metadatacolumns — are stored as record metadata. Targets both Pinecone cloud and the local Pinecone emulator via the host parameter; the index must already exist, with a matching dimension for a dense one, and a mismatch between the index's kind and the column's type is reported at start-up.
- pw.run and pw.runall accept a new udfcache_directory parameter. When set, the memoization cache of non-deterministic UDFs (any pw.udf without deterministic=True, whose results are stored so that row deletions replay the originally produced values) is kept in SQLite files in the given directory instead of in memory, so the pipeline's memory usage no longer grows with the number of cached results. Note that on many systems /tmp is a RAM-backed tmpfs — point the cache directory at a real disk to actually save memory. The on-disk cache is a runtime working set, not a durability mechanism: persistence snapshots remain the source of truth on restart, the cache files are recreated on every run and removed on shutdown. The default (None, in-memory cache) is unchanged.
- pw.io.s3.read, pw.io.s3.readfromdigitalocean, pw.io.s3.readfromwasabi, pw.io.minio.read, pw.io.pyfilesystem.read, and pw.xpacks.connectors.sharepoint.read now support the format="onlymetadata" option (already available in pw.io.fs.read and pw.io.gdrive.read). In this mode the connector tracks additions, modifications, and deletions of objects in the source but does not download their contents — the resulting table contains only the _metadata column. This is useful for monitoring changes in large buckets or directories without spending time and traffic on fetching the objects themselves. For S3 and MinIO this also skips the object downloads entirely at the engine level, not just the parsing of their contents.
- Promoted TwelveLabsVideoParser and MarengoEmbedder out of the Video RAG example template and into the native pathway.xpacks.llm core library. You can now build Video RAG applications directly in Pathway by installing pip install pathway[twelvelabs]. The parser processes videos concurrently on an async executor and accepts the capacity, retrystrategy, asyncmode, videoformat and onerror parameters (on_error="skip" lets the pipeline continue when a single video fails to parse); oversized videos are rejected before the upload. TwelveLabsVideoParser requires a license key with the advanced-parser entitlement.
Changed
- BREAKING: pw.io.airbyte.read replaced the refreshintervalms parameter (milliseconds) with refreshinterval, which takes a number of seconds or a datetime.timedelta / pw.Duration and defaults to 60 seconds (equal to the previous default of 60000 ms). Passing refreshintervalms now raises an error that includes the converted value to use. Migration: replace refreshintervalms=60000 with refreshinterval=60 (or refresh_interval=datetime.timedelta(seconds=60)).
- Duration parameters of connectors and xpack components now uniformly accept a number of seconds (int or float) or a datetime.timedelta / pw.Duration. This covers refreshinterval in pw.io.gdrive.read, pw.io.pyfilesystem.read, pw.xpacks.connectors.sharepoint.read and pw.io.airbyte.read, pollinterval and maxtransactionduration in pw.io.elasticsearch.read, quickaccesswindow, compressionfrequency and retentionperiod in pw.io.deltalake.TableOptimizer, idleduration in pw.io.SynchronizedColumn, assetpollinterval and assettimeout in TwelveLabsVideoParser, and timeout in DocumentStoreClient and RAGClient. Plain numbers keep meaning seconds wherever they did before; the new public alias pw.io.DurationLike names the accepted type. Invalid durations (negative, non-finite, wrong type) are now rejected at call time with an error naming the parameter. A zero polling interval stays allowed and means polling as
v0.31.12026-06-12
Added
- pw.io.elasticsearch.read reads an Elasticsearch index into Pathway. Since Elasticsearch has no change-data-capture API, the connector ingests by polling and reconciling the overlap between consecutive queries, so no row is missed or delivered twice. It is configured with timestampcolumn (a numeric column it watermarks and orders by), idcolumn (a unique, sortable identifier used to deduplicate the overlap and as the Pathway row key), and maxtransactionduration (how late a row may still become visible). mode="streaming" (default) keeps polling at pollinterval; mode="static" reads the index once. The index is read in bounded pages of readbatchsize documents (default 10 000), each becoming one minibatch, and an idle index is detected and skipped without re-reading the overlap window. With persistence enabled, the connector resumes from the saved watermark, delivering only rows added since the last checkpoint. At startup it warns if timestampcolumn or idcolumn is mapped in a way it cannot poll on (e.g. an idcolumn mapped as text, which Elasticsearch cannot sort by).
- pw.io.clickhouse.write writes a Pathway table to a ClickHouse table over the native protocol. Two output formats are available via outputtabletype: the default "streamofchanges" appends every change with time/diff columns, while "snapshot" maintains the current state in a ReplacingMergeTree keyed by the required primarykey (query it with SELECT ... FINAL). The initmode parameter ("default", "createifnot_exists", "replace") controls whether the connector creates the destination table, and the destination is validated at start-up so a missing table, column, or incompatible type is reported immediately. Most scalar, Optional, list, tuple, and 1-D np.ndarray column types are supported (see the connector documentation for the full type mapping).
- pw.io.iceberg.read now decodes every Iceberg primitive type. The new arms are: date materializes as DateTimeNaive at midnight on the calendar day (Pathway has no date-only type); time materializes as Duration representing microseconds since midnight (same convention as the Postgres TIME mapping); uuid materializes as the canonical 8-4-4-4-12 hex string when the column is declared as str in the Pathway schema (or as 16 raw bytes when declared as bytes); fixed(N) materializes as bytes; decimal(p, s) materializes as either float (lossy, with a one-shot startup warning naming each affected column) or str (lossless decimal text — opt in by declaring the column as str).
- pw.io.iceberg.write now reconciles Pathway types against the destination table's existing schema and writes the narrower / alternatively-encoded representation when the target column already declares one: Pathway int into an existing int (32-bit) column with overflow detection, Pathway float into an existing float (32-bit) column (cast to 32-bit float; precision beyond ~7 significant decimal digits is lost), Pathway str into an existing decimal(p, s) column (parsed as decimal text) or uuid column (parsed as canonical UUID hex), Pathway bytes into an existing fixed(N) column (length-checked), and Pathway Duration into an existing time column (microseconds since midnight). When Pathway creates the destination table from a Pathway schema, the connector continues to emit the wide representations (long from Pathway int / Duration, double from float, string from str, binary from bytes); choosing a narrow / specialized type at create-time isn't exposed yet. Iceberg date is not supported on write at all — neither at create-time (Pathway has no date-only type to derive from) nor as an existing-column override. Iceberg map<K, V> remains unsupported on both sides.
- pw.io.iceberg.read and pw.io.iceberg.write now support Iceberg struct<…> columns through Pathway's positional tuple[…] type. Tuples are written with synthesized field names [0], [1], … (same convention pw.io.deltalake.write already uses). Reads ignore struct field names and bind tuple positions to struct field positions in the destination order; the mapping composes transitively, so list[tuple[…]] works as well. When writing into an existing table whose target column declares a struct with arbitrary field names, the writer adopts the destination's field names automatically, so the user's tuple[…] declaration only needs to align with the destination struct's field order — Pathway has no named-record type that would let a tuple bind to struct fields by name, so reordering the destination struct's fields out-of-band would silently misalign a Pathway pipeline declaring the column as tuple[…].
- pw.io.mongodb.read now accepts four additional BSON types that were previously dropped at parse time. `ObjectId and Decimal128 map to str (the canonical 24-character hex form and the canonical decimal string respectively); RegularExpression maps to str formatted as "/<pattern>/<options>"; Timestamp maps to int carrying the seconds-since-epoch time component (the companion increment field is dropped). When such a value is written back to MongoDB it is stored as an ordinary string (or integer for Timestamp) field rather than under its original BSON type, so a write-then-read round-trip preserves the value but not the original BSON type of the column.
- pw.io.postgres.write now accepts a schema_name parameter for writing to tables in non-default PostgreSQL schemas.
- pw.io.postgres.write now supports pre-existing INET, CIDR, MACADDR, and MACADDR8 columns from a str Pathway column, matching the reader round-trip.
- pw.io.postgres.read and pw.io.postgres.write now run extensive preflight validation that surfaces misconfigurations (PostgreSQL types that are not yet supported, array element type mismatches, nullability mismatches, REPLICA IDENTITY NOTHING on non-append-only streaming tables, etc.) as clear pipeline-start errors instead of silent row drops or opaque worker panics.
- pw.io.mysql.read reads a MySQL table into Pathway. In mode="streaming" (the default) it performs Change Data Capture by reading the MySQL binary log: it takes an initial snapshot and then continuously delivers inserts, updates, and deletes (requires logbin on, binlogformat=ROW, binlogrowimage=FULL, and the REPLICATION SLAVE / REPLICATION CLIENT privileges). In mode="static" it reads the table once and terminates. The schema must declare at least one primary-key column. Every type produced by pw.io.mysql.write round-trips back, and common native MySQL types (DECIMAL, DATE, integer and text families, JSON, …) are parsed as well. Unlike PostgreSQL logical replication, the connector leaves no server-side state behind — there is no replication slot to retain logs and fill the disk; binary-log retention is governed solely by the server's own settings. With persistence enabled, the streaming connector saves the binary-log coordinates and resumes from them on restart, raising a clear error if the needed binary logs have already been purged by the server's normal expiry.
Changed
- pw.io.iceberg.read and pw.io.iceberg.write now retry transient catalog errors automatically (e.g. concurrent-commit conflicts on write, transient REST/Glue catalog failures on read).
- pw.io.postgres.write now retries transient PostgreSQL errors automatically — SQLSTATE class 08 (connection exceptions), class 57 (admin / crash shutdown, cannotconnectnow), serializationfailure (40001), deadlockdetected (40P01), and any closed connection are retried up to three times with exponential backoff before the writer surfaces the error. Permanent failures (syntax errors, missing tables, constraint violations) still propagate on the first attempt.
- pw.io.postgres.read (streaming mode) no longer requires
v0.31.02026-05-25
Added
- pw.io.sqlite.write connector, which writes a Pathway table into a SQLite database file. Supports two modes: streamofchanges (default) appends each event alongside time/diff metadata columns, while snapshot maintains the current state of the table via INSERT ... ON CONFLICT DO UPDATE on insertions and DELETE on retractions, keyed on the primarykey parameter. Values are encoded using the same storage-class mapping that pw.io.sqlite.read accepts, so write / read round-trips every supported Pathway type losslessly. initmode controls whether the destination table is left as-is, auto-created, or replaced on start-up.
- pw.io.deltalake.read now accepts Delta decimal(p, s) columns. The Pathway type declared in the schema chooses the projection: float converts each value through f64 (lossy in general — both because f64 is binary and because its mantissa carries only ~15–17 significant decimal digits) and emits a one-time warning at startup naming each affected column; str formats the unscaled integer with the column's scale and passes the resulting decimal text through unchanged, lossless for the full Delta precision range (up to 38 digits).
- pw.io.deltalake.write accepts a Pathway str column when writing into an existing Delta decimal(p, s) column: each row's text is parsed as decimal and stored as the column's fixed-point value. Combined with the lossless decimal → str read path, a Delta decimal column can round-trip through a Pathway pipeline with no precision loss. A string that can't be parsed as a decimal of the column's shape fails the write with an error message naming the offending value, the column's precision and scale, and the specific constraint it violated. Tables that don't contain a decimal column (or that are being created fresh by Pathway) are unaffected.
- pw.io.deltalake.read now accepts Delta date columns (mapped onto DateTimeNaive / DateTimeUtc at midnight on the calendar day, since Pathway has no native Date type) and timestamp_millis columns (mapped onto the same Pathway types with millisecond precision preserved).
- The panel widget for table visualization now accepts pagesize and tableheight parameters.
Changed
- BREAKING: pw.io.iceberg.write to a Glue catalog no longer accepts DateTimeUtc columns. Glue's metastore has no timezone-aware timestamp type, so previous versions silently dropped the timezone on read-back; writes now fail with an explicit error instead of corrupting the zone. To store UTC timestamps in Glue, convert to DateTimeNaive with UTC-normalized values, or write through the REST catalog, which preserves the timezone.
- pw.io.sqlite.read now parses every Pathway Value variant. In addition to int, float, str, bytes, pw.Json, and their Optional forms, the reader now accepts bool, pw.DateTimeNaive, pw.DateTimeUtc, pw.Duration, pw.Pointer, pw.PyObjectWrapper, homogeneous tuple / list, and np.ndarray. Composite types are stored as TEXT using the same JSON encoding that pw.io.jsonlines.write emits. Booleans additionally accept PostgreSQL-style textual literals (true/false, yes/no, on/off, t/f, y/n; case-insensitive, whitespace-trimmed), and float columns tolerate values stored with INTEGER storage class.
- pw.io.mssql.read and pw.io.mssql.write now retry transient SQL Server errors automatically.
Fixed
- pw.io.http.rest_connector no longer raises TypeError: Cannot instantiate typing.Any when a request column has the inferred default schema type (Any). The cast step now skips columns typed as Any instead of attempting to call the type as a constructor.
- pw.io.deltalake.read now accepts Delta tables whose integer columns use any of the standard Parquet integer widths (INT8, INT16, INT32, unsigned variants), and whose floating-point columns use FLOAT (32-bit) or FLOAT16. Previously the row-level reader only matched INT64 and DOUBLE, so tables produced by Spark / DuckDB / pandas with explicit narrower casts read back as zero rows with per-row conversion errors.
- pw.io.deltalake.write partition columns of type pw.Pointer, pw.Duration, and pw.Json now round-trip correctly through pw.io.deltalake.read. Previously the values were correctly placed in the partition path on write, but the reader had no decoder for those types and produced a conversion error for every row.
v0.30.12026-04-23
Added
- pw.io.rabbitmq.read and pw.io.rabbitmq.write connectors for reading from and writing to RabbitMQ Streams. Supports JSON, plaintext, and raw formats; streaming and static modes; persistence with offset recovery; dynamic topics (writing to different streams per row); start_from parameter ("beginning", "end", or "timestamp"); TLS configuration; and message metadata including AMQP 1.0 properties and application properties. Header values are JSON-encoded for round-trip compatibility. Requires a Pathway Scale or Enterprise license.
- pw.io.mssql.read connector, which reads data from a Microsoft SQL Server table. The connector first delivers a full snapshot of the table and then, if the streaming mode is used, tracks incremental changes via SQL Server Change Data Capture (CDC).
- pw.io.mssql.write connector, which writes a Pathway table to a Microsoft SQL Server table. Row additions and updates are applied as MERGE (upsert) statements keyed on the configured primary key columns, and row deletions are applied as DELETE statements.
- pw.io.milvus.write connector, which writes a Pathway table to a Milvus collection. Row additions are sent as upserts and row deletions are sent as deletes keyed on the configured primary key column. Requires a Pathway Scale license.
- pathway spawn now supports the --addresses and --process-id flags for multi-machine deployments. Pass a comma-separated list of host:port addresses for all processes and the index of the local process; Pathway will connect the cluster over TCP without requiring all processes to run on the same machine.
- pw.xpacks.llm.parsers.AudioParser, audio transcription parser based on OpenAI Whisper API. Accepts raw audio bytes and returns transcribed text, following the same interface as other Pathway document parsers.
- pw.io.leann.write connector for writing Pathway tables to LEANN vector indices. LEANN uses graph-based selective recomputation to achieve 97% storage reduction compared to traditional vector databases.
- pw.iterate now supports operator persistence. On restart, the iterate operator loads its previous input from an operator snapshot and reconverges inside the loop, allowing incremental processing of new data without replaying the full input stream.
v0.30.02026-03-24
Added
- pw.io.mongodb.read connector, which reads data from a MongoDB collection. The connector first delivers a full snapshot of the collection and then, if the streaming mode is used, subscribes to the change stream to receive incremental updates in real time.
- pw.io.postgres.read connector, which reads data from a PostgreSQL table directly by parsing the Write-Ahead Log (WAL).
- pw.io.postgres.write and pw.io.postgres.read now support serialization/deserialization of np.ndarray (int/float elements), homogeneous tuple and list (via Postgres ARRAY; multidimensional rectangular arrays supported).
- pw.io.airbyte.read now accepts a dependency_overrides parameter, allowing users to pin specific versions of transitive dependencies (e.g. airbyte-cdk) installed into the connector's virtual environment. This unblocks connectors broken by upstream dependency changes without waiting for upstream fixes.
Changed
- BREAKING: pw.io.mongodb.write and pw.io.mongodb.read now serialize and deserialize np.ndarray columns as nested BSON arrays that preserve the array's shape. Previously, all ndarrays were flattened to a single BSON array regardless of dimensionality, making it impossible to reconstruct the original shape on read-back. For 1-D arrays the representation is identical to before ([1, 2, 3]); only multi-dimensional arrays are affected.
- BREAKING: The dependencies for pw.io.pyfilesystem.read are no longer included in the default package installation. To install them, please use pip install pathway[pyfilesystem].
- Asynchronous callback for pw.io.python.write is now available as pw.io.OnChangeCallbackAsync.
- pw.run and pw.runall now have the eventloop parameter to support reusing async state across multiple graph runs.
Fixed
- pathway web-dashboard now waits for the metrics database to be created instead of terminating instantly.
v0.29.12026-02-16
Added
- pw.io.kafka.read and pw.io.kafka.write connectors now support OAUTHBEARER authentication.
- pw.io.mongodb.write connector now supports an outputtabletype parameter with two modes: streamofchanges (default) and snapshot. In snapshot mode, the connector maintains the current state of the Pathway table in MongoDB using the id field as the primary key, while streamof_changes preserves the existing behavior by writing all events with time and diff flags to reflect transactional minibatches and the nature of each change.
- Workers can now automatically scale up or down based on pipeline load, using a configurable monitoring window. This feature requires persistence to be enabled and can be configured via workerscalingenabled and workloadtrackingwindow_ms in pw.persistence.Config. Please refer to the tutorial for more details.
- pw.io.postgres.write now properly supports TLS configuration via sslmode and sslrootcert connection string parameters.
Changed
- pw.xpacks.connectors.read now retries initial connection requests.
v0.29.02026-01-22
Added
- Pathway Web Dashboard providing user-friendly interface for monitoring Pathway pipelines in real time with interactive graph plotting and latency/memory metrics.
- pw.io.kafka.read now includes message headers in the parsed metadata. The headers are available at the top level of the metadata in the headers array. Each element of the array is a pair consisting of a string header name and a base64-encoded header value. If the header is null, the corresponding value is also null.
- pw.xpacks.llm.llms.BedrockChat - Native AWS Bedrock chat integration using the Converse API. Supports Claude, Llama, Titan, Mistral, and other Bedrock models.
- pw.xpacks.llm.embedders.BedrockEmbedder - Native AWS Bedrock embedding integration supporting Amazon Titan and Cohere embedding models.
Changed
- Most Python dependencies are now imported only if the related capabilities are used by a program.
- BREAKING: Output connectors no longer wrap string header values in double quotes when sending them to Kafka or NATS. The string values are forwarded as-is. The None value is handled differently: in Kafka, it is serialized as a header without a value, while in NATS it becomes the string "None".
v0.28.02026-01-08
Added
- pw.io.kafka.read and pw.io.redpanda.read now allow each schema field to be specified as coming from either the message key or the message value.
- Connector groups now support the specification of an idle duration. When this is set, if a source does not provide any data for the specified period of time, it will be excluded from the group until it produces data again.
- It is now possible to assign priorities to sources within a connector group. When a priority is set, it ensures that at any moment, the source is not lagging behind any other source with a higher priority in terms of the tracked column.
- Connector groups can now be used in the multiprocess runs.
Changed
- BREAKING: The str and dumps methods in pw.Json no longer enforce the result to be an ASCII string. This way, the behavior of pw.debug.computeandprint is now consistent with other output connectors.
- The window functions now internally use deterministic UDFs, where possible.
v0.27.12025-12-08
[0.27.1] - 2025-12-08
Added
- pw.Table.filteroutresultsofforgetting method, allowing to revert the effects of forgetting at a later stage.
Changed
- The MCP server tool method now allows to pass an optional description, default value being kept as the handler's docstring.
- pw.io.kafka.read and pw.io.redpanda.read now create a key column storing the contents of the message keys.
v0.27.02025-11-13
Added
- JetStream extension is now supported in both NATS read and write connectors.
- The Iceberg connectors now support Glue as a catalog backend.
- New Table.addupdatetimestamp_utc function for tracking update time of rows in the table
Changed
- BREAKING The API for the Iceberg connectors has changed. The catalog parameter is now required in both pw.io.iceberg.read and pw.io.iceberg.write. This parameter can be either of type pw.io.iceberg.RestCatalog or pw.io.iceberg.GlueCatalog, and it must contain the connection parameters.
- BREAKING paddlepaddle is no longer a dependency of the Pathway package. The reason is that choosing a specific version for the hardware it will be run on is advantageous from the performance point of view. To install paddlepaddle follow instructions on https://www.paddlepaddle.org.cn/en/install/quick.
- pw.xpacks.llm.question_answering.BaseRAGQuestionAnswerer now supports document reranking. This enables two-stage retrieval where initial vector similarity search is followed by reranking to improve document relevance ordering.
Fixed
- Endpoints created by pw.io.http.rest_connector now accept requests both with and without a trailing slash. For example, /endpoint/ and /endpoint are now treated equivalently.
- Schemas that inherit from other schemas now automatically preserve all properties from their parent schemas.
- Fixed an issue where the persistence configuration failed when provided with a relative filesystem path.
- Fixed unique name autogeneration for the Python connectors.