You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: public/changelog.json
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -398,6 +398,13 @@
398
398
}
399
399
},
400
400
"data": [
401
+
{
402
+
"category": "release",
403
+
"date": "2026-03-26",
404
+
"description": "CRE CLI version 1.8.0 is now available. This release adds a tenant context cache (`~/.cre/context.yaml`) after login, scriptable `cre init` for CI pipelines, and `cre templates list --json` for machine-readable template listings.\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.7.0...v1.8.0)",
405
+
"title": "CRE CLI v1.8.0 — Tenant Context and Scriptable Init",
@@ -89,6 +89,11 @@ The CRE CLI provides an `init` command to scaffold a new project. It's an intera
89
89
90
90
The CLI will then create a new `onchain-calculator` directory and initialize your first workflow within it.
91
91
92
+
{/* prettier-ignore */}
93
+
<Asidetype="note"title="Scriptable init">
94
+
Prefer a **non-interactive** or **CI** flow? The CLI supports **`cre init --non-interactive`** and related flags—see [Project setup commands](/cre/reference/cli/project-setup).
95
+
</Aside>
96
+
92
97
## Step 3: Explore the generated files
93
98
94
99
The `init` command creates a directory with a standard structure and generates your first workflow code. Let's explore what was created.
@@ -89,6 +89,11 @@ The CRE CLI provides an `init` command to scaffold a new project. It's an intera
89
89
90
90
The CLI will then create a new `onchain-calculator` directory and initialize your first workflow within it.
91
91
92
+
{/* prettier-ignore */}
93
+
<Asidetype="note"title="Scriptable init">
94
+
Prefer a **non-interactive** or **CI** flow? The CLI supports **`cre init --non-interactive`** and related flags—see [Project setup commands](/cre/reference/cli/project-setup).
95
+
</Aside>
96
+
92
97
## Step 3: Explore the generated files
93
98
94
99
The `init` command creates a directory with a standard structure and generates your first workflow code. Let's explore what was created.
Copy file name to clipboardExpand all lines: src/content/cre/llms-full-go.txt
+49-20Lines changed: 49 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -448,10 +448,25 @@ To help us assist you faster, please include:
448
448
449
449
# Release Notes
450
450
Source: https://docs.chain.link/cre/release-notes
451
-
Last Updated: 2026-03-23
451
+
Last Updated: 2026-03-26
452
452
453
453
This page provides detailed release notes for CRE. It includes information on new features, significant changes, and known limitations.
454
454
455
+
## CLI v1.8.0 - March 26, 2026
456
+
457
+
**<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.**
458
+
459
+
- **Tenant context cache**: The [**Authentication**](/cre/reference/cli/authentication#tenant-context-cache) reference documents **`~/.cre/context.yaml`**, which the CLI updates after login so your local session reflects the platform’s registry manifest.
460
+
- **Scriptable `cre init`**: [**Project setup**](/cre/reference/cli/project-setup) covers **`cre init --non-interactive`** and related flags for CI and automation without prompts.
461
+
- **`cre templates list --json`**: Use [**Template sources**](/cre/reference/cli/templates) for **`--json`** output when you need machine-readable template listings in scripts.
462
+
463
+
**How to update:**
464
+
465
+
- **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.
466
+
- **Fresh installation**: If you're installing the CLI for the first time, follow the [CLI Installation guide](/cre/getting-started/cli-installation).
467
+
468
+
[See all changes on GitHub](https://github.com/smartcontractkit/cre-cli/compare/v1.7.0...v1.8.0)
469
+
455
470
## CLI v1.7.0 - March 23, 2026
456
471
457
472
**<a href="https://github.com/smartcontractkit/cre-cli/releases/tag/v1.7.0" target="_blank">CRE CLI version 1.7.0</a> is now available.**
@@ -8072,7 +8087,7 @@ Manage your authentication and account credentials.
8072
8087
8073
8088
Initialize projects and generate contract bindings (Go only).
8074
8089
8075
-
- **`cre init`** — Initialize a new CRE project with an interactive setup guide
8090
+
- [**`cre init`**](/cre/reference/cli/project-setup) — Initialize a new CRE project (interactive wizard or **`--non-interactive`** with flags for CI/CD)
8076
8091
- **`cre generate-bindings`** (Go only) — Generate Go bindings from contract ABI files for type-safe contract interactions
| `--json` | Print the template list as **JSON** (for scripts and CI). |
9271
+
| `--refresh` | Bypass the local cache and fetch fresh data from GitHub |
9256
9272
9257
-
Each entry shows the template title, ID, language, and a short description. Use the ID with `cre init --template=<id>` to scaffold a project from that template.
9273
+
Each entry shows the template title, ID, language, a short description, and **required networks** (chains you must supply RPCs for when using `cre init`, especially with **`--non-interactive`**). Use the template name with **`cre init --template=<name>`** to scaffold a project.
9258
9274
9259
9275
For the current list of available templates, run `cre templates list` or visit [docs.chain.link/cre-templates](https://docs.chain.link/cre-templates).
9260
9276
@@ -9911,7 +9927,7 @@ I want to build: [describe your use case]
You're viewing the **Go** version of this guide. If you prefer TypeScript, use the language selector in the left
@@ -9989,6 +10005,11 @@ The CRE CLI provides an `init` command to scaffold a new project. It's an intera
9989
10005
9990
10006
The CLI will then create a new `onchain-calculator` directory and initialize your first workflow within it.
9991
10007
10008
+
10009
+
<Aside type="note" title="Scriptable init">
10010
+
Prefer a **non-interactive** or **CI** flow? The CLI supports **`cre init --non-interactive`** and related flags—see [Project setup commands](/cre/reference/cli/project-setup).
10011
+
</Aside>
10012
+
9992
10013
## Step 3: Explore the generated files
9993
10014
9994
10015
The `init` command creates a directory with a standard structure and generates your first workflow code. Let's explore what was created.
@@ -15329,7 +15350,7 @@ Or explore the SDK reference for detailed API documentation:
The project setup commands include `cre init` to initialize new CRE projects or add workflows, and `cre generate-bindings` to generate contract bindings for type-safe contract interactions.
| `--non-interactive` | Fail instead of prompting; supply all inputs via flags (for **CI/CD** and non-TTY environments). |
15386
+
| `-p, --project-name` | Name for the new project (required for a new project when using `--non-interactive`). |
15387
+
| `-t, --template` | Template name to use (for example `hello-world-go`). Run `cre templates list` to see IDs and required networks. |
15388
+
| `-w, --workflow-name` | Name for the new workflow. |
15389
+
| `--refresh` | Bypass the template cache and fetch fresh data from GitHub. |
15390
+
| `--rpc-url` | RPC endpoint for a chain, repeatable. Format: `chain-name=url`. Often **required** with `--non-interactive` when the template needs RPCs. |
15391
+
15392
+
Inherited [global flags](/cre/reference/cli#global-flags) include **`-R, --project-root`**, which `cre init` uses as the directory where the project is created when you pass it explicitly.
15367
15393
15368
15394
**Interactive mode (recommended):**
15369
15395
@@ -15386,19 +15412,22 @@ Running `cre init` without flags starts an interactive setup that guides you thr
15386
15412
cre init
15387
15413
```
15388
15414
15389
-
**Non-interactive mode:**
15415
+
**Non-interactive mode (scripting / CI):**
15416
+
15417
+
Pass **`--non-interactive`** plus the flags your template needs. Use **`cre templates list`** (or **`cre templates list --json`**) to see **required networks** and choose **`--rpc-url`** values.
<Aside type="note" title="Interactive vs. non-interactive">
15400
-
For most users, running `cre init` without flags (interactive mode) is the easiest way to set up a project. The CLI
15401
-
will guide you through the setup process with clear prompts.
15430
+
For most users, `cre init` without flags is easiest. With **`--non-interactive`**, the CLI does not prompt; if RPC URLs are required and there is no TTY, you get a clear error—pass the needed **`--rpc-url`** flags up front.
15402
15431
</Aside>
15403
15432
15404
15433
For a detailed walkthrough, see [Part 1 of the Getting Started guide](/cre/getting-started/part-1-project-setup).
0 commit comments