Skip to content

v0.28.0

Latest

Choose a tag to compare

@haillew haillew released this 15 Nov 08:30
a4f474e

v0.28.0 — chain transformations nodes in dataflow specs (nodespec)

Summary

v0.28.0 lets nodespec transformations feed other transformations. Previously, a transformation that only fed another transformation (and was never read directly by a target) was never defined as a view. A SQL step referencing it, such as SELECT * FROM STREAM(v_clean), failed at runtime with a missing view. A Python step after a SQL step silently read the first source node instead, so the SQL step was skipped with no error.

Flow groups now accept an optional views section for standalone views. The nodespec transformer emits any transformation not read directly by a target as one of these views. Python transformations can name their input explicitly with config.source.

This release also bumps certifi in the dev/docs lock files for the eMudhra (emSign) CA compromise, and pins the docs workflow to Python 3.12.

Framework change: nodespec.py transformer, flow_group.py, dataflow.py, flow_group.json / spec_nodespec.json schemas, nodespec and flows docs, unit and integration tests, feature sample. VERSION is v0.28.0.

What's new

Chained nodespec transformations (#157, #170)

  • Standalone views on flow groups: optional views section, created before the flows and not owned by any flow. Purely additive, so existing specs are unaffected.
  • Transformer output:
    • A transformation read by a target stays on that target's flow, keeping its quarantine rules and operational-metadata setting.
    • Every other enabled transformation becomes a standalone view, defined once across all specs (including MV targets split into separate specs).
    • enabled: false transformations are skipped.
  • config.source for Python transformations: names the upstream node (a source or any transformation, by node name or view name).
    • Read mode is inherited from the upstream where it can be inferred. For a SQL upstream, the node's own mode decides (default stream).
    • Spec build fails on a missing, target or disabled source, or on a cycle between Python transformations.
    • Without config.source, a Python transformation still reads the first source node, and now logs a warning when other transformations exist.
  • Feature sample: chained_transformations_main.json chains SQL filter → Python enrich → SQL shape.
  • Docs: chaining example and config.source / mode in nodespec.rst; flow-group views field in flows.rst.

What's fixed

certifi bumped for eMudhra (emSign) CA compromise (#178, #177)

  • certifi 2026.4.22 → 2026.10.23 in requirements-dev.lock and requirements-docs.lock, with a certifi>=2026.10.19 floor in requirements-docs.txt (CVE-2026-111943).
  • Runtime dependencies don't include certifi, so deployed pipelines are unaffected by the framework itself.

Docs workflow pinned to Python 3.12 (#179)

  • python-version: '3.x' had moved to Python 3.15, which broke the hash-locked docs install (imagesize==2.0.0 requires Python <3.15).

Upgrade notes

Nodespecs where a transformation feeds another transformation: upgrade to v0.28.0. For Python transformations after another transformation, set config.source to the upstream node.

Nodespecs without chained transformations: no action required. Transformer output for all existing nodespec samples is unchanged.

Projects built on the framework: check your own lock files, job libraries and environments for certifi pins below 2026.10.19. Databricks serverless blocks installing those versions from 2026-11-12.