Skip to content

Prepare TypeScript SDK 1.0.0-beta1 - #71822

Draft
jason810496 wants to merge 1 commit into
apache:mainfrom
jason810496:feature/ts-sdk/1-0-0-beta1
Draft

Prepare TypeScript SDK 1.0.0-beta1#71822
jason810496 wants to merge 1 commit into
apache:mainfrom
jason810496:feature/ts-sdk/1-0-0-beta1

Conversation

@jason810496

Copy link
Copy Markdown
Member

Why

The TypeScript SDK is ready for its first beta under the intended unscoped npm package name, with consistent release metadata and documentation.

What

  • Rename the package and its imports from @apache-airflow/ts-sdk to apache-airflow-ts-sdk.
  • Set the SDK, docs toolchain, and example versions to 1.0.0-beta1 and regenerate their lockfile metadata.
  • Publish prereleases under npm's beta tag and document installing the exact beta version.
  • Update duplicate-package diagnostics for the beta package identity.

Was generative AI tooling used to co-author this PR?

The first beta needs a publishable unscoped npm identity and consistent release metadata across the SDK, examples, and documentation.
@uranusjr

Copy link
Copy Markdown
Member

Have you claimed the name yet? We should do that asap to avoid automated typosquatters. (They are probably what caused us issues; we merged the intention to use the @apache-airflow namespace first, and the commit got detected.)

is spawned by :class:`~airflow.sdk.coordinators.node.NodeCoordinator` for each task instance.

The SDK is an ESM-only package that ships from the ``ts-sdk/`` directory of the Airflow repository. It is currently in **alpha** and its API may change.
The SDK is an ESM-only package that ships from the ``ts-sdk/`` directory of the Airflow repository. Its current version is **1.0.0-beta1**, and its API may change.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s save 1.0 for maybe when we get the namespace. I think we can do zero-based versions first.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since I just claimed the namespace, then it seems fine to keep as-is it with 1.0 ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I meant let’s reserve 1.0 for potentially migrating to @apache-airflow.

Comment on lines -33 to +39
The SDK is not yet published to npm. To try it today, build it from source in the
`ts-sdk/ <https://github.com/apache/airflow/tree/main/ts-sdk>`__ directory of the Airflow repository and
depend on it locally (see ``ts-sdk/example/`` for a working setup).
The SDK is a beta release. Its API may change in incompatible ways between releases.

Install the beta package from npm:

.. code-block:: bash

npm install apache-airflow-ts-sdk@1.0.0-beta1

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s not change this now. The instructions won’t work until we actually publish.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO, the Airflow core docs will be rebased with 3.4 timeline, but we will release the first TS SDK beta release before 3.4 release (perhaps next week if no one object).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But at least npm install ... will work after we publish the TS package. Changing this file will be fine at that point. But not before that. This PR should not contain this change.

@jason810496

Copy link
Copy Markdown
Member Author

Have you claimed the name yet? We should do that asap to avoid automated typosquatters. (They are probably what caused us issues; we merged the intention to use the @apache-airflow namespace first, and the commit got detected.)

I just claimed it with 0.0.1-beta1 placeholder packge, thanks for the reminder. Please see https://www.npmjs.com/package/apache-airflow-ts-sdk for the live artifact.

@jason810496
jason810496 requested a review from uranusjr August 20, 2026 02:04
@jason810496
jason810496 marked this pull request as draft August 20, 2026 05:02
@jason810496
jason810496 marked this pull request as ready for review August 20, 2026 05:04
@jason810496
jason810496 marked this pull request as draft August 20, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants