From a6a3cc37765cc018ce5139f8bd5e5929a3a5f9fa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 30 Nov 2026 19:00:15 +0000 Subject: [PATCH] chore(release): version packages --- .changeset/postgres-entra-auth.md | 7 ------- CHANGELOG.md | 8 ++++++++ README.md | 9 --------- docs-content/api/README.md | 2 +- docs-content/example-file-to-sftp.md | 2 +- docs-content/example-filter-and-route.md | 2 +- docs-content/example-hl7-to-fhir.md | 2 +- docs-content/example-mllp-to-http.md | 2 +- docs-content/example-replay-after-failure.md | 2 +- docs-content/example-vet-lab-to-fhir.md | 2 +- docs-content/example-vet-lab-to-v2-xml.md | 2 +- examples/file-to-sftp/package.json | 2 +- examples/filter-and-route/package.json | 2 +- examples/hl7-to-fhir/package.json | 2 +- examples/mllp-to-http/package.json | 2 +- examples/replay-after-failure/package.json | 2 +- examples/vet-lab-to-fhir/package.json | 2 +- examples/vet-lab-to-v2-xml/package.json | 2 +- package.json | 2 +- src/version.ts | 2 +- 20 files changed, 25 insertions(+), 33 deletions(-) delete mode 100644 .changeset/postgres-entra-auth.md diff --git a/.changeset/postgres-entra-auth.md b/.changeset/postgres-entra-auth.md deleted file mode 100644 index fd53eca..0000000 --- a/.changeset/postgres-entra-auth.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@cosyte/pathways": patch ---- - -A `storage.postgres` block now takes `auth: entra`, which signs in to Azure Database for PostgreSQL with a Microsoft Entra ID access token from Azure's default chain (a managed identity, with `AZURE_CLIENT_ID` naming a user-assigned one) in place of a password, for both `pathways start` and `pathways migrate`. - -The connection URL names the database user and holds no password, such as `postgres://@:5432/pathways`. Each new connection signs in with a token for `https://ossrdbms-aad.database.windows.net/.default`, reused until 5 minutes before it expires and then asked for again. No token reaches a log or an error: when none can be had, the connection fails with the code `ERR_PATHWAYS_ENTRA_TOKEN`. It needs the optional peer dependency `@azure/identity`, which the Docker image carries. Without `auth`, or with `auth: password`, a block signs in with the login its URL holds, as before. diff --git a/CHANGELOG.md b/CHANGELOG.md index c4fa2d3..f15e54b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # @cosyte/pathways +## 0.0.9 + +### Patch Changes + +- 970fe83: A `storage.postgres` block now takes `auth: entra`, which signs in to Azure Database for PostgreSQL with a Microsoft Entra ID access token from Azure's default chain (a managed identity, with `AZURE_CLIENT_ID` naming a user-assigned one) in place of a password, for both `pathways start` and `pathways migrate`. + + The connection URL names the database user and holds no password, such as `postgres://@:5432/pathways`. Each new connection signs in with a token for `https://ossrdbms-aad.database.windows.net/.default`, reused until 5 minutes before it expires and then asked for again. No token reaches a log or an error: when none can be had, the connection fails with the code `ERR_PATHWAYS_ENTRA_TOKEN`. It needs the optional peer dependency `@azure/identity`, which the Docker image carries. Without `auth`, or with `auth: password`, a block signs in with the login its URL holds, as before. + ## 0.0.8 ### Patch Changes diff --git a/README.md b/README.md index e4df34d..3230938 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,6 @@ version is 0.0.x, and a release may still change a key or an API, which its chan - [Why this exists](#why-this-exists) - [Status](#status) - [What the latest release ships](#what-the-latest-release-ships) -- [In the next release](#in-the-next-release) - [Install](#install) - [Usage](#usage) - [Documentation](#documentation) @@ -182,19 +181,11 @@ What follows is in the latest release, the one on npm: - **Two engines started at once agree on a node id.** When two engines start together in a project that sets no `node.id`, the second now takes the id the first writes, where it used to run under one of its own that was never saved. - ---- - -## In the next release - -These are on `main` and land in the next release: - - **PostgreSQL sign-in with Microsoft Entra ID.** `auth: entra` in a `storage.postgres` block signs in to Azure Database for PostgreSQL with an access token for the managed identity Pathways runs as, in place of a password, for `pathways start` and `pathways migrate`. The URL names the database user and holds no password; a token is asked for again before it expires, and none reaches a log or an error. - --- diff --git a/docs-content/api/README.md b/docs-content/api/README.md index 88e8502..5c7c697 100644 --- a/docs-content/api/README.md +++ b/docs-content/api/README.md @@ -8901,7 +8901,7 @@ The code a transform fails with when `ctx.route` names no channel with a `channe ### VERSION -> `const` **VERSION**: `string` = `"0.0.8"` +> `const` **VERSION**: `string` = `"0.0.9"` The version of `@cosyte/pathways`, kept equal to `package.json#version` (a test fails when they differ). diff --git a/docs-content/example-file-to-sftp.md b/docs-content/example-file-to-sftp.md index c1cf84a..4f5a74a 100644 --- a/docs-content/example-file-to-sftp.md +++ b/docs-content/example-file-to-sftp.md @@ -98,7 +98,7 @@ Its messages are synthetic, made by `@cosyte/synth`, and are on GitHub with the "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } ``` diff --git a/docs-content/example-filter-and-route.md b/docs-content/example-filter-and-route.md index 9eaeae6..80484f1 100644 --- a/docs-content/example-filter-and-route.md +++ b/docs-content/example-filter-and-route.md @@ -95,7 +95,7 @@ Its messages are synthetic, made by `@cosyte/synth`, and are on GitHub with the "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } ``` diff --git a/docs-content/example-hl7-to-fhir.md b/docs-content/example-hl7-to-fhir.md index d34c40b..257bc7c 100644 --- a/docs-content/example-hl7-to-fhir.md +++ b/docs-content/example-hl7-to-fhir.md @@ -102,7 +102,7 @@ Its messages are synthetic, made by `@cosyte/synth` (the patient in `a04.hl7` wa "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } ``` diff --git a/docs-content/example-mllp-to-http.md b/docs-content/example-mllp-to-http.md index 4e7c3bd..ff07189 100644 --- a/docs-content/example-mllp-to-http.md +++ b/docs-content/example-mllp-to-http.md @@ -112,7 +112,7 @@ Its messages are synthetic, made by `@cosyte/synth`, and are on GitHub with the "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } ``` diff --git a/docs-content/example-replay-after-failure.md b/docs-content/example-replay-after-failure.md index 35055bb..3c4b950 100644 --- a/docs-content/example-replay-after-failure.md +++ b/docs-content/example-replay-after-failure.md @@ -123,7 +123,7 @@ Its messages are synthetic, made by `@cosyte/synth`, and are on GitHub with the "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } ``` diff --git a/docs-content/example-vet-lab-to-fhir.md b/docs-content/example-vet-lab-to-fhir.md index 0341d0c..da774c7 100644 --- a/docs-content/example-vet-lab-to-fhir.md +++ b/docs-content/example-vet-lab-to-fhir.md @@ -148,7 +148,7 @@ Its messages are synthetic, made by `@cosyte/synth`, and are on GitHub with the "@cosyte/transform": "^0.2.4" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } ``` diff --git a/docs-content/example-vet-lab-to-v2-xml.md b/docs-content/example-vet-lab-to-v2-xml.md index bd71129..b945801 100644 --- a/docs-content/example-vet-lab-to-v2-xml.md +++ b/docs-content/example-vet-lab-to-v2-xml.md @@ -149,7 +149,7 @@ Its messages are synthetic, made by `@cosyte/synth`, and are on GitHub with the "@cosyte/hl7": "^0.2.0" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } ``` diff --git a/examples/file-to-sftp/package.json b/examples/file-to-sftp/package.json index cb74b65..78b8408 100644 --- a/examples/file-to-sftp/package.json +++ b/examples/file-to-sftp/package.json @@ -10,6 +10,6 @@ "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } diff --git a/examples/filter-and-route/package.json b/examples/filter-and-route/package.json index cb74b65..78b8408 100644 --- a/examples/filter-and-route/package.json +++ b/examples/filter-and-route/package.json @@ -10,6 +10,6 @@ "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } diff --git a/examples/hl7-to-fhir/package.json b/examples/hl7-to-fhir/package.json index 254f742..7cb919c 100644 --- a/examples/hl7-to-fhir/package.json +++ b/examples/hl7-to-fhir/package.json @@ -11,6 +11,6 @@ "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } diff --git a/examples/mllp-to-http/package.json b/examples/mllp-to-http/package.json index 26cae4e..c48cad6 100644 --- a/examples/mllp-to-http/package.json +++ b/examples/mllp-to-http/package.json @@ -12,6 +12,6 @@ "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } diff --git a/examples/replay-after-failure/package.json b/examples/replay-after-failure/package.json index cb74b65..78b8408 100644 --- a/examples/replay-after-failure/package.json +++ b/examples/replay-after-failure/package.json @@ -10,6 +10,6 @@ "test": "pathways test" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } diff --git a/examples/vet-lab-to-fhir/package.json b/examples/vet-lab-to-fhir/package.json index b86cc87..37d08c7 100644 --- a/examples/vet-lab-to-fhir/package.json +++ b/examples/vet-lab-to-fhir/package.json @@ -16,6 +16,6 @@ "@cosyte/transform": "^0.2.4" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } diff --git a/examples/vet-lab-to-v2-xml/package.json b/examples/vet-lab-to-v2-xml/package.json index df41f12..6aa2d1b 100644 --- a/examples/vet-lab-to-v2-xml/package.json +++ b/examples/vet-lab-to-v2-xml/package.json @@ -16,6 +16,6 @@ "@cosyte/hl7": "^0.2.0" }, "devDependencies": { - "@cosyte/pathways": "^0.0.8" + "@cosyte/pathways": "^0.0.9" } } diff --git a/package.json b/package.json index 61b3e29..82e7eb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cosyte/pathways", - "version": "0.0.8", + "version": "0.0.9", "description": "A code-first healthcare integration engine for Node.js: channels in YAML, transforms in TypeScript.", "keywords": [ "healthcare", diff --git a/src/version.ts b/src/version.ts index 013adaa..d7c17f3 100644 --- a/src/version.ts +++ b/src/version.ts @@ -8,4 +8,4 @@ * console.log(VERSION); * ``` */ -export const VERSION: string = "0.0.8"; +export const VERSION: string = "0.0.9";