Skip to content

Commit 272e77c

Browse files
committed
cre cli 1.9.0 release
1 parent 0ad6bc7 commit 272e77c

6 files changed

Lines changed: 177 additions & 49 deletions

File tree

public/changelog.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,13 @@
398398
}
399399
},
400400
"data": [
401+
{
402+
"category": "release",
403+
"date": "2026-04-02",
404+
"description": "CRE CLI version 1.9.0 is now available. This release adds browser-based OAuth (PKCE) for vault secrets operations — running `cre secrets create`, `cre secrets update`, `cre secrets delete`, or `cre secrets list` now opens your browser to authorize Vault DON access and submits your encrypted secrets automatically. It also adds a `--skip-type-checks` flag to `cre workflow build`, `cre workflow simulate`, `cre workflow deploy`, and `cre workflow hash` to skip TypeScript type checking for faster development iteration.\n\nUpdate your CLI by running `cre update` when prompted, or follow the [CLI Installation guide](https://docs.chain.link/cre/getting-started/cli-installation) for fresh installations.\n\n[See all changes on GitHub](https://github.com/smartcontractkit/cre-cli/compare/v1.8.0...v1.9.0)",
405+
"title": "CRE CLI v1.9.0 — Vault Secrets OAuth and Skip Type Checks",
406+
"topic": "CRE"
407+
},
401408
{
402409
"category": "integration",
403410
"date": "2026-03-29",
@@ -614,6 +621,13 @@
614621
"title": "Self-Managed Data Feeds",
615622
"topic": "Data Feeds"
616623
},
624+
{
625+
"category": "release",
626+
"date": "2026-03-27",
627+
"description": "TypeScript SDK version 1.5.0 improves type checking accuracy and build reproducibility for TypeScript workflows. The SDK now runs type checks using your workflow's own `tsconfig.json` instead of its internal configuration, giving you more accurate, project-specific type errors. TypeScript workflow binaries are also now reproducible on the same OS, making it easier to verify build integrity across CI runs.\n\n[See all changes on GitHub](https://github.com/smartcontractkit/cre-sdk-typescript/compare/v1.4.0...v1.5.0)",
628+
"title": "CRE TS SDK v1.5.0 — Workflow-Aware Type Checking and Reproducible Builds",
629+
"topic": "CRE"
630+
},
617631
{
618632
"category": "release",
619633
"date": "2026-03-26",

src/content/cre/llms-full-go.txt

Lines changed: 59 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,33 @@ To help us assist you faster, please include:
448448

449449
# Release Notes
450450
Source: https://docs.chain.link/cre/release-notes
451-
Last Updated: 2026-03-26
451+
Last Updated: 2026-04-02
452452

453453
This page provides detailed release notes for CRE. It includes information on new features, significant changes, and known limitations.
454454

455+
## CLI v1.9.0 - April 2, 2026
456+
457+
**<a href="https://github.com/smartcontractkit/cre-cli/releases/tag/v1.9.0" target="_blank">CRE CLI version 1.9.0</a> is now available.**
458+
459+
- **Browser-based OAuth for vault secrets**: `cre secrets create`, `cre secrets update`, `cre secrets delete`, and `cre secrets list` now use a browser-based OAuth (PKCE) flow to authorize Vault DON access. When you run a secrets operation, the CLI starts a local callback server, opens your browser to complete authorization, exchanges the code for a short-lived vault JWT, and submits your encrypted secrets directly to the Vault DON gateway — all automatically. Your existing CLI login session (`~/.cre/cre.yaml`) is not affected; the vault authorization uses a separate short-lived token. API key authentication is not supported for this flow; interactive login (`cre login`) is required. See [Secrets Management Commands](/cre/reference/cli/secrets) for details.
460+
- **`--skip-type-checks` flag**: The `cre workflow build`, `cre workflow simulate`, `cre workflow deploy`, and `cre workflow hash` commands now accept a `--skip-type-checks` flag. When set, the CLI skips the TypeScript type-checking step during compilation. This can significantly speed up iteration in development, but should not be used for production builds where type safety is important. See [Workflow Commands](/cre/reference/cli/workflow) for the updated flag reference.
461+
462+
**How to update:**
463+
464+
- **Automatic update**: When you run any CRE command, the CLI will automatically detect if a newer version is available and prompt you to update. Simply run `cre update` to install the latest version.
465+
- **Fresh installation**: If you're installing the CLI for the first time, follow the [CLI Installation guide](/cre/getting-started/cli-installation).
466+
467+
[See all changes on GitHub](https://github.com/smartcontractkit/cre-cli/compare/v1.8.0...v1.9.0)
468+
469+
## TS SDK v1.5.0 - March 27, 2026
470+
471+
**TypeScript SDK version 1.5.0** improves type checking accuracy and build reproducibility for TypeScript workflows.
472+
473+
- **Workflow-aware type checking**: The SDK now runs TypeScript type checks using your workflow's own `tsconfig.json` instead of its internal configuration. This gives you more accurate, project-specific type errors and lets you enforce your own strict settings during compilation.
474+
- **Reproducible builds**: TypeScript workflow binaries are now reproducible on the same OS, making it easier to verify build integrity across CI runs and environments.
475+
476+
[See all changes on GitHub](https://github.com/smartcontractkit/cre-sdk-typescript/compare/v1.4.0...v1.5.0)
477+
455478
## CLI v1.8.0 - March 26, 2026
456479

457480
**<a href="https://github.com/smartcontractkit/cre-cli/releases/tag/v1.8.0" target="_blank">CRE CLI version 1.8.0</a> is now available.**
@@ -8535,7 +8558,7 @@ When you run this command, the CLI will:
85358558

85368559
# Workflow Commands
85378560
Source: https://docs.chain.link/cre/reference/cli/workflow
8538-
Last Updated: 2026-03-17
8561+
Last Updated: 2026-04-02
85398562

85408563
The `cre workflow` commands manage workflows throughout their entire lifecycle, from local testing to deployment and ongoing management.
85418564

@@ -8555,9 +8578,10 @@ cre workflow build <workflow-folder-path> [flags]
85558578

85568579
**Flags:**
85578580

8558-
| Flag | Description |
8559-
| -------------- | ---------------------------------------------------------------------------------------- |
8560-
| `-o, --output` | Output file path for the compiled WASM binary (default: `<workflow-folder>/binary.wasm`) |
8581+
| Flag | Description |
8582+
| -------------------- | --------------------------------------------------------------------------------------------------------------------------- |
8583+
| `-o, --output` | Output file path for the compiled WASM binary (default: `<workflow-folder>/binary.wasm`) |
8584+
| `--skip-type-checks` | Skip TypeScript type checking during compilation. Speeds up iteration in development; not recommended for production builds |
85618585

85628586
**Example:**
85638587

@@ -8612,6 +8636,7 @@ cre workflow simulate <workflow-name-or-path> [flags]
86128636
| `--evm-tx-hash <string>` | Transaction hash (`0x...`) containing the event that triggered your workflow. For EVM log triggers only |
86138637
| `--evm-event-index <int>` | Which log/event within the transaction to use (0-based position). If the transaction emitted multiple events, `0` is the first, `1` is the second, etc. For EVM log triggers only |
86148638
| `--limits <string>` | Production limits to enforce during simulation: `default` (embedded prod limits), a path to a limits JSON file (e.g. from `cre workflow limits export`), or `none` to disable. See [Testing Production Limits](/cre/guides/operations/understanding-limits) (default: `default`) |
8639+
| `--skip-type-checks` | Skip TypeScript type checking during compilation. Speeds up iteration in development; not recommended for production builds |
86158640

86168641
**Examples:**
86178642

@@ -8676,14 +8701,15 @@ cre workflow deploy <workflow-name-or-path> [flags]
86768701

86778702
**Flags:**
86788703

8679-
| Flag | Description |
8680-
| -------------- | ----------------------------------------------------------------------------------------------------------------------------- |
8681-
| `-o, --output` | Output file for the compiled WASM binary encoded in base64 (default: `"./binary.wasm.br.b64"`) |
8682-
| `--wasm` | Path to a pre-built WASM binary (skips compilation). Use with [`cre workflow build`](#cre-workflow-build) for CI/CD pipelines |
8683-
| `--config` | Override the config file path from `workflow.yaml` |
8684-
| `--no-config` | Deploy without a config file |
8685-
| `--unsigned` | Return the raw transaction instead of sending it to the network |
8686-
| `--yes` | Skip the confirmation prompt and proceed with the operation |
8704+
| Flag | Description |
8705+
| -------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
8706+
| `-o, --output` | Output file for the compiled WASM binary encoded in base64 (default: `"./binary.wasm.br.b64"`) |
8707+
| `--wasm` | Path to a pre-built WASM binary (skips compilation). Use with [`cre workflow build`](#cre-workflow-build) for CI/CD pipelines |
8708+
| `--config` | Override the config file path from `workflow.yaml` |
8709+
| `--no-config` | Deploy without a config file |
8710+
| `--unsigned` | Return the raw transaction instead of sending it to the network |
8711+
| `--yes` | Skip the confirmation prompt and proceed with the operation |
8712+
| `--skip-type-checks` | Skip TypeScript type checking during compilation. Speeds up iteration in development; not recommended for production builds |
86878713

86888714
**Examples:**
86898715

@@ -8886,12 +8912,13 @@ cre workflow hash <workflow-folder-path> [flags]
88868912

88878913
**Flags:**
88888914

8889-
| Flag | Description |
8890-
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8891-
| `--public_key` | Owner address to use when computing the workflow hash. Required when `CRE_ETH_PRIVATE_KEY` is not set and no `workflow-owner-address` is configured in your settings |
8892-
| `--wasm` | Path or URL to a pre-built WASM binary (skips compilation) |
8893-
| `--config` | Override the config file path from `workflow.yaml` |
8894-
| `--no-config` | Compute hash without a config file |
8915+
| Flag | Description |
8916+
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8917+
| `--public_key` | Owner address to use when computing the workflow hash. Required when `CRE_ETH_PRIVATE_KEY` is not set and no `workflow-owner-address` is configured in your settings |
8918+
| `--wasm` | Path or URL to a pre-built WASM binary (skips compilation) |
8919+
| `--config` | Override the config file path from `workflow.yaml` |
8920+
| `--no-config` | Compute hash without a config file |
8921+
| `--skip-type-checks` | Skip TypeScript type checking during compilation. Speeds up iteration in development; not recommended for production builds |
88958922

88968923

88978924
<Aside type="note" title="Owner address required">
@@ -8989,7 +9016,7 @@ The typical workflow lifecycle uses these commands in sequence:
89899016

89909017
# Secrets Management Commands
89919018
Source: https://docs.chain.link/cre/reference/cli/secrets
8992-
Last Updated: 2026-03-26
9019+
Last Updated: 2026-04-02
89939020

89949021
<Aside type="note" title="Authentication required">
89959022
Running the commands on this page requires you to be logged in with the CRE CLI. Run `cre whoami` in your terminal to
@@ -8999,13 +9026,24 @@ Last Updated: 2026-03-26
89999026

90009027
The `cre secrets` commands manage secrets stored in the Vault DON (Decentralized Oracle Network) for deployed workflows. These commands allow you to create, update, delete, and list secrets that your workflows can access at runtime.
90019028

9029+
## Authorization flow
9030+
9031+
Starting with CLI v1.9.0, secrets operations use a **browser-based OAuth (PKCE) flow** to authorize Vault DON access:
9032+
9033+
1. You run a `cre secrets` command (e.g., `cre secrets create my-secrets.yaml`).
9034+
2. The CLI starts a local callback server and opens your browser to a Vault authorization URL.
9035+
3. You authenticate in the browser. When complete, the browser redirects back to the local callback.
9036+
4. The CLI exchanges the authorization code for a short-lived vault JWT and submits your encrypted secrets directly to the Vault DON gateway (CLI v1.8.2+).
9037+
9038+
Your existing CLI login session (`~/.cre/cre.yaml`) is **not** affected — the vault authorization uses a separate short-lived token. **API key authentication is not supported** for this flow; you must be logged in with `cre login`.
9039+
90029040
## Namespaces
90039041

90049042
Secrets are organized into **namespaces**, which act as logical groupings (e.g., `"main"`, `"staging"`, `"production"`). All secrets are stored in the `"main"` namespace by default. Currently, `create`, `update`, and `delete` commands only support the default namespace. Custom namespace support may be added in future CLI versions.
90059043

90069044

90079045
<Aside type="note" title="Prerequisites">
9008-
- You must be logged in with `cre login`
9046+
- You must be logged in with `cre login` (interactive login required; API keys are not supported for secrets operations)
90099047
- Your `workflow-owner-address` must be configured in your project
90109048
- **Production CRE:** only **linked workflow owner** vault authorization is supported for these commands. See ([Using Secrets with Deployed Workflows](/cre/guides/workflow/secrets/using-secrets-deployed))
90119049
- For comprehensive guides on using secrets, see [Managing Secrets](/cre/guides/workflow/secrets)

0 commit comments

Comments
 (0)